Pull request #202 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5de230576521c78e747d4af04c53b9ed26ec6fb2+969908695d9457bace8f724c7874c2a817cac062 (5c34e29fcc5ff7e408ba116fe350f67ac3fe132e) 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-202/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-202/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 ‘prd-centos7-docker-4c-2g-4436’ Running on prd-centos7-docker-4c-2g-4438 in /w/workspace/foundry_device-virtual-go_PR-202 [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-202 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 5de230576521c78e747d4af04c53b9ed26ec6fb2 Merge succeeded, producing 5de230576521c78e747d4af04c53b9ed26ec6fb2 Checking out Revision 5de230576521c78e747d4af04c53b9ed26ec6fb2 (PR-202) > git config core.sparsecheckout # timeout=10 > git checkout -f 5de230576521c78e747d4af04c53b9ed26ec6fb2 # 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 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5de230576521c78e747d4af04c53b9ed26ec6fb2 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T14:33:10.089Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T14:33:10.321Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T14:33:10.468Z] ========================================================= [2021-05-11T14:33:10.468Z] EdgeX Global Pipelines Version Info [2021-05-11T14:33:10.468Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:33:12.120Z] ------------------- [2021-05-11T14:33:12.120Z] stable info: [2021-05-11T14:33:12.120Z] ------------------- [2021-05-11T14:33:12.120Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T14:33:12.120Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-11T14:33:12.120Z] Message: update stable to v1.0.191 [2021-05-11T14:33:13.065Z] ------------------- [2021-05-11T14:33:13.065Z] experimental info: [2021-05-11T14:33:13.065Z] ------------------- [2021-05-11T14:33:13.065Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T14:33:13.065Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T14:33:13.065Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T14:33:13.310Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-11T14:33:13.366Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-11T14:33:13.441Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T14:33:13.502Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T14:33:13.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T14:33:13.611Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T14:33:13.663Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T14:33:13.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T14:33:13.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-11T14:33:13.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T14:33:13.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T14:33:13.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-05-11T14:33:14.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T14:33:14.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T14:33:14.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T14:33:14.203Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T14:33:14.267Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T14:33:14.336Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T14:33:14.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T14:33:14.459Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T14:33:14.537Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-11T14:33:14.592Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-11T14:33:14.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T14:33:14.723Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T14:33:14.781Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T14:33:14.841Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T14:33:14.919Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-202 [Pipeline] echo [2021-05-11T14:33:14.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-202 [Pipeline] echo [2021-05-11T14:33:15.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-202 [Pipeline] echo [2021-05-11T14:33:15.110Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5de230576521c78e747d4af04c53b9ed26ec6fb2 [Pipeline] echo [2021-05-11T14:33:15.172Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5de2305 [Pipeline] echo [2021-05-11T14:33:15.232Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T14:33:15.389Z] provisioning config files... [2021-05-11T14:33:15.435Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-202@tmp/config8540028872026973167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:33:15.812Z] ---> docker-login.sh [2021-05-11T14:33:15.812Z] nexus3.edgexfoundry.org:10001 [2021-05-11T14:33:16.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:33:16.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:33:16.107Z] Configure a credential helper to remove this warning. See [2021-05-11T14:33:16.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:33:16.107Z] [2021-05-11T14:33:16.107Z] Login Succeeded [2021-05-11T14:33:16.107Z] nexus3.edgexfoundry.org:10002 [2021-05-11T14:33:16.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:33:16.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:33:16.372Z] Configure a credential helper to remove this warning. See [2021-05-11T14:33:16.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:33:16.372Z] [2021-05-11T14:33:16.372Z] Login Succeeded [2021-05-11T14:33:16.372Z] nexus3.edgexfoundry.org:10003 [2021-05-11T14:33:16.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:33:16.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:33:16.638Z] Configure a credential helper to remove this warning. See [2021-05-11T14:33:16.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:33:16.638Z] [2021-05-11T14:33:16.638Z] Login Succeeded [2021-05-11T14:33:16.638Z] nexus3.edgexfoundry.org:10004 [2021-05-11T14:33:16.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:33:16.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:33:16.638Z] Configure a credential helper to remove this warning. See [2021-05-11T14:33:16.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:33:16.638Z] [2021-05-11T14:33:16.638Z] Login Succeeded [2021-05-11T14:33:16.638Z] docker.io [2021-05-11T14:33:16.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:33:17.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:33:17.165Z] Configure a credential helper to remove this warning. See [2021-05-11T14:33:17.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:33:17.165Z] [2021-05-11T14:33:17.165Z] Login Succeeded [2021-05-11T14:33:17.165Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T14:33:17.189Z] 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-11T14:33:17.898Z] + git log --format=format:%s -1 5de230576521c78e747d4af04c53b9ed26ec6fb2 [Pipeline] echo [2021-05-11T14:33:17.996Z] GIT_COMMIT: 5de230576521c78e747d4af04c53b9ed26ec6fb2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-05-11T14:33:18.040Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:33:18.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T14:33:18.640Z] [2021-05-11T14:33:18.640Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:33:19.005Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T14:33:19.005Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T14:33:19.005Z] 31603596830f: Pulling fs layer [2021-05-11T14:33:19.005Z] 54011a49482f: Pulling fs layer [2021-05-11T14:33:19.005Z] a6820b24f6d8: Pulling fs layer [2021-05-11T14:33:19.005Z] f581987b2513: Pulling fs layer [2021-05-11T14:33:19.005Z] f581987b2513: Waiting [2021-05-11T14:33:19.005Z] 54011a49482f: Verifying Checksum [2021-05-11T14:33:19.005Z] 54011a49482f: Download complete [2021-05-11T14:33:19.005Z] 31603596830f: Verifying Checksum [2021-05-11T14:33:19.005Z] 31603596830f: Download complete [2021-05-11T14:33:19.273Z] f581987b2513: Verifying Checksum [2021-05-11T14:33:19.274Z] f581987b2513: Download complete [2021-05-11T14:33:19.274Z] a6820b24f6d8: Verifying Checksum [2021-05-11T14:33:19.274Z] a6820b24f6d8: Download complete [2021-05-11T14:33:19.538Z] 31603596830f: Pull complete [2021-05-11T14:33:19.538Z] 54011a49482f: Pull complete [2021-05-11T14:33:20.494Z] a6820b24f6d8: Pull complete [2021-05-11T14:33:21.075Z] f581987b2513: Pull complete [2021-05-11T14:33:21.075Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T14:33:21.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T14:33:21.075Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T14:33:21.276Z] prd-centos7-docker-4c-2g-4438 does not seem to be running inside a container [2021-05-11T14:33:21.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-202 -v /w/workspace/foundry_device-virtual-go_PR-202:/w/workspace/foundry_device-virtual-go_PR-202:rw,z -v /w/workspace/foundry_device-virtual-go_PR-202@tmp:/w/workspace/foundry_device-virtual-go_PR-202@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-11T14:33:22.843Z] $ docker top 5a1dcd69992015acce0cd06b79a926ee17861d1ed6b5daef3da657457260eda8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T14:33:23.080Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T14:33:23.080Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T14:33:23.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T14:33:23.300Z] $ docker exec 5a1dcd69992015acce0cd06b79a926ee17861d1ed6b5daef3da657457260eda8 ssh-agent [2021-05-11T14:33:23.469Z] SSH_AUTH_SOCK=/tmp/ssh-4pYYZYpo6yU4/agent.12 [2021-05-11T14:33:23.469Z] SSH_AGENT_PID=18 [2021-05-11T14:33:23.479Z] Running ssh-add (command line suppressed) [2021-05-11T14:33:23.598Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-202@tmp/private_key_7825081643922858250.key (/w/workspace/foundry_device-virtual-go_PR-202@tmp/private_key_7825081643922858250.key) [2021-05-11T14:33:23.651Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T14:33:24.002Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T14:33:24.036Z] $ docker exec --env ******** --env ******** 5a1dcd69992015acce0cd06b79a926ee17861d1ed6b5daef3da657457260eda8 ssh-agent -k [2021-05-11T14:33:24.147Z] unset SSH_AUTH_SOCK; [2021-05-11T14:33:24.147Z] unset SSH_AGENT_PID; [2021-05-11T14:33:24.147Z] echo Agent pid 18 killed; [2021-05-11T14:33:24.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T14:33:24.301Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T14:33:24.301Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T14:33:24.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T14:33:24.469Z] $ docker exec 5a1dcd69992015acce0cd06b79a926ee17861d1ed6b5daef3da657457260eda8 ssh-agent [2021-05-11T14:33:24.629Z] SSH_AUTH_SOCK=/tmp/ssh-XEmLLfz5YYtf/agent.46 [2021-05-11T14:33:24.629Z] SSH_AGENT_PID=51 [2021-05-11T14:33:24.638Z] Running ssh-add (command line suppressed) [2021-05-11T14:33:24.769Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-202@tmp/private_key_4953350384049163045.key (/w/workspace/foundry_device-virtual-go_PR-202@tmp/private_key_4953350384049163045.key) [2021-05-11T14:33:24.820Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T14:33:25.173Z] + git semver init [2021-05-11T14:33:25.174Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T14:33:25.174Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-202/.git [2021-05-11T14:33:25.174Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-202 [2021-05-11T14:33:25.174Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T14:33:25.174Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T14:33:25.174Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T14:33:25.174Z] # $SEMVER_BRANCH = PR-202 [2021-05-11T14:33:25.174Z] # $SEMVER_TEMP = /tmp/semver-466587373 [2021-05-11T14:33:25.174Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-11T14:33:25.436Z] # '/tmp/semver-466587373' -> '/w/workspace/foundry_device-virtual-go_PR-202/.semver' [2021-05-11T14:33:25.436Z] # -> Force: false [2021-05-11T14:33:25.436Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-202/.semver [Pipeline] } [2021-05-11T14:33:25.460Z] $ docker exec --env ******** --env ******** 5a1dcd69992015acce0cd06b79a926ee17861d1ed6b5daef3da657457260eda8 ssh-agent -k [2021-05-11T14:33:25.578Z] unset SSH_AUTH_SOCK; [2021-05-11T14:33:25.578Z] unset SSH_AGENT_PID; [2021-05-11T14:33:25.578Z] echo Agent pid 51 killed; [2021-05-11T14:33:25.629Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T14:33:26.084Z] + git semver [Pipeline] } [2021-05-11T14:33:26.118Z] $ docker stop --time=1 5a1dcd69992015acce0cd06b79a926ee17861d1ed6b5daef3da657457260eda8 [2021-05-11T14:33:27.541Z] $ docker rm -f 5a1dcd69992015acce0cd06b79a926ee17861d1ed6b5daef3da657457260eda8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T14:33:28.044Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T14:33:28.481Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T14:33:28.502Z] [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-11T14:33:43.969Z] Still waiting to schedule task [2021-05-11T14:33:43.970Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-11T14:33:43.995Z] Still waiting to schedule task [2021-05-11T14:33:43.995Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-11T14:36:44.460Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4440 in /w/workspace/foundry_device-virtual-go_PR-202 [Pipeline] { [Pipeline] ws [2021-05-11T14:36:44.521Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T14:36:50.568Z] using credential edgex-jenkins-ssh [2021-05-11T14:36:50.588Z] Cloning the remote Git repository [2021-05-11T14:36:50.675Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-11T14:36:50.795Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-11T14:36:50.888Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-11T14:36:50.889Z] > git --version # timeout=10 [2021-05-11T14:36:50.914Z] > git --version # 'git version 2.17.1' [2021-05-11T14:36:50.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T14:36:50.971Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T14:36:53.474Z] Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 5de230576521c78e747d4af04c53b9ed26ec6fb2 [2021-05-11T14:36:52.874Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-11T14:36:52.914Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T14:36:52.948Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-11T14:36:52.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-11T14:36:52.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T14:36:53.002Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T14:36:53.498Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T14:36:53.510Z] > git checkout -f 5de230576521c78e747d4af04c53b9ed26ec6fb2 # timeout=10 [2021-05-11T14:36:53.670Z] Merge succeeded, producing 5de230576521c78e747d4af04c53b9ed26ec6fb2 [2021-05-11T14:36:53.670Z] Checking out Revision 5de230576521c78e747d4af04c53b9ed26ec6fb2 (PR-202) [2021-05-11T14:36:53.589Z] > git remote # timeout=10 [2021-05-11T14:36:53.610Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T14:36:53.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T14:36:53.640Z] > git merge 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 [2021-05-11T14:36:53.663Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T14:36:53.686Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T14:36:53.697Z] > git checkout -f 5de230576521c78e747d4af04c53b9ed26ec6fb2 # timeout=10 [2021-05-11T14:36:57.996Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-11T14:36:58.060Z] > git --version # timeout=10 [2021-05-11T14:36:58.076Z] > git --version # 'git version 2.17.1' [2021-05-11T14:36:58.099Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T14:36:59.890Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T14:37:00.309Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T14:37:00.672Z] + + sudo service docker restarttrue [2021-05-11T14:37:00.672Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T14:37:03.418Z] provisioning config files... [2021-05-11T14:37:03.479Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1745639433528210198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:37:03.922Z] ---> docker-login.sh [2021-05-11T14:37:03.922Z] nexus3.edgexfoundry.org:10001 [2021-05-11T14:37:04.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:37:05.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:37:05.181Z] Configure a credential helper to remove this warning. See [2021-05-11T14:37:05.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:37:05.181Z] [2021-05-11T14:37:05.181Z] Login Succeeded [2021-05-11T14:37:05.181Z] nexus3.edgexfoundry.org:10002 [2021-05-11T14:37:05.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:37:05.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:37:05.780Z] Configure a credential helper to remove this warning. See [2021-05-11T14:37:05.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:37:05.780Z] [2021-05-11T14:37:05.780Z] Login Succeeded [2021-05-11T14:37:05.780Z] nexus3.edgexfoundry.org:10003 [2021-05-11T14:37:06.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:37:06.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:37:06.329Z] Configure a credential helper to remove this warning. See [2021-05-11T14:37:06.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:37:06.329Z] [2021-05-11T14:37:06.329Z] Login Succeeded [2021-05-11T14:37:06.329Z] nexus3.edgexfoundry.org:10004 [2021-05-11T14:37:06.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:37:06.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:37:06.881Z] Configure a credential helper to remove this warning. See [2021-05-11T14:37:06.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:37:06.881Z] [2021-05-11T14:37:06.881Z] Login Succeeded [2021-05-11T14:37:06.881Z] docker.io [2021-05-11T14:37:07.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:37:07.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:37:07.750Z] Configure a credential helper to remove this warning. See [2021-05-11T14:37:07.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:37:07.750Z] [2021-05-11T14:37:07.750Z] Login Succeeded [2021-05-11T14:37:07.750Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T14:37:07.784Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T14:37:08.237Z] ========================================================= [2021-05-11T14:37:08.237Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T14:37:08.237Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:37:08.627Z] + 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-11T14:37:09.225Z] Sending build context to Docker daemon 8.57MB [2021-05-11T14:37:09.225Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T14:37:09.225Z] Step 2/8 : FROM ${BASE} [2021-05-11T14:37:09.225Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T14:37:09.225Z] 595b0fe564bb: Pulling fs layer [2021-05-11T14:37:09.225Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T14:37:09.225Z] 316046926c0a: Pulling fs layer [2021-05-11T14:37:09.225Z] 4ebd0625c992: Pulling fs layer [2021-05-11T14:37:09.225Z] 207e8628e3a3: Pulling fs layer [2021-05-11T14:37:09.225Z] c791037a9be2: Pulling fs layer [2021-05-11T14:37:09.225Z] ffd874e62e21: Pulling fs layer [2021-05-11T14:37:09.225Z] 4ebd0625c992: Waiting [2021-05-11T14:37:09.225Z] 207e8628e3a3: Waiting [2021-05-11T14:37:09.225Z] c791037a9be2: Waiting [2021-05-11T14:37:09.225Z] ffd874e62e21: Waiting [2021-05-11T14:37:09.225Z] 316046926c0a: Download complete [2021-05-11T14:37:09.225Z] 7186ed65a4f7: Verifying Checksum [2021-05-11T14:37:09.225Z] 7186ed65a4f7: Download complete [2021-05-11T14:37:09.225Z] 207e8628e3a3: Download complete [2021-05-11T14:37:09.225Z] c791037a9be2: Download complete [2021-05-11T14:37:09.225Z] 595b0fe564bb: Verifying Checksum [2021-05-11T14:37:09.826Z] 595b0fe564bb: Pull complete [2021-05-11T14:37:10.437Z] 7186ed65a4f7: Pull complete [2021-05-11T14:37:11.068Z] 316046926c0a: Pull complete [2021-05-11T14:37:12.510Z] ffd874e62e21: Verifying Checksum [2021-05-11T14:37:12.510Z] ffd874e62e21: Download complete [2021-05-11T14:37:12.788Z] 4ebd0625c992: Verifying Checksum [2021-05-11T14:37:12.788Z] 4ebd0625c992: Download complete [2021-05-11T14:37:17.567Z] Running on prd-centos7-docker-4c-2g-4441 in /w/workspace/foundry_device-virtual-go_PR-202 [Pipeline] { [Pipeline] ws [2021-05-11T14:37:17.666Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T14:37:20.477Z] using credential edgex-jenkins-ssh [2021-05-11T14:37:20.494Z] Cloning the remote Git repository [2021-05-11T14:37:20.036Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-11T14:37:20.196Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-11T14:37:20.261Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-11T14:37:20.262Z] > git --version # timeout=10 [2021-05-11T14:37:20.268Z] > git --version # 'git version 2.24.3' [2021-05-11T14:37:20.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T14:37:20.296Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T14:37:21.299Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-11T14:37:21.309Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T14:37:21.321Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-11T14:37:21.337Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-11T14:37:21.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T14:37:21.342Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T14:37:22.128Z] Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 5de230576521c78e747d4af04c53b9ed26ec6fb2 [2021-05-11T14:37:22.211Z] Merge succeeded, producing 5de230576521c78e747d4af04c53b9ed26ec6fb2 [2021-05-11T14:37:22.211Z] Checking out Revision 5de230576521c78e747d4af04c53b9ed26ec6fb2 (PR-202) [2021-05-11T14:37:22.967Z] 4ebd0625c992: Pull complete [2021-05-11T14:37:22.967Z] 207e8628e3a3: Pull complete [2021-05-11T14:37:21.786Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T14:37:21.792Z] > git checkout -f 5de230576521c78e747d4af04c53b9ed26ec6fb2 # timeout=10 [2021-05-11T14:37:21.832Z] > git remote # timeout=10 [2021-05-11T14:37:21.840Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T14:37:21.846Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T14:37:21.850Z] > git merge 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 [2021-05-11T14:37:21.861Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T14:37:21.871Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T14:37:21.878Z] > git checkout -f 5de230576521c78e747d4af04c53b9ed26ec6fb2 # timeout=10 [2021-05-11T14:37:23.241Z] c791037a9be2: Pull complete [2021-05-11T14:37:25.725Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-11T14:37:25.704Z] > git --version # timeout=10 [2021-05-11T14:37:25.713Z] > git --version # 'git version 2.24.3' [2021-05-11T14:37:25.723Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T14:37:27.104Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T14:37:27.469Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T14:37:27.586Z] ffd874e62e21: Pull complete [2021-05-11T14:37:27.587Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T14:37:27.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T14:37:27.587Z] ---> cfc18b08335c [2021-05-11T14:37:27.587Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-11T14:37:27.793Z] + sudo service docker restart [2021-05-11T14:37:27.793Z] + true [2021-05-11T14:37:27.793Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T14:37:28.846Z] provisioning config files... [2021-05-11T14:37:28.892Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config272082986474918626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:37:29.276Z] ---> docker-login.sh [2021-05-11T14:37:29.277Z] nexus3.edgexfoundry.org:10001 [2021-05-11T14:37:29.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:37:29.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:37:29.539Z] Configure a credential helper to remove this warning. See [2021-05-11T14:37:29.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:37:29.539Z] [2021-05-11T14:37:29.539Z] Login Succeeded [2021-05-11T14:37:29.539Z] nexus3.edgexfoundry.org:10002 [2021-05-11T14:37:29.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:37:29.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:37:29.806Z] Configure a credential helper to remove this warning. See [2021-05-11T14:37:29.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:37:29.806Z] [2021-05-11T14:37:29.806Z] Login Succeeded [2021-05-11T14:37:29.806Z] nexus3.edgexfoundry.org:10003 [2021-05-11T14:37:29.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:37:30.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:37:30.070Z] Configure a credential helper to remove this warning. See [2021-05-11T14:37:30.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:37:30.070Z] [2021-05-11T14:37:30.070Z] Login Succeeded [2021-05-11T14:37:30.070Z] nexus3.edgexfoundry.org:10004 [2021-05-11T14:37:30.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:37:30.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:37:30.070Z] Configure a credential helper to remove this warning. See [2021-05-11T14:37:30.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:37:30.070Z] [2021-05-11T14:37:30.070Z] Login Succeeded [2021-05-11T14:37:30.070Z] docker.io [2021-05-11T14:37:30.241Z] ---> Running in 4c8e112565f0 [2021-05-11T14:37:30.241Z] Removing intermediate container 4c8e112565f0 [2021-05-11T14:37:30.241Z] ---> 5725e6ec0712 [2021-05-11T14:37:30.241Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T14:37:30.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T14:37:30.518Z] ---> Running in bfe6dbfa17aa [2021-05-11T14:37:30.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T14:37:30.617Z] Configure a credential helper to remove this warning. See [2021-05-11T14:37:30.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T14:37:30.617Z] [2021-05-11T14:37:30.617Z] Login Succeeded [2021-05-11T14:37:30.617Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T14:37:30.647Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T14:37:30.972Z] ========================================================= [2021-05-11T14:37:30.972Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T14:37:30.972Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:37:31.355Z] + 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-11T14:37:31.355Z] Sending build context to Docker daemon 8.571MB [2021-05-11T14:37:31.621Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T14:37:31.621Z] Step 2/8 : FROM ${BASE} [2021-05-11T14:37:31.621Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T14:37:31.621Z] 540db60ca938: Pulling fs layer [2021-05-11T14:37:31.621Z] adcc1eea9eea: Pulling fs layer [2021-05-11T14:37:31.621Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T14:37:31.621Z] 0510c868ecb4: Pulling fs layer [2021-05-11T14:37:31.621Z] afea3b2eda06: Pulling fs layer [2021-05-11T14:37:31.621Z] 7809a108b3ef: Pulling fs layer [2021-05-11T14:37:31.621Z] f706445af74f: Pulling fs layer [2021-05-11T14:37:31.621Z] afea3b2eda06: Waiting [2021-05-11T14:37:31.621Z] 7809a108b3ef: Waiting [2021-05-11T14:37:31.621Z] f706445af74f: Waiting [2021-05-11T14:37:31.621Z] 0510c868ecb4: Waiting [2021-05-11T14:37:31.621Z] 4c4ab2625f07: Download complete [2021-05-11T14:37:31.621Z] adcc1eea9eea: Download complete [2021-05-11T14:37:31.621Z] afea3b2eda06: Verifying Checksum [2021-05-11T14:37:31.621Z] afea3b2eda06: Download complete [2021-05-11T14:37:31.621Z] 7809a108b3ef: Verifying Checksum [2021-05-11T14:37:31.621Z] 7809a108b3ef: Download complete [2021-05-11T14:37:31.621Z] 540db60ca938: Verifying Checksum [2021-05-11T14:37:31.621Z] 540db60ca938: Download complete [2021-05-11T14:37:31.887Z] 540db60ca938: Pull complete [2021-05-11T14:37:32.151Z] adcc1eea9eea: Pull complete [2021-05-11T14:37:32.151Z] 4c4ab2625f07: Pull complete [2021-05-11T14:37:33.102Z] f706445af74f: Verifying Checksum [2021-05-11T14:37:33.102Z] f706445af74f: Download complete [2021-05-11T14:37:33.148Z] Removing intermediate container bfe6dbfa17aa [2021-05-11T14:37:33.149Z] ---> d145ff17b537 [2021-05-11T14:37:33.149Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T14:37:33.149Z] ---> Running in e2e1ea7ccb57 [2021-05-11T14:37:33.679Z] 0510c868ecb4: Verifying Checksum [2021-05-11T14:37:33.679Z] 0510c868ecb4: Download complete [2021-05-11T14:37:33.747Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T14:37:35.719Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T14:37:37.148Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-11T14:37:37.148Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-11T14:37:37.148Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-11T14:37:37.420Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-11T14:37:37.690Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T14:37:37.690Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-11T14:37:37.961Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-11T14:37:38.950Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-11T14:37:38.950Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-11T14:37:38.950Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-11T14:37:39.027Z] 0510c868ecb4: Pull complete [2021-05-11T14:37:39.027Z] afea3b2eda06: Pull complete [2021-05-11T14:37:39.027Z] 7809a108b3ef: Pull complete [2021-05-11T14:37:39.223Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-11T14:37:39.500Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-11T14:37:39.776Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-11T14:37:39.776Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T14:37:39.776Z] OK: 145 MiB in 53 packages [2021-05-11T14:37:41.762Z] Removing intermediate container e2e1ea7ccb57 [2021-05-11T14:37:41.762Z] ---> 502fc7146874 [2021-05-11T14:37:41.762Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-11T14:37:41.762Z] ---> Running in 756c3f08ceb1 [2021-05-11T14:37:42.377Z] Removing intermediate container 756c3f08ceb1 [2021-05-11T14:37:42.377Z] ---> 6cd3fa003d98 [2021-05-11T14:37:42.377Z] Step 7/8 : COPY . . [2021-05-11T14:37:43.826Z] ---> b7ae854f139f [2021-05-11T14:37:43.826Z] Step 8/8 : RUN go mod download [2021-05-11T14:37:43.826Z] ---> Running in 0db1449d5aad [2021-05-11T14:37:47.215Z] f706445af74f: Pull complete [2021-05-11T14:37:47.215Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T14:37:47.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T14:37:47.215Z] ---> b068be0155e3 [2021-05-11T14:37:47.215Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-11T14:37:47.791Z] ---> Running in e1b1fc764a85 [2021-05-11T14:37:48.061Z] Removing intermediate container e1b1fc764a85 [2021-05-11T14:37:48.061Z] ---> 93010be83bbf [2021-05-11T14:37:48.061Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T14:37:48.061Z] ---> Running in a60bb468b641 [2021-05-11T14:37:49.455Z] Removing intermediate container a60bb468b641 [2021-05-11T14:37:49.455Z] ---> a782ebb8ac46 [2021-05-11T14:37:49.455Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T14:37:49.455Z] ---> Running in b01efe0d8a92 [2021-05-11T14:37:49.758Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T14:37:51.681Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T14:37:53.073Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-11T14:37:53.336Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-11T14:37:53.336Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-11T14:37:53.599Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-11T14:37:53.864Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T14:37:53.864Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-11T14:37:54.127Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-11T14:37:54.704Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-11T14:37:54.968Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-11T14:37:54.968Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-11T14:37:55.230Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-11T14:37:55.495Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-11T14:37:55.761Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-11T14:37:55.761Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T14:37:55.761Z] OK: 156 MiB in 53 packages [2021-05-11T14:37:56.712Z] Removing intermediate container b01efe0d8a92 [2021-05-11T14:37:56.712Z] ---> 7f23a70dd859 [2021-05-11T14:37:56.712Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-11T14:37:56.712Z] ---> Running in aff1085dc5e2 [2021-05-11T14:37:56.978Z] Removing intermediate container aff1085dc5e2 [2021-05-11T14:37:56.978Z] ---> 69a39023814f [2021-05-11T14:37:56.978Z] Step 7/8 : COPY . . [2021-05-11T14:37:57.561Z] ---> a91b92f4963b [2021-05-11T14:37:57.561Z] Step 8/8 : RUN go mod download [2021-05-11T14:37:57.561Z] ---> Running in 564ad91c3772 [2021-05-11T14:38:10.611Z] Removing intermediate container 0db1449d5aad [2021-05-11T14:38:10.611Z] ---> 0094be69b6df [2021-05-11T14:38:10.611Z] Successfully built 0094be69b6df [2021-05-11T14:38:10.611Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:38:11.027Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T14:38:11.027Z] . [Pipeline] withDockerContainer [2021-05-11T14:38:11.321Z] prd-ubuntu18.04-docker-arm64-4c-16g-4440 does not seem to be running inside a container [2021-05-11T14:38:11.407Z] $ 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-11T14:38:12.961Z] $ docker top b00f9c885874db32281a88b94275e82221ac247d878cc6a1cfd01029436beac2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T14:38:14.009Z] + go version [2021-05-11T14:38:14.009Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T14:38:14.058Z] $ docker stop --time=1 b00f9c885874db32281a88b94275e82221ac247d878cc6a1cfd01029436beac2 [2021-05-11T14:38:16.021Z] $ docker rm -f b00f9c885874db32281a88b94275e82221ac247d878cc6a1cfd01029436beac2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:38:17.015Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T14:38:17.015Z] . [Pipeline] withDockerContainer [2021-05-11T14:38:17.307Z] prd-ubuntu18.04-docker-arm64-4c-16g-4440 does not seem to be running inside a container [2021-05-11T14:38:17.396Z] $ 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-11T14:38:19.625Z] $ docker top d1c0f6f9fb9d99985672b905d47721e1b4184f2fa5709c5974bdbb7abd1358b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T14:38:20.665Z] + go mod tidy [Pipeline] sh [2021-05-11T14:38:21.948Z] + make test [2021-05-11T14:38:21.948Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-11T14:38:22.939Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-11T14:38:24.233Z] Removing intermediate container 564ad91c3772 [2021-05-11T14:38:24.233Z] ---> f71c1faae16f [2021-05-11T14:38:24.233Z] Successfully built f71c1faae16f [2021-05-11T14:38:24.233Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:38:24.614Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T14:38:24.614Z] . [Pipeline] withDockerContainer [2021-05-11T14:38:24.798Z] prd-centos7-docker-4c-2g-4441 does not seem to be running inside a container [2021-05-11T14:38:24.857Z] $ 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-11T14:38:25.647Z] $ docker top af6fd286a590621d054f513f4c4dcd6a3d12f0f49225321efc730494b6f6ca71 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T14:38:26.145Z] + go version [2021-05-11T14:38:26.145Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T14:38:26.183Z] $ docker stop --time=1 af6fd286a590621d054f513f4c4dcd6a3d12f0f49225321efc730494b6f6ca71 [2021-05-11T14:38:27.537Z] $ docker rm -f af6fd286a590621d054f513f4c4dcd6a3d12f0f49225321efc730494b6f6ca71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:38:28.536Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T14:38:28.536Z] . [Pipeline] withDockerContainer [2021-05-11T14:38:28.662Z] prd-centos7-docker-4c-2g-4441 does not seem to be running inside a container [2021-05-11T14:38:28.718Z] $ 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-11T14:38:29.279Z] $ docker top 19dd9dd01437d69574c49e7eb2883b952d19d88f2406303d118df127ffc76bd2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T14:38:29.746Z] + go mod tidy [Pipeline] sh [2021-05-11T14:38:31.027Z] + make test [2021-05-11T14:38:31.028Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-11T14:38:31.989Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-11T14:38:54.119Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-11T14:38:54.390Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.447s coverage: 63.8% of statements [2021-05-11T14:38:54.655Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T14:39:04.731Z] gofmt -l . [2021-05-11T14:39:04.731Z] [ "`gofmt -l .`" = "" ] [2021-05-11T14:39:04.731Z] ./bin/test-attribution-txt.sh [2021-05-11T14:39:04.996Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T14:39:05.302Z] $ docker stop --time=1 19dd9dd01437d69574c49e7eb2883b952d19d88f2406303d118df127ffc76bd2 [2021-05-11T14:39:07.399Z] $ docker rm -f 19dd9dd01437d69574c49e7eb2883b952d19d88f2406303d118df127ffc76bd2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T14:39:08.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T14:39:08.443Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-11T14:39:09.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T14:39:09.996Z] + ls -al . [2021-05-11T14:39:09.996Z] total 132 [2021-05-11T14:39:09.996Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 11 14:39 . [2021-05-11T14:39:09.996Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 14:37 .. [2021-05-11T14:39:09.996Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 11 14:37 Attribution.txt [2021-05-11T14:39:09.996Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 14:37 bin [2021-05-11T14:39:09.996Z] drwxrwxr-x. 3 jenkins jenkins 32 May 11 14:37 cmd [2021-05-11T14:39:09.996Z] -rw-r--r--. 1 jenkins jenkins 47247 May 11 14:38 coverage.out [2021-05-11T14:39:09.996Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 11 14:37 Dockerfile [2021-05-11T14:39:09.997Z] -rw-rw-r--. 1 jenkins jenkins 998 May 11 14:37 Dockerfile.build [2021-05-11T14:39:09.997Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 14:37 .git [2021-05-11T14:39:09.997Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 14:37 .github [2021-05-11T14:39:09.997Z] -rw-rw-r--. 1 jenkins jenkins 277 May 11 14:37 .gitignore [2021-05-11T14:39:09.997Z] -rw-r--r--. 1 jenkins jenkins 809 May 11 14:39 go.mod [2021-05-11T14:39:09.997Z] -rw-r--r--. 1 jenkins jenkins 23743 May 11 14:38 go.sum [2021-05-11T14:39:09.997Z] drwxrwxr-x. 3 jenkins jenkins 20 May 11 14:37 internal [2021-05-11T14:39:09.997Z] -rw-rw-r--. 1 jenkins jenkins 660 May 11 14:37 Jenkinsfile [2021-05-11T14:39:09.997Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 11 14:37 LICENSE [2021-05-11T14:39:09.997Z] -rw-rw-r--. 1 jenkins jenkins 901 May 11 14:37 Makefile [2021-05-11T14:39:09.997Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 11 14:37 README.md [2021-05-11T14:39:09.997Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 14:33 VERSION [2021-05-11T14:39:09.997Z] -rw-rw-r--. 1 jenkins jenkins 235 May 11 14:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:39:10.390Z] + 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=5de230576521c78e747d4af04c53b9ed26ec6fb2 --label arch=amd64 --label version=0.0.0 . [2021-05-11T14:39:10.655Z] Sending build context to Docker daemon 8.644MB [2021-05-11T14:39:10.655Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T14:39:10.655Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-11T14:39:10.655Z] ---> f71c1faae16f [2021-05-11T14:39:10.655Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T14:39:10.655Z] ---> Running in a9716aa2cef8 [2021-05-11T14:39:10.919Z] Removing intermediate container a9716aa2cef8 [2021-05-11T14:39:10.919Z] ---> 2567a01d466c [2021-05-11T14:39:10.919Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T14:39:10.919Z] ---> Running in d73bec4187e4 [2021-05-11T14:39:11.187Z] Removing intermediate container d73bec4187e4 [2021-05-11T14:39:11.187Z] ---> 5de10e3345b6 [2021-05-11T14:39:11.187Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-11T14:39:11.187Z] ---> Running in aa8a2c185c09 [2021-05-11T14:39:11.451Z] Removing intermediate container aa8a2c185c09 [2021-05-11T14:39:11.451Z] ---> 2f024aad7105 [2021-05-11T14:39:11.451Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T14:39:11.724Z] ---> Running in 533ab755662e [2021-05-11T14:39:12.676Z] Removing intermediate container 533ab755662e [2021-05-11T14:39:12.676Z] ---> 560f15a4130c [2021-05-11T14:39:12.676Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T14:39:12.676Z] ---> Running in 32c36006b9b0 [2021-05-11T14:39:13.628Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T14:39:16.185Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T14:39:16.761Z] OK: 156 MiB in 53 packages [2021-05-11T14:39:17.023Z] Removing intermediate container 32c36006b9b0 [2021-05-11T14:39:17.023Z] ---> 73306d4d0614 [2021-05-11T14:39:17.023Z] Step 8/25 : COPY . . [2021-05-11T14:39:17.602Z] ---> 8fd4c083f2f5 [2021-05-11T14:39:17.602Z] Step 9/25 : RUN go mod download [2021-05-11T14:39:17.602Z] ---> Running in 0b5354c3306a [2021-05-11T14:39:18.563Z] Removing intermediate container 0b5354c3306a [2021-05-11T14:39:18.563Z] ---> decb66e0080c [2021-05-11T14:39:18.563Z] Step 10/25 : ARG MAKE='make build' [2021-05-11T14:39:18.563Z] ---> Running in a8a67e48045f [2021-05-11T14:39:18.833Z] Removing intermediate container a8a67e48045f [2021-05-11T14:39:18.833Z] ---> a5f1c9166df2 [2021-05-11T14:39:18.833Z] Step 11/25 : RUN $MAKE [2021-05-11T14:39:18.833Z] ---> Running in 010814df28bb [2021-05-11T14:39:19.413Z] 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-11T14:39:31.589Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-11T14:39:31.589Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.689s coverage: 63.8% of statements [2021-05-11T14:39:31.589Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T14:39:37.673Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-11T14:39:40.989Z] Removing intermediate container 010814df28bb [2021-05-11T14:39:40.989Z] ---> 8b4a800c503d [2021-05-11T14:39:40.989Z] Step 12/25 : FROM alpine:3.12 [2021-05-11T14:39:40.989Z] 3.12: Pulling from library/alpine [2021-05-11T14:39:40.989Z] 339de151aab4: Pulling fs layer [2021-05-11T14:39:41.251Z] 339de151aab4: Verifying Checksum [2021-05-11T14:39:41.251Z] 339de151aab4: Download complete [2021-05-11T14:39:41.517Z] 339de151aab4: Pull complete [2021-05-11T14:39:41.517Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T14:39:41.517Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T14:39:41.517Z] ---> 13621d1b12d4 [2021-05-11T14:39:41.517Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-11T14:39:41.784Z] ---> Running in 3eb881274810 [2021-05-11T14:39:41.784Z] Removing intermediate container 3eb881274810 [2021-05-11T14:39:41.784Z] ---> f7f7b6efd573 [2021-05-11T14:39:41.784Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T14:39:41.784Z] ---> Running in c5bafb5be3de [2021-05-11T14:39:42.731Z] Removing intermediate container c5bafb5be3de [2021-05-11T14:39:42.731Z] ---> 319a8ef50d64 [2021-05-11T14:39:42.731Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T14:39:42.731Z] ---> Running in ffcdfc199614 [2021-05-11T14:39:43.678Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T14:39:45.069Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T14:39:46.022Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T14:39:46.288Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T14:39:46.882Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T14:39:47.150Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T14:39:48.102Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T14:39:48.366Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T14:39:48.366Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T14:39:48.366Z] OK: 8 MiB in 20 packages [2021-05-11T14:39:48.956Z] Removing intermediate container ffcdfc199614 [2021-05-11T14:39:48.956Z] ---> 106ba8ac6668 [2021-05-11T14:39:48.956Z] Step 16/25 : WORKDIR / [2021-05-11T14:39:48.956Z] ---> Running in 02b43ffffcc5 [2021-05-11T14:39:49.223Z] Removing intermediate container 02b43ffffcc5 [2021-05-11T14:39:49.223Z] ---> 22ccf35d694d [2021-05-11T14:39:49.223Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-11T14:39:49.485Z] ---> d0624992b448 [2021-05-11T14:39:49.485Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-11T14:39:49.749Z] ---> f3cda0a3ecfb [2021-05-11T14:39:49.749Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-11T14:39:50.327Z] ---> 76820b734d4a [2021-05-11T14:39:50.327Z] Step 20/25 : EXPOSE 49990 [2021-05-11T14:39:50.327Z] ---> Running in e532401faca0 [2021-05-11T14:39:50.590Z] Removing intermediate container e532401faca0 [2021-05-11T14:39:50.590Z] ---> b8740cb20c4f [2021-05-11T14:39:50.590Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-11T14:39:50.590Z] ---> Running in 4b2c148c94fd [2021-05-11T14:39:50.854Z] Removing intermediate container 4b2c148c94fd [2021-05-11T14:39:50.854Z] ---> 8027f67e6874 [2021-05-11T14:39:50.854Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T14:39:50.854Z] ---> Running in 0293dc75b00c [2021-05-11T14:39:51.116Z] Removing intermediate container 0293dc75b00c [2021-05-11T14:39:51.116Z] ---> dcb335475fd0 [2021-05-11T14:39:51.116Z] Step 23/25 : LABEL arch=amd64 [2021-05-11T14:39:51.116Z] ---> Running in 165eda0e89b7 [2021-05-11T14:39:51.116Z] Removing intermediate container 165eda0e89b7 [2021-05-11T14:39:51.116Z] ---> 7c470a15e95b [2021-05-11T14:39:51.116Z] Step 24/25 : LABEL git_sha=5de230576521c78e747d4af04c53b9ed26ec6fb2 [2021-05-11T14:39:51.380Z] ---> Running in ec5b4cc615b4 [2021-05-11T14:39:51.380Z] Removing intermediate container ec5b4cc615b4 [2021-05-11T14:39:51.380Z] ---> 0d0070e05d7b [2021-05-11T14:39:51.380Z] Step 25/25 : LABEL version=0.0.0 [2021-05-11T14:39:51.643Z] ---> Running in f990cc98927e [2021-05-11T14:39:51.643Z] Removing intermediate container f990cc98927e [2021-05-11T14:39:51.643Z] ---> 972147704e7e [2021-05-11T14:39:51.643Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T14:39:51.643Z] Successfully built 972147704e7e [2021-05-11T14:39:51.643Z] 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-11T14:39:52.437Z] ---> job-cost.sh [2021-05-11T14:39:52.437Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6RoA [2021-05-11T14:39:58.400Z] gofmt -l . [2021-05-11T14:39:58.400Z] [ "`gofmt -l .`" = "" ] [2021-05-11T14:39:58.400Z] ./bin/test-attribution-txt.sh [2021-05-11T14:39:58.400Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T14:39:58.715Z] $ docker stop --time=1 d1c0f6f9fb9d99985672b905d47721e1b4184f2fa5709c5974bdbb7abd1358b8 [2021-05-11T14:40:00.767Z] $ docker rm -f d1c0f6f9fb9d99985672b905d47721e1b4184f2fa5709c5974bdbb7abd1358b8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T14:40:01.725Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T14:40:01.767Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T14:40:02.307Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T14:40:02.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T14:40:03.329Z] + ls -al . [2021-05-11T14:40:03.329Z] total 156 [2021-05-11T14:40:03.329Z] drwxrwxr-x 7 jenkins jenkins 4096 May 11 14:39 . [2021-05-11T14:40:03.329Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:36 .. [2021-05-11T14:40:03.329Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:36 .git [2021-05-11T14:40:03.329Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:36 .github [2021-05-11T14:40:03.329Z] -rw-rw-r-- 1 jenkins jenkins 277 May 11 14:36 .gitignore [2021-05-11T14:40:03.329Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 11 14:36 Attribution.txt [2021-05-11T14:40:03.329Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 11 14:36 Dockerfile [2021-05-11T14:40:03.329Z] -rw-rw-r-- 1 jenkins jenkins 998 May 11 14:36 Dockerfile.build [2021-05-11T14:40:03.329Z] -rw-rw-r-- 1 jenkins jenkins 660 May 11 14:36 Jenkinsfile [2021-05-11T14:40:03.330Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 14:36 LICENSE [2021-05-11T14:40:03.330Z] -rw-rw-r-- 1 jenkins jenkins 901 May 11 14:36 Makefile [2021-05-11T14:40:03.330Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 11 14:36 README.md [2021-05-11T14:40:03.330Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 14:33 VERSION [2021-05-11T14:40:03.330Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:36 bin [2021-05-11T14:40:03.330Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:36 cmd [2021-05-11T14:40:03.330Z] -rw-r--r-- 1 jenkins jenkins 47247 May 11 14:39 coverage.out [2021-05-11T14:40:03.330Z] -rw-r--r-- 1 jenkins jenkins 809 May 11 14:39 go.mod [2021-05-11T14:40:03.330Z] -rw-r--r-- 1 jenkins jenkins 23743 May 11 14:38 go.sum [2021-05-11T14:40:03.330Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:36 internal [2021-05-11T14:40:03.330Z] -rw-rw-r-- 1 jenkins jenkins 235 May 11 14:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:40:03.705Z] + 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=5de230576521c78e747d4af04c53b9ed26ec6fb2 --label arch=arm64 --label version=0.0.0 . [2021-05-11T14:40:04.300Z] Sending build context to Docker daemon 8.643MB [2021-05-11T14:40:04.301Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T14:40:04.301Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-11T14:40:04.301Z] ---> 0094be69b6df [2021-05-11T14:40:04.301Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T14:40:04.573Z] ---> Running in 8a4dbddd878d [2021-05-11T14:40:04.878Z] Removing intermediate container 8a4dbddd878d [2021-05-11T14:40:04.878Z] ---> 71b1ab1b0728 [2021-05-11T14:40:04.878Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T14:40:05.151Z] ---> Running in e9020725813e [2021-05-11T14:40:05.424Z] Removing intermediate container e9020725813e [2021-05-11T14:40:05.424Z] ---> 5b9216d4bd6b [2021-05-11T14:40:05.424Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-11T14:40:05.697Z] ---> Running in e7dbd9b1fcac [2021-05-11T14:40:05.970Z] Removing intermediate container e7dbd9b1fcac [2021-05-11T14:40:05.970Z] ---> 2e2b17f7dadd [2021-05-11T14:40:05.970Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T14:40:06.244Z] ---> Running in f10bdf54d6c8 [2021-05-11T14:40:07.384Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T14:40:08.221Z] Removing intermediate container f10bdf54d6c8 [2021-05-11T14:40:08.221Z] ---> 3055ac126868 [2021-05-11T14:40:08.221Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T14:40:08.497Z] ---> Running in e902ab706b7a [2021-05-11T14:40:09.475Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T14:40:11.452Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T14:40:13.425Z] OK: 145 MiB in 53 packages [2021-05-11T14:40:14.862Z] Removing intermediate container e902ab706b7a [2021-05-11T14:40:14.862Z] ---> 08e856060882 [2021-05-11T14:40:14.862Z] Step 8/25 : COPY . . [2021-05-11T14:40:15.852Z] ---> 32b625182e00 [2021-05-11T14:40:15.852Z] Step 9/25 : RUN go mod download [2021-05-11T14:40:16.125Z] ---> Running in f21cd3d80311 [2021-05-11T14:40:18.748Z] Removing intermediate container f21cd3d80311 [2021-05-11T14:40:18.748Z] ---> fd307468eadc [2021-05-11T14:40:18.748Z] Step 10/25 : ARG MAKE='make build' [2021-05-11T14:40:18.748Z] ---> Running in a9a008775af4 [2021-05-11T14:40:18.748Z] Removing intermediate container a9a008775af4 [2021-05-11T14:40:18.748Z] ---> 8b068f27b3fa [2021-05-11T14:40:18.748Z] Step 11/25 : RUN $MAKE [2021-05-11T14:40:19.022Z] ---> Running in b22989f56cfb [2021-05-11T14:40:20.007Z] 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-11T14:40:34.029Z] lf-activate-venv(): INFO: Adding /tmp/venv-6RoA/bin to PATH [2021-05-11T14:40:34.029Z] INFO: No Stack... [2021-05-11T14:40:34.029Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T14:40:34.976Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T14:40:35.303Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-11T14:40:35.303Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T14:40:35.418Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-202-1-stack-cost] [2021-05-11T14:40:35.425Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-202-1-stack-cost] did not exist. Created. [2021-05-11T14:40:35.425Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T14:40:35.863Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T14:40:35.988Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T14:40:36.007Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-202-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T14:41:07.028Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-11T14:41:17.171Z] Removing intermediate container b22989f56cfb [2021-05-11T14:41:17.171Z] ---> ed193bc37615 [2021-05-11T14:41:17.171Z] Step 12/25 : FROM alpine:3.12 [2021-05-11T14:41:17.442Z] 3.12: Pulling from library/alpine [2021-05-11T14:41:17.442Z] d2f70382dc9a: Pulling fs layer [2021-05-11T14:41:17.716Z] d2f70382dc9a: Verifying Checksum [2021-05-11T14:41:17.716Z] d2f70382dc9a: Download complete [2021-05-11T14:41:18.311Z] d2f70382dc9a: Pull complete [2021-05-11T14:41:18.311Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T14:41:18.311Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T14:41:18.311Z] ---> 9852663dfa18 [2021-05-11T14:41:18.311Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-11T14:41:18.589Z] ---> Running in 13c5e6821c9a [2021-05-11T14:41:18.861Z] Removing intermediate container 13c5e6821c9a [2021-05-11T14:41:18.861Z] ---> 080ec891279b [2021-05-11T14:41:18.861Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T14:41:19.135Z] ---> Running in f1eed75266e2 [2021-05-11T14:41:21.103Z] Removing intermediate container f1eed75266e2 [2021-05-11T14:41:21.103Z] ---> 14ed9e360248 [2021-05-11T14:41:21.103Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T14:41:21.375Z] ---> Running in 0c04f8d5f44e [2021-05-11T14:41:22.351Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T14:41:23.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T14:41:24.758Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T14:41:25.027Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T14:41:25.297Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T14:41:25.297Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T14:41:26.718Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T14:41:26.718Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T14:41:26.991Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T14:41:26.992Z] OK: 8 MiB in 20 packages [2021-05-11T14:41:28.433Z] Removing intermediate container 0c04f8d5f44e [2021-05-11T14:41:28.433Z] ---> ebf969fe03c8 [2021-05-11T14:41:28.433Z] Step 16/25 : WORKDIR / [2021-05-11T14:41:28.433Z] ---> Running in eac1f996ba4f [2021-05-11T14:41:28.709Z] Removing intermediate container eac1f996ba4f [2021-05-11T14:41:28.709Z] ---> ffa931515f65 [2021-05-11T14:41:28.709Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-11T14:41:29.689Z] ---> 384e5d8f606d [2021-05-11T14:41:29.689Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-11T14:41:30.282Z] ---> 59f08f00e704 [2021-05-11T14:41:30.282Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-11T14:41:31.708Z] ---> 78e90494e418 [2021-05-11T14:41:31.709Z] Step 20/25 : EXPOSE 49990 [2021-05-11T14:41:31.709Z] ---> Running in 798d2c41f99d [2021-05-11T14:41:31.992Z] Removing intermediate container 798d2c41f99d [2021-05-11T14:41:31.992Z] ---> 45ef33e3e703 [2021-05-11T14:41:31.992Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-11T14:41:31.992Z] ---> Running in 297b9947105e [2021-05-11T14:41:32.589Z] Removing intermediate container 297b9947105e [2021-05-11T14:41:32.589Z] ---> 0bbbfc744d29 [2021-05-11T14:41:32.589Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T14:41:32.589Z] ---> Running in f506e8c59ca1 [2021-05-11T14:41:33.189Z] Removing intermediate container f506e8c59ca1 [2021-05-11T14:41:33.189Z] ---> 0fbf6a1a9c8c [2021-05-11T14:41:33.189Z] Step 23/25 : LABEL arch=arm64 [2021-05-11T14:41:33.189Z] ---> Running in 5270bc8335d4 [2021-05-11T14:41:33.461Z] Removing intermediate container 5270bc8335d4 [2021-05-11T14:41:33.461Z] ---> 217b6e316eaa [2021-05-11T14:41:33.461Z] Step 24/25 : LABEL git_sha=5de230576521c78e747d4af04c53b9ed26ec6fb2 [2021-05-11T14:41:33.735Z] ---> Running in c7a10fac605f [2021-05-11T14:41:34.009Z] Removing intermediate container c7a10fac605f [2021-05-11T14:41:34.009Z] ---> 3a0bde70896a [2021-05-11T14:41:34.009Z] Step 25/25 : LABEL version=0.0.0 [2021-05-11T14:41:34.279Z] ---> Running in 9650a0ed09b9 [2021-05-11T14:41:34.550Z] Removing intermediate container 9650a0ed09b9 [2021-05-11T14:41:34.550Z] ---> c2ea5804490e [2021-05-11T14:41:34.550Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T14:41:34.550Z] Successfully built c2ea5804490e [2021-05-11T14:41:34.550Z] 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-11T14:41:35.295Z] ---> job-cost.sh [2021-05-11T14:41:35.296Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-U2kN [2021-05-11T14:42:14.240Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T14:43:35.982Z] lf-activate-venv(): INFO: Adding /tmp/venv-U2kN/bin to PATH [2021-05-11T14:43:35.982Z] INFO: No Stack... [2021-05-11T14:43:36.256Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T14:43:36.848Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T14:43:37.218Z] + cut -d, -f6 [2021-05-11T14:43:37.218Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-05-11T14:43:37.372Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-202-1-stack-cost] [2021-05-11T14:43:37.379Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-202-1-stack-cost] did not exist. Created. [2021-05-11T14:43:37.380Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T14:43:37.818Z] /w/workspace/device-virtual-go/1@tmp/durable-80a5802c/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-80a5802c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T14:43:38.194Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T14:43:38.238Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T14:43:38.398Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T14:43:38.420Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-202-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-11T14:43:39.325Z] provisioning config files... [2021-05-11T14:43:39.337Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-202@tmp/config8691576286497902855tmp [Pipeline] { [Pipeline] sh [2021-05-11T14:43:39.703Z] + set +x [2021-05-11T14:43:39.703Z] + curl -s https://codecov.io/bash [2021-05-11T14:43:39.703Z] + bash -s -- [2021-05-11T14:43:39.967Z] [2021-05-11T14:43:39.967Z] _____ _ [2021-05-11T14:43:39.967Z] / ____| | | [2021-05-11T14:43:39.967Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T14:43:39.967Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T14:43:39.967Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T14:43:39.967Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T14:43:39.967Z] Bash-1.0.2 [2021-05-11T14:43:39.967Z] [2021-05-11T14:43:39.967Z] [2021-05-11T14:43:39.967Z] ==> git version 2.24.3 found [2021-05-11T14:43:39.967Z] ==> 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-11T14:43:39.967Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T14:43:39.967Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T14:43:39.967Z] ==> Jenkins CI detected. [2021-05-11T14:43:39.967Z] project root: . [2021-05-11T14:43:39.967Z] --> token set from env [2021-05-11T14:43:39.967Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T14:43:39.967Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T14:43:39.967Z] ==> Python coveragepy not found [2021-05-11T14:43:39.967Z] ==> Searching for coverage reports in: [2021-05-11T14:43:39.967Z] + . [2021-05-11T14:43:39.967Z] -> Found 1 reports [2021-05-11T14:43:39.967Z] ==> Detecting git/mercurial file structure [2021-05-11T14:43:39.967Z] ==> Reading reports [2021-05-11T14:43:39.967Z] + ./coverage.out bytes=47247 [2021-05-11T14:43:39.967Z] ==> Appending adjustments [2021-05-11T14:43:39.967Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T14:43:39.967Z] + Found adjustments [2021-05-11T14:43:40.231Z] ==> Gzipping contents [2021-05-11T14:43:40.231Z] 8.0K /tmp/codecov.A8Fjgl.gz [2021-05-11T14:43:40.231Z] ==> Uploading reports [2021-05-11T14:43:40.231Z] url: https://codecov.io [2021-05-11T14:43:40.231Z] query: branch=PR-202&commit=5de230576521c78e747d4af04c53b9ed26ec6fb2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-202%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2021-05-11T14:43:40.231Z] -> Pinging Codecov [2021-05-11T14:43:40.231Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-202&commit=5de230576521c78e747d4af04c53b9ed26ec6fb2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-202%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2021-05-11T14:43:40.810Z] -> Uploading to [2021-05-11T14:43:40.810Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/5E52B4B073DB2E39498172D8E973AA87/5de230576521c78e747d4af04c53b9ed26ec6fb2/1049fc93-738b-493a-9ba8-1bbe0ca2d7ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T144340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cef628dc076fd72257123e1b050b62bb7ba288af25e8eb1c7b22a5f4e4fd095d [2021-05-11T14:43:40.810Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T14:43:40.810Z] Dload Upload Total Spent Left Speed [2021-05-11T14:43:41.082Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5765 0 0 100 5765 0 15240 --:--:-- --:--:-- --:--:-- 15211 [2021-05-11T14:43:41.082Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/5de230576521c78e747d4af04c53b9ed26ec6fb2 [Pipeline] } [2021-05-11T14:43:41.173Z] 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-11T14:43:43.281Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:43:43.635Z] ---> package-listing.sh [2021-05-11T14:43:43.635Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T14:43:43.635Z] ++ facter osfamily [2021-05-11T14:43:43.635Z] + OS_FAMILY=redhat [2021-05-11T14:43:43.635Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-202 [2021-05-11T14:43:43.635Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T14:43:43.635Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T14:43:43.635Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T14:43:43.635Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T14:43:43.635Z] + '[' /w/workspace/foundry_device-virtual-go_PR-202 ']' [2021-05-11T14:43:43.635Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T14:43:43.635Z] + case "${OS_FAMILY}" in [2021-05-11T14:43:43.635Z] + rpm -qa [2021-05-11T14:43:43.635Z] + sort [2021-05-11T14:43:48.952Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T14:43:48.952Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T14:43:48.952Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T14:43:48.952Z] + '[' /w/workspace/foundry_device-virtual-go_PR-202 ']' [2021-05-11T14:43:48.952Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-202/archives/ [2021-05-11T14:43:48.952Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-202/archives/ [Pipeline] echo [2021-05-11T14:43:48.991Z] 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-202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T14:43:49.303Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:43:49.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T14:43:49.649Z] [2021-05-11T14:43:49.649Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T14:43:50.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T14:43:50.037Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T14:43:50.037Z] df20fa9351a1: Pulling fs layer [2021-05-11T14:43:50.037Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T14:43:50.037Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T14:43:50.037Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T14:43:50.037Z] 93b61091891f: Pulling fs layer [2021-05-11T14:43:50.037Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T14:43:50.037Z] 5e14af77c1be: Pulling fs layer [2021-05-11T14:43:50.037Z] 01666e4c0597: Pulling fs layer [2021-05-11T14:43:50.037Z] aa168da1d23b: Pulling fs layer [2021-05-11T14:43:50.037Z] 93b61091891f: Waiting [2021-05-11T14:43:50.037Z] 93b9cdb0e59b: Waiting [2021-05-11T14:43:50.037Z] 5e14af77c1be: Waiting [2021-05-11T14:43:50.037Z] 01666e4c0597: Waiting [2021-05-11T14:43:50.037Z] aa168da1d23b: Waiting [2021-05-11T14:43:50.037Z] 46f8f816bc3b: Waiting [2021-05-11T14:43:50.037Z] 36b3adc4ff6f: Verifying Checksum [2021-05-11T14:43:50.037Z] 36b3adc4ff6f: Download complete [2021-05-11T14:43:50.037Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T14:43:50.037Z] 46f8f816bc3b: Download complete [2021-05-11T14:43:50.037Z] df20fa9351a1: Verifying Checksum [2021-05-11T14:43:50.037Z] df20fa9351a1: Download complete [2021-05-11T14:43:50.037Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T14:43:50.037Z] 93b9cdb0e59b: Download complete [2021-05-11T14:43:50.037Z] 93b61091891f: Download complete [2021-05-11T14:43:50.037Z] 5e14af77c1be: Verifying Checksum [2021-05-11T14:43:50.037Z] 5e14af77c1be: Download complete [2021-05-11T14:43:50.037Z] 01666e4c0597: Verifying Checksum [2021-05-11T14:43:50.037Z] 01666e4c0597: Download complete [2021-05-11T14:43:50.301Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T14:43:50.301Z] 8ad3a11d3b57: Download complete [2021-05-11T14:43:50.569Z] df20fa9351a1: Pull complete [2021-05-11T14:43:50.841Z] 36b3adc4ff6f: Pull complete [2021-05-11T14:43:52.250Z] aa168da1d23b: Verifying Checksum [2021-05-11T14:43:52.250Z] aa168da1d23b: Download complete [2021-05-11T14:43:52.512Z] 8ad3a11d3b57: Pull complete [2021-05-11T14:43:52.779Z] 46f8f816bc3b: Pull complete [2021-05-11T14:43:53.041Z] 93b61091891f: Pull complete [2021-05-11T14:43:53.305Z] 93b9cdb0e59b: Pull complete [2021-05-11T14:43:53.305Z] 5e14af77c1be: Pull complete [2021-05-11T14:43:53.571Z] 01666e4c0597: Pull complete [2021-05-11T14:44:01.763Z] aa168da1d23b: Pull complete [2021-05-11T14:44:01.763Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T14:44:01.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T14:44:01.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T14:44:02.009Z] prd-centos7-docker-4c-2g-4438 does not seem to be running inside a container [2021-05-11T14:44:02.061Z] $ 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-202/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-202 -v /w/workspace/foundry_device-virtual-go_PR-202:/w/workspace/foundry_device-virtual-go_PR-202:rw,z -v /w/workspace/foundry_device-virtual-go_PR-202@tmp:/w/workspace/foundry_device-virtual-go_PR-202@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-11T14:44:04.838Z] $ docker top d4efde230e2d07945f5511d64495f3937f1f4230f336e205d92ca9536dd4d47a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T14:44:05.294Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T14:44:05.616Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T14:44:05.934Z] + ls /var/log/sa-host [2021-05-11T14:44:05.934Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T14:44:05.934Z] file_magic: OK [2021-05-11T14:44:05.934Z] HZ: Using current value: 100 [2021-05-11T14:44:05.934Z] file_header: OK [2021-05-11T14:44:05.934Z] 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-11T14:44:05.934Z] Statistics: [2021-05-11T14:44:05.934Z] 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-11T14:44:05.934Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T14:44:05.934Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T14:44:05.934Z] file_magic: OK [2021-05-11T14:44:05.934Z] HZ: Using current value: 100 [2021-05-11T14:44:05.934Z] file_header: OK [2021-05-11T14:44:05.934Z] 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-11T14:44:05.934Z] Statistics: [2021-05-11T14:44:05.934Z] Hnuu...uuuununununu... [2021-05-11T14:44:05.934Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T14:44:06.272Z] provisioning config files... [2021-05-11T14:44:06.295Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-202@tmp/config8606435773592390982tmp [Pipeline] { [Pipeline] echo [2021-05-11T14:44:06.365Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:44:06.703Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T14:44:06.725Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T14:44:06.802Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:44:07.138Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T14:44:07.175Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:44:07.515Z] ---> sudo-logs.sh [2021-05-11T14:44:07.515Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T14:44:07.600Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:44:07.939Z] ---> job-cost.sh [2021-05-11T14:44:07.939Z] lf-activate-venv: SKIPPING [2021-05-11T14:44:07.939Z] DEBUG: total: 0.20999999344348907 [2021-05-11T14:44:07.939Z] INFO: Retrieving Stack Cost... [2021-05-11T14:44:09.339Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T14:44:09.605Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T14:44:09.657Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T14:44:10.001Z] ---> logs-deploy.sh [2021-05-11T14:44:10.002Z] lf-activate-venv: SKIPPING [2021-05-11T14:44:10.002Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-202/1 [2021-05-11T14:44:10.002Z] INFO: archiving workspace using pattern(s): [2021-05-11T14:44:11.923Z] Archives upload complete. [2021-05-11T14:44:11.923Z] INFO: archiving logs to Nexus