Pull request #201 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 587e11557f4d42b2f6b9051c129c5ea1704ce8aa+f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 (73d4ce1a995289df8f3613ddcd0dc29bfa42d7c7) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-201/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-201/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3970 in /w/workspace/foundry_device-virtual-go_PR-201 [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-201 # 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/201/head:refs/remotes/origin/PR-201 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit 587e11557f4d42b2f6b9051c129c5ea1704ce8aa Merge succeeded, producing 587e11557f4d42b2f6b9051c129c5ea1704ce8aa Checking out Revision 587e11557f4d42b2f6b9051c129c5ea1704ce8aa (PR-201) > git config core.sparsecheckout # timeout=10 > git checkout -f 587e11557f4d42b2f6b9051c129c5ea1704ce8aa # 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 f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 587e11557f4d42b2f6b9051c129c5ea1704ce8aa # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T05:57:02.277Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T05:57:02.495Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T05:57:02.622Z] ========================================================= [2021-05-10T05:57:02.622Z] EdgeX Global Pipelines Version Info [2021-05-10T05:57:02.622Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:57:04.892Z] ------------------- [2021-05-10T05:57:04.892Z] stable info: [2021-05-10T05:57:04.892Z] ------------------- [2021-05-10T05:57:04.892Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T05:57:04.892Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T05:57:04.892Z] Message: update stable to v1.0.191 [2021-05-10T05:57:06.954Z] ------------------- [2021-05-10T05:57:06.954Z] experimental info: [2021-05-10T05:57:06.954Z] ------------------- [2021-05-10T05:57:06.954Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T05:57:06.954Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T05:57:06.954Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T05:57:07.281Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-10T05:57:07.344Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-10T05:57:07.423Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T05:57:07.484Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T05:57:07.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T05:57:07.601Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T05:57:07.658Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T05:57:07.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T05:57:07.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T05:57:07.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T05:57:07.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T05:57:07.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-05-10T05:57:08.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T05:57:08.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T05:57:08.212Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T05:57:08.277Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T05:57:08.341Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:57:08.419Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:57:08.482Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T05:57:08.539Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T05:57:08.596Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T05:57:08.662Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T05:57:08.721Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T05:57:08.774Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T05:57:08.842Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T05:57:08.913Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T05:57:08.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-201 [Pipeline] echo [2021-05-10T05:57:09.045Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-201 [Pipeline] echo [2021-05-10T05:57:09.114Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-201 [Pipeline] echo [2021-05-10T05:57:09.173Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 587e11557f4d42b2f6b9051c129c5ea1704ce8aa [Pipeline] echo [2021-05-10T05:57:09.242Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 587e115 [Pipeline] echo [2021-05-10T05:57:09.299Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T05:57:09.474Z] provisioning config files... [2021-05-10T05:57:09.564Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-201@tmp/config2847576311929568092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:57:10.024Z] ---> docker-login.sh [2021-05-10T05:57:10.024Z] nexus3.edgexfoundry.org:10001 [2021-05-10T05:57:10.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:57:10.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:57:10.569Z] Configure a credential helper to remove this warning. See [2021-05-10T05:57:10.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:57:10.569Z] [2021-05-10T05:57:10.569Z] Login Succeeded [2021-05-10T05:57:10.569Z] nexus3.edgexfoundry.org:10002 [2021-05-10T05:57:10.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:57:11.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:57:11.148Z] Configure a credential helper to remove this warning. See [2021-05-10T05:57:11.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:57:11.148Z] [2021-05-10T05:57:11.148Z] Login Succeeded [2021-05-10T05:57:11.148Z] nexus3.edgexfoundry.org:10003 [2021-05-10T05:57:11.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:57:11.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:57:11.437Z] Configure a credential helper to remove this warning. See [2021-05-10T05:57:11.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:57:11.437Z] [2021-05-10T05:57:11.437Z] Login Succeeded [2021-05-10T05:57:11.437Z] nexus3.edgexfoundry.org:10004 [2021-05-10T05:57:11.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:57:12.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:57:12.015Z] Configure a credential helper to remove this warning. See [2021-05-10T05:57:12.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:57:12.015Z] [2021-05-10T05:57:12.015Z] Login Succeeded [2021-05-10T05:57:12.015Z] docker.io [2021-05-10T05:57:12.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:57:12.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:57:12.553Z] Configure a credential helper to remove this warning. See [2021-05-10T05:57:12.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:57:12.553Z] [2021-05-10T05:57:12.553Z] Login Succeeded [2021-05-10T05:57:12.553Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T05:57:12.589Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T05:57:13.556Z] + git log --format=format:%s -1 587e11557f4d42b2f6b9051c129c5ea1704ce8aa [Pipeline] echo [2021-05-10T05:57:13.704Z] GIT_COMMIT: 587e11557f4d42b2f6b9051c129c5ea1704ce8aa, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-05-10T05:57:13.756Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:57:14.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:57:14.457Z] [2021-05-10T05:57:14.457Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:57:14.895Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:57:15.226Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T05:57:15.226Z] 31603596830f: Pulling fs layer [2021-05-10T05:57:15.226Z] 54011a49482f: Pulling fs layer [2021-05-10T05:57:15.226Z] a6820b24f6d8: Pulling fs layer [2021-05-10T05:57:15.226Z] f581987b2513: Pulling fs layer [2021-05-10T05:57:15.226Z] f581987b2513: Waiting [2021-05-10T05:57:15.226Z] 54011a49482f: Verifying Checksum [2021-05-10T05:57:15.226Z] 54011a49482f: Download complete [2021-05-10T05:57:15.590Z] 31603596830f: Verifying Checksum [2021-05-10T05:57:15.590Z] 31603596830f: Download complete [2021-05-10T05:57:16.226Z] f581987b2513: Verifying Checksum [2021-05-10T05:57:16.226Z] f581987b2513: Download complete [2021-05-10T05:57:16.226Z] a6820b24f6d8: Verifying Checksum [2021-05-10T05:57:16.226Z] a6820b24f6d8: Download complete [2021-05-10T05:57:16.501Z] 31603596830f: Pull complete [2021-05-10T05:57:16.501Z] 54011a49482f: Pull complete [2021-05-10T05:57:18.534Z] a6820b24f6d8: Pull complete [2021-05-10T05:57:18.831Z] f581987b2513: Pull complete [2021-05-10T05:57:18.832Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T05:57:18.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:57:18.832Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T05:57:19.271Z] prd-centos7-docker-4c-2g-3970 does not seem to be running inside a container [2021-05-10T05:57:19.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-201 -v /w/workspace/foundry_device-virtual-go_PR-201:/w/workspace/foundry_device-virtual-go_PR-201:rw,z -v /w/workspace/foundry_device-virtual-go_PR-201@tmp:/w/workspace/foundry_device-virtual-go_PR-201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T05:57:21.798Z] $ docker top 941f16cf96784389447055d93b6892a2dd9032038e3945bb00cd456c71f4a248 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T05:57:22.278Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T05:57:22.278Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T05:57:22.869Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T05:57:22.879Z] $ docker exec 941f16cf96784389447055d93b6892a2dd9032038e3945bb00cd456c71f4a248 ssh-agent [2021-05-10T05:57:23.226Z] SSH_AUTH_SOCK=/tmp/ssh-jZyScD2kza0r/agent.11 [2021-05-10T05:57:23.226Z] SSH_AGENT_PID=16 [2021-05-10T05:57:23.258Z] Running ssh-add (command line suppressed) [2021-05-10T05:57:23.572Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-201@tmp/private_key_6473294500196368503.key (/w/workspace/foundry_device-virtual-go_PR-201@tmp/private_key_6473294500196368503.key) [2021-05-10T05:57:23.636Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T05:57:24.064Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T05:57:24.117Z] $ docker exec --env ******** --env ******** 941f16cf96784389447055d93b6892a2dd9032038e3945bb00cd456c71f4a248 ssh-agent -k [2021-05-10T05:57:24.423Z] unset SSH_AUTH_SOCK; [2021-05-10T05:57:24.424Z] unset SSH_AGENT_PID; [2021-05-10T05:57:24.424Z] echo Agent pid 16 killed; [2021-05-10T05:57:24.506Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T05:57:24.622Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T05:57:24.622Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T05:57:25.121Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T05:57:25.130Z] $ docker exec 941f16cf96784389447055d93b6892a2dd9032038e3945bb00cd456c71f4a248 ssh-agent [2021-05-10T05:57:25.437Z] SSH_AUTH_SOCK=/tmp/ssh-kNSZ9d2OpB6s/agent.45 [2021-05-10T05:57:25.437Z] SSH_AGENT_PID=50 [2021-05-10T05:57:25.452Z] Running ssh-add (command line suppressed) [2021-05-10T05:57:25.732Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-201@tmp/private_key_1068748710769632612.key (/w/workspace/foundry_device-virtual-go_PR-201@tmp/private_key_1068748710769632612.key) [2021-05-10T05:57:25.921Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T05:57:26.359Z] + git semver init [2021-05-10T05:57:26.359Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T05:57:26.359Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-201/.git [2021-05-10T05:57:26.359Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-201 [2021-05-10T05:57:26.359Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T05:57:26.359Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T05:57:26.359Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T05:57:26.359Z] # $SEMVER_BRANCH = PR-201 [2021-05-10T05:57:26.359Z] # $SEMVER_TEMP = /tmp/semver-212225557 [2021-05-10T05:57:26.359Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-10T05:57:26.964Z] # '/tmp/semver-212225557' -> '/w/workspace/foundry_device-virtual-go_PR-201/.semver' [2021-05-10T05:57:26.964Z] # -> Force: false [2021-05-10T05:57:26.964Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-201/.semver [Pipeline] } [2021-05-10T05:57:27.017Z] $ docker exec --env ******** --env ******** 941f16cf96784389447055d93b6892a2dd9032038e3945bb00cd456c71f4a248 ssh-agent -k [2021-05-10T05:57:27.237Z] unset SSH_AUTH_SOCK; [2021-05-10T05:57:27.237Z] unset SSH_AGENT_PID; [2021-05-10T05:57:27.237Z] echo Agent pid 50 killed; [2021-05-10T05:57:27.346Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T05:57:27.811Z] + git semver [Pipeline] } [2021-05-10T05:57:27.858Z] $ docker stop --time=1 941f16cf96784389447055d93b6892a2dd9032038e3945bb00cd456c71f4a248 [2021-05-10T05:57:29.401Z] $ docker rm -f 941f16cf96784389447055d93b6892a2dd9032038e3945bb00cd456c71f4a248 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T05:57:29.973Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T05:57:30.514Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T05:57:30.537Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-10T05:57:46.010Z] Still waiting to schedule task [2021-05-10T05:57:46.011Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3975’ is offline; ‘prd-centos7-docker-4c-2g-3979’ is offline; ‘prd-centos7-docker-4c-2g-3980’ is offline; ‘prd-centos7-docker-4c-2g-3981’ is offline; ‘prd-centos7-docker-4c-2g-3982’ is offline; ‘prd-centos7-docker-4c-2g-3983’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3973’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-10T05:57:46.046Z] Still waiting to schedule task [2021-05-10T05:57:46.048Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3975’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3979’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3980’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3981’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3982’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3983’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3973’ is offline [2021-05-10T06:08:23.650Z] Running on prd-centos7-docker-4c-2g-4013 in /w/workspace/foundry_device-virtual-go_PR-201 [Pipeline] { [Pipeline] ws [2021-05-10T06:08:23.733Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-10T06:08:28.320Z] using credential edgex-jenkins-ssh [2021-05-10T06:08:28.334Z] Cloning the remote Git repository [2021-05-10T06:08:28.364Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T06:08:28.446Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-10T06:08:28.517Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T06:08:28.517Z] > git --version # timeout=10 [2021-05-10T06:08:28.524Z] > git --version # 'git version 2.24.3' [2021-05-10T06:08:28.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:08:28.552Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:08:29.514Z] Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit 587e11557f4d42b2f6b9051c129c5ea1704ce8aa [2021-05-10T06:08:29.613Z] Merge succeeded, producing 587e11557f4d42b2f6b9051c129c5ea1704ce8aa [2021-05-10T06:08:29.613Z] Checking out Revision 587e11557f4d42b2f6b9051c129c5ea1704ce8aa (PR-201) [2021-05-10T06:08:29.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T06:08:29.136Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:08:29.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T06:08:29.163Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T06:08:29.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:08:29.168Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/201/head:refs/remotes/origin/PR-201 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T06:08:29.524Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:08:29.531Z] > git checkout -f 587e11557f4d42b2f6b9051c129c5ea1704ce8aa # timeout=10 [2021-05-10T06:08:29.568Z] > git remote # timeout=10 [2021-05-10T06:08:29.575Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T06:08:29.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:08:29.588Z] > git merge f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 [2021-05-10T06:08:29.604Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T06:08:29.619Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:08:29.624Z] > git checkout -f 587e11557f4d42b2f6b9051c129c5ea1704ce8aa # timeout=10 [2021-05-10T06:08:33.443Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-10T06:08:33.496Z] > git --version # timeout=10 [2021-05-10T06:08:33.505Z] > git --version # 'git version 2.24.3' [2021-05-10T06:08:33.511Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:08:34.795Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:08:35.207Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:08:35.565Z] + sudo service docker restart [2021-05-10T06:08:35.565Z] + true [2021-05-10T06:08:35.565Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T06:08:36.750Z] provisioning config files... [2021-05-10T06:08:36.941Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6444875127798914187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:08:38.626Z] ---> docker-login.sh [2021-05-10T06:08:38.626Z] nexus3.edgexfoundry.org:10001 [2021-05-10T06:08:38.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:08:38.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:08:38.894Z] Configure a credential helper to remove this warning. See [2021-05-10T06:08:38.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:08:38.894Z] [2021-05-10T06:08:38.894Z] Login Succeeded [2021-05-10T06:08:38.894Z] nexus3.edgexfoundry.org:10002 [2021-05-10T06:08:39.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:08:40.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:08:40.181Z] Configure a credential helper to remove this warning. See [2021-05-10T06:08:40.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:08:40.181Z] [2021-05-10T06:08:40.181Z] Login Succeeded [2021-05-10T06:08:40.181Z] nexus3.edgexfoundry.org:10003 [2021-05-10T06:08:40.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:08:40.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:08:40.477Z] Configure a credential helper to remove this warning. See [2021-05-10T06:08:40.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:08:40.477Z] [2021-05-10T06:08:40.477Z] Login Succeeded [2021-05-10T06:08:40.477Z] nexus3.edgexfoundry.org:10004 [2021-05-10T06:08:40.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:08:40.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:08:40.763Z] Configure a credential helper to remove this warning. See [2021-05-10T06:08:40.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:08:40.763Z] [2021-05-10T06:08:40.763Z] Login Succeeded [2021-05-10T06:08:40.763Z] docker.io [2021-05-10T06:08:40.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:08:41.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:08:41.032Z] Configure a credential helper to remove this warning. See [2021-05-10T06:08:41.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:08:41.032Z] [2021-05-10T06:08:41.032Z] Login Succeeded [2021-05-10T06:08:41.032Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T06:08:41.060Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T06:08:41.530Z] ========================================================= [2021-05-10T06:08:41.530Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T06:08:41.530Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:08:41.895Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-10T06:08:41.896Z] Sending build context to Docker daemon 532kB [2021-05-10T06:08:41.896Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T06:08:41.896Z] Step 2/8 : FROM ${BASE} [2021-05-10T06:08:41.896Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T06:08:41.896Z] 540db60ca938: Pulling fs layer [2021-05-10T06:08:41.896Z] adcc1eea9eea: Pulling fs layer [2021-05-10T06:08:41.896Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T06:08:41.896Z] 0510c868ecb4: Pulling fs layer [2021-05-10T06:08:41.896Z] afea3b2eda06: Pulling fs layer [2021-05-10T06:08:41.896Z] 7809a108b3ef: Pulling fs layer [2021-05-10T06:08:41.896Z] f706445af74f: Pulling fs layer [2021-05-10T06:08:41.896Z] afea3b2eda06: Waiting [2021-05-10T06:08:41.896Z] 7809a108b3ef: Waiting [2021-05-10T06:08:41.896Z] f706445af74f: Waiting [2021-05-10T06:08:42.161Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T06:08:42.161Z] 4c4ab2625f07: Download complete [2021-05-10T06:08:42.161Z] adcc1eea9eea: Download complete [2021-05-10T06:08:42.161Z] afea3b2eda06: Verifying Checksum [2021-05-10T06:08:42.161Z] afea3b2eda06: Download complete [2021-05-10T06:08:42.161Z] 7809a108b3ef: Verifying Checksum [2021-05-10T06:08:42.161Z] 7809a108b3ef: Download complete [2021-05-10T06:08:42.739Z] 540db60ca938: Verifying Checksum [2021-05-10T06:08:42.739Z] 540db60ca938: Download complete [2021-05-10T06:08:42.739Z] 540db60ca938: Pull complete [2021-05-10T06:08:43.005Z] adcc1eea9eea: Pull complete [2021-05-10T06:08:43.274Z] 4c4ab2625f07: Pull complete [2021-05-10T06:08:48.596Z] f706445af74f: Verifying Checksum [2021-05-10T06:08:48.596Z] f706445af74f: Download complete [2021-05-10T06:08:51.947Z] 0510c868ecb4: Verifying Checksum [2021-05-10T06:08:51.947Z] 0510c868ecb4: Download complete [2021-05-10T06:08:57.318Z] 0510c868ecb4: Pull complete [2021-05-10T06:08:57.601Z] afea3b2eda06: Pull complete [2021-05-10T06:08:57.889Z] 7809a108b3ef: Pull complete [2021-05-10T06:09:03.258Z] f706445af74f: Pull complete [2021-05-10T06:09:03.258Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T06:09:03.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T06:09:03.258Z] ---> b068be0155e3 [2021-05-10T06:09:03.258Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T06:09:04.652Z] ---> Running in 95bd4712e8c7 [2021-05-10T06:09:04.916Z] Removing intermediate container 95bd4712e8c7 [2021-05-10T06:09:04.916Z] ---> 70a551f1c9e3 [2021-05-10T06:09:04.916Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:09:04.916Z] ---> Running in 465936d8ea11 [2021-05-10T06:09:05.870Z] Removing intermediate container 465936d8ea11 [2021-05-10T06:09:05.870Z] ---> e62e40113791 [2021-05-10T06:09:05.870Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T06:09:05.870Z] ---> Running in edc6b36cf20a [2021-05-10T06:09:06.448Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T06:09:08.379Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T06:09:08.971Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T06:09:08.971Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T06:09:09.236Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T06:09:09.503Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T06:09:09.503Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T06:09:09.768Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T06:09:10.035Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T06:09:10.632Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T06:09:10.632Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T06:09:10.919Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T06:09:11.210Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T06:09:11.210Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T06:09:11.828Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T06:09:12.137Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T06:09:12.137Z] OK: 156 MiB in 53 packages [2021-05-10T06:09:13.561Z] Removing intermediate container edc6b36cf20a [2021-05-10T06:09:13.561Z] ---> 27d531ea9c00 [2021-05-10T06:09:13.561Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-10T06:09:13.561Z] ---> Running in 34f099465650 [2021-05-10T06:09:13.561Z] Removing intermediate container 34f099465650 [2021-05-10T06:09:13.561Z] ---> bc022e3470c8 [2021-05-10T06:09:13.561Z] Step 7/8 : COPY . . [2021-05-10T06:09:14.518Z] ---> 1bf09321fafb [2021-05-10T06:09:14.518Z] Step 8/8 : RUN go mod download [2021-05-10T06:09:14.518Z] ---> Running in 6171a565c4e9 [2021-05-10T06:09:16.256Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3998 in /w/workspace/foundry_device-virtual-go_PR-201 [Pipeline] { [Pipeline] ws [2021-05-10T06:09:16.340Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-10T06:09:22.982Z] using credential edgex-jenkins-ssh [2021-05-10T06:09:23.013Z] Cloning the remote Git repository [2021-05-10T06:09:23.107Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T06:09:23.244Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-10T06:09:23.337Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T06:09:23.338Z] > git --version # timeout=10 [2021-05-10T06:09:23.361Z] > git --version # 'git version 2.17.1' [2021-05-10T06:09:23.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:23.425Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:09:24.230Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T06:09:24.248Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:09:24.274Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T06:09:24.317Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T06:09:24.318Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:24.332Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/201/head:refs/remotes/origin/PR-201 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T06:09:24.813Z] Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit 587e11557f4d42b2f6b9051c129c5ea1704ce8aa [2021-05-10T06:09:25.032Z] Merge succeeded, producing 587e11557f4d42b2f6b9051c129c5ea1704ce8aa [2021-05-10T06:09:25.032Z] Checking out Revision 587e11557f4d42b2f6b9051c129c5ea1704ce8aa (PR-201) [2021-05-10T06:09:24.831Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:09:24.845Z] > git checkout -f 587e11557f4d42b2f6b9051c129c5ea1704ce8aa # timeout=10 [2021-05-10T06:09:24.935Z] > git remote # timeout=10 [2021-05-10T06:09:24.957Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T06:09:24.975Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:24.988Z] > git merge f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 [2021-05-10T06:09:25.013Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T06:09:25.040Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:09:25.051Z] > git checkout -f 587e11557f4d42b2f6b9051c129c5ea1704ce8aa # timeout=10 [2021-05-10T06:09:29.517Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-10T06:09:29.579Z] > git --version # timeout=10 [2021-05-10T06:09:29.587Z] > git --version # 'git version 2.17.1' [2021-05-10T06:09:29.595Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:09:31.415Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:09:31.869Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:09:32.287Z] + sudo service docker restart+ [2021-05-10T06:09:32.287Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T06:09:35.133Z] provisioning config files... [2021-05-10T06:09:35.198Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5310461031226274553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:09:35.676Z] ---> docker-login.sh [2021-05-10T06:09:35.676Z] nexus3.edgexfoundry.org:10001 [2021-05-10T06:09:36.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:09:37.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:09:37.030Z] Configure a credential helper to remove this warning. See [2021-05-10T06:09:37.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:09:37.030Z] [2021-05-10T06:09:37.030Z] Login Succeeded [2021-05-10T06:09:37.030Z] nexus3.edgexfoundry.org:10002 [2021-05-10T06:09:37.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:09:37.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:09:37.642Z] Configure a credential helper to remove this warning. See [2021-05-10T06:09:37.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:09:37.642Z] [2021-05-10T06:09:37.642Z] Login Succeeded [2021-05-10T06:09:37.642Z] nexus3.edgexfoundry.org:10003 [2021-05-10T06:09:37.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:09:38.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:09:38.227Z] Configure a credential helper to remove this warning. See [2021-05-10T06:09:38.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:09:38.227Z] [2021-05-10T06:09:38.227Z] Login Succeeded [2021-05-10T06:09:38.227Z] nexus3.edgexfoundry.org:10004 [2021-05-10T06:09:38.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:09:38.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:09:38.779Z] Configure a credential helper to remove this warning. See [2021-05-10T06:09:38.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:09:38.779Z] [2021-05-10T06:09:38.779Z] Login Succeeded [2021-05-10T06:09:38.779Z] docker.io [2021-05-10T06:09:39.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:09:39.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:09:39.713Z] Configure a credential helper to remove this warning. See [2021-05-10T06:09:39.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:09:39.713Z] [2021-05-10T06:09:39.713Z] Login Succeeded [2021-05-10T06:09:39.713Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T06:09:39.811Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T06:09:40.438Z] ========================================================= [2021-05-10T06:09:40.438Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T06:09:40.438Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:09:40.849Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-10T06:09:41.131Z] Sending build context to Docker daemon 530.9kB [2021-05-10T06:09:41.131Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T06:09:41.131Z] Step 2/8 : FROM ${BASE} [2021-05-10T06:09:41.406Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T06:09:41.406Z] 595b0fe564bb: Pulling fs layer [2021-05-10T06:09:41.406Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T06:09:41.406Z] 316046926c0a: Pulling fs layer [2021-05-10T06:09:41.406Z] 4ebd0625c992: Pulling fs layer [2021-05-10T06:09:41.406Z] 207e8628e3a3: Pulling fs layer [2021-05-10T06:09:41.406Z] c791037a9be2: Pulling fs layer [2021-05-10T06:09:41.406Z] ffd874e62e21: Pulling fs layer [2021-05-10T06:09:41.406Z] 207e8628e3a3: Waiting [2021-05-10T06:09:41.406Z] c791037a9be2: Waiting [2021-05-10T06:09:41.406Z] 4ebd0625c992: Waiting [2021-05-10T06:09:41.406Z] ffd874e62e21: Waiting [2021-05-10T06:09:41.406Z] 316046926c0a: Verifying Checksum [2021-05-10T06:09:41.406Z] 316046926c0a: Download complete [2021-05-10T06:09:41.406Z] 7186ed65a4f7: Download complete [2021-05-10T06:09:41.406Z] 207e8628e3a3: Verifying Checksum [2021-05-10T06:09:41.406Z] 207e8628e3a3: Download complete [2021-05-10T06:09:41.406Z] c791037a9be2: Verifying Checksum [2021-05-10T06:09:41.406Z] c791037a9be2: Download complete [2021-05-10T06:09:41.414Z] Removing intermediate container 6171a565c4e9 [2021-05-10T06:09:41.414Z] ---> f382625400f0 [2021-05-10T06:09:41.414Z] Successfully built f382625400f0 [2021-05-10T06:09:41.414Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:09:41.683Z] 595b0fe564bb: Download complete [2021-05-10T06:09:41.792Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T06:09:41.792Z] . [Pipeline] withDockerContainer [2021-05-10T06:09:41.961Z] prd-centos7-docker-4c-2g-4013 does not seem to be running inside a container [2021-05-10T06:09:42.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T06:09:42.301Z] 595b0fe564bb: Pull complete [2021-05-10T06:09:42.919Z] 7186ed65a4f7: Pull complete [2021-05-10T06:09:43.231Z] 316046926c0a: Pull complete [2021-05-10T06:09:43.452Z] $ docker top f8f32842ca638d68c66fb4c0d78f6aa0aa6275478ac5402ede588bffb6268ed0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:09:44.082Z] + go version [2021-05-10T06:09:44.082Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T06:09:44.155Z] $ docker stop --time=1 f8f32842ca638d68c66fb4c0d78f6aa0aa6275478ac5402ede588bffb6268ed0 [2021-05-10T06:09:44.707Z] ffd874e62e21: Verifying Checksum [2021-05-10T06:09:44.707Z] ffd874e62e21: Download complete [2021-05-10T06:09:45.575Z] $ docker rm -f f8f32842ca638d68c66fb4c0d78f6aa0aa6275478ac5402ede588bffb6268ed0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-05-10T06:09:46.189Z] 4ebd0625c992: Verifying Checksum [2021-05-10T06:09:46.189Z] 4ebd0625c992: Download complete [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:09:46.765Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T06:09:46.765Z] . [Pipeline] withDockerContainer [2021-05-10T06:09:46.903Z] prd-centos7-docker-4c-2g-4013 does not seem to be running inside a container [2021-05-10T06:09:46.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T06:09:47.774Z] $ docker top 7458f6f6e48000c139bfc0605ef1e426577f5a2d6851599fd7532bdb63ad568e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:09:48.416Z] + go mod tidy [Pipeline] sh [2021-05-10T06:09:49.726Z] + make test [2021-05-10T06:09:49.726Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T06:09:51.171Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-10T06:09:56.495Z] 4ebd0625c992: Pull complete [2021-05-10T06:09:56.495Z] 207e8628e3a3: Pull complete [2021-05-10T06:09:56.771Z] c791037a9be2: Pull complete [2021-05-10T06:10:01.125Z] ffd874e62e21: Pull complete [2021-05-10T06:10:01.125Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T06:10:01.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T06:10:01.125Z] ---> cfc18b08335c [2021-05-10T06:10:01.125Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T06:10:04.567Z] ---> Running in b5ea145332a3 [2021-05-10T06:10:04.567Z] Removing intermediate container b5ea145332a3 [2021-05-10T06:10:04.567Z] ---> 89b824317d98 [2021-05-10T06:10:04.567Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:10:04.567Z] ---> Running in 88dcb9b0b8e9 [2021-05-10T06:10:07.216Z] Removing intermediate container 88dcb9b0b8e9 [2021-05-10T06:10:07.216Z] ---> f5ddbbd163ce [2021-05-10T06:10:07.216Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T06:10:07.216Z] ---> Running in e316571cd96d [2021-05-10T06:10:08.199Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T06:10:11.583Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T06:10:18.061Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-10T06:10:18.061Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.464s coverage: 63.8% of statements [2021-05-10T06:10:18.061Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T06:10:19.863Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T06:10:19.863Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T06:10:19.863Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T06:10:19.863Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T06:10:20.136Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T06:10:21.105Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T06:10:21.697Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T06:10:26.322Z] gofmt -l . [2021-05-10T06:10:26.322Z] [ "`gofmt -l .`" = "" ] [2021-05-10T06:10:26.322Z] ./bin/test-attribution-txt.sh [2021-05-10T06:10:26.905Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T06:10:27.232Z] $ docker stop --time=1 7458f6f6e48000c139bfc0605ef1e426577f5a2d6851599fd7532bdb63ad568e [2021-05-10T06:10:30.574Z] $ docker rm -f 7458f6f6e48000c139bfc0605ef1e426577f5a2d6851599fd7532bdb63ad568e [2021-05-10T06:10:30.599Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T06:10:30.599Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T06:10:30.599Z] (10/13) Installing openssh-server (8.4_p1-r3) [Pipeline] // withDockerContainer [2021-05-10T06:10:30.872Z] (11/13) Installing openssh (8.4_p1-r3) [Pipeline] sh [2021-05-10T06:10:31.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T06:10:31.575Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-10T06:10:32.300Z] (12/13) Installing libzmq (4.3.3-r1) [Pipeline] sh [2021-05-10T06:10:32.797Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T06:10:32.890Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T06:10:33.119Z] + ls -al . [2021-05-10T06:10:33.119Z] total 132 [2021-05-10T06:10:33.119Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 10 06:10 . [2021-05-10T06:10:33.119Z] drwxrwxr-x. 4 jenkins jenkins 28 May 10 06:08 .. [2021-05-10T06:10:33.119Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 10 06:08 Attribution.txt [2021-05-10T06:10:33.119Z] drwxrwxr-x. 2 jenkins jenkins 64 May 10 06:08 bin [2021-05-10T06:10:33.119Z] drwxrwxr-x. 3 jenkins jenkins 32 May 10 06:08 cmd [2021-05-10T06:10:33.119Z] -rw-r--r--. 1 jenkins jenkins 47247 May 10 06:10 coverage.out [2021-05-10T06:10:33.119Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 10 06:08 Dockerfile [2021-05-10T06:10:33.119Z] -rw-rw-r--. 1 jenkins jenkins 998 May 10 06:08 Dockerfile.build [2021-05-10T06:10:33.119Z] drwxrwxr-x. 8 jenkins jenkins 179 May 10 06:08 .git [2021-05-10T06:10:33.119Z] drwxrwxr-x. 2 jenkins jenkins 103 May 10 06:08 .github [2021-05-10T06:10:33.119Z] -rw-rw-r--. 1 jenkins jenkins 277 May 10 06:08 .gitignore [2021-05-10T06:10:33.119Z] -rw-r--r--. 1 jenkins jenkins 809 May 10 06:10 go.mod [2021-05-10T06:10:33.119Z] -rw-r--r--. 1 jenkins jenkins 23532 May 10 06:09 go.sum [2021-05-10T06:10:33.119Z] drwxrwxr-x. 3 jenkins jenkins 20 May 10 06:08 internal [2021-05-10T06:10:33.119Z] -rw-rw-r--. 1 jenkins jenkins 660 May 10 06:08 Jenkinsfile [2021-05-10T06:10:33.119Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 10 06:08 LICENSE [2021-05-10T06:10:33.119Z] -rw-rw-r--. 1 jenkins jenkins 901 May 10 06:08 Makefile [2021-05-10T06:10:33.119Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 10 06:08 README.md [2021-05-10T06:10:33.119Z] -rw-rw-r--. 1 jenkins jenkins 5 May 10 05:57 VERSION [2021-05-10T06:10:33.119Z] -rw-rw-r--. 1 jenkins jenkins 235 May 10 06:08 version.go [Pipeline] isUnix [2021-05-10T06:10:33.165Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T06:10:33.165Z] OK: 145 MiB in 53 packages [Pipeline] sh [2021-05-10T06:10:33.466Z] + 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=587e11557f4d42b2f6b9051c129c5ea1704ce8aa --label arch=amd64 --label version=0.0.0 . [2021-05-10T06:10:33.728Z] Sending build context to Docker daemon 604.2kB [2021-05-10T06:10:33.728Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T06:10:33.728Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-10T06:10:33.728Z] ---> f382625400f0 [2021-05-10T06:10:33.728Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T06:10:33.991Z] ---> Running in 61fe7be1e53b [2021-05-10T06:10:34.255Z] Removing intermediate container 61fe7be1e53b [2021-05-10T06:10:34.255Z] ---> a37eacdb5dce [2021-05-10T06:10:34.255Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T06:10:34.255Z] ---> Running in e03e6309161e [2021-05-10T06:10:34.519Z] Removing intermediate container e03e6309161e [2021-05-10T06:10:34.519Z] ---> 3e8011180740 [2021-05-10T06:10:34.519Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-10T06:10:34.519Z] ---> Running in 63192e88c1b6 [2021-05-10T06:10:34.604Z] Removing intermediate container e316571cd96d [2021-05-10T06:10:34.604Z] ---> c727a6c2c09e [2021-05-10T06:10:34.604Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-10T06:10:34.787Z] Removing intermediate container 63192e88c1b6 [2021-05-10T06:10:34.787Z] ---> 7f8b76955fe8 [2021-05-10T06:10:34.787Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:10:34.787Z] ---> Running in 2eabe8bf2d03 [2021-05-10T06:10:34.877Z] ---> Running in c66f5d655562 [2021-05-10T06:10:35.472Z] Removing intermediate container c66f5d655562 [2021-05-10T06:10:35.472Z] ---> 6f353f4f4e67 [2021-05-10T06:10:35.472Z] Step 7/8 : COPY . . [2021-05-10T06:10:35.741Z] Removing intermediate container 2eabe8bf2d03 [2021-05-10T06:10:35.741Z] ---> bc428bb29853 [2021-05-10T06:10:35.741Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T06:10:35.741Z] ---> Running in 9519158fd8ca [2021-05-10T06:10:36.457Z] ---> dcc3ad0d87fc [2021-05-10T06:10:36.457Z] Step 8/8 : RUN go mod download [2021-05-10T06:10:36.692Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T06:10:36.732Z] ---> Running in e29943e5667f [2021-05-10T06:10:38.088Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T06:10:39.036Z] OK: 156 MiB in 53 packages [2021-05-10T06:10:39.613Z] Removing intermediate container 9519158fd8ca [2021-05-10T06:10:39.613Z] ---> 9ff1966b4fdf [2021-05-10T06:10:39.613Z] Step 8/25 : COPY . . [2021-05-10T06:10:40.188Z] ---> 8aa08d14f118 [2021-05-10T06:10:40.188Z] Step 9/25 : RUN go mod download [2021-05-10T06:10:40.454Z] ---> Running in d10e7cce03e5 [2021-05-10T06:10:41.409Z] Removing intermediate container d10e7cce03e5 [2021-05-10T06:10:41.409Z] ---> a34546f87f40 [2021-05-10T06:10:41.409Z] Step 10/25 : ARG MAKE='make build' [2021-05-10T06:10:41.409Z] ---> Running in b29ae023ed83 [2021-05-10T06:10:41.677Z] Removing intermediate container b29ae023ed83 [2021-05-10T06:10:41.677Z] ---> f7d599328757 [2021-05-10T06:10:41.677Z] Step 11/25 : RUN $MAKE [2021-05-10T06:10:41.677Z] ---> Running in a09b6b08d0c3 [2021-05-10T06:10:42.263Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-10T06:11:00.580Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-10T06:11:03.904Z] Removing intermediate container a09b6b08d0c3 [2021-05-10T06:11:03.904Z] ---> aea01c9a97c7 [2021-05-10T06:11:03.904Z] Step 12/25 : FROM alpine:3.12 [2021-05-10T06:11:03.904Z] 3.12: Pulling from library/alpine [2021-05-10T06:11:04.171Z] 339de151aab4: Pulling fs layer [2021-05-10T06:11:04.171Z] 339de151aab4: Verifying Checksum [2021-05-10T06:11:04.171Z] 339de151aab4: Download complete [2021-05-10T06:11:04.434Z] 339de151aab4: Pull complete [2021-05-10T06:11:04.434Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T06:11:04.434Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T06:11:04.434Z] ---> 13621d1b12d4 [2021-05-10T06:11:04.434Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-10T06:11:04.698Z] ---> Running in 25aa54bff3c9 [2021-05-10T06:11:04.960Z] Removing intermediate container 25aa54bff3c9 [2021-05-10T06:11:04.960Z] ---> a2a3bb906349 [2021-05-10T06:11:04.960Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:11:04.960Z] ---> Running in 6a1401c7983a [2021-05-10T06:11:05.914Z] Removing intermediate container 6a1401c7983a [2021-05-10T06:11:05.914Z] ---> c034bea8ad1d [2021-05-10T06:11:05.914Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T06:11:05.914Z] ---> Running in 2b268a2266bc [2021-05-10T06:11:06.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-10T06:11:07.883Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-10T06:11:08.458Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T06:11:08.721Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T06:11:08.721Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T06:11:08.988Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T06:11:09.094Z] Removing intermediate container e29943e5667f [2021-05-10T06:11:09.094Z] ---> 3ebb38b50c50 [2021-05-10T06:11:09.094Z] Successfully built 3ebb38b50c50 [2021-05-10T06:11:09.094Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:11:09.475Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T06:11:09.475Z] . [Pipeline] withDockerContainer [2021-05-10T06:11:10.020Z] prd-ubuntu18.04-docker-arm64-4c-16g-3998 does not seem to be running inside a container [2021-05-10T06:11:10.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 ******** ci-base-image-arm64 cat [2021-05-10T06:11:10.381Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T06:11:10.643Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T06:11:10.643Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T06:11:10.643Z] OK: 8 MiB in 20 packages [2021-05-10T06:11:11.222Z] Removing intermediate container 2b268a2266bc [2021-05-10T06:11:11.222Z] ---> be2209a60f8b [2021-05-10T06:11:11.222Z] Step 16/25 : WORKDIR / [2021-05-10T06:11:11.486Z] ---> Running in 801005a0a706 [2021-05-10T06:11:11.486Z] Removing intermediate container 801005a0a706 [2021-05-10T06:11:11.486Z] ---> 3c93e1acff41 [2021-05-10T06:11:11.486Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-10T06:11:11.748Z] ---> b9838277cf46 [2021-05-10T06:11:11.748Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-10T06:11:11.944Z] $ docker top 7204d9887e144f03dd7424f74d37e9be37975d114b9681555d7d2e383b399d05 -eo pid,comm [2021-05-10T06:11:12.012Z] ---> 66321a6a36f7 [2021-05-10T06:11:12.012Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [Pipeline] { [Pipeline] sh [2021-05-10T06:11:12.959Z] ---> 06abe4fe83f9 [2021-05-10T06:11:12.959Z] Step 20/25 : EXPOSE 49990 [2021-05-10T06:11:12.959Z] ---> Running in e03e58f4e462 [2021-05-10T06:11:13.175Z] + go version [2021-05-10T06:11:13.176Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T06:11:13.223Z] $ docker stop --time=1 7204d9887e144f03dd7424f74d37e9be37975d114b9681555d7d2e383b399d05 [2021-05-10T06:11:13.534Z] Removing intermediate container e03e58f4e462 [2021-05-10T06:11:13.534Z] ---> 85183d27eb32 [2021-05-10T06:11:13.534Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-10T06:11:13.534Z] ---> Running in 8d67e95bdab4 [2021-05-10T06:11:13.796Z] Removing intermediate container 8d67e95bdab4 [2021-05-10T06:11:13.796Z] ---> df5702d4f6e7 [2021-05-10T06:11:13.796Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T06:11:14.058Z] ---> Running in 5021b109ad4e [2021-05-10T06:11:14.058Z] Removing intermediate container 5021b109ad4e [2021-05-10T06:11:14.058Z] ---> 8c1672a56904 [2021-05-10T06:11:14.058Z] Step 23/25 : LABEL arch=amd64 [2021-05-10T06:11:14.321Z] ---> Running in 7994e7c3aa40 [2021-05-10T06:11:14.321Z] Removing intermediate container 7994e7c3aa40 [2021-05-10T06:11:14.321Z] ---> 2751e0af7157 [2021-05-10T06:11:14.321Z] Step 24/25 : LABEL git_sha=587e11557f4d42b2f6b9051c129c5ea1704ce8aa [2021-05-10T06:11:14.321Z] ---> Running in 09317c02e8c0 [2021-05-10T06:11:14.584Z] Removing intermediate container 09317c02e8c0 [2021-05-10T06:11:14.584Z] ---> 49452f09bf2c [2021-05-10T06:11:14.584Z] Step 25/25 : LABEL version=0.0.0 [2021-05-10T06:11:14.584Z] ---> Running in c668318d6293 [2021-05-10T06:11:14.846Z] Removing intermediate container c668318d6293 [2021-05-10T06:11:14.846Z] ---> 3af4b4d9c1b4 [2021-05-10T06:11:14.846Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T06:11:14.846Z] Successfully built 3af4b4d9c1b4 [2021-05-10T06:11:14.846Z] Successfully tagged docker-device-virtual-go:latest [2021-05-10T06:11:15.146Z] $ docker rm -f 7204d9887e144f03dd7424f74d37e9be37975d114b9681555d7d2e383b399d05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [2021-05-10T06:11:16.204Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T06:11:16.204Z] . [Pipeline] libraryResource [Pipeline] sh [Pipeline] withDockerContainer [2021-05-10T06:11:16.574Z] ---> job-cost.sh [2021-05-10T06:11:16.574Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gdvB [2021-05-10T06:11:16.648Z] prd-ubuntu18.04-docker-arm64-4c-16g-3998 does not seem to be running inside a container [2021-05-10T06:11:16.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T06:11:18.271Z] $ docker top c0f574ecdd944c215dad67093c97ba2c1382b96a0cfd0e4b4fc2a2dd16459f78 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:11:19.267Z] + go mod tidy [Pipeline] sh [2021-05-10T06:11:20.949Z] + make test [2021-05-10T06:11:20.949Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T06:11:22.401Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-10T06:11:31.513Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T06:11:58.149Z] lf-activate-venv(): INFO: Adding /tmp/venv-gdvB/bin to PATH [2021-05-10T06:11:58.150Z] INFO: No Stack... [2021-05-10T06:11:58.412Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T06:11:59.357Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T06:11:59.698Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-10T06:11:59.698Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T06:11:59.843Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-201-1-stack-cost] [2021-05-10T06:11:59.850Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-201-1-stack-cost] did not exist. Created. [2021-05-10T06:11:59.851Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T06:12:00.353Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T06:12:00.506Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T06:12:00.531Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-201-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T06:12:44.354Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-10T06:12:44.354Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.689s coverage: 63.8% of statements [2021-05-10T06:12:44.354Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T06:13:06.977Z] gofmt -l . [2021-05-10T06:13:06.977Z] [ "`gofmt -l .`" = "" ] [2021-05-10T06:13:06.977Z] ./bin/test-attribution-txt.sh [2021-05-10T06:13:08.955Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T06:13:09.280Z] $ docker stop --time=1 c0f574ecdd944c215dad67093c97ba2c1382b96a0cfd0e4b4fc2a2dd16459f78 [2021-05-10T06:13:11.513Z] $ docker rm -f c0f574ecdd944c215dad67093c97ba2c1382b96a0cfd0e4b4fc2a2dd16459f78 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T06:13:12.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T06:13:12.527Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T06:13:13.116Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:13:13.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T06:13:14.138Z] + ls -al . [2021-05-10T06:13:14.138Z] total 156 [2021-05-10T06:13:14.138Z] drwxrwxr-x 7 jenkins jenkins 4096 May 10 06:13 . [2021-05-10T06:13:14.138Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:09 .. [2021-05-10T06:13:14.138Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:09 .git [2021-05-10T06:13:14.138Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:09 .github [2021-05-10T06:13:14.138Z] -rw-rw-r-- 1 jenkins jenkins 277 May 10 06:09 .gitignore [2021-05-10T06:13:14.138Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 10 06:09 Attribution.txt [2021-05-10T06:13:14.138Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 10 06:09 Dockerfile [2021-05-10T06:13:14.138Z] -rw-rw-r-- 1 jenkins jenkins 998 May 10 06:09 Dockerfile.build [2021-05-10T06:13:14.138Z] -rw-rw-r-- 1 jenkins jenkins 660 May 10 06:09 Jenkinsfile [2021-05-10T06:13:14.138Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:09 LICENSE [2021-05-10T06:13:14.138Z] -rw-rw-r-- 1 jenkins jenkins 901 May 10 06:09 Makefile [2021-05-10T06:13:14.138Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 10 06:09 README.md [2021-05-10T06:13:14.139Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 05:57 VERSION [2021-05-10T06:13:14.139Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:09 bin [2021-05-10T06:13:14.139Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:09 cmd [2021-05-10T06:13:14.139Z] -rw-r--r-- 1 jenkins jenkins 47247 May 10 06:12 coverage.out [2021-05-10T06:13:14.139Z] -rw-r--r-- 1 jenkins jenkins 809 May 10 06:13 go.mod [2021-05-10T06:13:14.139Z] -rw-r--r-- 1 jenkins jenkins 23532 May 10 06:11 go.sum [2021-05-10T06:13:14.139Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:09 internal [2021-05-10T06:13:14.139Z] -rw-rw-r-- 1 jenkins jenkins 235 May 10 06:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:13:14.547Z] + 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=587e11557f4d42b2f6b9051c129c5ea1704ce8aa --label arch=arm64 --label version=0.0.0 . [2021-05-10T06:13:14.822Z] Sending build context to Docker daemon 603.1kB [2021-05-10T06:13:14.822Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T06:13:14.822Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-10T06:13:14.822Z] ---> 3ebb38b50c50 [2021-05-10T06:13:14.822Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T06:13:15.424Z] ---> Running in 9554ea712eb7 [2021-05-10T06:13:15.701Z] Removing intermediate container 9554ea712eb7 [2021-05-10T06:13:15.701Z] ---> 3d373d3e3adf [2021-05-10T06:13:15.701Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T06:13:15.701Z] ---> Running in e453702dbd2a [2021-05-10T06:13:16.301Z] Removing intermediate container e453702dbd2a [2021-05-10T06:13:16.301Z] ---> 73663ae38106 [2021-05-10T06:13:16.301Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-10T06:13:16.301Z] ---> Running in f07ae35b1a11 [2021-05-10T06:13:16.896Z] Removing intermediate container f07ae35b1a11 [2021-05-10T06:13:16.896Z] ---> c9f1f3660eaf [2021-05-10T06:13:16.896Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:13:17.174Z] ---> Running in 8b2ecb7980c5 [2021-05-10T06:13:19.168Z] Removing intermediate container 8b2ecb7980c5 [2021-05-10T06:13:19.168Z] ---> f8e0d61852a7 [2021-05-10T06:13:19.168Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T06:13:19.168Z] ---> Running in cd710bd49235 [2021-05-10T06:13:20.602Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T06:13:22.034Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T06:13:23.470Z] OK: 145 MiB in 53 packages [2021-05-10T06:13:24.446Z] Removing intermediate container cd710bd49235 [2021-05-10T06:13:24.446Z] ---> 59e891aed155 [2021-05-10T06:13:24.446Z] Step 8/25 : COPY . . [2021-05-10T06:13:25.453Z] ---> e036bdbdb73f [2021-05-10T06:13:25.453Z] Step 9/25 : RUN go mod download [2021-05-10T06:13:25.453Z] ---> Running in 508d473d1938 [2021-05-10T06:13:28.072Z] Removing intermediate container 508d473d1938 [2021-05-10T06:13:28.072Z] ---> 224ee7254851 [2021-05-10T06:13:28.072Z] Step 10/25 : ARG MAKE='make build' [2021-05-10T06:13:28.072Z] ---> Running in c8b3e052e447 [2021-05-10T06:13:28.673Z] Removing intermediate container c8b3e052e447 [2021-05-10T06:13:28.674Z] ---> 24a8111c1e18 [2021-05-10T06:13:28.674Z] Step 11/25 : RUN $MAKE [2021-05-10T06:13:28.674Z] ---> Running in 01937d984aca [2021-05-10T06:13:30.106Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-10T06:14:26.689Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-10T06:14:29.296Z] Removing intermediate container 01937d984aca [2021-05-10T06:14:29.296Z] ---> 45657af64497 [2021-05-10T06:14:29.296Z] Step 12/25 : FROM alpine:3.12 [2021-05-10T06:14:29.296Z] 3.12: Pulling from library/alpine [2021-05-10T06:14:29.566Z] d2f70382dc9a: Pulling fs layer [2021-05-10T06:14:29.837Z] d2f70382dc9a: Verifying Checksum [2021-05-10T06:14:29.837Z] d2f70382dc9a: Download complete [2021-05-10T06:14:30.438Z] d2f70382dc9a: Pull complete [2021-05-10T06:14:30.438Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T06:14:30.438Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T06:14:30.438Z] ---> 9852663dfa18 [2021-05-10T06:14:30.439Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-10T06:14:30.711Z] ---> Running in 9da0dac14fb9 [2021-05-10T06:14:30.984Z] Removing intermediate container 9da0dac14fb9 [2021-05-10T06:14:30.984Z] ---> 28dec09e174b [2021-05-10T06:14:30.984Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:14:31.255Z] ---> Running in cadd24df105a [2021-05-10T06:14:33.227Z] Removing intermediate container cadd24df105a [2021-05-10T06:14:33.227Z] ---> bbd3064a4bbc [2021-05-10T06:14:33.227Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T06:14:33.501Z] ---> Running in 5eff12ac48db [2021-05-10T06:14:34.948Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-10T06:14:36.380Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-10T06:14:37.351Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T06:14:37.351Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T06:14:37.623Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T06:14:37.896Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T06:14:38.491Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T06:14:38.491Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T06:14:38.761Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T06:14:38.761Z] OK: 8 MiB in 20 packages [2021-05-10T06:14:40.200Z] Removing intermediate container 5eff12ac48db [2021-05-10T06:14:40.200Z] ---> 2549efd26329 [2021-05-10T06:14:40.200Z] Step 16/25 : WORKDIR / [2021-05-10T06:14:40.200Z] ---> Running in e5f2e635c2e4 [2021-05-10T06:14:40.794Z] Removing intermediate container e5f2e635c2e4 [2021-05-10T06:14:40.794Z] ---> 319fd8596293 [2021-05-10T06:14:40.794Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-10T06:14:41.391Z] ---> 0f7572655116 [2021-05-10T06:14:41.391Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-10T06:14:41.993Z] ---> 74e39dafa0cf [2021-05-10T06:14:41.993Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-10T06:14:43.423Z] ---> 9791e2a510ce [2021-05-10T06:14:43.423Z] Step 20/25 : EXPOSE 49990 [2021-05-10T06:14:43.423Z] ---> Running in e3aae31a911b [2021-05-10T06:14:44.022Z] Removing intermediate container e3aae31a911b [2021-05-10T06:14:44.022Z] ---> 2edb1891f51e [2021-05-10T06:14:44.022Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-10T06:14:44.022Z] ---> Running in 4123223ef998 [2021-05-10T06:14:44.618Z] Removing intermediate container 4123223ef998 [2021-05-10T06:14:44.618Z] ---> 65a0e2e8ab36 [2021-05-10T06:14:44.618Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T06:14:44.618Z] ---> Running in 4e4ddd14a6ac [2021-05-10T06:14:45.215Z] Removing intermediate container 4e4ddd14a6ac [2021-05-10T06:14:45.215Z] ---> b393caaa374f [2021-05-10T06:14:45.215Z] Step 23/25 : LABEL arch=arm64 [2021-05-10T06:14:45.215Z] ---> Running in ecb3f521b44b [2021-05-10T06:14:45.815Z] Removing intermediate container ecb3f521b44b [2021-05-10T06:14:45.815Z] ---> bdeeb391d11f [2021-05-10T06:14:45.815Z] Step 24/25 : LABEL git_sha=587e11557f4d42b2f6b9051c129c5ea1704ce8aa [2021-05-10T06:14:45.815Z] ---> Running in b523a402d6fc [2021-05-10T06:14:46.411Z] Removing intermediate container b523a402d6fc [2021-05-10T06:14:46.411Z] ---> 97dd449c038d [2021-05-10T06:14:46.411Z] Step 25/25 : LABEL version=0.0.0 [2021-05-10T06:14:46.411Z] ---> Running in e776385b5f46 [2021-05-10T06:14:47.004Z] Removing intermediate container e776385b5f46 [2021-05-10T06:14:47.004Z] ---> 6c42911bf295 [2021-05-10T06:14:47.004Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T06:14:47.004Z] Successfully built 6c42911bf295 [2021-05-10T06:14:47.004Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:14:47.692Z] ---> job-cost.sh [2021-05-10T06:14:47.692Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-g6Ll [2021-05-10T06:15:26.680Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T06:17:03.504Z] lf-activate-venv(): INFO: Adding /tmp/venv-g6Ll/bin to PATH [2021-05-10T06:17:03.504Z] INFO: No Stack... [2021-05-10T06:17:03.504Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T06:17:03.504Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T06:17:03.873Z] + cut -d, -f6 [2021-05-10T06:17:03.874Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-05-10T06:17:04.023Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-201-1-stack-cost] [2021-05-10T06:17:04.028Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-201-1-stack-cost] did not exist. Created. [2021-05-10T06:17:04.029Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T06:17:04.470Z] /w/workspace/device-virtual-go/1@tmp/durable-88d1de66/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-88d1de66/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T06:17:04.845Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T06:17:04.883Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T06:17:05.047Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T06:17:05.068Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-201-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-10T06:17:05.974Z] provisioning config files... [2021-05-10T06:17:05.990Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-201@tmp/config6670882681666833836tmp [Pipeline] { [Pipeline] sh [2021-05-10T06:17:06.512Z] + set +x [2021-05-10T06:17:06.512Z] + curl -s https://codecov.io/bash [2021-05-10T06:17:06.512Z] + bash -s -- [2021-05-10T06:17:06.779Z] [2021-05-10T06:17:06.779Z] _____ _ [2021-05-10T06:17:06.779Z] / ____| | | [2021-05-10T06:17:06.779Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T06:17:06.779Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T06:17:06.779Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T06:17:06.779Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T06:17:06.779Z] Bash-1.0.2 [2021-05-10T06:17:06.779Z] [2021-05-10T06:17:06.779Z] [2021-05-10T06:17:06.779Z] ==> git version 2.24.3 found [2021-05-10T06:17:06.779Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-10T06:17:06.779Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T06:17:06.779Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T06:17:06.779Z] ==> Jenkins CI detected. [2021-05-10T06:17:06.779Z] project root: . [2021-05-10T06:17:06.779Z] --> token set from env [2021-05-10T06:17:06.779Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T06:17:07.050Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T06:17:07.050Z] ==> Python coveragepy not found [2021-05-10T06:17:07.050Z] ==> Searching for coverage reports in: [2021-05-10T06:17:07.050Z] + . [2021-05-10T06:17:07.050Z] -> Found 1 reports [2021-05-10T06:17:07.050Z] ==> Detecting git/mercurial file structure [2021-05-10T06:17:07.050Z] ==> Reading reports [2021-05-10T06:17:07.051Z] + ./coverage.out bytes=47247 [2021-05-10T06:17:07.051Z] ==> Appending adjustments [2021-05-10T06:17:07.051Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T06:17:07.321Z] + Found adjustments [2021-05-10T06:17:07.321Z] ==> Gzipping contents [2021-05-10T06:17:07.321Z] 8.0K /tmp/codecov.7rTurM.gz [2021-05-10T06:17:07.321Z] ==> Uploading reports [2021-05-10T06:17:07.321Z] url: https://codecov.io [2021-05-10T06:17:07.321Z] query: branch=PR-201&commit=587e11557f4d42b2f6b9051c129c5ea1704ce8aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=201&job=&cmd_args= [2021-05-10T06:17:07.321Z] -> Pinging Codecov [2021-05-10T06:17:07.322Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-201&commit=587e11557f4d42b2f6b9051c129c5ea1704ce8aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=201&job=&cmd_args= [2021-05-10T06:17:07.913Z] -> Uploading to [2021-05-10T06:17:07.913Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/5E52B4B073DB2E39498172D8E973AA87/587e11557f4d42b2f6b9051c129c5ea1704ce8aa/65ef2a77-9726-4831-b865-d3f447240be2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T061707Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fdf8d5798d2c99de1022d50f5c20cdfa59d0144af08a16fa966d96beef9710a5 [2021-05-10T06:17:07.913Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T06:17:07.913Z] Dload Upload Total Spent Left Speed [2021-05-10T06:17:08.499Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5787 0 0 100 5787 0 11479 --:--:-- --:--:-- --:--:-- 11482 100 5787 0 0 100 5787 0 11472 --:--:-- --:--:-- --:--:-- 11459 [2021-05-10T06:17:08.499Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/587e11557f4d42b2f6b9051c129c5ea1704ce8aa [Pipeline] } [2021-05-10T06:17:08.524Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:10.318Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:11.016Z] ---> package-listing.sh [2021-05-10T06:17:11.016Z] ++ facter osfamily [2021-05-10T06:17:11.016Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T06:17:11.016Z] + OS_FAMILY=redhat [2021-05-10T06:17:11.016Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-201 [2021-05-10T06:17:11.016Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T06:17:11.016Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T06:17:11.016Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T06:17:11.016Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T06:17:11.016Z] + '[' /w/workspace/foundry_device-virtual-go_PR-201 ']' [2021-05-10T06:17:11.016Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T06:17:11.016Z] + case "${OS_FAMILY}" in [2021-05-10T06:17:11.016Z] + sort [2021-05-10T06:17:11.016Z] + rpm -qa [2021-05-10T06:17:17.857Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T06:17:17.857Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T06:17:17.857Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T06:17:17.857Z] + '[' /w/workspace/foundry_device-virtual-go_PR-201 ']' [2021-05-10T06:17:17.857Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-201/archives/ [2021-05-10T06:17:17.857Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-201/archives/ [Pipeline] echo [2021-05-10T06:17:17.907Z] 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-201/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T06:17:18.276Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:17:19.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:17:19.297Z] [2021-05-10T06:17:19.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:17:19.717Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:17:19.717Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T06:17:19.717Z] df20fa9351a1: Pulling fs layer [2021-05-10T06:17:19.717Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T06:17:19.717Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T06:17:19.717Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T06:17:19.717Z] 93b61091891f: Pulling fs layer [2021-05-10T06:17:19.717Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T06:17:19.717Z] 5e14af77c1be: Pulling fs layer [2021-05-10T06:17:19.717Z] 01666e4c0597: Pulling fs layer [2021-05-10T06:17:19.717Z] aa168da1d23b: Pulling fs layer [2021-05-10T06:17:19.717Z] 93b9cdb0e59b: Waiting [2021-05-10T06:17:19.717Z] 5e14af77c1be: Waiting [2021-05-10T06:17:19.717Z] 01666e4c0597: Waiting [2021-05-10T06:17:19.717Z] 46f8f816bc3b: Waiting [2021-05-10T06:17:19.717Z] 93b61091891f: Waiting [2021-05-10T06:17:19.717Z] aa168da1d23b: Waiting [2021-05-10T06:17:20.003Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T06:17:20.003Z] 36b3adc4ff6f: Download complete [2021-05-10T06:17:20.003Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T06:17:20.003Z] 46f8f816bc3b: Download complete [2021-05-10T06:17:20.003Z] 93b61091891f: Verifying Checksum [2021-05-10T06:17:20.003Z] 93b61091891f: Download complete [2021-05-10T06:17:20.288Z] df20fa9351a1: Verifying Checksum [2021-05-10T06:17:20.288Z] df20fa9351a1: Download complete [2021-05-10T06:17:20.288Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T06:17:20.288Z] 93b9cdb0e59b: Download complete [2021-05-10T06:17:20.288Z] 5e14af77c1be: Download complete [2021-05-10T06:17:20.288Z] 01666e4c0597: Verifying Checksum [2021-05-10T06:17:20.288Z] 01666e4c0597: Download complete [2021-05-10T06:17:20.895Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T06:17:20.895Z] 8ad3a11d3b57: Download complete [2021-05-10T06:17:20.895Z] df20fa9351a1: Pull complete [2021-05-10T06:17:21.515Z] 36b3adc4ff6f: Pull complete [2021-05-10T06:17:23.171Z] 8ad3a11d3b57: Pull complete [2021-05-10T06:17:23.171Z] 46f8f816bc3b: Pull complete [2021-05-10T06:17:24.201Z] 93b61091891f: Pull complete [2021-05-10T06:17:24.480Z] 93b9cdb0e59b: Pull complete [2021-05-10T06:17:24.480Z] 5e14af77c1be: Pull complete [2021-05-10T06:17:24.749Z] 01666e4c0597: Pull complete [2021-05-10T06:17:25.737Z] aa168da1d23b: Verifying Checksum [2021-05-10T06:17:25.737Z] aa168da1d23b: Download complete [2021-05-10T06:17:38.247Z] aa168da1d23b: Pull complete [2021-05-10T06:17:38.247Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T06:17:38.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:17:38.247Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T06:17:38.735Z] prd-centos7-docker-4c-2g-3970 does not seem to be running inside a container [2021-05-10T06:17:38.910Z] $ 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-201/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-201 -v /w/workspace/foundry_device-virtual-go_PR-201:/w/workspace/foundry_device-virtual-go_PR-201:rw,z -v /w/workspace/foundry_device-virtual-go_PR-201@tmp:/w/workspace/foundry_device-virtual-go_PR-201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T06:17:43.223Z] $ docker top 45d2615befaeecc88a72a356d59a544e8baa05905bd679f69613e1c55906c862 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:17:43.988Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T06:17:44.381Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T06:17:44.735Z] + ls /var/log/sa-host [2021-05-10T06:17:44.735Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T06:17:45.012Z] file_magic: OK [2021-05-10T06:17:45.012Z] HZ: Using current value: 100 [2021-05-10T06:17:45.012Z] file_header: OK [2021-05-10T06:17:45.012Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-10T06:17:45.012Z] Statistics: [2021-05-10T06:17:45.012Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T06:17:45.012Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T06:17:45.012Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T06:17:45.012Z] file_magic: OK [2021-05-10T06:17:45.012Z] HZ: Using current value: 100 [2021-05-10T06:17:45.012Z] file_header: OK [2021-05-10T06:17:45.012Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-10T06:17:45.012Z] Statistics: [2021-05-10T06:17:45.012Z] Hnuu...uuuununununu... [2021-05-10T06:17:45.012Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T06:17:45.360Z] provisioning config files... [2021-05-10T06:17:45.380Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-201@tmp/config7869603906032032278tmp [Pipeline] { [Pipeline] echo [2021-05-10T06:17:45.448Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:45.832Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T06:17:45.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T06:17:45.955Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:46.313Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T06:17:46.350Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:46.731Z] ---> sudo-logs.sh [2021-05-10T06:17:46.731Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T06:17:46.833Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:47.258Z] ---> job-cost.sh [2021-05-10T06:17:47.534Z] lf-activate-venv: SKIPPING [2021-05-10T06:17:47.534Z] DEBUG: total: 0.20999999344348907 [2021-05-10T06:17:47.534Z] INFO: Retrieving Stack Cost... [2021-05-10T06:17:48.112Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T06:17:48.689Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T06:17:48.732Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:49.081Z] ---> logs-deploy.sh [2021-05-10T06:17:49.081Z] lf-activate-venv: SKIPPING [2021-05-10T06:17:49.081Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-201/1 [2021-05-10T06:17:49.081Z] INFO: archiving workspace using pattern(s): [2021-05-10T06:17:51.009Z] Archives upload complete. [2021-05-10T06:17:51.009Z] INFO: archiving logs to Nexus