Pull request #197 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8527a52938520fc4af81a5dd356fa33f421c5825+630144a10735cec8e2a8b402cbcf2c5516b5e8e8 (80b497d866c43047e07682ddfd278f09c4fd46a5) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-197/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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-197/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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-3204 in /w/workspace/foundry_device-virtual-go_PR-197 [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-197 # 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 Merging remotes/origin/master commit 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 into PR head commit 8527a52938520fc4af81a5dd356fa33f421c5825 Merge succeeded, producing 8527a52938520fc4af81a5dd356fa33f421c5825 Checking out Revision 8527a52938520fc4af81a5dd356fa33f421c5825 (PR-197) > 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/197/head:refs/remotes/origin/PR-197 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8527a52938520fc4af81a5dd356fa33f421c5825 # 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 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8527a52938520fc4af81a5dd356fa33f421c5825 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T10:46:25.686Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T10:46:25.961Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T10:46:26.076Z] ========================================================= [2021-05-06T10:46:26.076Z] EdgeX Global Pipelines Version Info [2021-05-06T10:46:26.076Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:46:27.702Z] ------------------- [2021-05-06T10:46:27.702Z] stable info: [2021-05-06T10:46:27.702Z] ------------------- [2021-05-06T10:46:27.702Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T10:46:27.702Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T10:46:27.702Z] Message: update stable to v1.0.191 [2021-05-06T10:46:28.648Z] ------------------- [2021-05-06T10:46:28.648Z] experimental info: [2021-05-06T10:46:28.648Z] ------------------- [2021-05-06T10:46:28.648Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T10:46:28.648Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T10:46:28.648Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T10:46:28.871Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-06T10:46:28.952Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-06T10:46:29.009Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T10:46:29.066Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T10:46:29.123Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T10:46:29.179Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T10:46:29.250Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T10:46:29.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T10:46:29.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-06T10:46:29.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T10:46:29.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T10:46:29.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-05-06T10:46:29.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T10:46:29.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T10:46:29.710Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T10:46:29.766Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T10:46:29.823Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T10:46:29.900Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T10:46:29.959Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T10:46:30.015Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T10:46:30.071Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-06T10:46:30.128Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-06T10:46:30.180Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T10:46:30.238Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T10:46:30.292Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-06T10:46:30.354Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T10:46:30.435Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-197 [Pipeline] echo [2021-05-06T10:46:30.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-197 [Pipeline] echo [2021-05-06T10:46:30.594Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-197 [Pipeline] echo [2021-05-06T10:46:30.678Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8527a52938520fc4af81a5dd356fa33f421c5825 [Pipeline] echo [2021-05-06T10:46:30.744Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8527a52 [Pipeline] echo [2021-05-06T10:46:30.799Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T10:46:30.948Z] provisioning config files... [2021-05-06T10:46:30.992Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-197@tmp/config2430107263686355825tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:46:31.372Z] ---> docker-login.sh [2021-05-06T10:46:31.372Z] nexus3.edgexfoundry.org:10001 [2021-05-06T10:46:31.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:46:31.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:46:31.902Z] Configure a credential helper to remove this warning. See [2021-05-06T10:46:31.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:46:31.902Z] [2021-05-06T10:46:31.902Z] Login Succeeded [2021-05-06T10:46:31.902Z] nexus3.edgexfoundry.org:10002 [2021-05-06T10:46:31.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:46:31.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:46:31.902Z] Configure a credential helper to remove this warning. See [2021-05-06T10:46:31.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:46:31.902Z] [2021-05-06T10:46:31.902Z] Login Succeeded [2021-05-06T10:46:31.902Z] nexus3.edgexfoundry.org:10003 [2021-05-06T10:46:32.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:46:32.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:46:32.170Z] Configure a credential helper to remove this warning. See [2021-05-06T10:46:32.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:46:32.170Z] [2021-05-06T10:46:32.170Z] Login Succeeded [2021-05-06T10:46:32.170Z] nexus3.edgexfoundry.org:10004 [2021-05-06T10:46:32.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:46:32.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:46:32.433Z] Configure a credential helper to remove this warning. See [2021-05-06T10:46:32.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:46:32.433Z] [2021-05-06T10:46:32.433Z] Login Succeeded [2021-05-06T10:46:32.433Z] docker.io [2021-05-06T10:46:32.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:46:33.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:46:33.009Z] Configure a credential helper to remove this warning. See [2021-05-06T10:46:33.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:46:33.009Z] [2021-05-06T10:46:33.009Z] Login Succeeded [2021-05-06T10:46:33.009Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T10:46:33.033Z] 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-05-06T10:46:33.769Z] + git log --format=format:%s -1 8527a52938520fc4af81a5dd356fa33f421c5825 [Pipeline] echo [2021-05-06T10:46:33.865Z] GIT_COMMIT: 8527a52938520fc4af81a5dd356fa33f421c5825, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-06T10:46:33.904Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:46:34.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T10:46:34.972Z] [2021-05-06T10:46:34.972Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:46:35.339Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T10:46:35.339Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T10:46:35.339Z] 31603596830f: Pulling fs layer [2021-05-06T10:46:35.339Z] 54011a49482f: Pulling fs layer [2021-05-06T10:46:35.339Z] a6820b24f6d8: Pulling fs layer [2021-05-06T10:46:35.339Z] f581987b2513: Pulling fs layer [2021-05-06T10:46:35.339Z] f581987b2513: Waiting [2021-05-06T10:46:35.339Z] 54011a49482f: Verifying Checksum [2021-05-06T10:46:35.339Z] 54011a49482f: Download complete [2021-05-06T10:46:35.604Z] 31603596830f: Verifying Checksum [2021-05-06T10:46:35.604Z] 31603596830f: Download complete [2021-05-06T10:46:35.604Z] f581987b2513: Verifying Checksum [2021-05-06T10:46:35.604Z] f581987b2513: Download complete [2021-05-06T10:46:35.604Z] a6820b24f6d8: Download complete [2021-05-06T10:46:35.870Z] 31603596830f: Pull complete [2021-05-06T10:46:36.133Z] 54011a49482f: Pull complete [2021-05-06T10:46:37.094Z] a6820b24f6d8: Pull complete [2021-05-06T10:46:37.357Z] f581987b2513: Pull complete [2021-05-06T10:46:37.357Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T10:46:37.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T10:46:37.357Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T10:46:37.505Z] prd-centos7-docker-4c-2g-3204 does not seem to be running inside a container [2021-05-06T10:46:37.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-197 -v /w/workspace/foundry_device-virtual-go_PR-197:/w/workspace/foundry_device-virtual-go_PR-197:rw,z -v /w/workspace/foundry_device-virtual-go_PR-197@tmp:/w/workspace/foundry_device-virtual-go_PR-197@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-06T10:46:40.119Z] $ docker top 0bf900aa51054362f8627a713d1a8c50bf159de694003993267f90cbdcea3f55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T10:46:40.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T10:46:40.471Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T10:46:40.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T10:46:40.718Z] $ docker exec 0bf900aa51054362f8627a713d1a8c50bf159de694003993267f90cbdcea3f55 ssh-agent [2021-05-06T10:46:40.905Z] SSH_AUTH_SOCK=/tmp/ssh-42ZzQcs6tGdM/agent.11 [2021-05-06T10:46:40.905Z] SSH_AGENT_PID=16 [2021-05-06T10:46:40.920Z] Running ssh-add (command line suppressed) [2021-05-06T10:46:41.071Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-197@tmp/private_key_6937989776225776600.key (/w/workspace/foundry_device-virtual-go_PR-197@tmp/private_key_6937989776225776600.key) [2021-05-06T10:46:41.133Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T10:46:41.518Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T10:46:41.564Z] $ docker exec --env ******** --env ******** 0bf900aa51054362f8627a713d1a8c50bf159de694003993267f90cbdcea3f55 ssh-agent -k [2021-05-06T10:46:41.714Z] unset SSH_AUTH_SOCK; [2021-05-06T10:46:41.714Z] unset SSH_AGENT_PID; [2021-05-06T10:46:41.714Z] echo Agent pid 16 killed; [2021-05-06T10:46:41.776Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T10:46:41.868Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T10:46:41.868Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T10:46:42.053Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T10:46:42.057Z] $ docker exec 0bf900aa51054362f8627a713d1a8c50bf159de694003993267f90cbdcea3f55 ssh-agent [2021-05-06T10:46:42.244Z] SSH_AUTH_SOCK=/tmp/ssh-xqy8Pfwuewpg/agent.45 [2021-05-06T10:46:42.244Z] SSH_AGENT_PID=51 [2021-05-06T10:46:42.253Z] Running ssh-add (command line suppressed) [2021-05-06T10:46:42.377Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-197@tmp/private_key_9041632564010895462.key (/w/workspace/foundry_device-virtual-go_PR-197@tmp/private_key_9041632564010895462.key) [2021-05-06T10:46:42.427Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T10:46:42.776Z] + git semver init [2021-05-06T10:46:42.776Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T10:46:42.776Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-197/.git [2021-05-06T10:46:42.776Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-197 [2021-05-06T10:46:42.776Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T10:46:42.776Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T10:46:42.776Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T10:46:42.776Z] # $SEMVER_BRANCH = PR-197 [2021-05-06T10:46:42.776Z] # $SEMVER_TEMP = /tmp/semver-415372789 [2021-05-06T10:46:42.776Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-06T10:46:43.352Z] # '/tmp/semver-415372789' -> '/w/workspace/foundry_device-virtual-go_PR-197/.semver' [2021-05-06T10:46:43.352Z] # -> Force: false [2021-05-06T10:46:43.352Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-197/.semver [Pipeline] } [2021-05-06T10:46:43.372Z] $ docker exec --env ******** --env ******** 0bf900aa51054362f8627a713d1a8c50bf159de694003993267f90cbdcea3f55 ssh-agent -k [2021-05-06T10:46:43.484Z] unset SSH_AUTH_SOCK; [2021-05-06T10:46:43.485Z] unset SSH_AGENT_PID; [2021-05-06T10:46:43.485Z] echo Agent pid 51 killed; [2021-05-06T10:46:43.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T10:46:43.985Z] + git semver [Pipeline] } [2021-05-06T10:46:44.020Z] $ docker stop --time=1 0bf900aa51054362f8627a713d1a8c50bf159de694003993267f90cbdcea3f55 [2021-05-06T10:46:45.532Z] $ docker rm -f 0bf900aa51054362f8627a713d1a8c50bf159de694003993267f90cbdcea3f55 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T10:46:46.033Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T10:46:46.450Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T10:46:46.472Z] [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-05-06T10:47:01.980Z] Still waiting to schedule task [2021-05-06T10:47:01.981Z] ‘prd-centos7-blackbox-4c-2g-2571’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3206’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3205’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-06T10:47:02.008Z] Still waiting to schedule task [2021-05-06T10:47:02.008Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-06T10:49:48.356Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3207 in /w/workspace/foundry_device-virtual-go_PR-197 [Pipeline] { [Pipeline] ws [2021-05-06T10:49:48.413Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-06T10:49:54.344Z] using credential edgex-jenkins-ssh [2021-05-06T10:49:54.368Z] Cloning the remote Git repository [2021-05-06T10:49:54.408Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T10:49:54.583Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-06T10:49:54.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T10:49:54.665Z] > git --version # timeout=10 [2021-05-06T10:49:54.716Z] > git --version # 'git version 2.17.1' [2021-05-06T10:49:54.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T10:49:54.777Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T10:49:55.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-06T10:49:55.582Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T10:49:55.607Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-06T10:49:55.641Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T10:49:55.642Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T10:49:55.655Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T10:49:56.157Z] Merging remotes/origin/master commit 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 into PR head commit 8527a52938520fc4af81a5dd356fa33f421c5825 [2021-05-06T10:49:56.337Z] Merge succeeded, producing 8527a52938520fc4af81a5dd356fa33f421c5825 [2021-05-06T10:49:56.338Z] Checking out Revision 8527a52938520fc4af81a5dd356fa33f421c5825 (PR-197) [2021-05-06T10:49:56.168Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T10:49:56.180Z] > git checkout -f 8527a52938520fc4af81a5dd356fa33f421c5825 # timeout=10 [2021-05-06T10:49:56.254Z] > git remote # timeout=10 [2021-05-06T10:49:56.271Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T10:49:56.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T10:49:56.296Z] > git merge 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 # timeout=10 [2021-05-06T10:49:56.317Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T10:49:56.337Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T10:49:56.349Z] > git checkout -f 8527a52938520fc4af81a5dd356fa33f421c5825 # timeout=10 [2021-05-06T10:50:00.529Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-06T10:50:00.607Z] > git --version # timeout=10 [2021-05-06T10:50:00.622Z] > git --version # 'git version 2.17.1' [2021-05-06T10:50:00.633Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T10:50:02.595Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T10:50:03.089Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T10:50:03.458Z] + sudo service docker restart [2021-05-06T10:50:03.458Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T10:50:06.216Z] provisioning config files... [2021-05-06T10:50:06.275Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2808158815293421236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:50:06.719Z] ---> docker-login.sh [2021-05-06T10:50:06.720Z] nexus3.edgexfoundry.org:10001 [2021-05-06T10:50:07.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:50:07.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:50:07.979Z] Configure a credential helper to remove this warning. See [2021-05-06T10:50:07.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:50:07.979Z] [2021-05-06T10:50:07.979Z] Login Succeeded [2021-05-06T10:50:07.979Z] nexus3.edgexfoundry.org:10002 [2021-05-06T10:50:08.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:50:08.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:50:08.532Z] Configure a credential helper to remove this warning. See [2021-05-06T10:50:08.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:50:08.532Z] [2021-05-06T10:50:08.532Z] Login Succeeded [2021-05-06T10:50:08.532Z] nexus3.edgexfoundry.org:10003 [2021-05-06T10:50:08.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:50:08.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:50:08.810Z] Configure a credential helper to remove this warning. See [2021-05-06T10:50:08.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:50:08.810Z] [2021-05-06T10:50:08.810Z] Login Succeeded [2021-05-06T10:50:08.810Z] nexus3.edgexfoundry.org:10004 [2021-05-06T10:50:09.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:50:09.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:50:09.410Z] Configure a credential helper to remove this warning. See [2021-05-06T10:50:09.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:50:09.410Z] [2021-05-06T10:50:09.410Z] Login Succeeded [2021-05-06T10:50:09.410Z] docker.io [2021-05-06T10:50:09.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:50:10.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:50:10.284Z] Configure a credential helper to remove this warning. See [2021-05-06T10:50:10.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:50:10.284Z] [2021-05-06T10:50:10.284Z] Login Succeeded [2021-05-06T10:50:10.284Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T10:50:10.320Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T10:50:10.766Z] ========================================================= [2021-05-06T10:50:10.766Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T10:50:10.766Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:50:11.159Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-06T10:50:11.435Z] Sending build context to Docker daemon 525.8kB [2021-05-06T10:50:11.435Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T10:50:11.435Z] Step 2/8 : FROM ${BASE} [2021-05-06T10:50:11.710Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T10:50:11.710Z] 595b0fe564bb: Pulling fs layer [2021-05-06T10:50:11.710Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T10:50:11.710Z] 316046926c0a: Pulling fs layer [2021-05-06T10:50:11.710Z] 4ebd0625c992: Pulling fs layer [2021-05-06T10:50:11.710Z] 207e8628e3a3: Pulling fs layer [2021-05-06T10:50:11.710Z] c791037a9be2: Pulling fs layer [2021-05-06T10:50:11.710Z] ffd874e62e21: Pulling fs layer [2021-05-06T10:50:11.710Z] c791037a9be2: Waiting [2021-05-06T10:50:11.710Z] ffd874e62e21: Waiting [2021-05-06T10:50:11.710Z] 207e8628e3a3: Waiting [2021-05-06T10:50:11.710Z] 4ebd0625c992: Waiting [2021-05-06T10:50:11.710Z] 316046926c0a: Verifying Checksum [2021-05-06T10:50:11.710Z] 316046926c0a: Download complete [2021-05-06T10:50:11.710Z] 7186ed65a4f7: Verifying Checksum [2021-05-06T10:50:11.710Z] 7186ed65a4f7: Download complete [2021-05-06T10:50:11.710Z] 207e8628e3a3: Download complete [2021-05-06T10:50:11.710Z] c791037a9be2: Verifying Checksum [2021-05-06T10:50:11.710Z] c791037a9be2: Download complete [2021-05-06T10:50:11.710Z] 595b0fe564bb: Verifying Checksum [2021-05-06T10:50:11.710Z] 595b0fe564bb: Download complete [2021-05-06T10:50:12.318Z] 595b0fe564bb: Pull complete [2021-05-06T10:50:13.344Z] 7186ed65a4f7: Pull complete [2021-05-06T10:50:13.624Z] 316046926c0a: Pull complete [2021-05-06T10:50:14.228Z] ffd874e62e21: Verifying Checksum [2021-05-06T10:50:14.228Z] ffd874e62e21: Download complete [2021-05-06T10:50:15.663Z] 4ebd0625c992: Download complete [2021-05-06T10:50:18.614Z] Running on prd-centos7-docker-4c-2g-3208 in /w/workspace/foundry_device-virtual-go_PR-197 [Pipeline] { [Pipeline] ws [2021-05-06T10:50:18.675Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-06T10:50:21.269Z] using credential edgex-jenkins-ssh [2021-05-06T10:50:21.285Z] Cloning the remote Git repository [2021-05-06T10:50:21.264Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T10:50:21.335Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-06T10:50:21.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T10:50:21.412Z] > git --version # timeout=10 [2021-05-06T10:50:21.418Z] > git --version # 'git version 2.24.3' [2021-05-06T10:50:21.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T10:50:21.450Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T10:50:22.494Z] Merging remotes/origin/master commit 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 into PR head commit 8527a52938520fc4af81a5dd356fa33f421c5825 [2021-05-06T10:50:22.638Z] Merge succeeded, producing 8527a52938520fc4af81a5dd356fa33f421c5825 [2021-05-06T10:50:22.638Z] Checking out Revision 8527a52938520fc4af81a5dd356fa33f421c5825 (PR-197) [2021-05-06T10:50:22.066Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-06T10:50:22.075Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T10:50:22.086Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-06T10:50:22.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T10:50:22.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T10:50:22.104Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T10:50:22.515Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T10:50:22.549Z] > git checkout -f 8527a52938520fc4af81a5dd356fa33f421c5825 # timeout=10 [2021-05-06T10:50:22.592Z] > git remote # timeout=10 [2021-05-06T10:50:22.598Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T10:50:22.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T10:50:22.615Z] > git merge 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 # timeout=10 [2021-05-06T10:50:22.629Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T10:50:22.642Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T10:50:22.647Z] > git checkout -f 8527a52938520fc4af81a5dd356fa33f421c5825 # timeout=10 [2021-05-06T10:50:25.858Z] 4ebd0625c992: Pull complete [2021-05-06T10:50:25.858Z] 207e8628e3a3: Pull complete [2021-05-06T10:50:26.141Z] c791037a9be2: Pull complete [2021-05-06T10:50:26.327Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-06T10:50:26.354Z] > git --version # timeout=10 [2021-05-06T10:50:26.359Z] > git --version # 'git version 2.24.3' [2021-05-06T10:50:26.367Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T10:50:27.581Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T10:50:27.940Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T10:50:28.263Z] + sudo service docker restart [2021-05-06T10:50:28.263Z] + true [2021-05-06T10:50:28.263Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T10:50:29.324Z] provisioning config files... [2021-05-06T10:50:29.379Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6219800226272238098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:50:29.763Z] ---> docker-login.sh [2021-05-06T10:50:29.763Z] nexus3.edgexfoundry.org:10001 [2021-05-06T10:50:30.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:50:30.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:50:30.027Z] Configure a credential helper to remove this warning. See [2021-05-06T10:50:30.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:50:30.028Z] [2021-05-06T10:50:30.028Z] Login Succeeded [2021-05-06T10:50:30.028Z] nexus3.edgexfoundry.org:10002 [2021-05-06T10:50:30.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:50:30.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:50:30.291Z] Configure a credential helper to remove this warning. See [2021-05-06T10:50:30.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:50:30.291Z] [2021-05-06T10:50:30.291Z] Login Succeeded [2021-05-06T10:50:30.291Z] nexus3.edgexfoundry.org:10003 [2021-05-06T10:50:30.466Z] ffd874e62e21: Pull complete [2021-05-06T10:50:30.466Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T10:50:30.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T10:50:30.466Z] ---> cfc18b08335c [2021-05-06T10:50:30.466Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-06T10:50:30.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:50:30.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:50:30.553Z] Configure a credential helper to remove this warning. See [2021-05-06T10:50:30.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:50:30.553Z] [2021-05-06T10:50:30.553Z] Login Succeeded [2021-05-06T10:50:30.553Z] nexus3.edgexfoundry.org:10004 [2021-05-06T10:50:30.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:50:30.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:50:30.817Z] Configure a credential helper to remove this warning. See [2021-05-06T10:50:30.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:50:30.817Z] [2021-05-06T10:50:30.817Z] Login Succeeded [2021-05-06T10:50:30.817Z] docker.io [2021-05-06T10:50:30.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:50:31.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:50:31.079Z] Configure a credential helper to remove this warning. See [2021-05-06T10:50:31.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:50:31.079Z] [2021-05-06T10:50:31.079Z] Login Succeeded [2021-05-06T10:50:31.079Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T10:50:31.105Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T10:50:31.417Z] ========================================================= [2021-05-06T10:50:31.417Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T10:50:31.417Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:50:31.772Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-06T10:50:31.772Z] Sending build context to Docker daemon 526.8kB [2021-05-06T10:50:32.039Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T10:50:32.039Z] Step 2/8 : FROM ${BASE} [2021-05-06T10:50:32.039Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T10:50:32.039Z] 540db60ca938: Pulling fs layer [2021-05-06T10:50:32.039Z] adcc1eea9eea: Pulling fs layer [2021-05-06T10:50:32.039Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T10:50:32.039Z] 0510c868ecb4: Pulling fs layer [2021-05-06T10:50:32.039Z] afea3b2eda06: Pulling fs layer [2021-05-06T10:50:32.039Z] 7809a108b3ef: Pulling fs layer [2021-05-06T10:50:32.039Z] f706445af74f: Pulling fs layer [2021-05-06T10:50:32.039Z] afea3b2eda06: Waiting [2021-05-06T10:50:32.039Z] 7809a108b3ef: Waiting [2021-05-06T10:50:32.039Z] f706445af74f: Waiting [2021-05-06T10:50:32.039Z] 0510c868ecb4: Waiting [2021-05-06T10:50:32.039Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T10:50:32.039Z] 4c4ab2625f07: Download complete [2021-05-06T10:50:32.039Z] adcc1eea9eea: Download complete [2021-05-06T10:50:32.039Z] afea3b2eda06: Verifying Checksum [2021-05-06T10:50:32.039Z] afea3b2eda06: Download complete [2021-05-06T10:50:32.039Z] 7809a108b3ef: Verifying Checksum [2021-05-06T10:50:32.039Z] 7809a108b3ef: Download complete [2021-05-06T10:50:32.039Z] 540db60ca938: Verifying Checksum [2021-05-06T10:50:32.039Z] 540db60ca938: Download complete [2021-05-06T10:50:32.309Z] 540db60ca938: Pull complete [2021-05-06T10:50:32.572Z] adcc1eea9eea: Pull complete [2021-05-06T10:50:32.837Z] 4c4ab2625f07: Pull complete [2021-05-06T10:50:33.115Z] ---> Running in 525d77f2edb7 [2021-05-06T10:50:33.407Z] Removing intermediate container 525d77f2edb7 [2021-05-06T10:50:33.407Z] ---> ff3a5151bd7d [2021-05-06T10:50:33.407Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T10:50:33.679Z] ---> Running in 63ecacda39e0 [2021-05-06T10:50:33.791Z] f706445af74f: Verifying Checksum [2021-05-06T10:50:33.791Z] f706445af74f: Download complete [2021-05-06T10:50:34.366Z] 0510c868ecb4: Verifying Checksum [2021-05-06T10:50:34.366Z] 0510c868ecb4: Download complete [2021-05-06T10:50:36.314Z] Removing intermediate container 63ecacda39e0 [2021-05-06T10:50:36.314Z] ---> 88658917037c [2021-05-06T10:50:36.315Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T10:50:36.315Z] ---> Running in 5ac418173b31 [2021-05-06T10:50:37.293Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T10:50:38.726Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T10:50:39.701Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-06T10:50:39.701Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-06T10:50:39.702Z] 0510c868ecb4: Pull complete [2021-05-06T10:50:39.702Z] afea3b2eda06: Pull complete [2021-05-06T10:50:39.702Z] 7809a108b3ef: Pull complete [2021-05-06T10:50:39.973Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-06T10:50:39.973Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-06T10:50:40.246Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-06T10:50:40.520Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-06T10:50:40.520Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-06T10:50:41.113Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-06T10:50:41.406Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-06T10:50:41.406Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-06T10:50:41.678Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-06T10:50:41.678Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-06T10:50:41.950Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-06T10:50:42.224Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T10:50:42.224Z] OK: 145 MiB in 53 packages [2021-05-06T10:50:43.663Z] Removing intermediate container 5ac418173b31 [2021-05-06T10:50:43.663Z] ---> 35f01c29bf8c [2021-05-06T10:50:43.663Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-06T10:50:43.663Z] ---> Running in a97c59a0de97 [2021-05-06T10:50:44.263Z] Removing intermediate container a97c59a0de97 [2021-05-06T10:50:44.263Z] ---> b9bca762e938 [2021-05-06T10:50:44.263Z] Step 7/8 : COPY . . [2021-05-06T10:50:45.247Z] ---> ea4936c05f6e [2021-05-06T10:50:45.247Z] Step 8/8 : RUN go mod download [2021-05-06T10:50:45.525Z] ---> Running in 72e9c1d20bac [2021-05-06T10:50:46.323Z] f706445af74f: Pull complete [2021-05-06T10:50:46.323Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T10:50:46.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T10:50:46.323Z] ---> b068be0155e3 [2021-05-06T10:50:46.323Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-06T10:50:47.276Z] ---> Running in 10cafef03d79 [2021-05-06T10:50:47.276Z] Removing intermediate container 10cafef03d79 [2021-05-06T10:50:47.276Z] ---> d0a18ac96555 [2021-05-06T10:50:47.276Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T10:50:47.276Z] ---> Running in 3d7838845bfe [2021-05-06T10:50:48.672Z] Removing intermediate container 3d7838845bfe [2021-05-06T10:50:48.672Z] ---> d235181537e1 [2021-05-06T10:50:48.672Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T10:50:48.672Z] ---> Running in c9fce648bd55 [2021-05-06T10:50:49.627Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T10:50:50.574Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T10:50:52.002Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-06T10:50:52.002Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-06T10:50:52.002Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-06T10:50:52.002Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-06T10:50:52.264Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-06T10:50:52.527Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-06T10:50:52.527Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-06T10:50:53.472Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-06T10:50:53.473Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-06T10:50:53.473Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-06T10:50:54.047Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-06T10:50:54.309Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-06T10:50:54.571Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-06T10:50:54.571Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T10:50:54.571Z] OK: 156 MiB in 53 packages [2021-05-06T10:50:55.522Z] Removing intermediate container c9fce648bd55 [2021-05-06T10:50:55.522Z] ---> f99840379b3c [2021-05-06T10:50:55.522Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-06T10:50:55.522Z] ---> Running in 5b6eb9afb842 [2021-05-06T10:50:55.522Z] Removing intermediate container 5b6eb9afb842 [2021-05-06T10:50:55.522Z] ---> c0ae6a1ff19c [2021-05-06T10:50:55.522Z] Step 7/8 : COPY . . [2021-05-06T10:50:56.468Z] ---> 0f4bce5e7c3e [2021-05-06T10:50:56.468Z] Step 8/8 : RUN go mod download [2021-05-06T10:50:56.468Z] ---> Running in 4987b2de2083 [2021-05-06T10:51:12.331Z] Removing intermediate container 72e9c1d20bac [2021-05-06T10:51:12.331Z] ---> d9ed16449f6d [2021-05-06T10:51:12.331Z] Successfully built d9ed16449f6d [2021-05-06T10:51:12.331Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:51:12.724Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T10:51:12.724Z] . [Pipeline] withDockerContainer [2021-05-06T10:51:13.023Z] prd-ubuntu18.04-docker-arm64-4c-16g-3207 does not seem to be running inside a container [2021-05-06T10:51:13.113Z] $ 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-05-06T10:51:14.685Z] $ docker top d6a477c46ea17ccc1ea4c8aadf9eb6c943b02999c6a0c8fbf5787fbd0518b449 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T10:51:15.708Z] + go version [2021-05-06T10:51:15.708Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T10:51:15.749Z] $ docker stop --time=1 d6a477c46ea17ccc1ea4c8aadf9eb6c943b02999c6a0c8fbf5787fbd0518b449 [2021-05-06T10:51:17.736Z] $ docker rm -f d6a477c46ea17ccc1ea4c8aadf9eb6c943b02999c6a0c8fbf5787fbd0518b449 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:51:18.730Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T10:51:18.730Z] . [Pipeline] withDockerContainer [2021-05-06T10:51:19.012Z] prd-ubuntu18.04-docker-arm64-4c-16g-3207 does not seem to be running inside a container [2021-05-06T10:51:19.100Z] $ 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-05-06T10:51:20.718Z] $ docker top e1a61a4a148eb8c99a5ee2439eef3d77cf8a8d0a30e48d1a2043e5f1c0905455 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T10:51:21.727Z] + go mod tidy [Pipeline] sh [2021-05-06T10:51:23.019Z] + make test [2021-05-06T10:51:23.019Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-06T10:51:23.111Z] Removing intermediate container 4987b2de2083 [2021-05-06T10:51:23.111Z] ---> 68754535b73b [2021-05-06T10:51:23.111Z] Successfully built 68754535b73b [2021-05-06T10:51:23.111Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:51:23.458Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T10:51:23.458Z] . [Pipeline] withDockerContainer [2021-05-06T10:51:23.586Z] prd-centos7-docker-4c-2g-3208 does not seem to be running inside a container [2021-05-06T10:51:23.636Z] $ 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-x86_64 cat [2021-05-06T10:51:24.352Z] $ docker top dca1b8b8cde0f20486e453ea0de096c151b2a89580a6ee3d4b9d20a5bc1d6f53 -eo pid,comm [2021-05-06T10:51:24.459Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] { [Pipeline] sh [2021-05-06T10:51:24.864Z] + go version [2021-05-06T10:51:24.864Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T10:51:24.896Z] $ docker stop --time=1 dca1b8b8cde0f20486e453ea0de096c151b2a89580a6ee3d4b9d20a5bc1d6f53 [2021-05-06T10:51:26.252Z] $ docker rm -f dca1b8b8cde0f20486e453ea0de096c151b2a89580a6ee3d4b9d20a5bc1d6f53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:51:27.021Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T10:51:27.022Z] . [Pipeline] withDockerContainer [2021-05-06T10:51:27.146Z] prd-centos7-docker-4c-2g-3208 does not seem to be running inside a container [2021-05-06T10:51:27.197Z] $ 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-x86_64 cat [2021-05-06T10:51:27.751Z] $ docker top accc7496ce152b77a106117b01b44a77d018de58c61e68f616f6a7e522fe4195 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T10:51:28.198Z] + go mod tidy [Pipeline] sh [2021-05-06T10:51:29.100Z] + make test [2021-05-06T10:51:29.100Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-06T10:51:29.679Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-06T10:51:52.243Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-06T10:51:52.243Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.454s coverage: 63.8% of statements [2021-05-06T10:51:52.243Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-06T10:52:02.335Z] gofmt -l . [2021-05-06T10:52:02.335Z] [ "`gofmt -l .`" = "" ] [2021-05-06T10:52:02.335Z] ./bin/test-attribution-txt.sh [2021-05-06T10:52:02.335Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T10:52:02.367Z] $ docker stop --time=1 accc7496ce152b77a106117b01b44a77d018de58c61e68f616f6a7e522fe4195 [2021-05-06T10:52:04.416Z] $ docker rm -f accc7496ce152b77a106117b01b44a77d018de58c61e68f616f6a7e522fe4195 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T10:52:05.024Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T10:52:05.412Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-06T10:52:06.626Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T10:52:06.949Z] + ls -al . [2021-05-06T10:52:06.949Z] total 132 [2021-05-06T10:52:06.949Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 6 10:52 . [2021-05-06T10:52:06.949Z] drwxrwxr-x. 4 jenkins jenkins 28 May 6 10:50 .. [2021-05-06T10:52:06.949Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 6 10:50 Attribution.txt [2021-05-06T10:52:06.949Z] drwxrwxr-x. 2 jenkins jenkins 64 May 6 10:50 bin [2021-05-06T10:52:06.949Z] drwxrwxr-x. 3 jenkins jenkins 32 May 6 10:50 cmd [2021-05-06T10:52:06.949Z] -rw-r--r--. 1 jenkins jenkins 47247 May 6 10:51 coverage.out [2021-05-06T10:52:06.949Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 6 10:50 Dockerfile [2021-05-06T10:52:06.949Z] -rw-rw-r--. 1 jenkins jenkins 998 May 6 10:50 Dockerfile.build [2021-05-06T10:52:06.949Z] drwxrwxr-x. 8 jenkins jenkins 179 May 6 10:50 .git [2021-05-06T10:52:06.949Z] drwxrwxr-x. 2 jenkins jenkins 103 May 6 10:50 .github [2021-05-06T10:52:06.949Z] -rw-rw-r--. 1 jenkins jenkins 277 May 6 10:50 .gitignore [2021-05-06T10:52:06.949Z] -rw-r--r--. 1 jenkins jenkins 809 May 6 10:52 go.mod [2021-05-06T10:52:06.949Z] -rw-r--r--. 1 jenkins jenkins 23703 May 6 10:51 go.sum [2021-05-06T10:52:06.949Z] drwxrwxr-x. 3 jenkins jenkins 20 May 6 10:50 internal [2021-05-06T10:52:06.949Z] -rw-rw-r--. 1 jenkins jenkins 660 May 6 10:50 Jenkinsfile [2021-05-06T10:52:06.949Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 6 10:50 LICENSE [2021-05-06T10:52:06.949Z] -rw-rw-r--. 1 jenkins jenkins 921 May 6 10:50 Makefile [2021-05-06T10:52:06.949Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 6 10:50 README.md [2021-05-06T10:52:06.949Z] -rw-rw-r--. 1 jenkins jenkins 5 May 6 10:46 VERSION [2021-05-06T10:52:06.949Z] -rw-rw-r--. 1 jenkins jenkins 235 May 6 10:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:52:07.291Z] + 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=8527a52938520fc4af81a5dd356fa33f421c5825 --label arch=amd64 --label version=0.0.0 . [2021-05-06T10:52:07.555Z] Sending build context to Docker daemon 599.6kB [2021-05-06T10:52:07.555Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T10:52:07.555Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-06T10:52:07.555Z] ---> 68754535b73b [2021-05-06T10:52:07.555Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-06T10:52:07.818Z] ---> Running in b2001e7cbcd6 [2021-05-06T10:52:07.818Z] Removing intermediate container b2001e7cbcd6 [2021-05-06T10:52:07.818Z] ---> 14064c02b127 [2021-05-06T10:52:07.818Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T10:52:08.086Z] ---> Running in 92bf9d2e3794 [2021-05-06T10:52:08.086Z] Removing intermediate container 92bf9d2e3794 [2021-05-06T10:52:08.086Z] ---> 3b19bf26cc3b [2021-05-06T10:52:08.086Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-06T10:52:08.086Z] ---> Running in 44d64fce0855 [2021-05-06T10:52:08.357Z] Removing intermediate container 44d64fce0855 [2021-05-06T10:52:08.357Z] ---> e88dada6e4ed [2021-05-06T10:52:08.357Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T10:52:08.357Z] ---> Running in 99f80257ffb3 [2021-05-06T10:52:09.316Z] Removing intermediate container 99f80257ffb3 [2021-05-06T10:52:09.316Z] ---> c93397b219b4 [2021-05-06T10:52:09.316Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T10:52:09.584Z] ---> Running in 72c2921f1bdd [2021-05-06T10:52:10.166Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T10:52:11.113Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T10:52:12.067Z] OK: 156 MiB in 53 packages [2021-05-06T10:52:12.332Z] Removing intermediate container 72c2921f1bdd [2021-05-06T10:52:12.332Z] ---> fbb3051568ab [2021-05-06T10:52:12.332Z] Step 8/25 : COPY . . [2021-05-06T10:52:13.279Z] ---> 96f4d392ce24 [2021-05-06T10:52:13.279Z] Step 9/25 : RUN go mod download [2021-05-06T10:52:13.279Z] ---> Running in 601bda3b3930 [2021-05-06T10:52:14.239Z] Removing intermediate container 601bda3b3930 [2021-05-06T10:52:14.239Z] ---> 0fd1e6293539 [2021-05-06T10:52:14.239Z] Step 10/25 : ARG MAKE='make build' [2021-05-06T10:52:14.239Z] ---> Running in 2cdc5490ae77 [2021-05-06T10:52:14.508Z] Removing intermediate container 2cdc5490ae77 [2021-05-06T10:52:14.509Z] ---> b1bd6f359bfe [2021-05-06T10:52:14.509Z] Step 11/25 : RUN $MAKE [2021-05-06T10:52:14.509Z] ---> Running in f0c2e93b7dbf [2021-05-06T10:52:15.083Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-06T10:52:32.584Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-06T10:52:32.584Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.637s coverage: 63.8% of statements [2021-05-06T10:52:32.584Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-06T10:52:33.401Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-06T10:52:36.723Z] Removing intermediate container f0c2e93b7dbf [2021-05-06T10:52:36.723Z] ---> f53bda87373e [2021-05-06T10:52:36.723Z] Step 12/25 : FROM alpine:3.12 [2021-05-06T10:52:36.723Z] 3.12: Pulling from library/alpine [2021-05-06T10:52:36.723Z] 339de151aab4: Pulling fs layer [2021-05-06T10:52:36.723Z] 339de151aab4: Verifying Checksum [2021-05-06T10:52:36.723Z] 339de151aab4: Download complete [2021-05-06T10:52:37.009Z] 339de151aab4: Pull complete [2021-05-06T10:52:37.009Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T10:52:37.009Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T10:52:37.009Z] ---> 13621d1b12d4 [2021-05-06T10:52:37.009Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-06T10:52:37.280Z] ---> Running in 6c3204a3d122 [2021-05-06T10:52:37.543Z] Removing intermediate container 6c3204a3d122 [2021-05-06T10:52:37.543Z] ---> 4c93917827e7 [2021-05-06T10:52:37.543Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T10:52:37.806Z] ---> Running in 0f9f4cb54c67 [2021-05-06T10:52:38.754Z] Removing intermediate container 0f9f4cb54c67 [2021-05-06T10:52:38.754Z] ---> 5ea5eaa719f7 [2021-05-06T10:52:38.754Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-06T10:52:38.754Z] ---> Running in 3c5327af792f [2021-05-06T10:52:39.018Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-06T10:52:40.409Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-06T10:52:40.983Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-06T10:52:41.246Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-06T10:52:41.246Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-06T10:52:41.507Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-06T10:52:41.770Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-06T10:52:42.033Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-06T10:52:42.033Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T10:52:42.033Z] OK: 8 MiB in 20 packages [2021-05-06T10:52:42.610Z] Removing intermediate container 3c5327af792f [2021-05-06T10:52:42.610Z] ---> 5999c0b02356 [2021-05-06T10:52:42.610Z] Step 16/25 : WORKDIR / [2021-05-06T10:52:42.610Z] ---> Running in ae8fcb5fcb58 [2021-05-06T10:52:42.873Z] Removing intermediate container ae8fcb5fcb58 [2021-05-06T10:52:42.873Z] ---> f0a4ff326f91 [2021-05-06T10:52:42.873Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-06T10:52:43.137Z] ---> f185e08b51c6 [2021-05-06T10:52:43.137Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-06T10:52:43.400Z] ---> 197e3e5e1d8a [2021-05-06T10:52:43.400Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-06T10:52:43.976Z] ---> f9f752e18802 [2021-05-06T10:52:43.977Z] Step 20/25 : EXPOSE 49990 [2021-05-06T10:52:44.239Z] ---> Running in 830e1f7b2e40 [2021-05-06T10:52:44.239Z] Removing intermediate container 830e1f7b2e40 [2021-05-06T10:52:44.239Z] ---> 0d62c5eedae3 [2021-05-06T10:52:44.239Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-06T10:52:44.239Z] ---> Running in 8c0984bfb125 [2021-05-06T10:52:44.502Z] Removing intermediate container 8c0984bfb125 [2021-05-06T10:52:44.502Z] ---> 5205f5b08f9e [2021-05-06T10:52:44.502Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T10:52:44.502Z] ---> Running in 3ce1315db90c [2021-05-06T10:52:44.770Z] Removing intermediate container 3ce1315db90c [2021-05-06T10:52:44.770Z] ---> 8f1013e96838 [2021-05-06T10:52:44.770Z] Step 23/25 : LABEL arch=amd64 [2021-05-06T10:52:44.770Z] ---> Running in b3dbfc29b61b [2021-05-06T10:52:45.032Z] Removing intermediate container b3dbfc29b61b [2021-05-06T10:52:45.032Z] ---> e88542d13398 [2021-05-06T10:52:45.032Z] Step 24/25 : LABEL git_sha=8527a52938520fc4af81a5dd356fa33f421c5825 [2021-05-06T10:52:45.032Z] ---> Running in 5afd607f3271 [2021-05-06T10:52:45.296Z] Removing intermediate container 5afd607f3271 [2021-05-06T10:52:45.296Z] ---> d46d8c52ef34 [2021-05-06T10:52:45.296Z] Step 25/25 : LABEL version=0.0.0 [2021-05-06T10:52:45.296Z] ---> Running in 66f87fb5be26 [2021-05-06T10:52:45.558Z] Removing intermediate container 66f87fb5be26 [2021-05-06T10:52:45.558Z] ---> 3dbe80600e34 [2021-05-06T10:52:45.558Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-06T10:52:45.558Z] Successfully built 3dbe80600e34 [2021-05-06T10:52:45.558Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:52:46.494Z] ---> job-cost.sh [2021-05-06T10:52:46.494Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sAGX [2021-05-06T10:52:59.430Z] gofmt -l . [2021-05-06T10:52:59.430Z] [ "`gofmt -l .`" = "" ] [2021-05-06T10:52:59.430Z] ./bin/test-attribution-txt.sh [2021-05-06T10:52:59.430Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T10:52:59.478Z] $ docker stop --time=1 e1a61a4a148eb8c99a5ee2439eef3d77cf8a8d0a30e48d1a2043e5f1c0905455 [2021-05-06T10:53:01.445Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T10:53:01.659Z] $ docker rm -f e1a61a4a148eb8c99a5ee2439eef3d77cf8a8d0a30e48d1a2043e5f1c0905455 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T10:53:02.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T10:53:02.656Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T10:53:03.174Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T10:53:03.807Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T10:53:04.158Z] + ls -al . [2021-05-06T10:53:04.158Z] total 156 [2021-05-06T10:53:04.158Z] drwxrwxr-x 7 jenkins jenkins 4096 May 6 10:52 . [2021-05-06T10:53:04.158Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 10:49 .. [2021-05-06T10:53:04.158Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 10:50 .git [2021-05-06T10:53:04.158Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 10:49 .github [2021-05-06T10:53:04.158Z] -rw-rw-r-- 1 jenkins jenkins 277 May 6 10:49 .gitignore [2021-05-06T10:53:04.158Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 6 10:49 Attribution.txt [2021-05-06T10:53:04.158Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 6 10:49 Dockerfile [2021-05-06T10:53:04.158Z] -rw-rw-r-- 1 jenkins jenkins 998 May 6 10:49 Dockerfile.build [2021-05-06T10:53:04.158Z] -rw-rw-r-- 1 jenkins jenkins 660 May 6 10:49 Jenkinsfile [2021-05-06T10:53:04.158Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 6 10:49 LICENSE [2021-05-06T10:53:04.158Z] -rw-rw-r-- 1 jenkins jenkins 921 May 6 10:49 Makefile [2021-05-06T10:53:04.158Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 6 10:49 README.md [2021-05-06T10:53:04.158Z] -rw-rw-r-- 1 jenkins jenkins 5 May 6 10:46 VERSION [2021-05-06T10:53:04.158Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 10:49 bin [2021-05-06T10:53:04.158Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 10:49 cmd [2021-05-06T10:53:04.158Z] -rw-r--r-- 1 jenkins jenkins 47247 May 6 10:52 coverage.out [2021-05-06T10:53:04.158Z] -rw-r--r-- 1 jenkins jenkins 809 May 6 10:52 go.mod [2021-05-06T10:53:04.158Z] -rw-r--r-- 1 jenkins jenkins 23703 May 6 10:51 go.sum [2021-05-06T10:53:04.158Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 10:49 internal [2021-05-06T10:53:04.158Z] -rw-rw-r-- 1 jenkins jenkins 235 May 6 10:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:53:04.540Z] + 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=8527a52938520fc4af81a5dd356fa33f421c5825 --label arch=arm64 --label version=0.0.0 . [2021-05-06T10:53:04.816Z] Sending build context to Docker daemon 598.5kB [2021-05-06T10:53:04.816Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T10:53:04.816Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-06T10:53:04.816Z] ---> d9ed16449f6d [2021-05-06T10:53:04.816Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-06T10:53:05.093Z] ---> Running in 385cafd10d83 [2021-05-06T10:53:05.691Z] Removing intermediate container 385cafd10d83 [2021-05-06T10:53:05.691Z] ---> ff8a168a6c15 [2021-05-06T10:53:05.691Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T10:53:05.967Z] ---> Running in 9376f2177b09 [2021-05-06T10:53:06.239Z] Removing intermediate container 9376f2177b09 [2021-05-06T10:53:06.239Z] ---> 42545d7aa2d3 [2021-05-06T10:53:06.239Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-06T10:53:06.511Z] ---> Running in 20fabff17b08 [2021-05-06T10:53:06.783Z] Removing intermediate container 20fabff17b08 [2021-05-06T10:53:06.783Z] ---> bdad2f04793e [2021-05-06T10:53:06.783Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T10:53:07.057Z] ---> Running in b4e0f0ba4ae0 [2021-05-06T10:53:09.041Z] Removing intermediate container b4e0f0ba4ae0 [2021-05-06T10:53:09.041Z] ---> 2036f8226f00 [2021-05-06T10:53:09.041Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T10:53:09.314Z] ---> Running in 7d65eb75a504 [2021-05-06T10:53:10.296Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T10:53:11.724Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T10:53:12.709Z] OK: 145 MiB in 53 packages [2021-05-06T10:53:14.140Z] Removing intermediate container 7d65eb75a504 [2021-05-06T10:53:14.140Z] ---> ffac50ee40a9 [2021-05-06T10:53:14.140Z] Step 8/25 : COPY . . [2021-05-06T10:53:15.120Z] ---> f2b63d8177bd [2021-05-06T10:53:15.120Z] Step 9/25 : RUN go mod download [2021-05-06T10:53:15.120Z] ---> Running in f0cb490bd154 [2021-05-06T10:53:17.750Z] Removing intermediate container f0cb490bd154 [2021-05-06T10:53:17.750Z] ---> a6cdd4e9817d [2021-05-06T10:53:17.750Z] Step 10/25 : ARG MAKE='make build' [2021-05-06T10:53:17.750Z] ---> Running in baa28c2cb47c [2021-05-06T10:53:18.023Z] Removing intermediate container baa28c2cb47c [2021-05-06T10:53:18.023Z] ---> d8a0af3b1f5f [2021-05-06T10:53:18.023Z] Step 11/25 : RUN $MAKE [2021-05-06T10:53:18.295Z] ---> Running in 253542daef45 [2021-05-06T10:53:19.272Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-06T10:53:28.068Z] lf-activate-venv(): INFO: Adding /tmp/venv-sAGX/bin to PATH [2021-05-06T10:53:28.068Z] INFO: No Stack... [2021-05-06T10:53:28.068Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T10:53:28.068Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T10:53:28.397Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-06T10:53:28.398Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T10:53:28.514Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-197-1-stack-cost] [2021-05-06T10:53:28.521Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-197-1-stack-cost] did not exist. Created. [2021-05-06T10:53:28.521Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-197-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T10:53:28.981Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T10:53:29.126Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T10:53:29.149Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-197-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T10:54:06.294Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-06T10:54:16.436Z] Removing intermediate container 253542daef45 [2021-05-06T10:54:16.436Z] ---> 8cf723b3c608 [2021-05-06T10:54:16.436Z] Step 12/25 : FROM alpine:3.12 [2021-05-06T10:54:16.436Z] 3.12: Pulling from library/alpine [2021-05-06T10:54:16.436Z] d2f70382dc9a: Pulling fs layer [2021-05-06T10:54:16.436Z] d2f70382dc9a: Download complete [2021-05-06T10:54:17.037Z] d2f70382dc9a: Pull complete [2021-05-06T10:54:17.037Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T10:54:17.037Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T10:54:17.037Z] ---> 9852663dfa18 [2021-05-06T10:54:17.037Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-06T10:54:17.311Z] ---> Running in 7e9f0489ee8b [2021-05-06T10:54:17.591Z] Removing intermediate container 7e9f0489ee8b [2021-05-06T10:54:17.591Z] ---> 2cd050badf08 [2021-05-06T10:54:17.591Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T10:54:17.864Z] ---> Running in 30f47fe8dca8 [2021-05-06T10:54:19.841Z] Removing intermediate container 30f47fe8dca8 [2021-05-06T10:54:19.841Z] ---> a7574dad5e6d [2021-05-06T10:54:19.841Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-06T10:54:19.841Z] ---> Running in bad45816633b [2021-05-06T10:54:21.273Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-06T10:54:22.244Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-06T10:54:22.835Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-06T10:54:23.106Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-06T10:54:23.376Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-06T10:54:23.376Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-06T10:54:23.966Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-06T10:54:23.966Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-06T10:54:24.237Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T10:54:24.237Z] OK: 8 MiB in 20 packages [2021-05-06T10:54:25.669Z] Removing intermediate container bad45816633b [2021-05-06T10:54:25.669Z] ---> 87bf36e04b80 [2021-05-06T10:54:25.669Z] Step 16/25 : WORKDIR / [2021-05-06T10:54:25.669Z] ---> Running in bfb46cb074df [2021-05-06T10:54:25.942Z] Removing intermediate container bfb46cb074df [2021-05-06T10:54:25.942Z] ---> e6ea341f3129 [2021-05-06T10:54:25.942Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-06T10:54:26.918Z] ---> 1e0fccde062d [2021-05-06T10:54:26.918Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-06T10:54:27.509Z] ---> 945316dac659 [2021-05-06T10:54:27.509Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-06T10:54:28.960Z] ---> 1e4bb8be5628 [2021-05-06T10:54:28.960Z] Step 20/25 : EXPOSE 49990 [2021-05-06T10:54:28.960Z] ---> Running in 496ce4c2e694 [2021-05-06T10:54:29.555Z] Removing intermediate container 496ce4c2e694 [2021-05-06T10:54:29.555Z] ---> b183c7a9e052 [2021-05-06T10:54:29.555Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-06T10:54:29.555Z] ---> Running in 9f408f2d2b04 [2021-05-06T10:54:30.150Z] Removing intermediate container 9f408f2d2b04 [2021-05-06T10:54:30.150Z] ---> b3f03942bd54 [2021-05-06T10:54:30.150Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T10:54:30.150Z] ---> Running in e8b10d284893 [2021-05-06T10:54:30.743Z] Removing intermediate container e8b10d284893 [2021-05-06T10:54:30.743Z] ---> b1ffd5dc7971 [2021-05-06T10:54:30.743Z] Step 23/25 : LABEL arch=arm64 [2021-05-06T10:54:30.743Z] ---> Running in e67c77436e16 [2021-05-06T10:54:31.334Z] Removing intermediate container e67c77436e16 [2021-05-06T10:54:31.334Z] ---> a1158bde1bef [2021-05-06T10:54:31.334Z] Step 24/25 : LABEL git_sha=8527a52938520fc4af81a5dd356fa33f421c5825 [2021-05-06T10:54:31.334Z] ---> Running in 2109c6514f3e [2021-05-06T10:54:31.928Z] Removing intermediate container 2109c6514f3e [2021-05-06T10:54:31.928Z] ---> f104fb232ffc [2021-05-06T10:54:31.928Z] Step 25/25 : LABEL version=0.0.0 [2021-05-06T10:54:32.200Z] ---> Running in 5668d0449196 [2021-05-06T10:54:32.471Z] Removing intermediate container 5668d0449196 [2021-05-06T10:54:32.471Z] ---> 5825d40944c5 [2021-05-06T10:54:32.471Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-06T10:54:32.471Z] Successfully built 5825d40944c5 [2021-05-06T10:54:32.471Z] 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-05-06T10:54:33.163Z] ---> job-cost.sh [2021-05-06T10:54:33.163Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-T4hd [2021-05-06T10:55:12.103Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T10:56:33.825Z] lf-activate-venv(): INFO: Adding /tmp/venv-T4hd/bin to PATH [2021-05-06T10:56:33.825Z] INFO: No Stack... [2021-05-06T10:56:34.096Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T10:56:34.687Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T10:56:35.050Z] + cut -d, -f6 [2021-05-06T10:56:35.050Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-05-06T10:56:35.224Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-197-1-stack-cost] [2021-05-06T10:56:35.229Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-197-1-stack-cost] did not exist. Created. [2021-05-06T10:56:35.230Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-197-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T10:56:35.682Z] /w/workspace/device-virtual-go/1@tmp/durable-849633b6/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-849633b6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T10:56:36.057Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T10:56:36.098Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T10:56:36.251Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T10:56:36.273Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-197-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-05-06T10:56:37.464Z] provisioning config files... [2021-05-06T10:56:37.478Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-197@tmp/config3766975789157836666tmp [Pipeline] { [Pipeline] sh [2021-05-06T10:56:37.877Z] + set +x [2021-05-06T10:56:37.877Z] + curl -s https://codecov.io/bash [2021-05-06T10:56:37.877Z] + bash -s -- [2021-05-06T10:56:38.142Z] [2021-05-06T10:56:38.142Z] _____ _ [2021-05-06T10:56:38.142Z] / ____| | | [2021-05-06T10:56:38.142Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T10:56:38.142Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T10:56:38.142Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T10:56:38.142Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T10:56:38.142Z] Bash-1.0.2 [2021-05-06T10:56:38.142Z] [2021-05-06T10:56:38.142Z] [2021-05-06T10:56:38.142Z] ==> git version 2.24.3 found [2021-05-06T10:56:38.142Z] ==> 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-05-06T10:56:38.142Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T10:56:38.142Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T10:56:38.142Z] ==> Jenkins CI detected. [2021-05-06T10:56:38.142Z] project root: . [2021-05-06T10:56:38.142Z] --> token set from env [2021-05-06T10:56:38.142Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T10:56:38.142Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T10:56:38.142Z] ==> Python coveragepy not found [2021-05-06T10:56:38.142Z] ==> Searching for coverage reports in: [2021-05-06T10:56:38.142Z] + . [2021-05-06T10:56:38.142Z] -> Found 1 reports [2021-05-06T10:56:38.142Z] ==> Detecting git/mercurial file structure [2021-05-06T10:56:38.142Z] ==> Reading reports [2021-05-06T10:56:38.142Z] + ./coverage.out bytes=47247 [2021-05-06T10:56:38.142Z] ==> Appending adjustments [2021-05-06T10:56:38.142Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T10:56:38.420Z] + Found adjustments [2021-05-06T10:56:38.420Z] ==> Gzipping contents [2021-05-06T10:56:38.420Z] 8.0K /tmp/codecov.N2LzFz.gz [2021-05-06T10:56:38.420Z] ==> Uploading reports [2021-05-06T10:56:38.420Z] url: https://codecov.io [2021-05-06T10:56:38.420Z] query: branch=PR-197&commit=8527a52938520fc4af81a5dd356fa33f421c5825&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-197%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=197&job=&cmd_args= [2021-05-06T10:56:38.420Z] -> Pinging Codecov [2021-05-06T10:56:38.420Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-197&commit=8527a52938520fc4af81a5dd356fa33f421c5825&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-197%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=197&job=&cmd_args= [2021-05-06T10:56:39.047Z] -> Uploading to [2021-05-06T10:56:39.047Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/5E52B4B073DB2E39498172D8E973AA87/8527a52938520fc4af81a5dd356fa33f421c5825/24a37c62-eaa5-47d8-beda-283e57c0424e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T105638Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=44eb87ff71138c857b2f301b78ef72a82b17232220dbb4e8b7e703ea8f3ca59d [2021-05-06T10:56:39.047Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T10:56:39.047Z] Dload Upload Total Spent Left Speed [2021-05-06T10:56:39.317Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5755 0 0 100 5755 0 14800 --:--:-- --:--:-- --:--:-- 14832 [2021-05-06T10:56:39.317Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8527a52938520fc4af81a5dd356fa33f421c5825 [Pipeline] } [2021-05-06T10:56:39.342Z] 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-05-06T10:56:41.453Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:56:41.807Z] ---> package-listing.sh [2021-05-06T10:56:41.808Z] ++ facter osfamily [2021-05-06T10:56:41.808Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T10:56:41.808Z] + OS_FAMILY=redhat [2021-05-06T10:56:41.808Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-197 [2021-05-06T10:56:41.808Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T10:56:41.808Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T10:56:41.808Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T10:56:41.808Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T10:56:41.808Z] + '[' /w/workspace/foundry_device-virtual-go_PR-197 ']' [2021-05-06T10:56:41.808Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T10:56:41.808Z] + case "${OS_FAMILY}" in [2021-05-06T10:56:41.808Z] + rpm -qa [2021-05-06T10:56:41.808Z] + sort [2021-05-06T10:56:47.125Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T10:56:47.125Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T10:56:47.125Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T10:56:47.125Z] + '[' /w/workspace/foundry_device-virtual-go_PR-197 ']' [2021-05-06T10:56:47.125Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-197/archives/ [2021-05-06T10:56:47.125Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-197/archives/ [Pipeline] echo [2021-05-06T10:56:47.158Z] 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-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T10:56:47.469Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:56:47.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T10:56:47.814Z] [2021-05-06T10:56:47.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:56:48.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T10:56:48.171Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T10:56:48.171Z] df20fa9351a1: Pulling fs layer [2021-05-06T10:56:48.171Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T10:56:48.171Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T10:56:48.171Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T10:56:48.171Z] 93b61091891f: Pulling fs layer [2021-05-06T10:56:48.171Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T10:56:48.171Z] 5e14af77c1be: Pulling fs layer [2021-05-06T10:56:48.171Z] 01666e4c0597: Pulling fs layer [2021-05-06T10:56:48.171Z] aa168da1d23b: Pulling fs layer [2021-05-06T10:56:48.171Z] 93b61091891f: Waiting [2021-05-06T10:56:48.171Z] 93b9cdb0e59b: Waiting [2021-05-06T10:56:48.171Z] 5e14af77c1be: Waiting [2021-05-06T10:56:48.171Z] 01666e4c0597: Waiting [2021-05-06T10:56:48.171Z] 46f8f816bc3b: Waiting [2021-05-06T10:56:48.171Z] 36b3adc4ff6f: Download complete [2021-05-06T10:56:48.171Z] 46f8f816bc3b: Verifying Checksum [2021-05-06T10:56:48.171Z] 46f8f816bc3b: Download complete [2021-05-06T10:56:48.434Z] df20fa9351a1: Verifying Checksum [2021-05-06T10:56:48.434Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T10:56:48.434Z] 93b9cdb0e59b: Download complete [2021-05-06T10:56:48.434Z] 5e14af77c1be: Verifying Checksum [2021-05-06T10:56:48.434Z] 5e14af77c1be: Download complete [2021-05-06T10:56:48.434Z] 93b61091891f: Verifying Checksum [2021-05-06T10:56:48.434Z] 93b61091891f: Download complete [2021-05-06T10:56:48.434Z] 01666e4c0597: Download complete [2021-05-06T10:56:48.434Z] 8ad3a11d3b57: Download complete [2021-05-06T10:56:48.705Z] df20fa9351a1: Pull complete [2021-05-06T10:56:48.971Z] 36b3adc4ff6f: Pull complete [2021-05-06T10:56:49.555Z] 8ad3a11d3b57: Pull complete [2021-05-06T10:56:49.826Z] 46f8f816bc3b: Pull complete [2021-05-06T10:56:50.784Z] aa168da1d23b: Download complete [2021-05-06T10:56:51.048Z] 93b61091891f: Pull complete [2021-05-06T10:56:51.626Z] 93b9cdb0e59b: Pull complete [2021-05-06T10:56:51.626Z] 5e14af77c1be: Pull complete [2021-05-06T10:56:51.893Z] 01666e4c0597: Pull complete [2021-05-06T10:57:00.117Z] aa168da1d23b: Pull complete [2021-05-06T10:57:00.117Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T10:57:00.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T10:57:00.117Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T10:57:00.355Z] prd-centos7-docker-4c-2g-3204 does not seem to be running inside a container [2021-05-06T10:57:00.405Z] $ 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-197/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-197 -v /w/workspace/foundry_device-virtual-go_PR-197:/w/workspace/foundry_device-virtual-go_PR-197:rw,z -v /w/workspace/foundry_device-virtual-go_PR-197@tmp:/w/workspace/foundry_device-virtual-go_PR-197@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T10:57:03.848Z] $ docker top ef091f4c5c446a67251faa8833db15663f982acb4bb400158ef98ffa103c46d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T10:57:04.347Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T10:57:04.672Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T10:57:04.996Z] + ls /var/log/sa-host [2021-05-06T10:57:04.997Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T10:57:04.997Z] file_magic: OK [2021-05-06T10:57:04.997Z] HZ: Using current value: 100 [2021-05-06T10:57:04.997Z] file_header: OK [2021-05-06T10:57:04.997Z] 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-05-06T10:57:04.997Z] Statistics: [2021-05-06T10:57:04.997Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T10:57:04.997Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T10:57:04.997Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T10:57:04.997Z] file_magic: OK [2021-05-06T10:57:04.997Z] HZ: Using current value: 100 [2021-05-06T10:57:04.997Z] file_header: OK [2021-05-06T10:57:04.997Z] 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-05-06T10:57:04.997Z] Statistics: [2021-05-06T10:57:04.997Z] Hnuu...uuuununununu... [2021-05-06T10:57:04.997Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T10:57:05.658Z] provisioning config files... [2021-05-06T10:57:05.685Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-197@tmp/config179274122984395429tmp [Pipeline] { [Pipeline] echo [2021-05-06T10:57:05.738Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:57:06.087Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T10:57:06.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T10:57:06.191Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:57:06.531Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T10:57:06.562Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:57:06.892Z] ---> sudo-logs.sh [2021-05-06T10:57:06.892Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T10:57:06.980Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:57:07.321Z] ---> job-cost.sh [2021-05-06T10:57:07.321Z] lf-activate-venv: SKIPPING [2021-05-06T10:57:07.321Z] DEBUG: total: 0.20999999344348907 [2021-05-06T10:57:07.321Z] INFO: Retrieving Stack Cost... [2021-05-06T10:57:08.719Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T10:57:09.294Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T10:57:09.334Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:57:09.674Z] ---> logs-deploy.sh [2021-05-06T10:57:09.675Z] lf-activate-venv: SKIPPING [2021-05-06T10:57:09.675Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-197/1 [2021-05-06T10:57:09.675Z] INFO: archiving workspace using pattern(s): [2021-05-06T10:57:11.605Z] Archives upload complete. [2021-05-06T10:57:11.605Z] INFO: archiving logs to Nexus