Pull request #145 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d650c3efdc6a8195eb1a71a2225f0f643cf49e0d+c9d1bc531ce8d239853a83473b53448fb6f2334c (04fd9ea684dbba647609148a8d82c1fa43f63a60) 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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-145/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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 14412ea6c559e203c60c6aec71a1cbd01eb2e17f # timeout=10 Commit message: "Merge pull request #284 from ernestojeda/codecov-fix" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-145/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f Excluding src/test/ from checkout of git git@github.com:lfit/releng-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] ========================================================= [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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-10055 in /w/workspace/foundry_device-virtual-go_PR-145 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-145 # timeout=10 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 --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c9d1bc531ce8d239853a83473b53448fb6f2334c into PR head commit d650c3efdc6a8195eb1a71a2225f0f643cf49e0d Merge succeeded, producing d650c3efdc6a8195eb1a71a2225f0f643cf49e0d Checking out Revision d650c3efdc6a8195eb1a71a2225f0f643cf49e0d (PR-145) > 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 --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d650c3efdc6a8195eb1a71a2225f0f643cf49e0d # 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 c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d650c3efdc6a8195eb1a71a2225f0f643cf49e0d # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-02T06:41:10.440Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-02T06:41:10.877Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-02T06:41:11.077Z] ========================================================= [2020-11-02T06:41:11.077Z] EdgeX Global Pipelines Version Info [2020-11-02T06:41:11.077Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:41:13.164Z] ------------------- [2020-11-02T06:41:13.164Z] stable info: [2020-11-02T06:41:13.164Z] ------------------- [2020-11-02T06:41:13.164Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-02T06:41:13.164Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-11-02T06:41:13.164Z] Message: update stable to v1.0.152 [2020-11-02T06:41:14.130Z] ------------------- [2020-11-02T06:41:14.130Z] experimental info: [2020-11-02T06:41:14.130Z] ------------------- [2020-11-02T06:41:14.130Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-02T06:41:14.130Z] Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 [2020-11-02T06:41:14.130Z] Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-02T06:41:14.662Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-11-02T06:41:14.790Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-11-02T06:41:14.935Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-02T06:41:15.088Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-02T06:41:15.222Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-02T06:41:15.350Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-02T06:41:15.487Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-02T06:41:15.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-02T06:41:15.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-02T06:41:15.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-02T06:41:16.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-02T06:41:16.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-11-02T06:41:16.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-02T06:41:16.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-02T06:41:16.618Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:41:16.754Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:41:16.891Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:41:17.021Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:41:17.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-02T06:41:17.278Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-02T06:41:17.455Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-02T06:41:17.578Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-02T06:41:17.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-02T06:41:17.832Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-02T06:41:17.969Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-02T06:41:18.097Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-145 [Pipeline] echo [2020-11-02T06:41:18.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-145 [Pipeline] echo [2020-11-02T06:41:18.377Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-145 [Pipeline] echo [2020-11-02T06:41:18.508Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d650c3efdc6a8195eb1a71a2225f0f643cf49e0d [Pipeline] echo [2020-11-02T06:41:18.644Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d650c3e [Pipeline] echo [2020-11-02T06:41:18.771Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:41:19.703Z] + git log --format=format:%s -1 d650c3efdc6a8195eb1a71a2225f0f643cf49e0d [Pipeline] echo [2020-11-02T06:41:19.794Z] GIT_COMMIT: d650c3efdc6a8195eb1a71a2225f0f643cf49e0d, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-11-02T06:41:19.875Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:41:20.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:41:20.788Z] [2020-11-02T06:41:20.788Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:41:21.209Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:41:21.209Z] latest: Pulling from edgex-devops/git-semver [2020-11-02T06:41:21.209Z] 31603596830f: Pulling fs layer [2020-11-02T06:41:21.209Z] 2a8b12db71e7: Pulling fs layer [2020-11-02T06:41:21.209Z] 6ca5941a6612: Pulling fs layer [2020-11-02T06:41:21.209Z] ecc8261a40a4: Pulling fs layer [2020-11-02T06:41:21.209Z] ecc8261a40a4: Waiting [2020-11-02T06:41:21.209Z] 2a8b12db71e7: Verifying Checksum [2020-11-02T06:41:21.209Z] 2a8b12db71e7: Download complete [2020-11-02T06:41:21.474Z] 31603596830f: Verifying Checksum [2020-11-02T06:41:21.474Z] 31603596830f: Download complete [2020-11-02T06:41:21.474Z] 6ca5941a6612: Verifying Checksum [2020-11-02T06:41:21.474Z] 6ca5941a6612: Download complete [2020-11-02T06:41:21.474Z] ecc8261a40a4: Verifying Checksum [2020-11-02T06:41:21.474Z] ecc8261a40a4: Download complete [2020-11-02T06:41:21.738Z] 31603596830f: Pull complete [2020-11-02T06:41:22.002Z] 2a8b12db71e7: Pull complete [2020-11-02T06:41:22.953Z] 6ca5941a6612: Pull complete [2020-11-02T06:41:22.953Z] ecc8261a40a4: Pull complete [2020-11-02T06:41:22.953Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-02T06:41:22.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:41:22.953Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-02T06:41:23.088Z] prd-centos7-docker-4c-2g-10055 does not seem to be running inside a container [2020-11-02T06:41:23.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-145 -v /w/workspace/foundry_device-virtual-go_PR-145:/w/workspace/foundry_device-virtual-go_PR-145:rw,z -v /w/workspace/foundry_device-virtual-go_PR-145@tmp:/w/workspace/foundry_device-virtual-go_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-02T06:41:25.309Z] $ docker top b28153227b73dd53098d2340626de382471919665f02c6b778ae58251cef0a98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-02T06:41:25.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:41:25.731Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:41:25.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:41:25.955Z] $ docker exec b28153227b73dd53098d2340626de382471919665f02c6b778ae58251cef0a98 ssh-agent [2020-11-02T06:41:26.118Z] SSH_AUTH_SOCK=/tmp/ssh-Sr1WR9Rk60rf/agent.13 [2020-11-02T06:41:26.118Z] SSH_AGENT_PID=19 [2020-11-02T06:41:26.132Z] Running ssh-add (command line suppressed) [2020-11-02T06:41:26.256Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-145@tmp/private_key_9192753111419337853.key (/w/workspace/foundry_device-virtual-go_PR-145@tmp/private_key_9192753111419337853.key) [2020-11-02T06:41:26.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:41:26.699Z] + git tag --points-at HEAD [Pipeline] } [2020-11-02T06:41:26.732Z] $ docker exec --env ******** --env ******** b28153227b73dd53098d2340626de382471919665f02c6b778ae58251cef0a98 ssh-agent -k [2020-11-02T06:41:26.845Z] unset SSH_AUTH_SOCK; [2020-11-02T06:41:26.845Z] unset SSH_AGENT_PID; [2020-11-02T06:41:26.845Z] echo Agent pid 19 killed; [2020-11-02T06:41:26.888Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-02T06:41:27.094Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:41:27.094Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:41:27.269Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:41:27.274Z] $ docker exec b28153227b73dd53098d2340626de382471919665f02c6b778ae58251cef0a98 ssh-agent [2020-11-02T06:41:27.431Z] SSH_AUTH_SOCK=/tmp/ssh-g9IY7Y9osNeN/agent.47 [2020-11-02T06:41:27.431Z] SSH_AGENT_PID=53 [2020-11-02T06:41:27.439Z] Running ssh-add (command line suppressed) [2020-11-02T06:41:27.563Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-145@tmp/private_key_495660907003906232.key (/w/workspace/foundry_device-virtual-go_PR-145@tmp/private_key_495660907003906232.key) [2020-11-02T06:41:27.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:41:28.009Z] + git semver init [2020-11-02T06:41:28.009Z] # -> Open(): unable to determine branch for HEAD [2020-11-02T06:41:28.009Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-145/.git [2020-11-02T06:41:28.009Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-145 [2020-11-02T06:41:28.009Z] # $SEMVER_REMOTE_NAME = origin [2020-11-02T06:41:28.009Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-02T06:41:28.009Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-02T06:41:28.009Z] # $SEMVER_BRANCH = PR-145 [2020-11-02T06:41:28.009Z] # $SEMVER_TEMP = /tmp/semver-814659719 [2020-11-02T06:41:28.009Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-11-02T06:41:28.272Z] # '/tmp/semver-814659719' -> '/w/workspace/foundry_device-virtual-go_PR-145/.semver' [2020-11-02T06:41:28.536Z] # -> Force: false [2020-11-02T06:41:28.536Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-145/.semver [Pipeline] } [2020-11-02T06:41:28.558Z] $ docker exec --env ******** --env ******** b28153227b73dd53098d2340626de382471919665f02c6b778ae58251cef0a98 ssh-agent -k [2020-11-02T06:41:28.671Z] unset SSH_AUTH_SOCK; [2020-11-02T06:41:28.672Z] unset SSH_AGENT_PID; [2020-11-02T06:41:28.672Z] echo Agent pid 53 killed; [2020-11-02T06:41:28.723Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-02T06:41:29.295Z] + git semver [Pipeline] } [2020-11-02T06:41:29.329Z] $ docker stop --time=1 b28153227b73dd53098d2340626de382471919665f02c6b778ae58251cef0a98 [2020-11-02T06:41:30.660Z] $ docker rm -f b28153227b73dd53098d2340626de382471919665f02c6b778ae58251cef0a98 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:41:31.184Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-02T06:41:31.706Z] Stashed 1 file(s) [Pipeline] echo [2020-11-02T06:41:31.726Z] [edgeXSemver]: initialized semver on 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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-11-02T06:41:33.173Z] ========================================================= [2020-11-02T06:41:33.174Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-02T06:41:33.174Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:41:33.563Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-11-02T06:41:33.563Z] Sending build context to Docker daemon 718.8kB [2020-11-02T06:41:33.563Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-02T06:41:33.563Z] Step 2/8 : FROM ${BASE} [2020-11-02T06:41:33.563Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-02T06:41:33.563Z] df20fa9351a1: Pulling fs layer [2020-11-02T06:41:33.563Z] ed8968b2872e: Pulling fs layer [2020-11-02T06:41:33.563Z] a92cc7c5fd73: Pulling fs layer [2020-11-02T06:41:33.563Z] e871e8e8d7a9: Pulling fs layer [2020-11-02T06:41:33.563Z] e73272ec9a57: Pulling fs layer [2020-11-02T06:41:33.563Z] 1e910a182e73: Pulling fs layer [2020-11-02T06:41:33.563Z] 4e634b169226: Pulling fs layer [2020-11-02T06:41:33.563Z] e73272ec9a57: Waiting [2020-11-02T06:41:33.563Z] 1e910a182e73: Waiting [2020-11-02T06:41:33.563Z] 4e634b169226: Waiting [2020-11-02T06:41:33.563Z] e871e8e8d7a9: Waiting [2020-11-02T06:41:33.563Z] a92cc7c5fd73: Verifying Checksum [2020-11-02T06:41:33.563Z] a92cc7c5fd73: Download complete [2020-11-02T06:41:33.563Z] ed8968b2872e: Verifying Checksum [2020-11-02T06:41:33.563Z] ed8968b2872e: Download complete [2020-11-02T06:41:33.825Z] e73272ec9a57: Verifying Checksum [2020-11-02T06:41:33.825Z] e73272ec9a57: Download complete [2020-11-02T06:41:33.825Z] 1e910a182e73: Download complete [2020-11-02T06:41:33.825Z] df20fa9351a1: Verifying Checksum [2020-11-02T06:41:33.825Z] df20fa9351a1: Download complete [2020-11-02T06:41:34.090Z] df20fa9351a1: Pull complete [2020-11-02T06:41:34.362Z] ed8968b2872e: Pull complete [2020-11-02T06:41:34.362Z] a92cc7c5fd73: Pull complete [2020-11-02T06:41:35.326Z] 4e634b169226: Download complete [2020-11-02T06:41:36.289Z] e871e8e8d7a9: Verifying Checksum [2020-11-02T06:41:36.289Z] e871e8e8d7a9: Download complete [2020-11-02T06:41:41.630Z] e871e8e8d7a9: Pull complete [2020-11-02T06:41:41.630Z] e73272ec9a57: Pull complete [2020-11-02T06:41:41.630Z] 1e910a182e73: Pull complete [2020-11-02T06:41:47.769Z] Still waiting to schedule task [2020-11-02T06:41:47.769Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-02T06:41:49.868Z] 4e634b169226: Pull complete [2020-11-02T06:41:49.868Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-02T06:41:49.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-02T06:41:49.868Z] ---> f7629b54cfaa [2020-11-02T06:41:49.868Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-02T06:41:49.868Z] ---> Running in 93ad30214154 [2020-11-02T06:41:49.868Z] Removing intermediate container 93ad30214154 [2020-11-02T06:41:49.868Z] ---> fb2c161e9198 [2020-11-02T06:41:49.868Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:41:49.868Z] ---> Running in 7c8c89fd72ef [2020-11-02T06:41:51.265Z] Removing intermediate container 7c8c89fd72ef [2020-11-02T06:41:51.265Z] ---> 5f6b59790385 [2020-11-02T06:41:51.265Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-02T06:41:51.265Z] ---> Running in 2c6af89c6dac [2020-11-02T06:41:51.841Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:41:52.422Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:41:53.001Z] (1/14) Installing libmagic (5.38-r0) [2020-11-02T06:41:53.264Z] (2/14) Installing file (5.38-r0) [2020-11-02T06:41:53.264Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-02T06:41:53.264Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-02T06:41:58.703Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-02T06:41:58.703Z] (6/14) Installing patch (2.7.6-r6) [2020-11-02T06:41:58.703Z] (7/14) Installing build-base (0.5-r2) [2020-11-02T06:41:58.703Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-02T06:41:58.703Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-02T06:41:58.703Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-02T06:41:58.968Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-02T06:41:58.968Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-02T06:41:58.968Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-02T06:41:59.232Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-02T06:41:59.498Z] Executing busybox-1.31.1-r16.trigger [2020-11-02T06:41:59.498Z] OK: 237 MiB in 53 packages [2020-11-02T06:42:02.846Z] Removing intermediate container 2c6af89c6dac [2020-11-02T06:42:02.846Z] ---> 1606f8eb6810 [2020-11-02T06:42:02.846Z] Step 6/8 : WORKDIR /device-virtual-go [2020-11-02T06:42:02.846Z] ---> Running in ee7e3109162b [2020-11-02T06:42:02.846Z] Removing intermediate container ee7e3109162b [2020-11-02T06:42:02.846Z] ---> fee08dbd836a [2020-11-02T06:42:02.846Z] Step 7/8 : COPY . . [2020-11-02T06:42:03.869Z] ---> 91e76c260b15 [2020-11-02T06:42:03.869Z] Step 8/8 : RUN go mod download [2020-11-02T06:42:03.869Z] ---> Running in 0b124aa80df2 [2020-11-02T06:42:26.005Z] Removing intermediate container 0b124aa80df2 [2020-11-02T06:42:26.005Z] ---> 1c63e408d212 [2020-11-02T06:42:26.005Z] Successfully built 1c63e408d212 [2020-11-02T06:42:26.005Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:42:26.361Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:42:26.361Z] . [Pipeline] withDockerContainer [2020-11-02T06:42:26.514Z] prd-centos7-docker-4c-2g-10055 does not seem to be running inside a container [2020-11-02T06:42:26.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-145 -v /w/workspace/foundry_device-virtual-go_PR-145:/w/workspace/foundry_device-virtual-go_PR-145:rw,z -v /w/workspace/foundry_device-virtual-go_PR-145@tmp:/w/workspace/foundry_device-virtual-go_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-02T06:42:27.360Z] $ docker top df8bbee929d450c8b287bb9c9416e64423efc4c133422597bd0ddc19b0af5a9f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:42:27.945Z] + go version [2020-11-02T06:42:27.945Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-02T06:42:27.984Z] $ docker stop --time=1 df8bbee929d450c8b287bb9c9416e64423efc4c133422597bd0ddc19b0af5a9f [2020-11-02T06:42:29.334Z] $ docker rm -f df8bbee929d450c8b287bb9c9416e64423efc4c133422597bd0ddc19b0af5a9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:42:30.449Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:42:30.449Z] . [Pipeline] withDockerContainer [2020-11-02T06:42:30.576Z] prd-centos7-docker-4c-2g-10055 does not seem to be running inside a container [2020-11-02T06:42:30.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-145 -v /w/workspace/foundry_device-virtual-go_PR-145:/w/workspace/foundry_device-virtual-go_PR-145:rw,z -v /w/workspace/foundry_device-virtual-go_PR-145@tmp:/w/workspace/foundry_device-virtual-go_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-02T06:42:31.305Z] $ docker top 7a62549f3ffb96b7b7a5e4f27bd32aa4f34e23e44f116dff1d2ea7eb01a02a65 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:42:32.016Z] + make test [2020-11-02T06:42:32.016Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-02T06:42:32.969Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-11-02T06:42:48.096Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-11-02T06:42:50.534Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.428s coverage: 64.4% of statements [2020-11-02T06:42:50.534Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:42:53.919Z] gofmt -l . [2020-11-02T06:42:53.919Z] [ "`gofmt -l .`" = "" ] [2020-11-02T06:42:53.919Z] ./bin/test-attribution-txt.sh [2020-11-02T06:42:54.508Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-02T06:42:54.825Z] $ docker stop --time=1 7a62549f3ffb96b7b7a5e4f27bd32aa4f34e23e44f116dff1d2ea7eb01a02a65 [2020-11-02T06:42:56.601Z] $ docker rm -f 7a62549f3ffb96b7b7a5e4f27bd32aa4f34e23e44f116dff1d2ea7eb01a02a65 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:42:57.365Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:42:57.535Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-02T06:42:58.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T06:42:59.300Z] + ls -al . [2020-11-02T06:42:59.300Z] total 128 [2020-11-02T06:42:59.300Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 2 06:42 . [2020-11-02T06:42:59.300Z] drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 06:41 .. [2020-11-02T06:42:59.300Z] -rw-rw-r--. 1 jenkins jenkins 6713 Nov 2 06:41 Attribution.txt [2020-11-02T06:42:59.300Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 2 06:41 bin [2020-11-02T06:42:59.300Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 2 06:41 cmd [2020-11-02T06:42:59.300Z] -rw-r--r--. 1 jenkins jenkins 47242 Nov 2 06:42 coverage.out [2020-11-02T06:42:59.300Z] -rw-rw-r--. 1 jenkins jenkins 1834 Nov 2 06:41 Dockerfile [2020-11-02T06:42:59.300Z] -rw-rw-r--. 1 jenkins jenkins 957 Nov 2 06:41 Dockerfile.build [2020-11-02T06:42:59.300Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 06:41 .git [2020-11-02T06:42:59.300Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 2 06:41 .github [2020-11-02T06:42:59.300Z] -rw-rw-r--. 1 jenkins jenkins 258 Nov 2 06:41 .gitignore [2020-11-02T06:42:59.300Z] -rw-r--r--. 1 jenkins jenkins 863 Nov 2 06:42 go.mod [2020-11-02T06:42:59.300Z] -rw-r--r--. 1 jenkins jenkins 16577 Nov 2 06:42 go.sum [2020-11-02T06:42:59.300Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 2 06:41 internal [2020-11-02T06:42:59.300Z] -rw-rw-r--. 1 jenkins jenkins 660 Nov 2 06:41 Jenkinsfile [2020-11-02T06:42:59.300Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 2 06:41 LICENSE [2020-11-02T06:42:59.300Z] -rw-rw-r--. 1 jenkins jenkins 873 Nov 2 06:41 Makefile [2020-11-02T06:42:59.300Z] -rw-rw-r--. 1 jenkins jenkins 918 Nov 2 06:41 README.md [2020-11-02T06:42:59.300Z] drwx------. 3 jenkins jenkins 58 Nov 2 06:41 .semver [2020-11-02T06:42:59.300Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 06:41 VERSION [2020-11-02T06:42:59.300Z] -rw-rw-r--. 1 jenkins jenkins 235 Nov 2 06:41 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:42:59.651Z] + 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=d650c3efdc6a8195eb1a71a2225f0f643cf49e0d --label arch=amd64 --label version=0.0.0 . [2020-11-02T06:42:59.968Z] Sending build context to Docker daemon 784.4kB [2020-11-02T06:42:59.968Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-02T06:42:59.968Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-02T06:42:59.968Z] ---> 1c63e408d212 [2020-11-02T06:42:59.968Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-02T06:43:00.274Z] ---> Running in 098e0b907212 [2020-11-02T06:43:00.274Z] Removing intermediate container 098e0b907212 [2020-11-02T06:43:00.274Z] ---> 087735515edd [2020-11-02T06:43:00.274Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:43:00.567Z] ---> Running in b736ad7a26fa [2020-11-02T06:43:00.567Z] Removing intermediate container b736ad7a26fa [2020-11-02T06:43:00.567Z] ---> 9ebdf2f9f662 [2020-11-02T06:43:00.567Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-11-02T06:43:00.567Z] ---> Running in d52972587c7c [2020-11-02T06:43:00.881Z] Removing intermediate container d52972587c7c [2020-11-02T06:43:00.881Z] ---> ef36eb3a3675 [2020-11-02T06:43:00.881Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:43:00.881Z] ---> Running in 2ad08b4b5773 [2020-11-02T06:43:01.935Z] Removing intermediate container 2ad08b4b5773 [2020-11-02T06:43:01.935Z] ---> 97cec798462d [2020-11-02T06:43:01.935Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:43:01.935Z] ---> Running in 172c1563665c [2020-11-02T06:43:02.512Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:43:03.913Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:43:04.861Z] OK: 237 MiB in 53 packages [2020-11-02T06:43:05.133Z] Removing intermediate container 172c1563665c [2020-11-02T06:43:05.133Z] ---> a5b80315525e [2020-11-02T06:43:05.133Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-11-02T06:43:05.133Z] ---> Running in 8436d07456b0 [2020-11-02T06:43:05.398Z] Removing intermediate container 8436d07456b0 [2020-11-02T06:43:05.398Z] ---> 6d575e48fefd [2020-11-02T06:43:05.398Z] Step 9/22 : COPY . . [2020-11-02T06:43:05.978Z] ---> be09a093dfae [2020-11-02T06:43:05.978Z] Step 10/22 : ARG MAKE='make build' [2020-11-02T06:43:05.978Z] ---> Running in a34e7dfdec5b [2020-11-02T06:43:06.243Z] Removing intermediate container a34e7dfdec5b [2020-11-02T06:43:06.243Z] ---> 519b58aa5e7a [2020-11-02T06:43:06.243Z] Step 11/22 : RUN $MAKE [2020-11-02T06:43:06.243Z] ---> Running in 4cdd112b78f3 [2020-11-02T06:43:06.892Z] 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-11-02T06:43:21.975Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:43:24.536Z] Removing intermediate container 4cdd112b78f3 [2020-11-02T06:43:24.536Z] ---> c3a4a5f29313 [2020-11-02T06:43:24.536Z] Step 12/22 : FROM alpine [2020-11-02T06:43:24.536Z] latest: Pulling from library/alpine [2020-11-02T06:43:24.797Z] 188c0c94c7c5: Pulling fs layer [2020-11-02T06:43:25.060Z] 188c0c94c7c5: Verifying Checksum [2020-11-02T06:43:25.060Z] 188c0c94c7c5: Download complete [2020-11-02T06:43:25.324Z] 188c0c94c7c5: Pull complete [2020-11-02T06:43:25.324Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:43:25.324Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:43:25.324Z] ---> d6e46aa2470d [2020-11-02T06:43:25.324Z] Step 13/22 : ENV APP_PORT=49990 [2020-11-02T06:43:25.324Z] ---> Running in 9cd6c991d477 [2020-11-02T06:43:25.596Z] Removing intermediate container 9cd6c991d477 [2020-11-02T06:43:25.596Z] ---> 29c8d57ad949 [2020-11-02T06:43:25.596Z] Step 14/22 : EXPOSE $APP_PORT [2020-11-02T06:43:25.596Z] ---> Running in 78ad56bc34b5 [2020-11-02T06:43:25.862Z] Removing intermediate container 78ad56bc34b5 [2020-11-02T06:43:25.862Z] ---> c152958bec9f [2020-11-02T06:43:25.862Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-11-02T06:43:26.442Z] ---> bb94ec6b777d [2020-11-02T06:43:26.442Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-11-02T06:43:26.707Z] ---> 5b5454402e5a [2020-11-02T06:43:26.707Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-11-02T06:43:26.707Z] ---> ee7f305b5bc7 [2020-11-02T06:43:26.707Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-11-02T06:43:26.974Z] ---> Running in 0bb5b4d14e36 [2020-11-02T06:43:27.240Z] Removing intermediate container 0bb5b4d14e36 [2020-11-02T06:43:27.240Z] ---> ea780bb61d70 [2020-11-02T06:43:27.240Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-02T06:43:27.240Z] ---> Running in 4c8bd420c702 [2020-11-02T06:43:27.240Z] Removing intermediate container 4c8bd420c702 [2020-11-02T06:43:27.240Z] ---> 36bfa9a7b82c [2020-11-02T06:43:27.240Z] Step 20/22 : LABEL arch=amd64 [2020-11-02T06:43:27.507Z] ---> Running in 3edfedcc7a76 [2020-11-02T06:43:27.507Z] Removing intermediate container 3edfedcc7a76 [2020-11-02T06:43:27.507Z] ---> a018f7f265be [2020-11-02T06:43:27.507Z] Step 21/22 : LABEL git_sha=d650c3efdc6a8195eb1a71a2225f0f643cf49e0d [2020-11-02T06:43:27.507Z] ---> Running in 84aa8689ab27 [2020-11-02T06:43:27.783Z] Removing intermediate container 84aa8689ab27 [2020-11-02T06:43:27.783Z] ---> de71c97fa90f [2020-11-02T06:43:27.783Z] Step 22/22 : LABEL version=0.0.0 [2020-11-02T06:43:27.783Z] ---> Running in 1748eb84e148 [2020-11-02T06:43:28.047Z] Removing intermediate container 1748eb84e148 [2020-11-02T06:43:28.047Z] ---> 15a6fbe5f3a4 [2020-11-02T06:43:28.047Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:43:28.047Z] Successfully built 15a6fbe5f3a4 [2020-11-02T06:43:28.047Z] Successfully tagged docker-device-virtual-go:latest [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] // stage [Pipeline] } [2020-11-02T06:45:10.717Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-10072 in /w/workspace/foundry_device-virtual-go_PR-145 [Pipeline] { [Pipeline] ws [2020-11-02T06:45:10.855Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-11-02T06:45:16.355Z] using credential edgex-jenkins-ssh [2020-11-02T06:45:16.415Z] Cloning the remote Git repository [2020-11-02T06:45:16.477Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-11-02T06:45:16.584Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-11-02T06:45:16.659Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-11-02T06:45:16.659Z] > git --version # timeout=10 [2020-11-02T06:45:16.684Z] > git --version # 'git version 2.17.1' [2020-11-02T06:45:16.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:45:16.737Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:45:18.117Z] Merging remotes/origin/master commit c9d1bc531ce8d239853a83473b53448fb6f2334c into PR head commit d650c3efdc6a8195eb1a71a2225f0f643cf49e0d [2020-11-02T06:45:17.492Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-11-02T06:45:17.512Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:45:17.539Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-11-02T06:45:17.591Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-11-02T06:45:17.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:45:17.607Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-02T06:45:18.151Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:45:18.177Z] > git checkout -f d650c3efdc6a8195eb1a71a2225f0f643cf49e0d # timeout=10 [2020-11-02T06:45:18.352Z] > git remote # timeout=10 [2020-11-02T06:45:18.381Z] > git config --get remote.origin.url # timeout=10 [2020-11-02T06:45:18.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:45:18.427Z] > git merge c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 [2020-11-02T06:45:18.565Z] Merge succeeded, producing d650c3efdc6a8195eb1a71a2225f0f643cf49e0d [2020-11-02T06:45:18.565Z] Checking out Revision d650c3efdc6a8195eb1a71a2225f0f643cf49e0d (PR-145) [2020-11-02T06:45:18.522Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-02T06:45:18.575Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:45:18.600Z] > git checkout -f d650c3efdc6a8195eb1a71a2225f0f643cf49e0d # timeout=10 [2020-11-02T06:45:22.873Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-02T06:45:22.934Z] > git --version # timeout=10 [2020-11-02T06:45:22.950Z] > git --version # 'git version 2.17.1' [2020-11-02T06:45:22.973Z] fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-11-02T06:45:24.150Z] ========================================================= [2020-11-02T06:45:24.150Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-02T06:45:24.150Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:45:25.113Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-11-02T06:45:25.713Z] Sending build context to Docker daemon 471.6kB [2020-11-02T06:45:25.992Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-02T06:45:25.992Z] Step 2/8 : FROM ${BASE} [2020-11-02T06:45:26.263Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-02T06:45:26.263Z] b538f80385f9: Pulling fs layer [2020-11-02T06:45:26.263Z] 74f711af9a0d: Pulling fs layer [2020-11-02T06:45:26.263Z] 99f96fe45779: Pulling fs layer [2020-11-02T06:45:26.263Z] 8529a6b9a6be: Pulling fs layer [2020-11-02T06:45:26.263Z] 45590311c82a: Pulling fs layer [2020-11-02T06:45:26.263Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-02T06:45:26.263Z] 209524e5b208: Pulling fs layer [2020-11-02T06:45:26.263Z] 69ca0ff8b7b3: Waiting [2020-11-02T06:45:26.263Z] 8529a6b9a6be: Waiting [2020-11-02T06:45:26.263Z] 45590311c82a: Waiting [2020-11-02T06:45:26.263Z] 209524e5b208: Waiting [2020-11-02T06:45:26.263Z] 99f96fe45779: Verifying Checksum [2020-11-02T06:45:26.263Z] 99f96fe45779: Download complete [2020-11-02T06:45:26.263Z] 74f711af9a0d: Verifying Checksum [2020-11-02T06:45:26.263Z] 74f711af9a0d: Download complete [2020-11-02T06:45:26.537Z] 45590311c82a: Verifying Checksum [2020-11-02T06:45:26.537Z] 45590311c82a: Download complete [2020-11-02T06:45:26.537Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-02T06:45:26.537Z] 69ca0ff8b7b3: Download complete [2020-11-02T06:45:26.810Z] b538f80385f9: Download complete [2020-11-02T06:45:27.418Z] b538f80385f9: Pull complete [2020-11-02T06:45:28.021Z] 74f711af9a0d: Pull complete [2020-11-02T06:45:28.301Z] 99f96fe45779: Pull complete [2020-11-02T06:45:29.291Z] 209524e5b208: Verifying Checksum [2020-11-02T06:45:29.291Z] 209524e5b208: Download complete [2020-11-02T06:45:31.332Z] 8529a6b9a6be: Download complete [2020-11-02T06:45:41.545Z] 8529a6b9a6be: Pull complete [2020-11-02T06:45:41.822Z] 45590311c82a: Pull complete [2020-11-02T06:45:42.098Z] 69ca0ff8b7b3: Pull complete [2020-11-02T06:45:46.431Z] 209524e5b208: Pull complete [2020-11-02T06:45:46.431Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-02T06:45:46.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-02T06:45:46.431Z] ---> 5bddaf1c2fca [2020-11-02T06:45:46.431Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-02T06:45:49.044Z] ---> Running in e6b7725d0606 [2020-11-02T06:45:49.044Z] Removing intermediate container e6b7725d0606 [2020-11-02T06:45:49.044Z] ---> 028dc3a62b84 [2020-11-02T06:45:49.044Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:45:49.044Z] ---> Running in 9c47e79bc690 [2020-11-02T06:45:51.715Z] Removing intermediate container 9c47e79bc690 [2020-11-02T06:45:51.715Z] ---> 674d35dd2c2e [2020-11-02T06:45:51.715Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-02T06:45:51.715Z] ---> Running in 526ff145b54b [2020-11-02T06:45:53.149Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:45:53.747Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:45:54.344Z] (1/14) Installing libmagic (5.38-r0) [2020-11-02T06:45:54.616Z] (2/14) Installing file (5.38-r0) [2020-11-02T06:45:54.890Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-02T06:45:54.890Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-02T06:46:05.039Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-02T06:46:05.039Z] (6/14) Installing patch (2.7.6-r6) [2020-11-02T06:46:05.039Z] (7/14) Installing build-base (0.5-r2) [2020-11-02T06:46:05.040Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-02T06:46:05.040Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-02T06:46:05.040Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-02T06:46:05.311Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-02T06:46:05.582Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-02T06:46:05.582Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-02T06:46:05.855Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-02T06:46:06.127Z] Executing busybox-1.31.1-r16.trigger [2020-11-02T06:46:06.127Z] OK: 221 MiB in 53 packages [2020-11-02T06:46:10.432Z] Removing intermediate container 526ff145b54b [2020-11-02T06:46:10.432Z] ---> 12e541e59ee7 [2020-11-02T06:46:10.432Z] Step 6/8 : WORKDIR /device-virtual-go [2020-11-02T06:46:10.432Z] ---> Running in 7b6d6f543437 [2020-11-02T06:46:10.710Z] Removing intermediate container 7b6d6f543437 [2020-11-02T06:46:10.710Z] ---> b333c5550d12 [2020-11-02T06:46:10.710Z] Step 7/8 : COPY . . [2020-11-02T06:46:11.708Z] ---> 86af198b8153 [2020-11-02T06:46:11.708Z] Step 8/8 : RUN go mod download [2020-11-02T06:46:11.708Z] ---> Running in d9505522ab22 [2020-11-02T06:46:34.953Z] Removing intermediate container d9505522ab22 [2020-11-02T06:46:34.953Z] ---> 97a76f279ffa [2020-11-02T06:46:34.954Z] Successfully built 97a76f279ffa [2020-11-02T06:46:34.954Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:46:35.432Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:46:35.432Z] . [Pipeline] withDockerContainer [2020-11-02T06:46:35.717Z] prd-ubuntu18.04-docker-arm64-4c-16g-10072 does not seem to be running inside a container [2020-11-02T06:46:35.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-02T06:46:37.706Z] $ docker top d038b4a65a6f737a9a1adbad686a6750e518c6f0cc122bf780a1e7c318d87149 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:46:39.159Z] + go version [2020-11-02T06:46:39.159Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-02T06:46:39.212Z] $ docker stop --time=1 d038b4a65a6f737a9a1adbad686a6750e518c6f0cc122bf780a1e7c318d87149 [2020-11-02T06:46:41.137Z] $ docker rm -f d038b4a65a6f737a9a1adbad686a6750e518c6f0cc122bf780a1e7c318d87149 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:46:42.543Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:46:42.544Z] . [Pipeline] withDockerContainer [2020-11-02T06:46:42.849Z] prd-ubuntu18.04-docker-arm64-4c-16g-10072 does not seem to be running inside a container [2020-11-02T06:46:42.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-02T06:46:44.674Z] $ docker top 48fc6101748c549bbae1c679d7776ae7f792103defa15fa1d1a24f9f38f95211 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:46:46.105Z] + make test [2020-11-02T06:46:46.105Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-02T06:46:47.089Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-11-02T06:47:34.091Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-11-02T06:47:34.091Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.410s coverage: 64.4% of statements [2020-11-02T06:47:34.091Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:47:39.508Z] gofmt -l . [2020-11-02T06:47:39.786Z] [ "`gofmt -l .`" = "" ] [2020-11-02T06:47:39.786Z] ./bin/test-attribution-txt.sh [2020-11-02T06:47:41.225Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-02T06:47:41.551Z] $ docker stop --time=1 48fc6101748c549bbae1c679d7776ae7f792103defa15fa1d1a24f9f38f95211 [2020-11-02T06:47:43.715Z] $ docker rm -f 48fc6101748c549bbae1c679d7776ae7f792103defa15fa1d1a24f9f38f95211 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:47:44.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:47:44.736Z] Warning: overwriting stash ‘coverage-report’ [2020-11-02T06:47:45.485Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:47:46.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T06:47:46.784Z] + ls -al . [2020-11-02T06:47:46.784Z] total 152 [2020-11-02T06:47:46.784Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 2 06:47 . [2020-11-02T06:47:46.784Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:45 .. [2020-11-02T06:47:46.784Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:45 .git [2020-11-02T06:47:46.784Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:45 .github [2020-11-02T06:47:46.784Z] -rw-rw-r-- 1 jenkins jenkins 258 Nov 2 06:45 .gitignore [2020-11-02T06:47:46.784Z] -rw-rw-r-- 1 jenkins jenkins 6713 Nov 2 06:45 Attribution.txt [2020-11-02T06:47:46.784Z] -rw-rw-r-- 1 jenkins jenkins 1834 Nov 2 06:45 Dockerfile [2020-11-02T06:47:46.784Z] -rw-rw-r-- 1 jenkins jenkins 957 Nov 2 06:45 Dockerfile.build [2020-11-02T06:47:46.784Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 2 06:45 Jenkinsfile [2020-11-02T06:47:46.784Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 06:45 LICENSE [2020-11-02T06:47:46.784Z] -rw-rw-r-- 1 jenkins jenkins 873 Nov 2 06:45 Makefile [2020-11-02T06:47:46.784Z] -rw-rw-r-- 1 jenkins jenkins 918 Nov 2 06:45 README.md [2020-11-02T06:47:46.784Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:41 VERSION [2020-11-02T06:47:46.784Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:45 bin [2020-11-02T06:47:46.784Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:45 cmd [2020-11-02T06:47:46.784Z] -rw-r--r-- 1 jenkins jenkins 47242 Nov 2 06:47 coverage.out [2020-11-02T06:47:46.784Z] -rw-r--r-- 1 jenkins jenkins 863 Nov 2 06:47 go.mod [2020-11-02T06:47:46.784Z] -rw-r--r-- 1 jenkins jenkins 16577 Nov 2 06:47 go.sum [2020-11-02T06:47:46.784Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:45 internal [2020-11-02T06:47:46.784Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 2 06:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:47:47.283Z] + 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=d650c3efdc6a8195eb1a71a2225f0f643cf49e0d --label arch=arm64 --label version=0.0.0 . [2020-11-02T06:47:47.566Z] Sending build context to Docker daemon 537.1kB [2020-11-02T06:47:47.566Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-02T06:47:47.566Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-02T06:47:47.566Z] ---> 97a76f279ffa [2020-11-02T06:47:47.566Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-02T06:47:47.842Z] ---> Running in 8fa21ff0c390 [2020-11-02T06:47:48.441Z] Removing intermediate container 8fa21ff0c390 [2020-11-02T06:47:48.441Z] ---> 89fe49d86d61 [2020-11-02T06:47:48.441Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:47:48.441Z] ---> Running in e1657b81b867 [2020-11-02T06:47:48.714Z] Removing intermediate container e1657b81b867 [2020-11-02T06:47:48.714Z] ---> 49497cc94e14 [2020-11-02T06:47:48.714Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-11-02T06:47:49.003Z] ---> Running in da493b6f54af [2020-11-02T06:47:49.280Z] Removing intermediate container da493b6f54af [2020-11-02T06:47:49.280Z] ---> 15802e3b2c35 [2020-11-02T06:47:49.280Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:47:49.553Z] ---> Running in ee232c602952 [2020-11-02T06:47:52.175Z] Removing intermediate container ee232c602952 [2020-11-02T06:47:52.175Z] ---> 7df66c43a1a6 [2020-11-02T06:47:52.175Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:47:52.175Z] ---> Running in c9320a7d52f4 [2020-11-02T06:47:53.147Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:47:54.122Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:47:54.710Z] OK: 221 MiB in 53 packages [2020-11-02T06:47:56.140Z] Removing intermediate container c9320a7d52f4 [2020-11-02T06:47:56.140Z] ---> 217405b96355 [2020-11-02T06:47:56.140Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-11-02T06:47:56.140Z] ---> Running in eb3e0ca2d600 [2020-11-02T06:47:56.736Z] Removing intermediate container eb3e0ca2d600 [2020-11-02T06:47:56.736Z] ---> 1b2c640f6ff4 [2020-11-02T06:47:56.736Z] Step 9/22 : COPY . . [2020-11-02T06:47:57.333Z] ---> 336c8a058638 [2020-11-02T06:47:57.333Z] Step 10/22 : ARG MAKE='make build' [2020-11-02T06:47:57.604Z] ---> Running in 41496f1dbae6 [2020-11-02T06:47:58.199Z] Removing intermediate container 41496f1dbae6 [2020-11-02T06:47:58.199Z] ---> 517f609c5f15 [2020-11-02T06:47:58.199Z] Step 11/22 : RUN $MAKE [2020-11-02T06:47:58.199Z] ---> Running in 6723ad7a39bd [2020-11-02T06:47:59.626Z] 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-11-02T06:48:32.046Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:48:40.352Z] Removing intermediate container 6723ad7a39bd [2020-11-02T06:48:40.352Z] ---> c8581c957f83 [2020-11-02T06:48:40.352Z] Step 12/22 : FROM alpine [2020-11-02T06:48:40.352Z] latest: Pulling from library/alpine [2020-11-02T06:48:40.352Z] 5f621e34cdf4: Pulling fs layer [2020-11-02T06:48:40.352Z] 5f621e34cdf4: Verifying Checksum [2020-11-02T06:48:40.352Z] 5f621e34cdf4: Download complete [2020-11-02T06:48:40.948Z] 5f621e34cdf4: Pull complete [2020-11-02T06:48:40.948Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:48:41.226Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:48:41.226Z] ---> 2e77e061c27f [2020-11-02T06:48:41.226Z] Step 13/22 : ENV APP_PORT=49990 [2020-11-02T06:48:41.226Z] ---> Running in 66db3d8c5012 [2020-11-02T06:48:41.839Z] Removing intermediate container 66db3d8c5012 [2020-11-02T06:48:41.839Z] ---> 67ed1dd685db [2020-11-02T06:48:41.839Z] Step 14/22 : EXPOSE $APP_PORT [2020-11-02T06:48:41.839Z] ---> Running in b25294382f05 [2020-11-02T06:48:42.443Z] Removing intermediate container b25294382f05 [2020-11-02T06:48:42.443Z] ---> 8fad62e44871 [2020-11-02T06:48:42.443Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-11-02T06:48:43.889Z] ---> 1918bd7c13db [2020-11-02T06:48:43.889Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-11-02T06:48:44.489Z] ---> c832f16a54f8 [2020-11-02T06:48:44.489Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-11-02T06:48:45.472Z] ---> 233cdb66bd7d [2020-11-02T06:48:45.472Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-11-02T06:48:45.472Z] ---> Running in 47ee57278755 [2020-11-02T06:48:46.069Z] Removing intermediate container 47ee57278755 [2020-11-02T06:48:46.069Z] ---> 1a667aadc9d8 [2020-11-02T06:48:46.069Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-02T06:48:46.069Z] ---> Running in c24846cd071e [2020-11-02T06:48:46.670Z] Removing intermediate container c24846cd071e [2020-11-02T06:48:46.670Z] ---> 11db842fb75a [2020-11-02T06:48:46.670Z] Step 20/22 : LABEL arch=arm64 [2020-11-02T06:48:46.670Z] ---> Running in e0f740aa8bc8 [2020-11-02T06:48:47.268Z] Removing intermediate container e0f740aa8bc8 [2020-11-02T06:48:47.268Z] ---> e4d6f94d9337 [2020-11-02T06:48:47.268Z] Step 21/22 : LABEL git_sha=d650c3efdc6a8195eb1a71a2225f0f643cf49e0d [2020-11-02T06:48:47.268Z] ---> Running in 04be1ffa1d79 [2020-11-02T06:48:47.877Z] Removing intermediate container 04be1ffa1d79 [2020-11-02T06:48:47.877Z] ---> cf849629317b [2020-11-02T06:48:47.877Z] Step 22/22 : LABEL version=0.0.0 [2020-11-02T06:48:47.877Z] ---> Running in e71701884457 [2020-11-02T06:48:48.476Z] Removing intermediate container e71701884457 [2020-11-02T06:48:48.476Z] ---> fe88cdd88994 [2020-11-02T06:48:48.476Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:48:48.476Z] Successfully built fe88cdd88994 [2020-11-02T06:48:48.476Z] 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-11-02T06:48:51.350Z] provisioning config files... [2020-11-02T06:48:51.365Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-145@tmp/config7287972843176154071tmp [Pipeline] { [Pipeline] sh [2020-11-02T06:48:51.819Z] + set +x [2020-11-02T06:48:51.819Z] + curl -s https://codecov.io/bash [2020-11-02T06:48:51.819Z] + bash -s -- [2020-11-02T06:48:52.084Z] [2020-11-02T06:48:52.084Z] _____ _ [2020-11-02T06:48:52.084Z] / ____| | | [2020-11-02T06:48:52.084Z] | | ___ __| | ___ ___ _____ __ [2020-11-02T06:48:52.084Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-02T06:48:52.084Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-02T06:48:52.084Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-02T06:48:52.084Z] Bash-20201009-048fee3 [2020-11-02T06:48:52.084Z] [2020-11-02T06:48:52.084Z] [2020-11-02T06:48:52.084Z] ==> Jenkins CI detected. [2020-11-02T06:48:52.084Z] project root: . [2020-11-02T06:48:52.084Z] --> token set from env [2020-11-02T06:48:52.084Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-02T06:48:52.084Z] ==> Running gcov in . (disable via -X gcov) [2020-11-02T06:48:52.084Z] ==> Python coveragepy not found [2020-11-02T06:48:52.084Z] ==> Searching for coverage reports in: [2020-11-02T06:48:52.084Z] + . [2020-11-02T06:48:52.084Z] -> Found 1 reports [2020-11-02T06:48:52.084Z] ==> Detecting git/mercurial file structure [2020-11-02T06:48:52.084Z] ==> Reading reports [2020-11-02T06:48:52.084Z] + ./coverage.out bytes=47242 [2020-11-02T06:48:52.084Z] ==> Appending adjustments [2020-11-02T06:48:52.084Z] https://docs.codecov.io/docs/fixing-reports [2020-11-02T06:48:52.346Z] + Found adjustments [2020-11-02T06:48:52.346Z] ==> Gzipping contents [2020-11-02T06:48:52.346Z] ==> Uploading reports [2020-11-02T06:48:52.346Z] url: https://codecov.io [2020-11-02T06:48:52.346Z] query: branch=PR-145&commit=d650c3efdc6a8195eb1a71a2225f0f643cf49e0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-145%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=145&job=&cmd_args= [2020-11-02T06:48:52.346Z] -> Pinging Codecov [2020-11-02T06:48:52.346Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-145&commit=d650c3efdc6a8195eb1a71a2225f0f643cf49e0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-145%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=145&job=&cmd_args= [2020-11-02T06:48:52.346Z] -> Uploading to [2020-11-02T06:48:52.346Z] [2020-11-02T06:48:52.346Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:48:52.346Z] Dload Upload Total Spent Left Speed [2020-11-02T06:48:52.346Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-11-02T06:48:52.346Z] X> Failed to upload [2020-11-02T06:48:52.346Z] ==> Uploading to Codecov [2020-11-02T06:48:52.608Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:48:52.608Z] Dload Upload Total Spent Left Speed [2020-11-02T06:48:52.870Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 5788 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5902 100 114 100 5788 250 12713 --:--:-- --:--:-- --:--:-- 12692 [2020-11-02T06:48:52.870Z] View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/d650c3efdc6a8195eb1a71a2225f0f643cf49e0d [Pipeline] } [2020-11-02T06:48:52.926Z] 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] { (Archive Prep) Stage "Archive Prep" 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-11-02T06:48:58.197Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:48:58.798Z] ---> package-listing.sh [2020-11-02T06:48:58.798Z] ++ facter osfamily [2020-11-02T06:48:58.798Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-02T06:48:58.798Z] + OS_FAMILY=redhat [2020-11-02T06:48:58.798Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-145 [2020-11-02T06:48:58.798Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-02T06:48:58.798Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-02T06:48:58.798Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-02T06:48:58.798Z] + PACKAGES=/tmp/packages_start.txt [2020-11-02T06:48:58.798Z] + '[' /w/workspace/foundry_device-virtual-go_PR-145 ']' [2020-11-02T06:48:58.798Z] + PACKAGES=/tmp/packages_end.txt [2020-11-02T06:48:58.798Z] + case "${OS_FAMILY}" in [2020-11-02T06:48:58.798Z] + rpm -qa [2020-11-02T06:48:58.798Z] + sort [2020-11-02T06:49:03.040Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-02T06:49:03.040Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-02T06:49:03.040Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-02T06:49:03.040Z] + '[' /w/workspace/foundry_device-virtual-go_PR-145 ']' [2020-11-02T06:49:03.040Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-145/archives/ [2020-11-02T06:49:03.040Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-145/archives/ [Pipeline] echo [2020-11-02T06:49:03.078Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-145/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-02T06:49:03.393Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:49:03.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:49:03.728Z] [2020-11-02T06:49:03.728Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:49:04.138Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:49:04.138Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-02T06:49:04.138Z] df20fa9351a1: Already exists [2020-11-02T06:49:04.138Z] 36b3adc4ff6f: Pulling fs layer [2020-11-02T06:49:04.138Z] 8ad3a11d3b57: Pulling fs layer [2020-11-02T06:49:04.138Z] 46f8f816bc3b: Pulling fs layer [2020-11-02T06:49:04.138Z] 93b61091891f: Pulling fs layer [2020-11-02T06:49:04.138Z] 93b9cdb0e59b: Pulling fs layer [2020-11-02T06:49:04.138Z] 5e14af77c1be: Pulling fs layer [2020-11-02T06:49:04.138Z] 01666e4c0597: Pulling fs layer [2020-11-02T06:49:04.138Z] aa168da1d23b: Pulling fs layer [2020-11-02T06:49:04.138Z] 5e14af77c1be: Waiting [2020-11-02T06:49:04.138Z] 01666e4c0597: Waiting [2020-11-02T06:49:04.138Z] aa168da1d23b: Waiting [2020-11-02T06:49:04.138Z] 93b61091891f: Waiting [2020-11-02T06:49:04.138Z] 46f8f816bc3b: Verifying Checksum [2020-11-02T06:49:04.138Z] 46f8f816bc3b: Download complete [2020-11-02T06:49:04.138Z] 36b3adc4ff6f: Verifying Checksum [2020-11-02T06:49:04.138Z] 36b3adc4ff6f: Download complete [2020-11-02T06:49:04.138Z] 93b9cdb0e59b: Verifying Checksum [2020-11-02T06:49:04.138Z] 93b9cdb0e59b: Download complete [2020-11-02T06:49:04.138Z] 5e14af77c1be: Verifying Checksum [2020-11-02T06:49:04.138Z] 5e14af77c1be: Download complete [2020-11-02T06:49:04.138Z] 93b61091891f: Verifying Checksum [2020-11-02T06:49:04.138Z] 93b61091891f: Download complete [2020-11-02T06:49:04.138Z] 01666e4c0597: Verifying Checksum [2020-11-02T06:49:04.138Z] 01666e4c0597: Download complete [2020-11-02T06:49:04.400Z] 36b3adc4ff6f: Pull complete [2020-11-02T06:49:04.666Z] 8ad3a11d3b57: Verifying Checksum [2020-11-02T06:49:04.666Z] 8ad3a11d3b57: Download complete [2020-11-02T06:49:05.627Z] 8ad3a11d3b57: Pull complete [2020-11-02T06:49:05.627Z] 46f8f816bc3b: Pull complete [2020-11-02T06:49:06.578Z] aa168da1d23b: Verifying Checksum [2020-11-02T06:49:06.578Z] aa168da1d23b: Download complete [2020-11-02T06:49:06.840Z] 93b61091891f: Pull complete [2020-11-02T06:49:06.840Z] 93b9cdb0e59b: Pull complete [2020-11-02T06:49:07.103Z] 5e14af77c1be: Pull complete [2020-11-02T06:49:07.103Z] 01666e4c0597: Pull complete [2020-11-02T06:49:15.290Z] aa168da1d23b: Pull complete [2020-11-02T06:49:15.290Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-02T06:49:15.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:49:15.290Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-02T06:49:15.532Z] prd-centos7-docker-4c-2g-10055 does not seem to be running inside a container [2020-11-02T06:49:15.589Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-145/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-145 -v /w/workspace/foundry_device-virtual-go_PR-145:/w/workspace/foundry_device-virtual-go_PR-145:rw,z -v /w/workspace/foundry_device-virtual-go_PR-145@tmp:/w/workspace/foundry_device-virtual-go_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-02T06:49:18.640Z] $ docker top 1445cc710e27ee0a59b543b2574de182d2ea54ac9452bb69813e189d7576992f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:49:19.291Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-02T06:49:19.614Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-02T06:49:19.952Z] + ls /var/log/sa-host [2020-11-02T06:49:19.952Z] + sadf -c /var/log/sa-host/sa02 [2020-11-02T06:49:19.952Z] file_magic: OK [2020-11-02T06:49:19.952Z] HZ: Using current value: 100 [2020-11-02T06:49:19.952Z] file_header: OK [2020-11-02T06:49:19.952Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-02T06:49:19.952Z] Statistics: [2020-11-02T06:49:19.952Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:49:19.952Z] File successfully converted to sysstat format version 12.2.1 [2020-11-02T06:49:19.952Z] + sadf -c /var/log/sa-host/sa05 [2020-11-02T06:49:19.952Z] file_magic: OK [2020-11-02T06:49:19.952Z] HZ: Using current value: 100 [2020-11-02T06:49:19.952Z] file_header: OK [2020-11-02T06:49:19.952Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-02T06:49:19.952Z] Statistics: [2020-11-02T06:49:19.952Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:49:19.952Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T06:49:20.228Z] provisioning config files... [2020-11-02T06:49:20.245Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-145@tmp/config2064644930140907297tmp [Pipeline] { [Pipeline] echo [2020-11-02T06:49:20.412Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:20.780Z] ---> create-netrc.sh [Pipeline] } [2020-11-02T06:49:20.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-02T06:49:20.958Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:21.301Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-02T06:49:21.338Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:21.683Z] ---> sudo-logs.sh [2020-11-02T06:49:21.683Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-02T06:49:21.713Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:22.054Z] ---> job-cost.sh [2020-11-02T06:49:22.054Z] lf-activate-venv: SKIPPING [2020-11-02T06:49:22.054Z] INFO: No Stack... [2020-11-02T06:49:23.002Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-02T06:49:23.265Z] INFO: Archiving Costs [Pipeline] echo [2020-11-02T06:49:23.299Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:49:23.641Z] ---> logs-deploy.sh [2020-11-02T06:49:23.641Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-145/1 [2020-11-02T06:49:23.641Z] INFO: archiving workspace using pattern(s): [2020-11-02T06:49:25.563Z] Archives upload complete. [2020-11-02T06:49:25.829Z] INFO: archiving logs to Nexus