Pull request #188 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of soda480 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from e3e46742e661f1b9096ed18bae289dc4ac98178c+658d6cb39e0f87515e0fd512fa46517441b13332 (aa168a7adb28cdf5a264a23760c951184c7c297b) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-188/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-188/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-864 in /w/workspace/foundry_device-virtual-go_PR-188 [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-188 # 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/188/head:refs/remotes/origin/PR-188 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 658d6cb39e0f87515e0fd512fa46517441b13332 into PR head commit e3e46742e661f1b9096ed18bae289dc4ac98178c Merge succeeded, producing e3e46742e661f1b9096ed18bae289dc4ac98178c Checking out Revision e3e46742e661f1b9096ed18bae289dc4ac98178c (PR-188) > git config core.sparsecheckout # timeout=10 > git checkout -f e3e46742e661f1b9096ed18bae289dc4ac98178c # 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 658d6cb39e0f87515e0fd512fa46517441b13332 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3e46742e661f1b9096ed18bae289dc4ac98178c # timeout=10 Commit message: "docs: Add badges to readme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T18:35:55.958Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T18:35:56.155Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T18:35:56.284Z] ========================================================= [2021-04-19T18:35:56.284Z] EdgeX Global Pipelines Version Info [2021-04-19T18:35:56.284Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:35:57.864Z] ------------------- [2021-04-19T18:35:57.864Z] stable info: [2021-04-19T18:35:57.864Z] ------------------- [2021-04-19T18:35:57.864Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T18:35:57.864Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T18:35:57.864Z] Message: update stable to v1.0.186 [2021-04-19T18:35:58.819Z] ------------------- [2021-04-19T18:35:58.819Z] experimental info: [2021-04-19T18:35:58.819Z] ------------------- [2021-04-19T18:35:58.819Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T18:35:58.819Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-19T18:35:58.819Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T18:35:59.049Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-04-19T18:35:59.107Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-04-19T18:35:59.173Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T18:35:59.236Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T18:35:59.294Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T18:35:59.363Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T18:35:59.421Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T18:35:59.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T18:35:59.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-19T18:35:59.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T18:35:59.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T18:35:59.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-04-19T18:35:59.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T18:35:59.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T18:35:59.912Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T18:35:59.965Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T18:36:00.091Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T18:36:00.145Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T18:36:00.200Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T18:36:00.264Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-19T18:36:00.338Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-19T18:36:00.400Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-19T18:36:00.468Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-19T18:36:00.534Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-19T18:36:00.591Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-19T18:36:00.656Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T18:36:00.725Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-188 [Pipeline] echo [2021-04-19T18:36:00.791Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-188 [Pipeline] echo [2021-04-19T18:36:00.856Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-188 [Pipeline] echo [2021-04-19T18:36:00.913Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3e46742e661f1b9096ed18bae289dc4ac98178c [Pipeline] echo [2021-04-19T18:36:00.979Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3e4674 [Pipeline] echo [2021-04-19T18:36:01.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:36:01.199Z] provisioning config files... [2021-04-19T18:36:01.259Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-188@tmp/config1927964323653099132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:36:01.660Z] ---> docker-login.sh [2021-04-19T18:36:01.660Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:36:01.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:02.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:02.198Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:02.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:02.198Z] [2021-04-19T18:36:02.198Z] Login Succeeded [2021-04-19T18:36:02.198Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:36:02.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:02.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:02.465Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:02.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:02.465Z] [2021-04-19T18:36:02.465Z] Login Succeeded [2021-04-19T18:36:02.465Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:36:02.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:02.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:02.466Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:02.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:02.466Z] [2021-04-19T18:36:02.466Z] Login Succeeded [2021-04-19T18:36:02.466Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:36:02.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:02.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:02.735Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:02.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:02.735Z] [2021-04-19T18:36:02.735Z] Login Succeeded [2021-04-19T18:36:02.735Z] docker.io [2021-04-19T18:36:03.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:36:03.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:36:03.264Z] Configure a credential helper to remove this warning. See [2021-04-19T18:36:03.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:36:03.264Z] [2021-04-19T18:36:03.264Z] Login Succeeded [2021-04-19T18:36:03.264Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:36:03.287Z] 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-04-19T18:36:04.000Z] + git log --format=format:%s -1 e3e46742e661f1b9096ed18bae289dc4ac98178c [Pipeline] echo [2021-04-19T18:36:04.115Z] GIT_COMMIT: e3e46742e661f1b9096ed18bae289dc4ac98178c, Commit Message: docs: Add badges to readme [Pipeline] echo [2021-04-19T18:36:04.154Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:36:04.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:36:04.784Z] [2021-04-19T18:36:04.784Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:36:05.153Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:36:05.153Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T18:36:05.153Z] 31603596830f: Pulling fs layer [2021-04-19T18:36:05.153Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T18:36:05.153Z] 6ca5941a6612: Pulling fs layer [2021-04-19T18:36:05.153Z] ecc8261a40a4: Pulling fs layer [2021-04-19T18:36:05.153Z] ecc8261a40a4: Waiting [2021-04-19T18:36:05.153Z] 2a8b12db71e7: Verifying Checksum [2021-04-19T18:36:05.153Z] 2a8b12db71e7: Download complete [2021-04-19T18:36:05.153Z] 31603596830f: Verifying Checksum [2021-04-19T18:36:05.153Z] 31603596830f: Download complete [2021-04-19T18:36:05.425Z] ecc8261a40a4: Verifying Checksum [2021-04-19T18:36:05.425Z] ecc8261a40a4: Download complete [2021-04-19T18:36:05.425Z] 6ca5941a6612: Verifying Checksum [2021-04-19T18:36:05.425Z] 6ca5941a6612: Download complete [2021-04-19T18:36:05.690Z] 31603596830f: Pull complete [2021-04-19T18:36:05.690Z] 2a8b12db71e7: Pull complete [2021-04-19T18:36:06.645Z] 6ca5941a6612: Pull complete [2021-04-19T18:36:06.922Z] ecc8261a40a4: Pull complete [2021-04-19T18:36:07.186Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T18:36:07.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:36:07.186Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T18:36:07.321Z] prd-centos7-docker-4c-2g-864 does not seem to be running inside a container [2021-04-19T18:36:07.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-188 -v /w/workspace/foundry_device-virtual-go_PR-188:/w/workspace/foundry_device-virtual-go_PR-188:rw,z -v /w/workspace/foundry_device-virtual-go_PR-188@tmp:/w/workspace/foundry_device-virtual-go_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T18:36:09.454Z] $ docker top d241900715b116879a2897ce5793e32d880a29ac2c8e671e88848f422f3a0934 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T18:36:09.723Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T18:36:09.723Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T18:36:09.973Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T18:36:09.977Z] $ docker exec d241900715b116879a2897ce5793e32d880a29ac2c8e671e88848f422f3a0934 ssh-agent [2021-04-19T18:36:10.147Z] SSH_AUTH_SOCK=/tmp/ssh-SevZ4eeekNoq/agent.11 [2021-04-19T18:36:10.147Z] SSH_AGENT_PID=16 [2021-04-19T18:36:10.368Z] Running ssh-add (command line suppressed) [2021-04-19T18:36:10.540Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-188@tmp/private_key_2866747647478575934.key (/w/workspace/foundry_device-virtual-go_PR-188@tmp/private_key_2866747647478575934.key) [2021-04-19T18:36:10.626Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T18:36:10.991Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T18:36:11.033Z] $ docker exec --env ******** --env ******** d241900715b116879a2897ce5793e32d880a29ac2c8e671e88848f422f3a0934 ssh-agent -k [2021-04-19T18:36:11.168Z] unset SSH_AUTH_SOCK; [2021-04-19T18:36:11.168Z] unset SSH_AGENT_PID; [2021-04-19T18:36:11.168Z] echo Agent pid 16 killed; [2021-04-19T18:36:11.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T18:36:11.334Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T18:36:11.334Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T18:36:11.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T18:36:11.527Z] $ docker exec d241900715b116879a2897ce5793e32d880a29ac2c8e671e88848f422f3a0934 ssh-agent [2021-04-19T18:36:11.707Z] SSH_AUTH_SOCK=/tmp/ssh-n2DS2yRsoP9w/agent.46 [2021-04-19T18:36:11.707Z] SSH_AGENT_PID=51 [2021-04-19T18:36:11.716Z] Running ssh-add (command line suppressed) [2021-04-19T18:36:11.873Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-188@tmp/private_key_713857551674208006.key (/w/workspace/foundry_device-virtual-go_PR-188@tmp/private_key_713857551674208006.key) [2021-04-19T18:36:11.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T18:36:12.274Z] + git semver init [2021-04-19T18:36:12.274Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T18:36:12.275Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-188/.git [2021-04-19T18:36:12.275Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-188 [2021-04-19T18:36:12.275Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T18:36:12.275Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T18:36:12.275Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T18:36:12.275Z] # $SEMVER_BRANCH = PR-188 [2021-04-19T18:36:12.275Z] # $SEMVER_TEMP = /tmp/semver-549638379 [2021-04-19T18:36:12.275Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-04-19T18:36:12.851Z] # '/tmp/semver-549638379' -> '/w/workspace/foundry_device-virtual-go_PR-188/.semver' [2021-04-19T18:36:12.851Z] # -> Force: false [2021-04-19T18:36:12.851Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-188/.semver [Pipeline] } [2021-04-19T18:36:12.871Z] $ docker exec --env ******** --env ******** d241900715b116879a2897ce5793e32d880a29ac2c8e671e88848f422f3a0934 ssh-agent -k [2021-04-19T18:36:12.995Z] unset SSH_AUTH_SOCK; [2021-04-19T18:36:12.996Z] unset SSH_AGENT_PID; [2021-04-19T18:36:12.996Z] echo Agent pid 51 killed; [2021-04-19T18:36:13.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T18:36:13.466Z] + git semver [Pipeline] } [2021-04-19T18:36:13.496Z] $ docker stop --time=1 d241900715b116879a2897ce5793e32d880a29ac2c8e671e88848f422f3a0934 [2021-04-19T18:36:15.019Z] $ docker rm -f d241900715b116879a2897ce5793e32d880a29ac2c8e671e88848f422f3a0934 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:36:15.509Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T18:36:15.963Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T18:36:15.987Z] [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-04-19T18:36:31.485Z] Still waiting to schedule task [2021-04-19T18:36:31.485Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-859’ is offline; ‘prd-centos7-docker-4c-2g-860’ is offline; ‘prd-centos7-docker-4c-2g-861’ is offline; ‘prd-centos7-docker-4c-2g-862’ is offline; ‘prd-centos7-docker-4c-2g-867’ is offline; ‘prd-centos7-docker-4c-2g-868’ is offline; ‘prd-centos7-docker-4c-2g-869’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-865’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-19T18:36:31.510Z] Still waiting to schedule task [2021-04-19T18:36:31.510Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-865’ is offline [2021-04-19T18:37:27.217Z] Running on prd-centos7-docker-4c-2g-862 in /w/workspace/foundry_device-virtual-go_PR-188 [Pipeline] { [Pipeline] ws [2021-04-19T18:37:27.277Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-04-19T18:37:42.986Z] using credential edgex-jenkins-ssh [2021-04-19T18:37:43.006Z] Cloning the remote Git repository [2021-04-19T18:37:43.154Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T18:37:43.303Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-04-19T18:37:43.970Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T18:37:43.971Z] > git --version # timeout=10 [2021-04-19T18:37:44.170Z] > git --version # 'git version 2.24.3' [2021-04-19T18:37:44.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:37:44.447Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:37:45.253Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-19T18:37:46.270Z] Merging remotes/origin/master commit 658d6cb39e0f87515e0fd512fa46517441b13332 into PR head commit e3e46742e661f1b9096ed18bae289dc4ac98178c [2021-04-19T18:37:46.955Z] Merge succeeded, producing e3e46742e661f1b9096ed18bae289dc4ac98178c [2021-04-19T18:37:46.956Z] Checking out Revision e3e46742e661f1b9096ed18bae289dc4ac98178c (PR-188) [2021-04-19T18:37:45.323Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:37:45.403Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-19T18:37:45.565Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T18:37:45.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:37:45.588Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T18:37:46.297Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:37:46.354Z] > git checkout -f e3e46742e661f1b9096ed18bae289dc4ac98178c # timeout=10 [2021-04-19T18:37:46.720Z] > git remote # timeout=10 [2021-04-19T18:37:46.793Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T18:37:46.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:37:46.865Z] > git merge 658d6cb39e0f87515e0fd512fa46517441b13332 # timeout=10 [2021-04-19T18:37:46.912Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T18:37:46.965Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:37:47.032Z] > git checkout -f e3e46742e661f1b9096ed18bae289dc4ac98178c # timeout=10 [2021-04-19T18:37:51.681Z] Commit message: "docs: Add badges to readme" [2021-04-19T18:37:51.885Z] > git --version # timeout=10 [2021-04-19T18:37:51.993Z] > git --version # 'git version 2.24.3' [2021-04-19T18:37:52.100Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:37:55.557Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:37:56.110Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:37:56.503Z] + sudo service docker restart [2021-04-19T18:37:56.503Z] + true [2021-04-19T18:37:56.503Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:38:00.295Z] provisioning config files... [2021-04-19T18:38:00.347Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8807127558752028644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:38:00.906Z] ---> docker-login.sh [2021-04-19T18:38:00.906Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:38:02.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:02.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:02.929Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:02.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:02.929Z] [2021-04-19T18:38:02.929Z] Login Succeeded [2021-04-19T18:38:02.929Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:38:03.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:03.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:03.536Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:03.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:03.536Z] [2021-04-19T18:38:03.536Z] Login Succeeded [2021-04-19T18:38:03.536Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:38:03.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:04.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:04.148Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:04.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:04.148Z] [2021-04-19T18:38:04.148Z] Login Succeeded [2021-04-19T18:38:04.148Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:38:04.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:04.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:04.808Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:04.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:04.808Z] [2021-04-19T18:38:04.808Z] Login Succeeded [2021-04-19T18:38:04.808Z] docker.io [2021-04-19T18:38:05.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:05.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:05.387Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:05.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:05.387Z] [2021-04-19T18:38:05.387Z] Login Succeeded [2021-04-19T18:38:05.587Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:38:05.602Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T18:38:06.242Z] ========================================================= [2021-04-19T18:38:06.242Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T18:38:06.242Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:38:06.695Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-19T18:38:06.980Z] Sending build context to Docker daemon 526.3kB [2021-04-19T18:38:06.980Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:38:06.980Z] Step 2/8 : FROM ${BASE} [2021-04-19T18:38:07.266Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T18:38:07.266Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T18:38:07.266Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T18:38:07.266Z] de9db76c5a1d: Pulling fs layer [2021-04-19T18:38:07.266Z] bca2f99d35d6: Pulling fs layer [2021-04-19T18:38:07.266Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T18:38:07.266Z] 7c6f9722023f: Pulling fs layer [2021-04-19T18:38:07.266Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T18:38:07.266Z] 93359f2a8cfa: Waiting [2021-04-19T18:38:07.266Z] 7c6f9722023f: Waiting [2021-04-19T18:38:07.266Z] a35cf1a2eb13: Waiting [2021-04-19T18:38:07.266Z] bca2f99d35d6: Waiting [2021-04-19T18:38:07.266Z] de9db76c5a1d: Verifying Checksum [2021-04-19T18:38:07.266Z] de9db76c5a1d: Download complete [2021-04-19T18:38:07.266Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T18:38:07.266Z] 0ef7d3d256c8: Download complete [2021-04-19T18:38:07.266Z] 93359f2a8cfa: Verifying Checksum [2021-04-19T18:38:07.266Z] 93359f2a8cfa: Download complete [2021-04-19T18:38:07.266Z] 7c6f9722023f: Verifying Checksum [2021-04-19T18:38:07.266Z] 7c6f9722023f: Download complete [2021-04-19T18:38:07.590Z] 188c0c94c7c5: Verifying Checksum [2021-04-19T18:38:07.590Z] 188c0c94c7c5: Download complete [2021-04-19T18:38:08.658Z] 188c0c94c7c5: Pull complete [2021-04-19T18:38:09.747Z] 0ef7d3d256c8: Pull complete [2021-04-19T18:38:09.747Z] de9db76c5a1d: Pull complete [2021-04-19T18:38:13.443Z] a35cf1a2eb13: Verifying Checksum [2021-04-19T18:38:13.443Z] a35cf1a2eb13: Download complete [2021-04-19T18:38:16.193Z] bca2f99d35d6: Verifying Checksum [2021-04-19T18:38:16.193Z] bca2f99d35d6: Download complete [2021-04-19T18:38:35.040Z] bca2f99d35d6: Pull complete [2021-04-19T18:38:35.040Z] 93359f2a8cfa: Pull complete [2021-04-19T18:38:35.040Z] 7c6f9722023f: Pull complete [2021-04-19T18:38:43.997Z] a35cf1a2eb13: Pull complete [2021-04-19T18:38:43.997Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T18:38:43.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T18:38:43.997Z] ---> a62c8e92a672 [2021-04-19T18:38:43.997Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-19T18:38:43.997Z] ---> Running in ad3f5af25ccd [2021-04-19T18:38:43.997Z] Removing intermediate container ad3f5af25ccd [2021-04-19T18:38:43.997Z] ---> 6dc3214609f6 [2021-04-19T18:38:43.997Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:38:43.997Z] ---> Running in 09afe7c6aebf [2021-04-19T18:38:47.812Z] Removing intermediate container 09afe7c6aebf [2021-04-19T18:38:47.812Z] ---> 0ba7d9ef2cb6 [2021-04-19T18:38:47.812Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T18:38:47.812Z] ---> Running in 9dfa29208008 [2021-04-19T18:38:49.894Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T18:38:50.917Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T18:38:51.892Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-19T18:38:52.174Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-19T18:38:52.174Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-19T18:38:52.448Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-19T18:38:52.448Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-19T18:38:52.724Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-19T18:38:53.018Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-19T18:38:55.722Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-19T18:38:55.722Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-19T18:38:55.996Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-19T18:38:56.618Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-19T18:38:56.917Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-19T18:38:57.553Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-19T18:38:57.553Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T18:38:57.553Z] OK: 173 MiB in 52 packages [2021-04-19T18:38:59.087Z] Removing intermediate container 9dfa29208008 [2021-04-19T18:38:59.087Z] ---> 9f89251b6ef7 [2021-04-19T18:38:59.087Z] Step 6/8 : WORKDIR /device-virtual-go [2021-04-19T18:38:59.087Z] ---> Running in 0a5921687f27 [2021-04-19T18:38:59.087Z] Removing intermediate container 0a5921687f27 [2021-04-19T18:38:59.087Z] ---> e96dfcaaae9d [2021-04-19T18:38:59.087Z] Step 7/8 : COPY . . [2021-04-19T18:39:00.632Z] ---> c722cfa70e8b [2021-04-19T18:39:00.632Z] Step 8/8 : RUN go mod download [2021-04-19T18:39:00.632Z] ---> Running in b416aa10989b [2021-04-19T18:39:01.669Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-876 in /w/workspace/foundry_device-virtual-go_PR-188 [Pipeline] { [Pipeline] ws [2021-04-19T18:39:01.728Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-04-19T18:39:07.114Z] using credential edgex-jenkins-ssh [2021-04-19T18:39:07.131Z] Cloning the remote Git repository [2021-04-19T18:39:07.187Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T18:39:07.292Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-04-19T18:39:07.387Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T18:39:07.388Z] > git --version # timeout=10 [2021-04-19T18:39:07.402Z] > git --version # 'git version 2.17.1' [2021-04-19T18:39:07.403Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:39:07.450Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:39:08.948Z] Merging remotes/origin/master commit 658d6cb39e0f87515e0fd512fa46517441b13332 into PR head commit e3e46742e661f1b9096ed18bae289dc4ac98178c [2021-04-19T18:39:09.125Z] Merge succeeded, producing e3e46742e661f1b9096ed18bae289dc4ac98178c [2021-04-19T18:39:09.126Z] Checking out Revision e3e46742e661f1b9096ed18bae289dc4ac98178c (PR-188) [2021-04-19T18:39:08.263Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-19T18:39:08.283Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:39:08.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-19T18:39:08.334Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T18:39:08.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:39:08.345Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T18:39:08.971Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:39:08.990Z] > git checkout -f e3e46742e661f1b9096ed18bae289dc4ac98178c # timeout=10 [2021-04-19T18:39:09.060Z] > git remote # timeout=10 [2021-04-19T18:39:09.076Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T18:39:09.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:39:09.098Z] > git merge 658d6cb39e0f87515e0fd512fa46517441b13332 # timeout=10 [2021-04-19T18:39:09.119Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T18:39:09.136Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:39:09.153Z] > git checkout -f e3e46742e661f1b9096ed18bae289dc4ac98178c # timeout=10 [2021-04-19T18:39:13.301Z] Commit message: "docs: Add badges to readme" [2021-04-19T18:39:13.364Z] > git --version # timeout=10 [2021-04-19T18:39:13.381Z] > git --version # 'git version 2.17.1' [2021-04-19T18:39:13.403Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:39:15.221Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:39:15.667Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:39:16.043Z] + sudo service docker restart [2021-04-19T18:39:16.043Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:39:18.793Z] provisioning config files... [2021-04-19T18:39:18.861Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7707324028685740747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:39:19.289Z] ---> docker-login.sh [2021-04-19T18:39:19.289Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:39:19.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:39:20.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:39:20.492Z] Configure a credential helper to remove this warning. See [2021-04-19T18:39:20.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:39:20.492Z] [2021-04-19T18:39:20.492Z] Login Succeeded [2021-04-19T18:39:20.492Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:39:20.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:39:21.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:39:21.046Z] Configure a credential helper to remove this warning. See [2021-04-19T18:39:21.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:39:21.046Z] [2021-04-19T18:39:21.046Z] Login Succeeded [2021-04-19T18:39:21.046Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:39:21.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:39:21.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:39:21.607Z] Configure a credential helper to remove this warning. See [2021-04-19T18:39:21.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:39:21.607Z] [2021-04-19T18:39:21.607Z] Login Succeeded [2021-04-19T18:39:21.607Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:39:21.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:39:21.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:39:21.888Z] Configure a credential helper to remove this warning. See [2021-04-19T18:39:21.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:39:21.888Z] [2021-04-19T18:39:21.888Z] Login Succeeded [2021-04-19T18:39:21.888Z] docker.io [2021-04-19T18:39:22.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:39:22.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:39:22.761Z] Configure a credential helper to remove this warning. See [2021-04-19T18:39:22.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:39:22.761Z] [2021-04-19T18:39:22.761Z] Login Succeeded [2021-04-19T18:39:22.761Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:39:22.792Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T18:39:23.309Z] ========================================================= [2021-04-19T18:39:23.309Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T18:39:23.309Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:39:23.681Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-19T18:39:23.968Z] Sending build context to Docker daemon 525.3kB [2021-04-19T18:39:23.968Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:39:23.968Z] Step 2/8 : FROM ${BASE} [2021-04-19T18:39:23.968Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T18:39:23.968Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T18:39:23.968Z] a4357932f1b6: Pulling fs layer [2021-04-19T18:39:23.968Z] 18c013af1878: Pulling fs layer [2021-04-19T18:39:23.968Z] 00ac8860ef70: Pulling fs layer [2021-04-19T18:39:23.968Z] 63d7cb157983: Pulling fs layer [2021-04-19T18:39:23.968Z] b116817d02f9: Pulling fs layer [2021-04-19T18:39:23.968Z] 745a02a5169b: Pulling fs layer [2021-04-19T18:39:23.968Z] 63d7cb157983: Waiting [2021-04-19T18:39:23.968Z] b116817d02f9: Waiting [2021-04-19T18:39:23.968Z] 745a02a5169b: Waiting [2021-04-19T18:39:23.968Z] 00ac8860ef70: Waiting [2021-04-19T18:39:24.247Z] 18c013af1878: Verifying Checksum [2021-04-19T18:39:24.247Z] 18c013af1878: Download complete [2021-04-19T18:39:24.247Z] a4357932f1b6: Verifying Checksum [2021-04-19T18:39:24.247Z] a4357932f1b6: Download complete [2021-04-19T18:39:24.247Z] 63d7cb157983: Verifying Checksum [2021-04-19T18:39:24.247Z] 63d7cb157983: Download complete [2021-04-19T18:39:24.247Z] b116817d02f9: Verifying Checksum [2021-04-19T18:39:24.247Z] 5f621e34cdf4: Verifying Checksum [2021-04-19T18:39:24.247Z] 5f621e34cdf4: Download complete [2021-04-19T18:39:24.869Z] 5f621e34cdf4: Pull complete [2021-04-19T18:39:25.500Z] a4357932f1b6: Pull complete [2021-04-19T18:39:25.782Z] 18c013af1878: Pull complete [2021-04-19T18:39:26.381Z] 745a02a5169b: Verifying Checksum [2021-04-19T18:39:26.381Z] 745a02a5169b: Download complete [2021-04-19T18:39:27.829Z] 00ac8860ef70: Verifying Checksum [2021-04-19T18:39:27.829Z] 00ac8860ef70: Download complete [2021-04-19T18:39:37.970Z] 00ac8860ef70: Pull complete [2021-04-19T18:39:37.970Z] 63d7cb157983: Pull complete [2021-04-19T18:39:37.970Z] b116817d02f9: Pull complete [2021-04-19T18:39:40.523Z] 745a02a5169b: Pull complete [2021-04-19T18:39:40.523Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T18:39:40.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T18:39:40.523Z] ---> b7e6874047d6 [2021-04-19T18:39:40.523Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-19T18:39:43.935Z] ---> Running in 7d1c6b65fc82 [2021-04-19T18:39:44.532Z] Removing intermediate container 7d1c6b65fc82 [2021-04-19T18:39:44.533Z] ---> 7e14c8da8a8a [2021-04-19T18:39:44.533Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:39:44.533Z] ---> Running in 60d002bb4a9d [2021-04-19T18:39:47.205Z] Removing intermediate container 60d002bb4a9d [2021-04-19T18:39:47.205Z] ---> 34ebda8ec1f6 [2021-04-19T18:39:47.205Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T18:39:47.205Z] ---> Running in cc84543f2102 [2021-04-19T18:39:48.193Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:39:48.793Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:39:49.080Z] Removing intermediate container b416aa10989b [2021-04-19T18:39:49.080Z] ---> 31f50c40daa6 [2021-04-19T18:39:49.080Z] Successfully built 31f50c40daa6 [2021-04-19T18:39:49.080Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:39:49.558Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T18:39:49.777Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-19T18:39:49.777Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-19T18:39:49.777Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-19T18:39:49.777Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-19T18:39:49.777Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-19T18:39:50.060Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-19T18:39:50.060Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-19T18:39:50.154Z] . [Pipeline] withDockerContainer [2021-04-19T18:39:50.336Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-19T18:39:50.413Z] prd-centos7-docker-4c-2g-862 does not seem to be running inside a container [2021-04-19T18:39:50.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T18:39:50.618Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-19T18:39:50.618Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-19T18:39:51.211Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-19T18:39:51.801Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-19T18:39:52.073Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-19T18:39:52.073Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T18:39:52.073Z] OK: 149 MiB in 52 packages [2021-04-19T18:39:52.137Z] $ docker top 8c2c6764b86223b34c3b573fa026f860834238aed8a73ecf5e6feea26b6c7234 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:39:53.343Z] + go version [2021-04-19T18:39:53.343Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T18:39:53.386Z] $ docker stop --time=1 8c2c6764b86223b34c3b573fa026f860834238aed8a73ecf5e6feea26b6c7234 [2021-04-19T18:39:53.537Z] Removing intermediate container cc84543f2102 [2021-04-19T18:39:53.537Z] ---> 3c681ec7c3ab [2021-04-19T18:39:53.537Z] Step 6/8 : WORKDIR /device-virtual-go [2021-04-19T18:39:53.537Z] ---> Running in 58dd4278e4d7 [2021-04-19T18:39:54.136Z] Removing intermediate container 58dd4278e4d7 [2021-04-19T18:39:54.136Z] ---> 1db6da991013 [2021-04-19T18:39:54.136Z] Step 7/8 : COPY . . [2021-04-19T18:39:55.139Z] ---> 1fa8b1cffd00 [2021-04-19T18:39:55.139Z] Step 8/8 : RUN go mod download [2021-04-19T18:39:55.411Z] ---> Running in 39dd110aff04 [2021-04-19T18:39:55.504Z] $ docker rm -f 8c2c6764b86223b34c3b573fa026f860834238aed8a73ecf5e6feea26b6c7234 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:39:56.624Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T18:39:56.624Z] . [Pipeline] withDockerContainer [2021-04-19T18:39:56.865Z] prd-centos7-docker-4c-2g-862 does not seem to be running inside a container [2021-04-19T18:39:57.001Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T18:39:58.129Z] $ docker top cb7b1f549d4a5d977f18bdf5daa83fc1357af3ef7b3075f37a73b7503bd477d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:39:59.256Z] + make test [2021-04-19T18:39:59.256Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T18:40:03.835Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-04-19T18:40:22.250Z] Removing intermediate container 39dd110aff04 [2021-04-19T18:40:22.250Z] ---> 44c67a3bd980 [2021-04-19T18:40:22.250Z] Successfully built 44c67a3bd980 [2021-04-19T18:40:22.250Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:40:22.626Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T18:40:22.626Z] . [Pipeline] withDockerContainer [2021-04-19T18:40:22.916Z] prd-ubuntu18.04-docker-arm64-4c-16g-876 does not seem to be running inside a container [2021-04-19T18:40:23.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T18:40:24.690Z] $ docker top 3c1c2b25740a1543c5aa21324fa534e2c541832c53e0b72337d1634f1060aa55 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:40:25.774Z] + go version [2021-04-19T18:40:25.775Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T18:40:25.816Z] $ docker stop --time=1 3c1c2b25740a1543c5aa21324fa534e2c541832c53e0b72337d1634f1060aa55 [2021-04-19T18:40:27.839Z] $ docker rm -f 3c1c2b25740a1543c5aa21324fa534e2c541832c53e0b72337d1634f1060aa55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:40:28.829Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T18:40:28.829Z] . [Pipeline] withDockerContainer [2021-04-19T18:40:29.131Z] prd-ubuntu18.04-docker-arm64-4c-16g-876 does not seem to be running inside a container [2021-04-19T18:40:29.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T18:40:30.845Z] $ docker top e86ba59b3418db113ceafd79e8eb5a1e3393d15cd6707410e64e7fc3fc90fe3d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:40:31.904Z] + make test [2021-04-19T18:40:31.904Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T18:40:34.029Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-04-19T18:41:01.583Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-04-19T18:41:01.583Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.685s coverage: 63.8% of statements [2021-04-19T18:41:01.583Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-19T18:41:13.330Z] gofmt -l . [2021-04-19T18:41:13.330Z] [ "`gofmt -l .`" = "" ] [2021-04-19T18:41:13.330Z] ./bin/test-attribution-txt.sh [2021-04-19T18:41:14.057Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T18:41:16.256Z] $ docker stop --time=1 cb7b1f549d4a5d977f18bdf5daa83fc1357af3ef7b3075f37a73b7503bd477d8 [2021-04-19T18:41:19.256Z] $ docker rm -f cb7b1f549d4a5d977f18bdf5daa83fc1357af3ef7b3075f37a73b7503bd477d8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:41:20.336Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T18:41:21.449Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-19T18:41:22.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T18:41:23.110Z] + ls -al . [2021-04-19T18:41:23.110Z] total 132 [2021-04-19T18:41:23.110Z] drwxrwxr-x. 7 jenkins jenkins 4096 Apr 19 18:41 . [2021-04-19T18:41:23.110Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 18:37 .. [2021-04-19T18:41:23.110Z] -rw-rw-r--. 1 jenkins jenkins 8039 Apr 19 18:37 Attribution.txt [2021-04-19T18:41:23.110Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 18:37 bin [2021-04-19T18:41:23.110Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 19 18:37 cmd [2021-04-19T18:41:23.110Z] -rw-r--r--. 1 jenkins jenkins 47247 Apr 19 18:40 coverage.out [2021-04-19T18:41:23.110Z] -rw-rw-r--. 1 jenkins jenkins 1905 Apr 19 18:37 Dockerfile [2021-04-19T18:41:23.110Z] -rw-rw-r--. 1 jenkins jenkins 998 Apr 19 18:37 Dockerfile.build [2021-04-19T18:41:23.110Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 18:37 .git [2021-04-19T18:41:23.110Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 18:37 .github [2021-04-19T18:41:23.110Z] -rw-rw-r--. 1 jenkins jenkins 277 Apr 19 18:37 .gitignore [2021-04-19T18:41:23.110Z] -rw-r--r--. 1 jenkins jenkins 809 Apr 19 18:41 go.mod [2021-04-19T18:41:23.110Z] -rw-r--r--. 1 jenkins jenkins 23363 Apr 19 18:41 go.sum [2021-04-19T18:41:23.110Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 19 18:37 internal [2021-04-19T18:41:23.110Z] -rw-rw-r--. 1 jenkins jenkins 660 Apr 19 18:37 Jenkinsfile [2021-04-19T18:41:23.110Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 19 18:37 LICENSE [2021-04-19T18:41:23.111Z] -rw-rw-r--. 1 jenkins jenkins 921 Apr 19 18:37 Makefile [2021-04-19T18:41:23.111Z] -rw-rw-r--. 1 jenkins jenkins 2745 Apr 19 18:37 README.md [2021-04-19T18:41:23.111Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 18:36 VERSION [2021-04-19T18:41:23.111Z] -rw-rw-r--. 1 jenkins jenkins 235 Apr 19 18:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:41:23.607Z] + 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=e3e46742e661f1b9096ed18bae289dc4ac98178c --label arch=amd64 --label version=0.0.0 . [2021-04-19T18:41:24.235Z] Sending build context to Docker daemon 598.5kB [2021-04-19T18:41:24.235Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:41:24.235Z] Step 2/25 : FROM ${BASE} AS builder [2021-04-19T18:41:24.235Z] ---> 31f50c40daa6 [2021-04-19T18:41:24.235Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-19T18:41:24.551Z] ---> Running in de25219da99c [2021-04-19T18:41:24.866Z] Removing intermediate container de25219da99c [2021-04-19T18:41:24.866Z] ---> c914b4343bdd [2021-04-19T18:41:24.866Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T18:41:25.162Z] ---> Running in a5b0442e4c0d [2021-04-19T18:41:25.987Z] Removing intermediate container a5b0442e4c0d [2021-04-19T18:41:25.987Z] ---> 783ae18498f5 [2021-04-19T18:41:25.987Z] Step 5/25 : WORKDIR /device-virtual-go [2021-04-19T18:41:26.324Z] ---> Running in 8fcf4390f016 [2021-04-19T18:41:27.063Z] Removing intermediate container 8fcf4390f016 [2021-04-19T18:41:27.063Z] ---> d7cc137d0d68 [2021-04-19T18:41:27.063Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:41:27.063Z] ---> Running in 072f281fb0c3 [2021-04-19T18:41:29.962Z] Removing intermediate container 072f281fb0c3 [2021-04-19T18:41:29.962Z] ---> 5af5f5451bed [2021-04-19T18:41:29.962Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T18:41:29.962Z] ---> Running in ab2aee46970d [2021-04-19T18:41:30.860Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-04-19T18:41:30.860Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.516s coverage: 63.8% of statements [2021-04-19T18:41:30.860Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-19T18:41:31.452Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T18:41:32.078Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T18:41:33.617Z] OK: 173 MiB in 52 packages [2021-04-19T18:41:34.251Z] Removing intermediate container ab2aee46970d [2021-04-19T18:41:34.251Z] ---> 4561e85991e6 [2021-04-19T18:41:34.251Z] Step 8/25 : COPY . . [2021-04-19T18:41:35.849Z] ---> c054ddc98ce5 [2021-04-19T18:41:35.849Z] Step 9/25 : RUN go mod download [2021-04-19T18:41:35.849Z] ---> Running in dea14d0d89ee [2021-04-19T18:41:38.736Z] Removing intermediate container dea14d0d89ee [2021-04-19T18:41:38.736Z] ---> eec1bfd76f9a [2021-04-19T18:41:38.736Z] Step 10/25 : ARG MAKE='make build' [2021-04-19T18:41:38.736Z] ---> Running in 3a3ce707068a [2021-04-19T18:41:39.177Z] gofmt -l . [2021-04-19T18:41:39.177Z] [ "`gofmt -l .`" = "" ] [2021-04-19T18:41:39.177Z] ./bin/test-attribution-txt.sh [2021-04-19T18:41:39.346Z] Removing intermediate container 3a3ce707068a [2021-04-19T18:41:39.346Z] ---> 51bfc4758eb4 [2021-04-19T18:41:39.346Z] Step 11/25 : RUN $MAKE [2021-04-19T18:41:39.346Z] ---> Running in a6d09c7f9932 [2021-04-19T18:41:39.999Z] 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-04-19T18:41:40.609Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T18:41:41.248Z] $ docker stop --time=1 e86ba59b3418db113ceafd79e8eb5a1e3393d15cd6707410e64e7fc3fc90fe3d [2021-04-19T18:41:43.483Z] $ docker rm -f e86ba59b3418db113ceafd79e8eb5a1e3393d15cd6707410e64e7fc3fc90fe3d [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:41:44.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T18:41:44.500Z] Warning: overwriting stash ‘coverage-report’ [2021-04-19T18:41:45.364Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:41:45.993Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T18:41:46.348Z] + ls -al . [2021-04-19T18:41:46.348Z] total 156 [2021-04-19T18:41:46.348Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 19 18:41 . [2021-04-19T18:41:46.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:39 .. [2021-04-19T18:41:46.348Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 18:39 .git [2021-04-19T18:41:46.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:39 .github [2021-04-19T18:41:46.348Z] -rw-rw-r-- 1 jenkins jenkins 277 Apr 19 18:39 .gitignore [2021-04-19T18:41:46.348Z] -rw-rw-r-- 1 jenkins jenkins 8039 Apr 19 18:39 Attribution.txt [2021-04-19T18:41:46.348Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 19 18:39 Dockerfile [2021-04-19T18:41:46.348Z] -rw-rw-r-- 1 jenkins jenkins 998 Apr 19 18:39 Dockerfile.build [2021-04-19T18:41:46.348Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 18:39 Jenkinsfile [2021-04-19T18:41:46.348Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 18:39 LICENSE [2021-04-19T18:41:46.348Z] -rw-rw-r-- 1 jenkins jenkins 921 Apr 19 18:39 Makefile [2021-04-19T18:41:46.348Z] -rw-rw-r-- 1 jenkins jenkins 2745 Apr 19 18:39 README.md [2021-04-19T18:41:46.348Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 18:36 VERSION [2021-04-19T18:41:46.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:39 bin [2021-04-19T18:41:46.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 18:39 cmd [2021-04-19T18:41:46.348Z] -rw-r--r-- 1 jenkins jenkins 47247 Apr 19 18:41 coverage.out [2021-04-19T18:41:46.348Z] -rw-r--r-- 1 jenkins jenkins 809 Apr 19 18:41 go.mod [2021-04-19T18:41:46.348Z] -rw-r--r-- 1 jenkins jenkins 23363 Apr 19 18:41 go.sum [2021-04-19T18:41:46.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 18:39 internal [2021-04-19T18:41:46.348Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 18:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:41:46.735Z] + 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=e3e46742e661f1b9096ed18bae289dc4ac98178c --label arch=arm64 --label version=0.0.0 . [2021-04-19T18:41:47.012Z] Sending build context to Docker daemon 597.5kB [2021-04-19T18:41:47.012Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:41:47.012Z] Step 2/25 : FROM ${BASE} AS builder [2021-04-19T18:41:47.012Z] ---> 44c67a3bd980 [2021-04-19T18:41:47.012Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-19T18:41:47.285Z] ---> Running in 21ac2699c603 [2021-04-19T18:41:47.881Z] Removing intermediate container 21ac2699c603 [2021-04-19T18:41:47.881Z] ---> ab8f33ca5cf2 [2021-04-19T18:41:47.881Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T18:41:47.881Z] ---> Running in 3ad4b999d46b [2021-04-19T18:41:48.480Z] Removing intermediate container 3ad4b999d46b [2021-04-19T18:41:48.480Z] ---> 4312cc9dc136 [2021-04-19T18:41:48.480Z] Step 5/25 : WORKDIR /device-virtual-go [2021-04-19T18:41:48.480Z] ---> Running in 407cedc90b3d [2021-04-19T18:41:49.086Z] Removing intermediate container 407cedc90b3d [2021-04-19T18:41:49.086Z] ---> 1acf6796aeb4 [2021-04-19T18:41:49.086Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:41:49.086Z] ---> Running in 89e6cbaf5133 [2021-04-19T18:41:51.713Z] Removing intermediate container 89e6cbaf5133 [2021-04-19T18:41:51.713Z] ---> 764d98ca9fc0 [2021-04-19T18:41:51.713Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T18:41:51.713Z] ---> Running in 7884d57b1155 [2021-04-19T18:41:52.304Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:41:53.275Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:41:54.251Z] OK: 149 MiB in 52 packages [2021-04-19T18:41:55.240Z] Removing intermediate container 7884d57b1155 [2021-04-19T18:41:55.240Z] ---> db57b2becc34 [2021-04-19T18:41:55.240Z] Step 8/25 : COPY . . [2021-04-19T18:41:56.227Z] ---> 836be7dab2a8 [2021-04-19T18:41:56.227Z] Step 9/25 : RUN go mod download [2021-04-19T18:41:56.507Z] ---> Running in 276cbb85e09f [2021-04-19T18:41:59.124Z] Removing intermediate container 276cbb85e09f [2021-04-19T18:41:59.124Z] ---> bdfd4b702191 [2021-04-19T18:41:59.124Z] Step 10/25 : ARG MAKE='make build' [2021-04-19T18:41:59.124Z] ---> Running in c6ed9f22e3fd [2021-04-19T18:41:59.394Z] Removing intermediate container c6ed9f22e3fd [2021-04-19T18:41:59.394Z] ---> d416bf472d51 [2021-04-19T18:41:59.394Z] Step 11/25 : RUN $MAKE [2021-04-19T18:41:59.668Z] ---> Running in af076251cb71 [2021-04-19T18:42:00.652Z] 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-04-19T18:42:27.764Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-19T18:42:36.151Z] Removing intermediate container a6d09c7f9932 [2021-04-19T18:42:36.151Z] ---> 6c7bba925963 [2021-04-19T18:42:36.151Z] Step 12/25 : FROM alpine:3.12 [2021-04-19T18:42:36.151Z] 3.12: Pulling from library/alpine [2021-04-19T18:42:36.151Z] 339de151aab4: Pulling fs layer [2021-04-19T18:42:36.444Z] 339de151aab4: Verifying Checksum [2021-04-19T18:42:36.444Z] 339de151aab4: Download complete [2021-04-19T18:42:36.731Z] 339de151aab4: Pull complete [2021-04-19T18:42:37.012Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T18:42:37.012Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T18:42:37.012Z] ---> 13621d1b12d4 [2021-04-19T18:42:37.012Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-04-19T18:42:37.012Z] ---> Running in 0a9d2095586d [2021-04-19T18:42:37.313Z] Removing intermediate container 0a9d2095586d [2021-04-19T18:42:37.313Z] ---> 8abe363b3e4d [2021-04-19T18:42:37.313Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:42:37.602Z] ---> Running in bf899feb2f83 [2021-04-19T18:42:39.653Z] Removing intermediate container bf899feb2f83 [2021-04-19T18:42:39.653Z] ---> cfd49232f9c1 [2021-04-19T18:42:39.653Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-19T18:42:39.653Z] ---> Running in df967e53c633 [2021-04-19T18:42:40.445Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T18:42:41.166Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T18:42:41.871Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-19T18:42:41.872Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-19T18:42:41.872Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-19T18:42:41.872Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-19T18:42:42.854Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T18:42:42.854Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-19T18:42:42.854Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T18:42:42.854Z] OK: 8 MiB in 20 packages [2021-04-19T18:42:43.857Z] Removing intermediate container df967e53c633 [2021-04-19T18:42:43.857Z] ---> 954796f9cc14 [2021-04-19T18:42:43.857Z] Step 16/25 : WORKDIR / [2021-04-19T18:42:43.857Z] ---> Running in 7f16134870d3 [2021-04-19T18:42:44.154Z] Removing intermediate container 7f16134870d3 [2021-04-19T18:42:44.154Z] ---> 715433f78cf6 [2021-04-19T18:42:44.154Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-04-19T18:42:45.289Z] ---> 12d696c370ac [2021-04-19T18:42:45.289Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-04-19T18:42:45.641Z] ---> 636b894a9b57 [2021-04-19T18:42:45.641Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-04-19T18:42:47.240Z] ---> 712a13a576e6 [2021-04-19T18:42:47.240Z] Step 20/25 : EXPOSE 49990 [2021-04-19T18:42:47.240Z] ---> Running in b2acdf106f59 [2021-04-19T18:42:47.656Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-19T18:42:47.865Z] Removing intermediate container b2acdf106f59 [2021-04-19T18:42:47.865Z] ---> 1c04a6f432a6 [2021-04-19T18:42:47.865Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-04-19T18:42:47.865Z] ---> Running in eb70264bb5c7 [2021-04-19T18:42:48.140Z] Removing intermediate container eb70264bb5c7 [2021-04-19T18:42:48.140Z] ---> 62ee1f114e37 [2021-04-19T18:42:48.140Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T18:42:48.140Z] ---> Running in a2300b51af86 [2021-04-19T18:42:48.757Z] Removing intermediate container a2300b51af86 [2021-04-19T18:42:48.757Z] ---> dec551389ae9 [2021-04-19T18:42:48.757Z] Step 23/25 : LABEL arch=amd64 [2021-04-19T18:42:48.757Z] ---> Running in 3879aca6d79a [2021-04-19T18:42:49.024Z] Removing intermediate container 3879aca6d79a [2021-04-19T18:42:49.024Z] ---> 39faa2c8ad21 [2021-04-19T18:42:49.024Z] Step 24/25 : LABEL git_sha=e3e46742e661f1b9096ed18bae289dc4ac98178c [2021-04-19T18:42:49.293Z] ---> Running in 09005f74f84d [2021-04-19T18:42:49.562Z] Removing intermediate container 09005f74f84d [2021-04-19T18:42:49.562Z] ---> 71d0caa5c7e2 [2021-04-19T18:42:49.562Z] Step 25/25 : LABEL version=0.0.0 [2021-04-19T18:42:49.871Z] ---> Running in 72fdb0bb363e [2021-04-19T18:42:50.144Z] Removing intermediate container 72fdb0bb363e [2021-04-19T18:42:50.144Z] ---> 3b9bfbeb82b9 [2021-04-19T18:42:50.144Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T18:42:50.144Z] Successfully built 3b9bfbeb82b9 [2021-04-19T18:42:50.144Z] 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-04-19T18:42:51.003Z] ---> job-cost.sh [2021-04-19T18:42:51.003Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Wg1B [2021-04-19T18:43:02.729Z] Removing intermediate container af076251cb71 [2021-04-19T18:43:02.729Z] ---> 09b8a7d36dac [2021-04-19T18:43:02.729Z] Step 12/25 : FROM alpine:3.12 [2021-04-19T18:43:02.729Z] 3.12: Pulling from library/alpine [2021-04-19T18:43:02.729Z] d2f70382dc9a: Pulling fs layer [2021-04-19T18:43:02.729Z] d2f70382dc9a: Verifying Checksum [2021-04-19T18:43:02.729Z] d2f70382dc9a: Download complete [2021-04-19T18:43:02.729Z] d2f70382dc9a: Pull complete [2021-04-19T18:43:02.729Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T18:43:02.729Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T18:43:02.729Z] ---> 9852663dfa18 [2021-04-19T18:43:02.729Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-04-19T18:43:02.729Z] ---> Running in 66bbed2fd7a5 [2021-04-19T18:43:03.325Z] Removing intermediate container 66bbed2fd7a5 [2021-04-19T18:43:03.325Z] ---> 026e614797a9 [2021-04-19T18:43:03.325Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:43:03.325Z] ---> Running in 34e5541139ff [2021-04-19T18:43:05.300Z] Removing intermediate container 34e5541139ff [2021-04-19T18:43:05.300Z] ---> 17a673830f8e [2021-04-19T18:43:05.300Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-19T18:43:05.573Z] ---> Running in 733dc4c54aad [2021-04-19T18:43:06.551Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:43:07.528Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:43:08.120Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-19T18:43:08.121Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-19T18:43:08.121Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-19T18:43:08.392Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-19T18:43:08.392Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T18:43:08.664Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-19T18:43:08.664Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T18:43:08.664Z] OK: 8 MiB in 20 packages [2021-04-19T18:43:10.096Z] Removing intermediate container 733dc4c54aad [2021-04-19T18:43:10.096Z] ---> 9fc402100f0f [2021-04-19T18:43:10.096Z] Step 16/25 : WORKDIR / [2021-04-19T18:43:10.096Z] ---> Running in edb89ce6e7f1 [2021-04-19T18:43:10.688Z] Removing intermediate container edb89ce6e7f1 [2021-04-19T18:43:10.688Z] ---> 0e2fb0d4b22e [2021-04-19T18:43:10.688Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-04-19T18:43:11.308Z] ---> 610597927415 [2021-04-19T18:43:11.308Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-04-19T18:43:12.285Z] ---> cc3f5eb29a59 [2021-04-19T18:43:12.285Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-04-19T18:43:13.714Z] ---> 87e857b03228 [2021-04-19T18:43:13.714Z] Step 20/25 : EXPOSE 49990 [2021-04-19T18:43:13.714Z] ---> Running in d01879bc4521 [2021-04-19T18:43:13.986Z] Removing intermediate container d01879bc4521 [2021-04-19T18:43:13.986Z] ---> 5478a51dd23e [2021-04-19T18:43:13.986Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-04-19T18:43:14.259Z] ---> Running in dc1d7f98df66 [2021-04-19T18:43:14.854Z] Removing intermediate container dc1d7f98df66 [2021-04-19T18:43:14.854Z] ---> 52de5fec11df [2021-04-19T18:43:14.854Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T18:43:14.854Z] ---> Running in 7eb3de06a63c [2021-04-19T18:43:15.453Z] Removing intermediate container 7eb3de06a63c [2021-04-19T18:43:15.453Z] ---> 9b6deeccc93e [2021-04-19T18:43:15.453Z] Step 23/25 : LABEL arch=arm64 [2021-04-19T18:43:15.453Z] ---> Running in 57133410958b [2021-04-19T18:43:16.046Z] Removing intermediate container 57133410958b [2021-04-19T18:43:16.046Z] ---> f5562653d3e1 [2021-04-19T18:43:16.046Z] Step 24/25 : LABEL git_sha=e3e46742e661f1b9096ed18bae289dc4ac98178c [2021-04-19T18:43:16.320Z] ---> Running in dc10c1eb6864 [2021-04-19T18:43:16.595Z] Removing intermediate container dc10c1eb6864 [2021-04-19T18:43:16.595Z] ---> 273f47592873 [2021-04-19T18:43:16.595Z] Step 25/25 : LABEL version=0.0.0 [2021-04-19T18:43:16.868Z] ---> Running in 44373e9defb0 [2021-04-19T18:43:17.860Z] Removing intermediate container 44373e9defb0 [2021-04-19T18:43:17.860Z] ---> 07d67fa9d23b [2021-04-19T18:43:17.860Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T18:43:17.860Z] Successfully built 07d67fa9d23b [2021-04-19T18:43:17.860Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [2021-04-19T18:43:17.902Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [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-04-19T18:43:18.556Z] ---> job-cost.sh [2021-04-19T18:43:18.556Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KX0o [2021-04-19T18:43:57.025Z] lf-activate-venv(): INFO: Adding /tmp/venv-Wg1B/bin to PATH [2021-04-19T18:43:57.025Z] INFO: No Stack... [2021-04-19T18:43:57.025Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T18:43:57.025Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T18:43:57.409Z] + cut -d, -f6 [2021-04-19T18:43:57.409Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-04-19T18:43:57.554Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-188-1-stack-cost] [2021-04-19T18:43:57.560Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-188-1-stack-cost] did not exist. Created. [2021-04-19T18:43:57.560Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-188-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T18:43:57.992Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-19T18:43:58.172Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T18:43:58.192Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-188-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T18:44:05.486Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T18:45:57.266Z] lf-activate-venv(): INFO: Adding /tmp/venv-KX0o/bin to PATH [2021-04-19T18:45:57.266Z] INFO: No Stack... [2021-04-19T18:45:57.266Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T18:45:57.266Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T18:45:57.647Z] + + cut -d, -f6 [2021-04-19T18:45:57.647Z] cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-04-19T18:45:57.818Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-188-1-stack-cost] [2021-04-19T18:45:57.823Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-188-1-stack-cost] did not exist. Created. [2021-04-19T18:45:57.824Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-188-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T18:45:58.263Z] /w/workspace/device-virtual-go/1@tmp/durable-08ba364c/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-08ba364c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-19T18:45:58.649Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T18:45:58.688Z] Warning: overwriting stash ‘stack-cost’ [2021-04-19T18:45:58.854Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T18:45:58.874Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-188-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-04-19T18:45:59.757Z] provisioning config files... [2021-04-19T18:45:59.771Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-188@tmp/config7002249938658778144tmp [Pipeline] { [Pipeline] sh [2021-04-19T18:46:00.159Z] + set +x [2021-04-19T18:46:00.159Z] + curl -s https://codecov.io/bash [2021-04-19T18:46:00.159Z] + bash -s -- [2021-04-19T18:46:00.431Z] [2021-04-19T18:46:00.431Z] _____ _ [2021-04-19T18:46:00.431Z] / ____| | | [2021-04-19T18:46:00.431Z] | | ___ __| | ___ ___ _____ __ [2021-04-19T18:46:00.431Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-19T18:46:00.431Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-19T18:46:00.431Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-19T18:46:00.431Z] Bash-1.0.1 [2021-04-19T18:46:00.431Z] [2021-04-19T18:46:00.431Z] [2021-04-19T18:46:00.431Z] ==> git version 2.24.3 found [2021-04-19T18:46:00.431Z] ==> 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-04-19T18:46:00.431Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-19T18:46:00.431Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-19T18:46:00.431Z] ==> Jenkins CI detected. [2021-04-19T18:46:00.431Z] project root: . [2021-04-19T18:46:00.431Z] --> token set from env [2021-04-19T18:46:00.431Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-19T18:46:00.431Z] ==> Running gcov in . (disable via -X gcov) [2021-04-19T18:46:00.431Z] ==> Python coveragepy not found [2021-04-19T18:46:00.431Z] ==> Searching for coverage reports in: [2021-04-19T18:46:00.431Z] + . [2021-04-19T18:46:00.431Z] -> Found 1 reports [2021-04-19T18:46:00.431Z] ==> Detecting git/mercurial file structure [2021-04-19T18:46:00.431Z] ==> Reading reports [2021-04-19T18:46:00.431Z] + ./coverage.out bytes=47247 [2021-04-19T18:46:00.431Z] ==> Appending adjustments [2021-04-19T18:46:00.431Z] https://docs.codecov.io/docs/fixing-reports [2021-04-19T18:46:00.431Z] + Found adjustments [2021-04-19T18:46:00.431Z] ==> Gzipping contents [2021-04-19T18:46:00.693Z] 8.0K /tmp/codecov.jVfhb4.gz [2021-04-19T18:46:00.693Z] ==> Uploading reports [2021-04-19T18:46:00.693Z] url: https://codecov.io [2021-04-19T18:46:00.693Z] query: branch=PR-188&commit=e3e46742e661f1b9096ed18bae289dc4ac98178c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-188%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=188&job=&cmd_args= [2021-04-19T18:46:00.693Z] -> Pinging Codecov [2021-04-19T18:46:00.693Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-188&commit=e3e46742e661f1b9096ed18bae289dc4ac98178c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-188%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=188&job=&cmd_args= [2021-04-19T18:46:00.961Z] -> Uploading to [2021-04-19T18:46:00.961Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-19/5E52B4B073DB2E39498172D8E973AA87/e3e46742e661f1b9096ed18bae289dc4ac98178c/d57b7503-db0e-48bb-b154-46655ac8e48f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T184600Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4d41bc297c4cea67bce65bc5401d3fd1deafb38bbcd347bd29e82bf85fbd00fb [2021-04-19T18:46:00.961Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-19T18:46:00.961Z] Dload Upload Total Spent Left Speed [2021-04-19T18:46:01.537Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5760 0 0 100 5760 0 10521 --:--:-- --:--:-- --:--:-- 10530 [2021-04-19T18:46:01.537Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/e3e46742e661f1b9096ed18bae289dc4ac98178c [Pipeline] } [2021-04-19T18:46:01.604Z] 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-04-19T18:46:03.612Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:03.999Z] ---> package-listing.sh [2021-04-19T18:46:03.999Z] ++ facter osfamily [2021-04-19T18:46:03.999Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T18:46:03.999Z] + OS_FAMILY=redhat [2021-04-19T18:46:03.999Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-188 [2021-04-19T18:46:03.999Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T18:46:03.999Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T18:46:03.999Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T18:46:03.999Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T18:46:03.999Z] + '[' /w/workspace/foundry_device-virtual-go_PR-188 ']' [2021-04-19T18:46:03.999Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T18:46:03.999Z] + case "${OS_FAMILY}" in [2021-04-19T18:46:03.999Z] + rpm -qa [2021-04-19T18:46:03.999Z] + sort [2021-04-19T18:46:09.333Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T18:46:09.333Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T18:46:09.333Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T18:46:09.333Z] + '[' /w/workspace/foundry_device-virtual-go_PR-188 ']' [2021-04-19T18:46:09.333Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-188/archives/ [2021-04-19T18:46:09.333Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-188/archives/ [Pipeline] echo [2021-04-19T18:46:09.374Z] 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-188/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T18:46:09.695Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:46:10.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:46:10.048Z] [2021-04-19T18:46:10.048Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:46:10.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:46:10.416Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T18:46:10.416Z] df20fa9351a1: Pulling fs layer [2021-04-19T18:46:10.416Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T18:46:10.416Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T18:46:10.416Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T18:46:10.416Z] 93b61091891f: Pulling fs layer [2021-04-19T18:46:10.416Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T18:46:10.416Z] 5e14af77c1be: Pulling fs layer [2021-04-19T18:46:10.416Z] 01666e4c0597: Pulling fs layer [2021-04-19T18:46:10.416Z] aa168da1d23b: Pulling fs layer [2021-04-19T18:46:10.416Z] 01666e4c0597: Waiting [2021-04-19T18:46:10.416Z] aa168da1d23b: Waiting [2021-04-19T18:46:10.416Z] 93b9cdb0e59b: Waiting [2021-04-19T18:46:10.416Z] 5e14af77c1be: Waiting [2021-04-19T18:46:10.416Z] 46f8f816bc3b: Waiting [2021-04-19T18:46:10.416Z] 93b61091891f: Waiting [2021-04-19T18:46:10.416Z] 36b3adc4ff6f: Verifying Checksum [2021-04-19T18:46:10.416Z] 36b3adc4ff6f: Download complete [2021-04-19T18:46:10.416Z] 46f8f816bc3b: Verifying Checksum [2021-04-19T18:46:10.416Z] 46f8f816bc3b: Download complete [2021-04-19T18:46:10.683Z] df20fa9351a1: Verifying Checksum [2021-04-19T18:46:10.683Z] df20fa9351a1: Download complete [2021-04-19T18:46:10.683Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T18:46:10.683Z] 93b9cdb0e59b: Download complete [2021-04-19T18:46:10.683Z] 5e14af77c1be: Verifying Checksum [2021-04-19T18:46:10.683Z] 5e14af77c1be: Download complete [2021-04-19T18:46:10.683Z] 93b61091891f: Download complete [2021-04-19T18:46:10.949Z] df20fa9351a1: Pull complete [2021-04-19T18:46:11.218Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T18:46:11.218Z] 8ad3a11d3b57: Download complete [2021-04-19T18:46:11.218Z] 36b3adc4ff6f: Pull complete [2021-04-19T18:46:11.805Z] 01666e4c0597: Verifying Checksum [2021-04-19T18:46:11.805Z] 01666e4c0597: Download complete [2021-04-19T18:46:12.072Z] 8ad3a11d3b57: Pull complete [2021-04-19T18:46:12.342Z] 46f8f816bc3b: Pull complete [2021-04-19T18:46:12.924Z] 93b61091891f: Pull complete [2021-04-19T18:46:13.189Z] 93b9cdb0e59b: Pull complete [2021-04-19T18:46:13.189Z] aa168da1d23b: Verifying Checksum [2021-04-19T18:46:13.189Z] aa168da1d23b: Download complete [2021-04-19T18:46:13.189Z] 5e14af77c1be: Pull complete [2021-04-19T18:46:13.464Z] 01666e4c0597: Pull complete [2021-04-19T18:46:21.691Z] aa168da1d23b: Pull complete [2021-04-19T18:46:21.691Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T18:46:21.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:46:21.691Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T18:46:21.973Z] prd-centos7-docker-4c-2g-864 does not seem to be running inside a container [2021-04-19T18:46:22.030Z] $ 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-188/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-188 -v /w/workspace/foundry_device-virtual-go_PR-188:/w/workspace/foundry_device-virtual-go_PR-188:rw,z -v /w/workspace/foundry_device-virtual-go_PR-188@tmp:/w/workspace/foundry_device-virtual-go_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-19T18:46:25.385Z] $ docker top b36f278feaac7179e3c667ae3cd2784c391608870b980090d9d47ea400ccea9a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:46:25.875Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T18:46:26.202Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T18:46:26.536Z] + ls /var/log/sa-host [2021-04-19T18:46:26.536Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T18:46:26.536Z] file_magic: OK [2021-04-19T18:46:26.536Z] HZ: Using current value: 100 [2021-04-19T18:46:26.536Z] file_header: OK [2021-04-19T18:46:26.536Z] 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-04-19T18:46:26.536Z] Statistics: [2021-04-19T18:46:26.536Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T18:46:26.536Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T18:46:26.536Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T18:46:26.536Z] file_magic: OK [2021-04-19T18:46:26.536Z] HZ: Using current value: 100 [2021-04-19T18:46:26.536Z] file_header: OK [2021-04-19T18:46:26.536Z] 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-04-19T18:46:26.536Z] Statistics: [2021-04-19T18:46:26.536Z] Hnuu...uuuununununu... [2021-04-19T18:46:26.536Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T18:46:26.777Z] provisioning config files... [2021-04-19T18:46:26.793Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-188@tmp/config2326991354515268465tmp [Pipeline] { [Pipeline] echo [2021-04-19T18:46:26.850Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:27.195Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T18:46:27.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T18:46:27.296Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:27.634Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T18:46:27.664Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:28.001Z] ---> sudo-logs.sh [2021-04-19T18:46:28.001Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T18:46:28.083Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:28.423Z] ---> job-cost.sh [2021-04-19T18:46:28.424Z] lf-activate-venv: SKIPPING [2021-04-19T18:46:28.424Z] DEBUG: total: 0.20999999344348907 [2021-04-19T18:46:28.424Z] INFO: Retrieving Stack Cost... [2021-04-19T18:46:29.374Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T18:46:29.637Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T18:46:29.677Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:30.057Z] ---> logs-deploy.sh [2021-04-19T18:46:30.057Z] lf-activate-venv: SKIPPING [2021-04-19T18:46:30.057Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-188/1 [2021-04-19T18:46:30.057Z] INFO: archiving workspace using pattern(s): [2021-04-19T18:46:31.983Z] Archives upload complete. [2021-04-19T18:46:31.983Z] INFO: archiving logs to Nexus