Pull request #173 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0e86f3501108c0ee69c453288a9e9d71702abefc+bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec (7b0f5779896cee7b8e360eb9207b9c3b4e3cdd27) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-173/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-173/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-31680 in /w/workspace/foundry_device-virtual-go_PR-173 [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-173 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --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 > 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 --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec into PR head commit 0e86f3501108c0ee69c453288a9e9d71702abefc Merge succeeded, producing 0e86f3501108c0ee69c453288a9e9d71702abefc Checking out Revision 0e86f3501108c0ee69c453288a9e9d71702abefc (PR-173) > git config core.sparsecheckout # timeout=10 > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # 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 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-29T06:02:57.793Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-29T06:02:58.118Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-29T06:02:58.293Z] ========================================================= [2021-03-29T06:02:58.293Z] EdgeX Global Pipelines Version Info [2021-03-29T06:02:58.293Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-29T06:02:59.828Z] ------------------- [2021-03-29T06:02:59.829Z] stable info: [2021-03-29T06:02:59.829Z] ------------------- [2021-03-29T06:02:59.829Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-29T06:02:59.829Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-29T06:02:59.829Z] Message: update stable to v1.0.186 [2021-03-29T06:03:00.782Z] ------------------- [2021-03-29T06:03:00.782Z] experimental info: [2021-03-29T06:03:00.782Z] ------------------- [2021-03-29T06:03:00.782Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-29T06:03:00.782Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-29T06:03:00.782Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-29T06:03:01.154Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-03-29T06:03:01.274Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-03-29T06:03:01.410Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-29T06:03:01.523Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-29T06:03:01.695Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-29T06:03:01.854Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-29T06:03:01.980Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-29T06:03:02.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-29T06:03:02.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-29T06:03:02.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-29T06:03:02.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-29T06:03:02.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-03-29T06:03:02.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-29T06:03:02.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-29T06:03:03.026Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-29T06:03:03.149Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-29T06:03:03.290Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T06:03:03.416Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T06:03:03.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-29T06:03:03.664Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-29T06:03:03.805Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-03-29T06:03:03.952Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-03-29T06:03:04.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-29T06:03:04.207Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-29T06:03:04.337Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-29T06:03:04.511Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-29T06:03:04.626Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-173 [Pipeline] echo [2021-03-29T06:03:04.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-173 [Pipeline] echo [2021-03-29T06:03:04.871Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-173 [Pipeline] echo [2021-03-29T06:03:05.015Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e86f3501108c0ee69c453288a9e9d71702abefc [Pipeline] echo [2021-03-29T06:03:05.138Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e86f35 [Pipeline] echo [2021-03-29T06:03:05.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-29T06:03:05.524Z] provisioning config files... [2021-03-29T06:03:05.568Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-173@tmp/config3191970145096321559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-29T06:03:06.019Z] ---> docker-login.sh [2021-03-29T06:03:06.019Z] nexus3.edgexfoundry.org:10001 [2021-03-29T06:03:06.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:03:06.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:03:06.559Z] Configure a credential helper to remove this warning. See [2021-03-29T06:03:06.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:03:06.559Z] [2021-03-29T06:03:06.559Z] Login Succeeded [2021-03-29T06:03:06.559Z] nexus3.edgexfoundry.org:10002 [2021-03-29T06:03:06.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:03:06.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:03:06.913Z] Configure a credential helper to remove this warning. See [2021-03-29T06:03:06.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:03:06.913Z] [2021-03-29T06:03:06.913Z] Login Succeeded [2021-03-29T06:03:06.913Z] nexus3.edgexfoundry.org:10003 [2021-03-29T06:03:06.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:03:06.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:03:06.913Z] Configure a credential helper to remove this warning. See [2021-03-29T06:03:06.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:03:06.913Z] [2021-03-29T06:03:06.913Z] Login Succeeded [2021-03-29T06:03:06.913Z] nexus3.edgexfoundry.org:10004 [2021-03-29T06:03:07.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:03:07.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:03:07.186Z] Configure a credential helper to remove this warning. See [2021-03-29T06:03:07.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:03:07.186Z] [2021-03-29T06:03:07.186Z] Login Succeeded [2021-03-29T06:03:07.186Z] docker.io [2021-03-29T06:03:07.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:03:07.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:03:07.449Z] Configure a credential helper to remove this warning. See [2021-03-29T06:03:07.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:03:07.449Z] [2021-03-29T06:03:07.449Z] Login Succeeded [2021-03-29T06:03:07.449Z] ---> docker-login.sh ends [Pipeline] } [2021-03-29T06:03:07.490Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T06:03:08.578Z] + git log --format=format:%s -1 0e86f3501108c0ee69c453288a9e9d71702abefc [Pipeline] echo [2021-03-29T06:03:08.676Z] GIT_COMMIT: 0e86f3501108c0ee69c453288a9e9d71702abefc, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-03-29T06:03:08.744Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-29T06:03:09.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T06:03:09.392Z] [2021-03-29T06:03:09.392Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T06:03:09.791Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T06:03:09.792Z] latest: Pulling from edgex-devops/git-semver [2021-03-29T06:03:09.792Z] 31603596830f: Pulling fs layer [2021-03-29T06:03:09.792Z] 2a8b12db71e7: Pulling fs layer [2021-03-29T06:03:09.792Z] 6ca5941a6612: Pulling fs layer [2021-03-29T06:03:09.792Z] ecc8261a40a4: Pulling fs layer [2021-03-29T06:03:09.792Z] ecc8261a40a4: Waiting [2021-03-29T06:03:09.792Z] 2a8b12db71e7: Verifying Checksum [2021-03-29T06:03:09.792Z] 2a8b12db71e7: Download complete [2021-03-29T06:03:09.792Z] 31603596830f: Verifying Checksum [2021-03-29T06:03:10.066Z] ecc8261a40a4: Verifying Checksum [2021-03-29T06:03:10.066Z] ecc8261a40a4: Download complete [2021-03-29T06:03:10.067Z] 6ca5941a6612: Verifying Checksum [2021-03-29T06:03:10.067Z] 6ca5941a6612: Download complete [2021-03-29T06:03:10.331Z] 31603596830f: Pull complete [2021-03-29T06:03:10.597Z] 2a8b12db71e7: Pull complete [2021-03-29T06:03:11.565Z] 6ca5941a6612: Pull complete [2021-03-29T06:03:11.565Z] ecc8261a40a4: Pull complete [2021-03-29T06:03:11.565Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-29T06:03:11.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T06:03:11.565Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-29T06:03:11.715Z] prd-centos7-docker-4c-2g-31680 does not seem to be running inside a container [2021-03-29T06:03:11.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-173 -v /w/workspace/foundry_device-virtual-go_PR-173:/w/workspace/foundry_device-virtual-go_PR-173:rw,z -v /w/workspace/foundry_device-virtual-go_PR-173@tmp:/w/workspace/foundry_device-virtual-go_PR-173@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:10004/edgex-devops/git-semver:latest cat [2021-03-29T06:03:13.774Z] $ docker top 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-29T06:03:14.190Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T06:03:14.190Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T06:03:14.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T06:03:14.436Z] $ docker exec 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 ssh-agent [2021-03-29T06:03:14.631Z] SSH_AUTH_SOCK=/tmp/ssh-yFY91315J8a6/agent.11 [2021-03-29T06:03:14.631Z] SSH_AGENT_PID=17 [2021-03-29T06:03:14.646Z] Running ssh-add (command line suppressed) [2021-03-29T06:03:14.784Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-173@tmp/private_key_3201398311808583270.key (/w/workspace/foundry_device-virtual-go_PR-173@tmp/private_key_3201398311808583270.key) [2021-03-29T06:03:14.841Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T06:03:15.226Z] + git tag --points-at HEAD [Pipeline] } [2021-03-29T06:03:15.257Z] $ docker exec --env ******** --env ******** 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 ssh-agent -k [2021-03-29T06:03:15.378Z] unset SSH_AUTH_SOCK; [2021-03-29T06:03:15.378Z] unset SSH_AGENT_PID; [2021-03-29T06:03:15.379Z] echo Agent pid 17 killed; [2021-03-29T06:03:15.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-29T06:03:15.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T06:03:15.654Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T06:03:15.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T06:03:15.840Z] $ docker exec 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 ssh-agent [2021-03-29T06:03:16.014Z] SSH_AUTH_SOCK=/tmp/ssh-gSR3BtHY8kK5/agent.46 [2021-03-29T06:03:16.014Z] SSH_AGENT_PID=51 [2021-03-29T06:03:16.022Z] Running ssh-add (command line suppressed) [2021-03-29T06:03:16.147Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-173@tmp/private_key_4872606082335535217.key (/w/workspace/foundry_device-virtual-go_PR-173@tmp/private_key_4872606082335535217.key) [2021-03-29T06:03:16.209Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T06:03:16.587Z] + git semver init [2021-03-29T06:03:16.587Z] # -> Open(): unable to determine branch for HEAD [2021-03-29T06:03:16.587Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-173/.git [2021-03-29T06:03:16.587Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-173 [2021-03-29T06:03:16.587Z] # $SEMVER_REMOTE_NAME = origin [2021-03-29T06:03:16.587Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-29T06:03:16.587Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-29T06:03:16.587Z] # $SEMVER_BRANCH = PR-173 [2021-03-29T06:03:16.587Z] # $SEMVER_TEMP = /tmp/semver-033336843 [2021-03-29T06:03:16.587Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-03-29T06:03:17.166Z] # '/tmp/semver-033336843' -> '/w/workspace/foundry_device-virtual-go_PR-173/.semver' [2021-03-29T06:03:17.166Z] # -> Force: false [2021-03-29T06:03:17.166Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-173/.semver [Pipeline] } [2021-03-29T06:03:17.190Z] $ docker exec --env ******** --env ******** 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 ssh-agent -k [2021-03-29T06:03:17.317Z] unset SSH_AUTH_SOCK; [2021-03-29T06:03:17.318Z] unset SSH_AGENT_PID; [2021-03-29T06:03:17.318Z] echo Agent pid 51 killed; [2021-03-29T06:03:17.372Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-29T06:03:17.952Z] + git semver [Pipeline] } [2021-03-29T06:03:17.985Z] $ docker stop --time=1 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 [2021-03-29T06:03:19.394Z] $ docker rm -f 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T06:03:19.920Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-29T06:03:20.388Z] Stashed 1 file(s) [Pipeline] echo [2021-03-29T06:03:20.410Z] [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] node [2021-03-29T06:03:36.283Z] Still waiting to schedule task [2021-03-29T06:03:36.283Z] ‘prd-centos7-docker-4c-2g-31668’ is offline; ‘prd-centos7-docker-4c-2g-31676’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30654’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-29T06:03:36.311Z] Still waiting to schedule task [2021-03-29T06:03:36.311Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-29T06:06:11.641Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31690 in /w/workspace/foundry_device-virtual-go_PR-173 [Pipeline] { [Pipeline] ws [2021-03-29T06:06:11.775Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-03-29T06:06:17.455Z] using credential edgex-jenkins-ssh [2021-03-29T06:06:17.511Z] Cloning the remote Git repository [2021-03-29T06:06:17.579Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-03-29T06:06:17.696Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-03-29T06:06:17.779Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-29T06:06:17.780Z] > git --version # timeout=10 [2021-03-29T06:06:17.796Z] > git --version # 'git version 2.17.1' [2021-03-29T06:06:17.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T06:06:17.888Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T06:06:19.232Z] Merging remotes/origin/master commit bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec into PR head commit 0e86f3501108c0ee69c453288a9e9d71702abefc [2021-03-29T06:06:19.484Z] Merge succeeded, producing 0e86f3501108c0ee69c453288a9e9d71702abefc [2021-03-29T06:06:19.484Z] Checking out Revision 0e86f3501108c0ee69c453288a9e9d71702abefc (PR-173) [2021-03-29T06:06:18.629Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-29T06:06:18.656Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T06:06:18.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-29T06:06:18.738Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-29T06:06:18.739Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T06:06:18.753Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-29T06:06:19.261Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T06:06:19.290Z] > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 [2021-03-29T06:06:19.379Z] > git remote # timeout=10 [2021-03-29T06:06:19.400Z] > git config --get remote.origin.url # timeout=10 [2021-03-29T06:06:19.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T06:06:19.435Z] > git merge bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 [2021-03-29T06:06:19.464Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-29T06:06:19.493Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T06:06:19.505Z] > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 [2021-03-29T06:06:24.030Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-03-29T06:06:24.095Z] > git --version # timeout=10 [2021-03-29T06:06:24.104Z] > git --version # 'git version 2.17.1' [2021-03-29T06:06:24.125Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T06:06:25.978Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-29T06:06:26.419Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-29T06:06:26.786Z] + + sudo servicetrue docker [2021-03-29T06:06:26.787Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-29T06:06:29.564Z] provisioning config files... [2021-03-29T06:06:29.615Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config478480968624525843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-29T06:06:30.065Z] ---> docker-login.sh [2021-03-29T06:06:30.065Z] nexus3.edgexfoundry.org:10001 [2021-03-29T06:06:30.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:06:31.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:06:31.260Z] Configure a credential helper to remove this warning. See [2021-03-29T06:06:31.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:06:31.260Z] [2021-03-29T06:06:31.260Z] Login Succeeded [2021-03-29T06:06:31.260Z] nexus3.edgexfoundry.org:10002 [2021-03-29T06:06:31.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:06:32.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:06:32.125Z] Configure a credential helper to remove this warning. See [2021-03-29T06:06:32.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:06:32.125Z] [2021-03-29T06:06:32.125Z] Login Succeeded [2021-03-29T06:06:32.125Z] nexus3.edgexfoundry.org:10003 [2021-03-29T06:06:32.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:06:32.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:06:32.400Z] Configure a credential helper to remove this warning. See [2021-03-29T06:06:32.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:06:32.400Z] [2021-03-29T06:06:32.400Z] Login Succeeded [2021-03-29T06:06:32.400Z] nexus3.edgexfoundry.org:10004 [2021-03-29T06:06:32.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:06:32.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:06:32.954Z] Configure a credential helper to remove this warning. See [2021-03-29T06:06:32.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:06:32.954Z] [2021-03-29T06:06:32.954Z] Login Succeeded [2021-03-29T06:06:32.954Z] docker.io [2021-03-29T06:06:33.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:06:33.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:06:33.852Z] Configure a credential helper to remove this warning. See [2021-03-29T06:06:33.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:06:33.852Z] [2021-03-29T06:06:33.852Z] Login Succeeded [2021-03-29T06:06:33.852Z] ---> docker-login.sh ends [Pipeline] } [2021-03-29T06:06:33.899Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-29T06:06:34.525Z] ========================================================= [2021-03-29T06:06:34.525Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-29T06:06:34.525Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-29T06:06:34.942Z] + 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 . [2021-03-29T06:06:35.217Z] Sending build context to Docker daemon 492.5kB [2021-03-29T06:06:35.217Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-29T06:06:35.217Z] Step 2/8 : FROM ${BASE} [2021-03-29T06:06:35.497Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-29T06:06:35.497Z] 5f621e34cdf4: Pulling fs layer [2021-03-29T06:06:35.497Z] a4357932f1b6: Pulling fs layer [2021-03-29T06:06:35.497Z] 18c013af1878: Pulling fs layer [2021-03-29T06:06:35.497Z] 00ac8860ef70: Pulling fs layer [2021-03-29T06:06:35.497Z] 63d7cb157983: Pulling fs layer [2021-03-29T06:06:35.497Z] b116817d02f9: Pulling fs layer [2021-03-29T06:06:35.497Z] 745a02a5169b: Pulling fs layer [2021-03-29T06:06:35.497Z] 63d7cb157983: Waiting [2021-03-29T06:06:35.497Z] b116817d02f9: Waiting [2021-03-29T06:06:35.497Z] 745a02a5169b: Waiting [2021-03-29T06:06:35.497Z] 00ac8860ef70: Waiting [2021-03-29T06:06:35.497Z] 18c013af1878: Verifying Checksum [2021-03-29T06:06:35.497Z] 18c013af1878: Download complete [2021-03-29T06:06:35.497Z] a4357932f1b6: Verifying Checksum [2021-03-29T06:06:35.497Z] a4357932f1b6: Download complete [2021-03-29T06:06:35.497Z] 63d7cb157983: Verifying Checksum [2021-03-29T06:06:35.497Z] 63d7cb157983: Download complete [2021-03-29T06:06:35.497Z] b116817d02f9: Download complete [2021-03-29T06:06:35.497Z] 5f621e34cdf4: Verifying Checksum [2021-03-29T06:06:36.500Z] 5f621e34cdf4: Pull complete [2021-03-29T06:06:36.776Z] a4357932f1b6: Pull complete [2021-03-29T06:06:37.053Z] 18c013af1878: Pull complete [2021-03-29T06:06:38.033Z] 745a02a5169b: Verifying Checksum [2021-03-29T06:06:38.033Z] 745a02a5169b: Download complete [2021-03-29T06:06:39.474Z] 00ac8860ef70: Verifying Checksum [2021-03-29T06:06:39.474Z] 00ac8860ef70: Download complete [2021-03-29T06:06:49.628Z] 00ac8860ef70: Pull complete [2021-03-29T06:06:49.628Z] 63d7cb157983: Pull complete [2021-03-29T06:06:49.628Z] b116817d02f9: Pull complete [2021-03-29T06:06:53.045Z] 745a02a5169b: Pull complete [2021-03-29T06:06:53.045Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-29T06:06:53.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-29T06:06:53.045Z] ---> b7e6874047d6 [2021-03-29T06:06:53.045Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-03-29T06:06:55.683Z] ---> Running in 3be06fc1fc49 [2021-03-29T06:06:56.289Z] Removing intermediate container 3be06fc1fc49 [2021-03-29T06:06:56.289Z] ---> 8e5e2e9d7eec [2021-03-29T06:06:56.289Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T06:06:56.289Z] ---> Running in 52ffec16e375 [2021-03-29T06:06:57.573Z] Running on prd-centos7-docker-4c-2g-31692 in /w/workspace/foundry_device-virtual-go_PR-173 [Pipeline] { [Pipeline] ws [2021-03-29T06:06:57.744Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-03-29T06:06:58.945Z] Removing intermediate container 52ffec16e375 [2021-03-29T06:06:58.945Z] ---> 8cbd416f9f29 [2021-03-29T06:06:58.945Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-29T06:06:58.945Z] ---> Running in ac075848cdfa [2021-03-29T06:06:59.932Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-29T06:07:00.321Z] using credential edgex-jenkins-ssh [2021-03-29T06:07:00.383Z] Cloning the remote Git repository [2021-03-29T06:07:00.916Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-29T06:07:00.408Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-03-29T06:07:00.479Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-03-29T06:07:00.544Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-29T06:07:00.544Z] > git --version # timeout=10 [2021-03-29T06:07:00.554Z] > git --version # 'git version 2.24.3' [2021-03-29T06:07:00.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T06:07:00.584Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T06:07:01.231Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-29T06:07:01.236Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T06:07:01.259Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-29T06:07:01.287Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-29T06:07:01.287Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T06:07:01.293Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-29T06:07:01.901Z] (1/14) Installing libmagic (5.38-r0) [2021-03-29T06:07:02.399Z] Merging remotes/origin/master commit bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec into PR head commit 0e86f3501108c0ee69c453288a9e9d71702abefc [2021-03-29T06:07:02.491Z] (2/14) Installing file (5.38-r0) [2021-03-29T06:07:02.491Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-29T06:07:02.491Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-29T06:07:02.492Z] Merge succeeded, producing 0e86f3501108c0ee69c453288a9e9d71702abefc [2021-03-29T06:07:02.492Z] Checking out Revision 0e86f3501108c0ee69c453288a9e9d71702abefc (PR-173) [2021-03-29T06:07:02.410Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T06:07:02.418Z] > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 [2021-03-29T06:07:02.452Z] > git remote # timeout=10 [2021-03-29T06:07:02.460Z] > git config --get remote.origin.url # timeout=10 [2021-03-29T06:07:02.467Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T06:07:02.472Z] > git merge bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 [2021-03-29T06:07:02.483Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-29T06:07:02.494Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T06:07:02.500Z] > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 [2021-03-29T06:07:06.207Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-03-29T06:07:06.245Z] > git --version # timeout=10 [2021-03-29T06:07:06.250Z] > git --version # 'git version 2.24.3' [2021-03-29T06:07:06.258Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T06:07:07.715Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-29T06:07:08.103Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-29T06:07:08.451Z] + sudo service docker restart [2021-03-29T06:07:08.451Z] + true [2021-03-29T06:07:08.451Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-29T06:07:09.538Z] provisioning config files... [2021-03-29T06:07:09.580Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7269286884325439026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-29T06:07:09.996Z] ---> docker-login.sh [2021-03-29T06:07:09.996Z] nexus3.edgexfoundry.org:10001 [2021-03-29T06:07:10.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:07:10.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:07:10.269Z] Configure a credential helper to remove this warning. See [2021-03-29T06:07:10.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:07:10.269Z] [2021-03-29T06:07:10.269Z] Login Succeeded [2021-03-29T06:07:10.532Z] nexus3.edgexfoundry.org:10002 [2021-03-29T06:07:10.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:07:10.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:07:10.532Z] Configure a credential helper to remove this warning. See [2021-03-29T06:07:10.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:07:10.532Z] [2021-03-29T06:07:10.532Z] Login Succeeded [2021-03-29T06:07:10.532Z] nexus3.edgexfoundry.org:10003 [2021-03-29T06:07:10.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:07:10.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:07:10.796Z] Configure a credential helper to remove this warning. See [2021-03-29T06:07:10.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:07:10.796Z] [2021-03-29T06:07:10.796Z] Login Succeeded [2021-03-29T06:07:10.796Z] nexus3.edgexfoundry.org:10004 [2021-03-29T06:07:10.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:07:11.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:07:11.061Z] Configure a credential helper to remove this warning. See [2021-03-29T06:07:11.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:07:11.061Z] [2021-03-29T06:07:11.061Z] Login Succeeded [2021-03-29T06:07:11.061Z] docker.io [2021-03-29T06:07:11.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T06:07:11.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T06:07:11.327Z] Configure a credential helper to remove this warning. See [2021-03-29T06:07:11.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T06:07:11.327Z] [2021-03-29T06:07:11.327Z] Login Succeeded [2021-03-29T06:07:11.327Z] ---> docker-login.sh ends [Pipeline] } [2021-03-29T06:07:11.355Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-29T06:07:11.907Z] ========================================================= [2021-03-29T06:07:11.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-29T06:07:11.907Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-29T06:07:12.311Z] + 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 . [2021-03-29T06:07:12.311Z] Sending build context to Docker daemon 493.6kB [2021-03-29T06:07:12.311Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-29T06:07:12.311Z] Step 2/8 : FROM ${BASE} [2021-03-29T06:07:12.573Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-29T06:07:12.573Z] 188c0c94c7c5: Pulling fs layer [2021-03-29T06:07:12.573Z] 0ef7d3d256c8: Pulling fs layer [2021-03-29T06:07:12.573Z] de9db76c5a1d: Pulling fs layer [2021-03-29T06:07:12.573Z] bca2f99d35d6: Pulling fs layer [2021-03-29T06:07:12.573Z] 93359f2a8cfa: Pulling fs layer [2021-03-29T06:07:12.573Z] 7c6f9722023f: Pulling fs layer [2021-03-29T06:07:12.573Z] a35cf1a2eb13: Pulling fs layer [2021-03-29T06:07:12.573Z] bca2f99d35d6: Waiting [2021-03-29T06:07:12.573Z] 93359f2a8cfa: Waiting [2021-03-29T06:07:12.573Z] 7c6f9722023f: Waiting [2021-03-29T06:07:12.573Z] a35cf1a2eb13: Waiting [2021-03-29T06:07:12.573Z] de9db76c5a1d: Verifying Checksum [2021-03-29T06:07:12.573Z] de9db76c5a1d: Download complete [2021-03-29T06:07:12.573Z] 0ef7d3d256c8: Verifying Checksum [2021-03-29T06:07:12.573Z] 0ef7d3d256c8: Download complete [2021-03-29T06:07:12.573Z] 93359f2a8cfa: Download complete [2021-03-29T06:07:12.573Z] 7c6f9722023f: Verifying Checksum [2021-03-29T06:07:12.573Z] 7c6f9722023f: Download complete [2021-03-29T06:07:12.573Z] 188c0c94c7c5: Verifying Checksum [2021-03-29T06:07:12.573Z] 188c0c94c7c5: Download complete [2021-03-29T06:07:12.624Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-29T06:07:12.624Z] (6/14) Installing patch (2.7.6-r6) [2021-03-29T06:07:12.624Z] (7/14) Installing build-base (0.5-r2) [2021-03-29T06:07:12.624Z] (8/14) Installing openssh-keygen (8.3_p1-r2) [2021-03-29T06:07:12.624Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-29T06:07:12.837Z] 188c0c94c7c5: Pull complete [2021-03-29T06:07:12.898Z] (10/14) Installing openssh-client (8.3_p1-r2) [2021-03-29T06:07:13.103Z] 0ef7d3d256c8: Pull complete [2021-03-29T06:07:13.366Z] de9db76c5a1d: Pull complete [2021-03-29T06:07:13.497Z] (11/14) Installing openssh-sftp-server (8.3_p1-r2) [2021-03-29T06:07:14.088Z] (12/14) Installing openssh-server-common (8.3_p1-r2) [2021-03-29T06:07:14.088Z] (13/14) Installing openssh-server (8.3_p1-r2) [2021-03-29T06:07:14.358Z] (14/14) Installing openssh (8.3_p1-r2) [2021-03-29T06:07:14.948Z] Executing busybox-1.31.1-r19.trigger [2021-03-29T06:07:14.948Z] OK: 221 MiB in 53 packages [2021-03-29T06:07:16.688Z] a35cf1a2eb13: Verifying Checksum [2021-03-29T06:07:16.688Z] a35cf1a2eb13: Download complete [2021-03-29T06:07:17.635Z] bca2f99d35d6: Verifying Checksum [2021-03-29T06:07:17.635Z] bca2f99d35d6: Download complete [2021-03-29T06:07:19.268Z] Removing intermediate container ac075848cdfa [2021-03-29T06:07:19.268Z] ---> 5d7d67885cd7 [2021-03-29T06:07:19.268Z] Step 6/8 : WORKDIR /device-virtual-go [2021-03-29T06:07:19.268Z] ---> Running in 9ca0fc9f1b4c [2021-03-29T06:07:19.268Z] Removing intermediate container 9ca0fc9f1b4c [2021-03-29T06:07:19.268Z] ---> 9734be164c94 [2021-03-29T06:07:19.268Z] Step 7/8 : COPY . . [2021-03-29T06:07:20.240Z] ---> 39d3f7e97076 [2021-03-29T06:07:20.240Z] Step 8/8 : RUN go mod download [2021-03-29T06:07:20.240Z] ---> Running in 9ca3fa2b33ce [2021-03-29T06:07:22.981Z] bca2f99d35d6: Pull complete [2021-03-29T06:07:22.981Z] 93359f2a8cfa: Pull complete [2021-03-29T06:07:22.981Z] 7c6f9722023f: Pull complete [2021-03-29T06:07:29.618Z] a35cf1a2eb13: Pull complete [2021-03-29T06:07:29.618Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-29T06:07:29.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-29T06:07:29.618Z] ---> a62c8e92a672 [2021-03-29T06:07:29.618Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-03-29T06:07:29.618Z] ---> Running in 1fac4df85c49 [2021-03-29T06:07:29.618Z] Removing intermediate container 1fac4df85c49 [2021-03-29T06:07:29.618Z] ---> b396a5b2840b [2021-03-29T06:07:29.618Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T06:07:29.618Z] ---> Running in 47be988efa8a [2021-03-29T06:07:30.585Z] Removing intermediate container 47be988efa8a [2021-03-29T06:07:30.585Z] ---> a8aab0041f13 [2021-03-29T06:07:30.585Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-29T06:07:30.585Z] ---> Running in 89b7c6dec1f1 [2021-03-29T06:07:31.996Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-29T06:07:32.946Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-29T06:07:33.894Z] (1/14) Installing libmagic (5.38-r0) [2021-03-29T06:07:33.894Z] (2/14) Installing file (5.38-r0) [2021-03-29T06:07:34.157Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-29T06:07:34.157Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-29T06:07:37.476Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-29T06:07:37.739Z] (6/14) Installing patch (2.7.6-r6) [2021-03-29T06:07:37.739Z] (7/14) Installing build-base (0.5-r2) [2021-03-29T06:07:37.739Z] (8/14) Installing openssh-keygen (8.3_p1-r2) [2021-03-29T06:07:38.003Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-29T06:07:38.003Z] (10/14) Installing openssh-client (8.3_p1-r2) [2021-03-29T06:07:38.580Z] (11/14) Installing openssh-sftp-server (8.3_p1-r2) [2021-03-29T06:07:38.580Z] (12/14) Installing openssh-server-common (8.3_p1-r2) [2021-03-29T06:07:38.580Z] (13/14) Installing openssh-server (8.3_p1-r2) [2021-03-29T06:07:38.843Z] (14/14) Installing openssh (8.3_p1-r2) [2021-03-29T06:07:39.116Z] Executing busybox-1.31.1-r19.trigger [2021-03-29T06:07:39.116Z] OK: 237 MiB in 53 packages [2021-03-29T06:07:42.432Z] Removing intermediate container 89b7c6dec1f1 [2021-03-29T06:07:42.432Z] ---> f47ea360fc04 [2021-03-29T06:07:42.432Z] Step 6/8 : WORKDIR /device-virtual-go [2021-03-29T06:07:42.432Z] ---> Running in da1e4b2c9e5f [2021-03-29T06:07:42.697Z] Removing intermediate container da1e4b2c9e5f [2021-03-29T06:07:42.697Z] ---> 175b571cbea2 [2021-03-29T06:07:42.697Z] Step 7/8 : COPY . . [2021-03-29T06:07:43.647Z] ---> a263d798cede [2021-03-29T06:07:43.647Z] Step 8/8 : RUN go mod download [2021-03-29T06:07:43.647Z] ---> Running in 9c7507694918 [2021-03-29T06:07:47.017Z] Removing intermediate container 9ca3fa2b33ce [2021-03-29T06:07:47.017Z] ---> fa4c60897849 [2021-03-29T06:07:47.017Z] Successfully built fa4c60897849 [2021-03-29T06:07:47.017Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T06:07:47.405Z] + docker inspect -f . ci-base-image-arm64 [2021-03-29T06:07:47.405Z] . [Pipeline] withDockerContainer [2021-03-29T06:07:47.718Z] prd-ubuntu18.04-docker-arm64-4c-16g-31690 does not seem to be running inside a container [2021-03-29T06:07:47.803Z] $ 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 [2021-03-29T06:07:49.311Z] $ docker top 7c710c7fd50f8ace55b902246bba2ffa35e8e6e029ed2d93d9ae083f0d35bc7d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T06:07:50.422Z] + go version [2021-03-29T06:07:50.422Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-29T06:07:50.474Z] $ docker stop --time=1 7c710c7fd50f8ace55b902246bba2ffa35e8e6e029ed2d93d9ae083f0d35bc7d [2021-03-29T06:07:52.373Z] $ docker rm -f 7c710c7fd50f8ace55b902246bba2ffa35e8e6e029ed2d93d9ae083f0d35bc7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-29T06:07:53.639Z] + docker inspect -f . ci-base-image-arm64 [2021-03-29T06:07:53.639Z] . [Pipeline] withDockerContainer [2021-03-29T06:07:53.949Z] prd-ubuntu18.04-docker-arm64-4c-16g-31690 does not seem to be running inside a container [2021-03-29T06:07:54.045Z] $ 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 [2021-03-29T06:07:55.697Z] $ docker top 4280cfdf151791e38fcf1e2fe93774bb0d21b0edf1554e4c0fdfecd16eacd948 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T06:07:56.821Z] + make test [2021-03-29T06:07:56.821Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-29T06:07:58.279Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-03-29T06:08:05.717Z] Removing intermediate container 9c7507694918 [2021-03-29T06:08:05.718Z] ---> cf35ac354be8 [2021-03-29T06:08:05.718Z] Successfully built cf35ac354be8 [2021-03-29T06:08:05.718Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T06:08:06.080Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-29T06:08:06.080Z] . [Pipeline] withDockerContainer [2021-03-29T06:08:06.228Z] prd-centos7-docker-4c-2g-31692 does not seem to be running inside a container [2021-03-29T06:08:06.280Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-03-29T06:08:07.099Z] $ docker top e1c34fb6a4e8301c485ecff82d1544cc3a76fd86cc2d04cbe8fecb7600c0e497 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T06:08:07.680Z] + go version [2021-03-29T06:08:07.680Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-29T06:08:07.725Z] $ docker stop --time=1 e1c34fb6a4e8301c485ecff82d1544cc3a76fd86cc2d04cbe8fecb7600c0e497 [2021-03-29T06:08:09.126Z] $ docker rm -f e1c34fb6a4e8301c485ecff82d1544cc3a76fd86cc2d04cbe8fecb7600c0e497 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-29T06:08:10.228Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-29T06:08:10.228Z] . [Pipeline] withDockerContainer [2021-03-29T06:08:10.387Z] prd-centos7-docker-4c-2g-31692 does not seem to be running inside a container [2021-03-29T06:08:10.442Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-03-29T06:08:11.209Z] $ docker top 744f6aea1f9ea633b4a58ae721ec82321d302b3623c26629ed52a9af38039f38 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T06:08:13.440Z] + make test [2021-03-29T06:08:13.440Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-29T06:08:13.776Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-03-29T06:08:28.858Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-03-29T06:08:28.858Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.339s coverage: 63.8% of statements [2021-03-29T06:08:29.127Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-29T06:08:32.492Z] gofmt -l . [2021-03-29T06:08:32.492Z] [ "`gofmt -l .`" = "" ] [2021-03-29T06:08:32.492Z] ./bin/test-attribution-txt.sh [2021-03-29T06:08:33.077Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-29T06:08:33.384Z] $ docker stop --time=1 744f6aea1f9ea633b4a58ae721ec82321d302b3623c26629ed52a9af38039f38 [2021-03-29T06:08:35.183Z] $ docker rm -f 744f6aea1f9ea633b4a58ae721ec82321d302b3623c26629ed52a9af38039f38 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T06:08:35.840Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-29T06:08:36.183Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-29T06:08:39.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-29T06:08:39.425Z] + ls -al . [2021-03-29T06:08:39.425Z] total 128 [2021-03-29T06:08:39.425Z] drwxrwxr-x. 7 jenkins jenkins 4096 Mar 29 06:08 . [2021-03-29T06:08:39.425Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 29 06:07 .. [2021-03-29T06:08:39.425Z] -rw-rw-r--. 1 jenkins jenkins 7136 Mar 29 06:07 Attribution.txt [2021-03-29T06:08:39.425Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 29 06:07 bin [2021-03-29T06:08:39.425Z] drwxrwxr-x. 3 jenkins jenkins 32 Mar 29 06:07 cmd [2021-03-29T06:08:39.425Z] -rw-r--r--. 1 jenkins jenkins 47247 Mar 29 06:08 coverage.out [2021-03-29T06:08:39.425Z] -rw-rw-r--. 1 jenkins jenkins 1851 Mar 29 06:07 Dockerfile [2021-03-29T06:08:39.425Z] -rw-rw-r--. 1 jenkins jenkins 961 Mar 29 06:07 Dockerfile.build [2021-03-29T06:08:39.425Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 29 06:07 .git [2021-03-29T06:08:39.425Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 29 06:07 .github [2021-03-29T06:08:39.425Z] -rw-rw-r--. 1 jenkins jenkins 258 Mar 29 06:07 .gitignore [2021-03-29T06:08:39.425Z] -rw-r--r--. 1 jenkins jenkins 809 Mar 29 06:08 go.mod [2021-03-29T06:08:39.425Z] -rw-r--r--. 1 jenkins jenkins 20000 Mar 29 06:08 go.sum [2021-03-29T06:08:39.425Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 29 06:07 internal [2021-03-29T06:08:39.425Z] -rw-rw-r--. 1 jenkins jenkins 660 Mar 29 06:07 Jenkinsfile [2021-03-29T06:08:39.425Z] -rw-rw-r--. 1 jenkins jenkins 11340 Mar 29 06:07 LICENSE [2021-03-29T06:08:39.425Z] -rw-rw-r--. 1 jenkins jenkins 873 Mar 29 06:07 Makefile [2021-03-29T06:08:39.425Z] -rw-rw-r--. 1 jenkins jenkins 918 Mar 29 06:07 README.md [2021-03-29T06:08:39.425Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 29 06:03 VERSION [2021-03-29T06:08:39.425Z] -rw-rw-r--. 1 jenkins jenkins 235 Mar 29 06:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-29T06:08:39.774Z] + 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=0e86f3501108c0ee69c453288a9e9d71702abefc --label arch=amd64 --label version=0.0.0 . [2021-03-29T06:08:39.774Z] Sending build context to Docker daemon 562.7kB [2021-03-29T06:08:40.043Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-03-29T06:08:40.043Z] Step 2/22 : FROM ${BASE} AS builder [2021-03-29T06:08:40.043Z] ---> cf35ac354be8 [2021-03-29T06:08:40.043Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-03-29T06:08:40.318Z] ---> Running in 8a06429cc8f3 [2021-03-29T06:08:40.318Z] Removing intermediate container 8a06429cc8f3 [2021-03-29T06:08:40.318Z] ---> 6f5d6af909b8 [2021-03-29T06:08:40.318Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-03-29T06:08:40.585Z] ---> Running in a0150a20ed44 [2021-03-29T06:08:40.585Z] Removing intermediate container a0150a20ed44 [2021-03-29T06:08:40.585Z] ---> ab2019164b19 [2021-03-29T06:08:40.586Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-03-29T06:08:40.586Z] ---> Running in 409ec3973045 [2021-03-29T06:08:40.849Z] Removing intermediate container 409ec3973045 [2021-03-29T06:08:40.849Z] ---> 264cc61c9942 [2021-03-29T06:08:40.849Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T06:08:40.849Z] ---> Running in 7f64de1c8338 [2021-03-29T06:08:41.799Z] Removing intermediate container 7f64de1c8338 [2021-03-29T06:08:41.799Z] ---> eb38752144a1 [2021-03-29T06:08:41.799Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-03-29T06:08:41.799Z] ---> Running in 6df2fb8070fe [2021-03-29T06:08:42.379Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-29T06:08:42.979Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-29T06:08:43.625Z] OK: 237 MiB in 53 packages [2021-03-29T06:08:43.894Z] Removing intermediate container 6df2fb8070fe [2021-03-29T06:08:43.894Z] ---> 47320c278a38 [2021-03-29T06:08:43.894Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-03-29T06:08:44.158Z] ---> Running in 8383a8d87f3a [2021-03-29T06:08:44.158Z] Removing intermediate container 8383a8d87f3a [2021-03-29T06:08:44.158Z] ---> e385b307d59e [2021-03-29T06:08:44.158Z] Step 9/22 : COPY . . [2021-03-29T06:08:45.112Z] ---> 728211ec0806 [2021-03-29T06:08:45.112Z] Step 10/22 : ARG MAKE='make build' [2021-03-29T06:08:45.112Z] ---> Running in 0eb060e95c20 [2021-03-29T06:08:45.112Z] Removing intermediate container 0eb060e95c20 [2021-03-29T06:08:45.112Z] ---> bc3ce9d78a77 [2021-03-29T06:08:45.112Z] Step 11/22 : RUN $MAKE [2021-03-29T06:08:45.380Z] ---> Running in 1b2f82a8b735 [2021-03-29T06:08:45.961Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-03-29T06:08:54.999Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-03-29T06:08:54.999Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.484s coverage: 63.8% of statements [2021-03-29T06:08:54.999Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-29T06:08:58.354Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-29T06:09:00.418Z] gofmt -l . [2021-03-29T06:09:00.418Z] [ "`gofmt -l .`" = "" ] [2021-03-29T06:09:00.418Z] ./bin/test-attribution-txt.sh [2021-03-29T06:09:01.839Z] Removing intermediate container 1b2f82a8b735 [2021-03-29T06:09:01.840Z] ---> a31da01cbfa8 [2021-03-29T06:09:01.840Z] Step 12/22 : FROM alpine:3.12 [2021-03-29T06:09:01.840Z] 3.12: Pulling from library/alpine [2021-03-29T06:09:01.840Z] 22599d3e9e25: Pulling fs layer [2021-03-29T06:09:01.864Z] ./bin/test-go-mod-tidy.sh [2021-03-29T06:09:02.143Z] 22599d3e9e25: Verifying Checksum [2021-03-29T06:09:02.143Z] 22599d3e9e25: Download complete [Pipeline] } [2021-03-29T06:09:02.179Z] $ docker stop --time=1 4280cfdf151791e38fcf1e2fe93774bb0d21b0edf1554e4c0fdfecd16eacd948 [2021-03-29T06:09:02.435Z] 22599d3e9e25: Pull complete [2021-03-29T06:09:02.435Z] Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 [2021-03-29T06:09:02.435Z] Status: Downloaded newer image for alpine:3.12 [2021-03-29T06:09:02.435Z] ---> 42cb162f0360 [2021-03-29T06:09:02.435Z] Step 13/22 : ENV APP_PORT=49990 [2021-03-29T06:09:02.435Z] ---> Running in 95de5c7e0e5a [2021-03-29T06:09:02.738Z] Removing intermediate container 95de5c7e0e5a [2021-03-29T06:09:02.738Z] ---> 3f0b49532a80 [2021-03-29T06:09:02.738Z] Step 14/22 : EXPOSE $APP_PORT [2021-03-29T06:09:02.738Z] ---> Running in a0b41f6bc321 [2021-03-29T06:09:03.030Z] Removing intermediate container a0b41f6bc321 [2021-03-29T06:09:03.030Z] ---> 0e245169d01c [2021-03-29T06:09:03.030Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-03-29T06:09:03.604Z] ---> 3fa334f5b2b0 [2021-03-29T06:09:03.604Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-03-29T06:09:03.867Z] ---> 01700627a3a2 [2021-03-29T06:09:03.867Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-03-29T06:09:03.867Z] ---> ebc6d5da7375 [2021-03-29T06:09:03.867Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-03-29T06:09:04.130Z] ---> Running in 1b71e53a8f97 [2021-03-29T06:09:04.130Z] Removing intermediate container 1b71e53a8f97 [2021-03-29T06:09:04.130Z] ---> ba9672bf26c4 [2021-03-29T06:09:04.131Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-29T06:09:04.357Z] $ docker rm -f 4280cfdf151791e38fcf1e2fe93774bb0d21b0edf1554e4c0fdfecd16eacd948 [2021-03-29T06:09:04.393Z] ---> Running in c4b4302cc639 [2021-03-29T06:09:04.393Z] Removing intermediate container c4b4302cc639 [2021-03-29T06:09:04.393Z] ---> b31010d924b2 [2021-03-29T06:09:04.393Z] Step 20/22 : LABEL arch=amd64 [2021-03-29T06:09:04.663Z] ---> Running in edef847269d9 [2021-03-29T06:09:04.663Z] Removing intermediate container edef847269d9 [2021-03-29T06:09:04.663Z] ---> a27e1a19a900 [2021-03-29T06:09:04.663Z] Step 21/22 : LABEL git_sha=0e86f3501108c0ee69c453288a9e9d71702abefc [2021-03-29T06:09:04.663Z] ---> Running in 8bbfb3419b98 [2021-03-29T06:09:04.930Z] Removing intermediate container 8bbfb3419b98 [2021-03-29T06:09:04.930Z] ---> 73be55809c04 [2021-03-29T06:09:04.930Z] Step 22/22 : LABEL version=0.0.0 [2021-03-29T06:09:04.930Z] ---> Running in 63e5839049e2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T06:09:05.195Z] Removing intermediate container 63e5839049e2 [2021-03-29T06:09:05.195Z] ---> 958ac7b09a4e [2021-03-29T06:09:05.195Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-29T06:09:05.195Z] Successfully built 958ac7b09a4e [2021-03-29T06:09:05.195Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [2021-03-29T06:09:05.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stash [2021-03-29T06:09:05.500Z] Warning: overwriting stash ‘coverage-report’ 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-29T06:09:06.261Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-03-29T06:09:06.530Z] ---> job-cost.sh [2021-03-29T06:09:06.530Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Q4KM [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T06:09:07.289Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-29T06:09:07.705Z] + ls -al . [2021-03-29T06:09:07.705Z] total 152 [2021-03-29T06:09:07.705Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 29 06:09 . [2021-03-29T06:09:07.705Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 06:06 .. [2021-03-29T06:09:07.705Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 06:06 .git [2021-03-29T06:09:07.705Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 06:06 .github [2021-03-29T06:09:07.705Z] -rw-rw-r-- 1 jenkins jenkins 258 Mar 29 06:06 .gitignore [2021-03-29T06:09:07.705Z] -rw-rw-r-- 1 jenkins jenkins 7136 Mar 29 06:06 Attribution.txt [2021-03-29T06:09:07.705Z] -rw-rw-r-- 1 jenkins jenkins 1851 Mar 29 06:06 Dockerfile [2021-03-29T06:09:07.705Z] -rw-rw-r-- 1 jenkins jenkins 961 Mar 29 06:06 Dockerfile.build [2021-03-29T06:09:07.705Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 29 06:06 Jenkinsfile [2021-03-29T06:09:07.705Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 06:06 LICENSE [2021-03-29T06:09:07.705Z] -rw-rw-r-- 1 jenkins jenkins 873 Mar 29 06:06 Makefile [2021-03-29T06:09:07.705Z] -rw-rw-r-- 1 jenkins jenkins 918 Mar 29 06:06 README.md [2021-03-29T06:09:07.705Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 06:03 VERSION [2021-03-29T06:09:07.705Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 06:06 bin [2021-03-29T06:09:07.705Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 06:06 cmd [2021-03-29T06:09:07.705Z] -rw-r--r-- 1 jenkins jenkins 47247 Mar 29 06:08 coverage.out [2021-03-29T06:09:07.705Z] -rw-r--r-- 1 jenkins jenkins 809 Mar 29 06:09 go.mod [2021-03-29T06:09:07.705Z] -rw-r--r-- 1 jenkins jenkins 20000 Mar 29 06:09 go.sum [2021-03-29T06:09:07.705Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 06:06 internal [2021-03-29T06:09:07.705Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 29 06:06 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-29T06:09:08.170Z] + 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=0e86f3501108c0ee69c453288a9e9d71702abefc --label arch=arm64 --label version=0.0.0 . [2021-03-29T06:09:08.458Z] Sending build context to Docker daemon 561.7kB [2021-03-29T06:09:08.458Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-03-29T06:09:08.458Z] Step 2/22 : FROM ${BASE} AS builder [2021-03-29T06:09:08.458Z] ---> fa4c60897849 [2021-03-29T06:09:08.458Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-03-29T06:09:08.756Z] ---> Running in c8e47282f34e [2021-03-29T06:09:09.362Z] Removing intermediate container c8e47282f34e [2021-03-29T06:09:09.362Z] ---> bf485bd034cd [2021-03-29T06:09:09.362Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-03-29T06:09:09.362Z] ---> Running in 0c183c69fa09 [2021-03-29T06:09:09.962Z] Removing intermediate container 0c183c69fa09 [2021-03-29T06:09:09.962Z] ---> ce639bd18cc6 [2021-03-29T06:09:09.962Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-03-29T06:09:09.962Z] ---> Running in 22182cf0455f [2021-03-29T06:09:10.557Z] Removing intermediate container 22182cf0455f [2021-03-29T06:09:10.557Z] ---> 884b0aed784e [2021-03-29T06:09:10.557Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T06:09:10.557Z] ---> Running in 9694853d1dd8 [2021-03-29T06:09:13.184Z] Removing intermediate container 9694853d1dd8 [2021-03-29T06:09:13.184Z] ---> a2f1cc5b07f3 [2021-03-29T06:09:13.184Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-03-29T06:09:13.184Z] ---> Running in 5facf1dc2825 [2021-03-29T06:09:14.161Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-29T06:09:14.754Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-29T06:09:15.730Z] OK: 221 MiB in 53 packages [2021-03-29T06:09:16.712Z] Removing intermediate container 5facf1dc2825 [2021-03-29T06:09:16.712Z] ---> 91dadd9c8fb7 [2021-03-29T06:09:16.712Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-03-29T06:09:16.985Z] ---> Running in 23ce2710f5d9 [2021-03-29T06:09:17.590Z] Removing intermediate container 23ce2710f5d9 [2021-03-29T06:09:17.590Z] ---> 215a687855cb [2021-03-29T06:09:17.590Z] Step 9/22 : COPY . . [2021-03-29T06:09:18.571Z] ---> 4a8ebc1b5adc [2021-03-29T06:09:18.571Z] Step 10/22 : ARG MAKE='make build' [2021-03-29T06:09:18.571Z] ---> Running in 15078a4e694d [2021-03-29T06:09:19.175Z] Removing intermediate container 15078a4e694d [2021-03-29T06:09:19.175Z] ---> 5b674da114b5 [2021-03-29T06:09:19.175Z] Step 11/22 : RUN $MAKE [2021-03-29T06:09:19.175Z] ---> Running in 9036c63951ca [2021-03-29T06:09:20.154Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-03-29T06:09:21.474Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-29T06:09:53.676Z] lf-activate-venv(): INFO: Adding /tmp/venv-Q4KM/bin to PATH [2021-03-29T06:09:53.676Z] INFO: No Stack... [2021-03-29T06:09:53.676Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-29T06:09:53.676Z] INFO: Archiving Costs [Pipeline] sh [2021-03-29T06:09:54.040Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-03-29T06:09:54.041Z] + cut -d, -f6 [Pipeline] lock [2021-03-29T06:09:54.204Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] [2021-03-29T06:09:54.211Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] did not exist. Created. [2021-03-29T06:09:54.211Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-29T06:09:54.879Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-29T06:09:55.053Z] Stashed 1 file(s) [Pipeline] } [2021-03-29T06:09:55.108Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-29T06:09:59.189Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-29T06:10:01.818Z] Removing intermediate container 9036c63951ca [2021-03-29T06:10:01.818Z] ---> cb55d494a3e1 [2021-03-29T06:10:01.818Z] Step 12/22 : FROM alpine:3.12 [2021-03-29T06:10:01.818Z] 3.12: Pulling from library/alpine [2021-03-29T06:10:02.094Z] 95dec6db3722: Pulling fs layer [2021-03-29T06:10:02.094Z] 95dec6db3722: Verifying Checksum [2021-03-29T06:10:02.094Z] 95dec6db3722: Download complete [2021-03-29T06:10:02.693Z] 95dec6db3722: Pull complete [2021-03-29T06:10:02.967Z] Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 [2021-03-29T06:10:02.967Z] Status: Downloaded newer image for alpine:3.12 [2021-03-29T06:10:02.967Z] ---> e47305ac9786 [2021-03-29T06:10:02.967Z] Step 13/22 : ENV APP_PORT=49990 [2021-03-29T06:10:03.241Z] ---> Running in 097da28df141 [2021-03-29T06:10:03.517Z] Removing intermediate container 097da28df141 [2021-03-29T06:10:03.517Z] ---> 31b865455bc2 [2021-03-29T06:10:03.517Z] Step 14/22 : EXPOSE $APP_PORT [2021-03-29T06:10:03.792Z] ---> Running in cf4882a31b21 [2021-03-29T06:10:04.066Z] Removing intermediate container cf4882a31b21 [2021-03-29T06:10:04.066Z] ---> 5bf6834f52cd [2021-03-29T06:10:04.066Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-03-29T06:10:05.500Z] ---> 6ddd706d6039 [2021-03-29T06:10:05.500Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-03-29T06:10:06.479Z] ---> 19d7043786e2 [2021-03-29T06:10:06.479Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-03-29T06:10:07.076Z] ---> 63125ce8220a [2021-03-29T06:10:07.076Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-03-29T06:10:07.076Z] ---> Running in e84786de4a49 [2021-03-29T06:10:07.674Z] Removing intermediate container e84786de4a49 [2021-03-29T06:10:07.674Z] ---> 40ab416aee8f [2021-03-29T06:10:07.674Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-29T06:10:07.674Z] ---> Running in 373bc7108849 [2021-03-29T06:10:08.270Z] Removing intermediate container 373bc7108849 [2021-03-29T06:10:08.270Z] ---> 30be9cae0b68 [2021-03-29T06:10:08.270Z] Step 20/22 : LABEL arch=arm64 [2021-03-29T06:10:08.270Z] ---> Running in 6f132c2938d2 [2021-03-29T06:10:08.866Z] Removing intermediate container 6f132c2938d2 [2021-03-29T06:10:08.866Z] ---> 60da505dd23d [2021-03-29T06:10:08.866Z] Step 21/22 : LABEL git_sha=0e86f3501108c0ee69c453288a9e9d71702abefc [2021-03-29T06:10:08.866Z] ---> Running in 053799b1b11d [2021-03-29T06:10:09.460Z] Removing intermediate container 053799b1b11d [2021-03-29T06:10:09.460Z] ---> edc95d026cba [2021-03-29T06:10:09.460Z] Step 22/22 : LABEL version=0.0.0 [2021-03-29T06:10:09.741Z] ---> Running in 7213d5fe7aa0 [2021-03-29T06:10:10.012Z] Removing intermediate container 7213d5fe7aa0 [2021-03-29T06:10:10.013Z] ---> f73b7bf72405 [2021-03-29T06:10:10.013Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-29T06:10:10.013Z] Successfully built f73b7bf72405 [2021-03-29T06:10:10.013Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-29T06:10:10.998Z] ---> job-cost.sh [2021-03-29T06:10:10.998Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OSyL [2021-03-29T06:10:49.961Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-29T06:12:26.724Z] lf-activate-venv(): INFO: Adding /tmp/venv-OSyL/bin to PATH [2021-03-29T06:12:26.724Z] INFO: No Stack... [2021-03-29T06:12:26.724Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-29T06:12:26.724Z] INFO: Archiving Costs [Pipeline] sh [2021-03-29T06:12:27.081Z] + + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-03-29T06:12:27.081Z] cut -d, -f6 [Pipeline] lock [2021-03-29T06:12:27.239Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] [2021-03-29T06:12:27.245Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] did not exist. Created. [2021-03-29T06:12:27.245Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-29T06:12:27.754Z] /w/workspace/device-virtual-go/1@tmp/durable-d7d75b57/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-d7d75b57/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-29T06:12:28.128Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-29T06:12:28.185Z] Warning: overwriting stash ‘stack-cost’ [2021-03-29T06:12:28.337Z] Stashed 1 file(s) [Pipeline] } [2021-03-29T06:12:28.356Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] [Pipeline] // lock [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 [2021-03-29T06:12:30.056Z] provisioning config files... [2021-03-29T06:12:30.068Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-173@tmp/config1919674458756640231tmp [Pipeline] { [Pipeline] sh [2021-03-29T06:12:30.524Z] + set +x [2021-03-29T06:12:30.524Z] + curl -s https://codecov.io/bash [2021-03-29T06:12:30.524Z] + bash -s -- [2021-03-29T06:12:30.788Z] [2021-03-29T06:12:30.788Z] _____ _ [2021-03-29T06:12:30.788Z] / ____| | | [2021-03-29T06:12:30.788Z] | | ___ __| | ___ ___ _____ __ [2021-03-29T06:12:30.788Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-29T06:12:30.788Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-29T06:12:30.788Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-29T06:12:30.788Z] Bash-20210309-2b87ace [2021-03-29T06:12:30.788Z] [2021-03-29T06:12:30.788Z] [2021-03-29T06:12:30.788Z] ==> git version 2.24.3 found [2021-03-29T06:12:30.788Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-29T06:12:30.788Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-29T06:12:30.788Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-29T06:12:30.788Z] ==> Jenkins CI detected. [2021-03-29T06:12:30.788Z] project root: . [2021-03-29T06:12:30.788Z] --> token set from env [2021-03-29T06:12:31.052Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-29T06:12:31.052Z] ==> Running gcov in . (disable via -X gcov) [2021-03-29T06:12:31.052Z] ==> Python coveragepy not found [2021-03-29T06:12:31.052Z] ==> Searching for coverage reports in: [2021-03-29T06:12:31.052Z] + . [2021-03-29T06:12:31.052Z] -> Found 1 reports [2021-03-29T06:12:31.052Z] ==> Detecting git/mercurial file structure [2021-03-29T06:12:31.052Z] ==> Reading reports [2021-03-29T06:12:31.052Z] + ./coverage.out bytes=47247 [2021-03-29T06:12:31.052Z] ==> Appending adjustments [2021-03-29T06:12:31.052Z] https://docs.codecov.io/docs/fixing-reports [2021-03-29T06:12:31.052Z] + Found adjustments [2021-03-29T06:12:31.052Z] ==> Gzipping contents [2021-03-29T06:12:31.052Z] 8.0K /tmp/codecov.mHbehj.gz [2021-03-29T06:12:31.052Z] ==> Uploading reports [2021-03-29T06:12:31.052Z] url: https://codecov.io [2021-03-29T06:12:31.052Z] query: branch=PR-173&commit=0e86f3501108c0ee69c453288a9e9d71702abefc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-173%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=173&job=&cmd_args= [2021-03-29T06:12:31.052Z] -> Pinging Codecov [2021-03-29T06:12:31.052Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-173&commit=0e86f3501108c0ee69c453288a9e9d71702abefc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-173%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=173&job=&cmd_args= [2021-03-29T06:12:31.630Z] -> Uploading to [2021-03-29T06:12:31.630Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-29/5E52B4B073DB2E39498172D8E973AA87/0e86f3501108c0ee69c453288a9e9d71702abefc/18da1d83-eea0-43da-b57d-0bf5628c5a88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210329T061231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d1b34ac062eb9e9d1a92ffe1473b73ddd8b1f5b6eb7592628de8e1866b7546f [2021-03-29T06:12:31.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-29T06:12:31.630Z] Dload Upload Total Spent Left Speed [2021-03-29T06:12:31.895Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5773 0 0 100 5773 0 15496 --:--:-- --:--:-- --:--:-- 15477 [2021-03-29T06:12:31.895Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/0e86f3501108c0ee69c453288a9e9d71702abefc [Pipeline] } [2021-03-29T06:12:31.927Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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 [2021-03-29T06:12:35.582Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T06:12:36.263Z] ---> package-listing.sh [2021-03-29T06:12:36.263Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-29T06:12:36.263Z] ++ facter osfamily [2021-03-29T06:12:36.263Z] + OS_FAMILY=redhat [2021-03-29T06:12:36.263Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-173 [2021-03-29T06:12:36.263Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-29T06:12:36.263Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-29T06:12:36.263Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-29T06:12:36.263Z] + PACKAGES=/tmp/packages_start.txt [2021-03-29T06:12:36.263Z] + '[' /w/workspace/foundry_device-virtual-go_PR-173 ']' [2021-03-29T06:12:36.263Z] + PACKAGES=/tmp/packages_end.txt [2021-03-29T06:12:36.263Z] + case "${OS_FAMILY}" in [2021-03-29T06:12:36.263Z] + rpm -qa [2021-03-29T06:12:36.263Z] + sort [2021-03-29T06:12:41.605Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-29T06:12:41.605Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-29T06:12:41.605Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-29T06:12:41.605Z] + '[' /w/workspace/foundry_device-virtual-go_PR-173 ']' [2021-03-29T06:12:41.605Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-173/archives/ [2021-03-29T06:12:41.605Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-173/archives/ [Pipeline] echo [2021-03-29T06:12:41.658Z] 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-173/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-29T06:12:41.977Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-29T06:12:42.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T06:12:42.329Z] [2021-03-29T06:12:42.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-29T06:12:42.742Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T06:12:42.743Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-29T06:12:42.743Z] df20fa9351a1: Pulling fs layer [2021-03-29T06:12:42.743Z] 36b3adc4ff6f: Pulling fs layer [2021-03-29T06:12:42.743Z] 8ad3a11d3b57: Pulling fs layer [2021-03-29T06:12:42.743Z] 46f8f816bc3b: Pulling fs layer [2021-03-29T06:12:42.743Z] 93b61091891f: Pulling fs layer [2021-03-29T06:12:42.743Z] 93b9cdb0e59b: Pulling fs layer [2021-03-29T06:12:42.743Z] 5e14af77c1be: Pulling fs layer [2021-03-29T06:12:42.743Z] 01666e4c0597: Pulling fs layer [2021-03-29T06:12:42.743Z] aa168da1d23b: Pulling fs layer [2021-03-29T06:12:42.743Z] 46f8f816bc3b: Waiting [2021-03-29T06:12:42.743Z] 93b61091891f: Waiting [2021-03-29T06:12:42.743Z] 93b9cdb0e59b: Waiting [2021-03-29T06:12:42.743Z] 5e14af77c1be: Waiting [2021-03-29T06:12:42.743Z] 01666e4c0597: Waiting [2021-03-29T06:12:42.743Z] aa168da1d23b: Waiting [2021-03-29T06:12:42.743Z] 36b3adc4ff6f: Download complete [2021-03-29T06:12:42.743Z] 46f8f816bc3b: Verifying Checksum [2021-03-29T06:12:42.743Z] 46f8f816bc3b: Download complete [2021-03-29T06:12:42.743Z] df20fa9351a1: Verifying Checksum [2021-03-29T06:12:43.011Z] 93b9cdb0e59b: Verifying Checksum [2021-03-29T06:12:43.011Z] 93b9cdb0e59b: Download complete [2021-03-29T06:12:43.011Z] 5e14af77c1be: Verifying Checksum [2021-03-29T06:12:43.011Z] 5e14af77c1be: Download complete [2021-03-29T06:12:43.011Z] 93b61091891f: Download complete [2021-03-29T06:12:43.011Z] 01666e4c0597: Verifying Checksum [2021-03-29T06:12:43.011Z] 01666e4c0597: Download complete [2021-03-29T06:12:43.011Z] 8ad3a11d3b57: Verifying Checksum [2021-03-29T06:12:43.011Z] 8ad3a11d3b57: Download complete [2021-03-29T06:12:43.280Z] df20fa9351a1: Pull complete [2021-03-29T06:12:43.553Z] 36b3adc4ff6f: Pull complete [2021-03-29T06:12:44.139Z] 8ad3a11d3b57: Pull complete [2021-03-29T06:12:44.403Z] 46f8f816bc3b: Pull complete [2021-03-29T06:12:44.991Z] 93b61091891f: Pull complete [2021-03-29T06:12:45.254Z] aa168da1d23b: Verifying Checksum [2021-03-29T06:12:45.254Z] aa168da1d23b: Download complete [2021-03-29T06:12:45.517Z] 93b9cdb0e59b: Pull complete [2021-03-29T06:12:45.781Z] 5e14af77c1be: Pull complete [2021-03-29T06:12:45.781Z] 01666e4c0597: Pull complete [2021-03-29T06:12:52.430Z] aa168da1d23b: Pull complete [2021-03-29T06:12:52.430Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-29T06:12:52.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T06:12:52.430Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-29T06:12:52.682Z] prd-centos7-docker-4c-2g-31680 does not seem to be running inside a container [2021-03-29T06:12:52.733Z] $ 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-173/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-173 -v /w/workspace/foundry_device-virtual-go_PR-173:/w/workspace/foundry_device-virtual-go_PR-173:rw,z -v /w/workspace/foundry_device-virtual-go_PR-173@tmp:/w/workspace/foundry_device-virtual-go_PR-173@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-29T06:12:56.396Z] $ docker top 8de9c455dfe8cf029ae45a21a9fb5def05b699d863e18c4c23cf76f0fe12b250 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T06:12:57.048Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-29T06:12:57.376Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-29T06:12:57.715Z] + ls /var/log/sa-host [2021-03-29T06:12:57.715Z] + sadf -c /var/log/sa-host/sa23 [2021-03-29T06:12:57.715Z] file_magic: OK [2021-03-29T06:12:57.715Z] HZ: Using current value: 100 [2021-03-29T06:12:57.715Z] file_header: OK [2021-03-29T06:12:57.715Z] 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 [2021-03-29T06:12:57.715Z] Statistics: [2021-03-29T06:12:57.715Z] Hnuu...uuuununununu... [2021-03-29T06:12:57.715Z] File successfully converted to sysstat format version 12.2.1 [2021-03-29T06:12:57.715Z] + sadf -c /var/log/sa-host/sa29 [2021-03-29T06:12:57.715Z] file_magic: OK [2021-03-29T06:12:57.715Z] HZ: Using current value: 100 [2021-03-29T06:12:57.715Z] file_header: OK [2021-03-29T06:12:57.715Z] 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 [2021-03-29T06:12:57.715Z] Statistics: [2021-03-29T06:12:57.715Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-29T06:12:57.715Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-29T06:12:57.999Z] provisioning config files... [2021-03-29T06:12:58.018Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-173@tmp/config2530801978211322666tmp [Pipeline] { [Pipeline] echo [2021-03-29T06:12:58.151Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T06:12:58.491Z] ---> create-netrc.sh [Pipeline] } [2021-03-29T06:12:58.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-29T06:12:58.659Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T06:12:59.119Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-29T06:12:59.147Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T06:12:59.484Z] ---> sudo-logs.sh [2021-03-29T06:12:59.484Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-29T06:12:59.594Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T06:12:59.931Z] ---> job-cost.sh [2021-03-29T06:12:59.931Z] lf-activate-venv: SKIPPING [2021-03-29T06:12:59.931Z] DEBUG: total: 0.20999999344348907 [2021-03-29T06:12:59.931Z] INFO: Retrieving Stack Cost... [2021-03-29T06:13:00.881Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-29T06:13:01.459Z] INFO: Archiving Costs [Pipeline] echo [2021-03-29T06:13:01.498Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T06:13:01.847Z] ---> logs-deploy.sh [2021-03-29T06:13:01.848Z] lf-activate-venv: SKIPPING [2021-03-29T06:13:01.848Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-173/1 [2021-03-29T06:13:01.848Z] INFO: archiving workspace using pattern(s): [2021-03-29T06:13:03.925Z] Archives upload complete. [2021-03-29T06:13:03.925Z] INFO: archiving logs to Nexus