Pull request #196 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Loading trusted files from base branch master at f22f876e599b70c9e0b9005e06686315ad76e5c7 rather than b40166cd49d7c3655c31719d5d3e26684ada0af7 Obtained Jenkinsfile from f22f876e599b70c9e0b9005e06686315ad76e5c7 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-196/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-196/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3200 in /w/workspace/foundry_device-virtual-go_PR-196 [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-196 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f22f876e599b70c9e0b9005e06686315ad76e5c7 into PR head commit b40166cd49d7c3655c31719d5d3e26684ada0af7 Merge succeeded, producing b40166cd49d7c3655c31719d5d3e26684ada0af7 Checking out Revision b40166cd49d7c3655c31719d5d3e26684ada0af7 (PR-196) > 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/196/head:refs/remotes/origin/PR-196 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b40166cd49d7c3655c31719d5d3e26684ada0af7 # 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 f22f876e599b70c9e0b9005e06686315ad76e5c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b40166cd49d7c3655c31719d5d3e26684ada0af7 # timeout=10 Commit message: "build: bump sdk version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T10:32:03.122Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T10:32:03.317Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T10:32:03.412Z] ========================================================= [2021-05-06T10:32:03.412Z] EdgeX Global Pipelines Version Info [2021-05-06T10:32:03.412Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:32:05.022Z] ------------------- [2021-05-06T10:32:05.022Z] stable info: [2021-05-06T10:32:05.022Z] ------------------- [2021-05-06T10:32:05.022Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T10:32:05.022Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T10:32:05.022Z] Message: update stable to v1.0.191 [2021-05-06T10:32:05.974Z] ------------------- [2021-05-06T10:32:05.974Z] experimental info: [2021-05-06T10:32:05.974Z] ------------------- [2021-05-06T10:32:05.974Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T10:32:05.974Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T10:32:05.974Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T10:32:06.228Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-06T10:32:06.282Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-06T10:32:06.349Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T10:32:06.403Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T10:32:06.472Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T10:32:06.520Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T10:32:06.571Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T10:32:06.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T10:32:06.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-06T10:32:06.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T10:32:06.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T10:32:06.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-05-06T10:32:06.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T10:32:06.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T10:32:06.990Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T10:32:07.039Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T10:32:07.091Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T10:32:07.144Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T10:32:07.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T10:32:07.245Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T10:32:07.294Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-06T10:32:07.348Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-06T10:32:07.400Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T10:32:07.454Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T10:32:07.508Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-06T10:32:07.561Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T10:32:07.614Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-196 [Pipeline] echo [2021-05-06T10:32:07.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-196 [Pipeline] echo [2021-05-06T10:32:07.723Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-196 [Pipeline] echo [2021-05-06T10:32:07.776Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b40166cd49d7c3655c31719d5d3e26684ada0af7 [Pipeline] echo [2021-05-06T10:32:07.828Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b40166c [Pipeline] echo [2021-05-06T10:32:07.878Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T10:32:08.019Z] provisioning config files... [2021-05-06T10:32:08.070Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-196@tmp/config7756869108481107728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:32:08.433Z] ---> docker-login.sh [2021-05-06T10:32:08.433Z] nexus3.edgexfoundry.org:10001 [2021-05-06T10:32:08.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:32:08.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:32:08.960Z] Configure a credential helper to remove this warning. See [2021-05-06T10:32:08.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:32:08.960Z] [2021-05-06T10:32:08.960Z] Login Succeeded [2021-05-06T10:32:08.960Z] nexus3.edgexfoundry.org:10002 [2021-05-06T10:32:09.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:32:09.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:32:09.222Z] Configure a credential helper to remove this warning. See [2021-05-06T10:32:09.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:32:09.222Z] [2021-05-06T10:32:09.222Z] Login Succeeded [2021-05-06T10:32:09.222Z] nexus3.edgexfoundry.org:10003 [2021-05-06T10:32:09.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:32:09.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:32:09.484Z] Configure a credential helper to remove this warning. See [2021-05-06T10:32:09.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:32:09.484Z] [2021-05-06T10:32:09.484Z] Login Succeeded [2021-05-06T10:32:09.484Z] nexus3.edgexfoundry.org:10004 [2021-05-06T10:32:09.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:32:09.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:32:09.484Z] Configure a credential helper to remove this warning. See [2021-05-06T10:32:09.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:32:09.484Z] [2021-05-06T10:32:09.484Z] Login Succeeded [2021-05-06T10:32:09.484Z] docker.io [2021-05-06T10:32:09.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:32:10.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:32:10.008Z] Configure a credential helper to remove this warning. See [2021-05-06T10:32:10.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:32:10.008Z] [2021-05-06T10:32:10.008Z] Login Succeeded [2021-05-06T10:32:10.008Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T10:32:10.030Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T10:32:10.771Z] + git log --format=format:%s -1 b40166cd49d7c3655c31719d5d3e26684ada0af7 [Pipeline] echo [2021-05-06T10:32:10.861Z] GIT_COMMIT: b40166cd49d7c3655c31719d5d3e26684ada0af7, Commit Message: build: bump sdk version [Pipeline] echo [2021-05-06T10:32:10.898Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:32:11.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T10:32:11.948Z] [2021-05-06T10:32:11.948Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:32:12.312Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T10:32:12.312Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T10:32:12.312Z] 31603596830f: Pulling fs layer [2021-05-06T10:32:12.312Z] 54011a49482f: Pulling fs layer [2021-05-06T10:32:12.312Z] a6820b24f6d8: Pulling fs layer [2021-05-06T10:32:12.312Z] f581987b2513: Pulling fs layer [2021-05-06T10:32:12.312Z] f581987b2513: Waiting [2021-05-06T10:32:12.312Z] 54011a49482f: Verifying Checksum [2021-05-06T10:32:12.312Z] 54011a49482f: Download complete [2021-05-06T10:32:12.312Z] 31603596830f: Verifying Checksum [2021-05-06T10:32:12.312Z] 31603596830f: Download complete [2021-05-06T10:32:12.582Z] f581987b2513: Verifying Checksum [2021-05-06T10:32:12.582Z] f581987b2513: Download complete [2021-05-06T10:32:12.582Z] a6820b24f6d8: Verifying Checksum [2021-05-06T10:32:12.582Z] a6820b24f6d8: Download complete [2021-05-06T10:32:12.846Z] 31603596830f: Pull complete [2021-05-06T10:32:12.846Z] 54011a49482f: Pull complete [2021-05-06T10:32:13.804Z] a6820b24f6d8: Pull complete [2021-05-06T10:32:14.069Z] f581987b2513: Pull complete [2021-05-06T10:32:14.069Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T10:32:14.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T10:32:14.069Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T10:32:14.196Z] prd-centos7-docker-4c-2g-3200 does not seem to be running inside a container [2021-05-06T10:32:14.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-196 -v /w/workspace/foundry_device-virtual-go_PR-196:/w/workspace/foundry_device-virtual-go_PR-196:rw,z -v /w/workspace/foundry_device-virtual-go_PR-196@tmp:/w/workspace/foundry_device-virtual-go_PR-196@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:10004/edgex-devops/git-semver:latest cat [2021-05-06T10:32:16.281Z] $ docker top 6524eb2654a891b54cf53826107a19372873343b7e27af88a3c696faf9c78eb9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T10:32:16.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T10:32:16.612Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T10:32:16.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T10:32:16.850Z] $ docker exec 6524eb2654a891b54cf53826107a19372873343b7e27af88a3c696faf9c78eb9 ssh-agent [2021-05-06T10:32:17.025Z] SSH_AUTH_SOCK=/tmp/ssh-EyDbR99Ph4e5/agent.12 [2021-05-06T10:32:17.025Z] SSH_AGENT_PID=17 [2021-05-06T10:32:17.037Z] Running ssh-add (command line suppressed) [2021-05-06T10:32:17.156Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-196@tmp/private_key_6375103157068898566.key (/w/workspace/foundry_device-virtual-go_PR-196@tmp/private_key_6375103157068898566.key) [2021-05-06T10:32:17.215Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T10:32:17.570Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T10:32:17.589Z] $ docker exec --env ******** --env ******** 6524eb2654a891b54cf53826107a19372873343b7e27af88a3c696faf9c78eb9 ssh-agent -k [2021-05-06T10:32:17.707Z] unset SSH_AUTH_SOCK; [2021-05-06T10:32:17.707Z] unset SSH_AGENT_PID; [2021-05-06T10:32:17.707Z] echo Agent pid 17 killed; [2021-05-06T10:32:17.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T10:32:17.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T10:32:17.849Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T10:32:18.021Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T10:32:18.019Z] $ docker exec 6524eb2654a891b54cf53826107a19372873343b7e27af88a3c696faf9c78eb9 ssh-agent [2021-05-06T10:32:18.190Z] SSH_AUTH_SOCK=/tmp/ssh-pfzxHKoa4XhY/agent.48 [2021-05-06T10:32:18.190Z] SSH_AGENT_PID=53 [2021-05-06T10:32:18.196Z] Running ssh-add (command line suppressed) [2021-05-06T10:32:18.311Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-196@tmp/private_key_2553610125917427315.key (/w/workspace/foundry_device-virtual-go_PR-196@tmp/private_key_2553610125917427315.key) [2021-05-06T10:32:18.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T10:32:18.711Z] + git semver init [2021-05-06T10:32:18.711Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T10:32:18.711Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-196/.git [2021-05-06T10:32:18.711Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-196 [2021-05-06T10:32:18.711Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T10:32:18.711Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T10:32:18.711Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T10:32:18.711Z] # $SEMVER_BRANCH = PR-196 [2021-05-06T10:32:18.711Z] # $SEMVER_TEMP = /tmp/semver-014206813 [2021-05-06T10:32:18.711Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-06T10:32:19.285Z] # '/tmp/semver-014206813' -> '/w/workspace/foundry_device-virtual-go_PR-196/.semver' [2021-05-06T10:32:19.285Z] # -> Force: false [2021-05-06T10:32:19.285Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-196/.semver [Pipeline] } [2021-05-06T10:32:19.301Z] $ docker exec --env ******** --env ******** 6524eb2654a891b54cf53826107a19372873343b7e27af88a3c696faf9c78eb9 ssh-agent -k [2021-05-06T10:32:19.425Z] unset SSH_AUTH_SOCK; [2021-05-06T10:32:19.426Z] unset SSH_AGENT_PID; [2021-05-06T10:32:19.426Z] echo Agent pid 53 killed; [2021-05-06T10:32:19.479Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T10:32:19.938Z] + git semver [Pipeline] } [2021-05-06T10:32:19.962Z] $ docker stop --time=1 6524eb2654a891b54cf53826107a19372873343b7e27af88a3c696faf9c78eb9 [2021-05-06T10:32:21.841Z] $ docker rm -f 6524eb2654a891b54cf53826107a19372873343b7e27af88a3c696faf9c78eb9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T10:32:22.354Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T10:32:22.737Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T10:32:22.761Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-06T10:32:38.254Z] Still waiting to schedule task [2021-05-06T10:32:38.254Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3200’ [2021-05-06T10:32:38.280Z] Still waiting to schedule task [2021-05-06T10:32:38.280Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline [2021-05-06T10:34:29.303Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3201 in /w/workspace/foundry_device-virtual-go_PR-196 [Pipeline] { [Pipeline] ws [2021-05-06T10:34:29.365Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-06T10:34:35.149Z] using credential edgex-jenkins-ssh [2021-05-06T10:34:35.183Z] Cloning the remote Git repository [2021-05-06T10:34:35.221Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T10:34:35.334Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-06T10:34:35.408Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T10:34:35.409Z] > git --version # timeout=10 [2021-05-06T10:34:35.425Z] > git --version # 'git version 2.17.1' [2021-05-06T10:34:35.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T10:34:35.539Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T10:34:36.346Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-06T10:34:36.367Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T10:34:36.397Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-06T10:34:36.432Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T10:34:36.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T10:34:36.446Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T10:34:37.026Z] Merging remotes/origin/master commit f22f876e599b70c9e0b9005e06686315ad76e5c7 into PR head commit b40166cd49d7c3655c31719d5d3e26684ada0af7 [2021-05-06T10:34:37.226Z] Merge succeeded, producing b40166cd49d7c3655c31719d5d3e26684ada0af7 [2021-05-06T10:34:37.227Z] Checking out Revision b40166cd49d7c3655c31719d5d3e26684ada0af7 (PR-196) [2021-05-06T10:34:37.037Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T10:34:37.054Z] > git checkout -f b40166cd49d7c3655c31719d5d3e26684ada0af7 # timeout=10 [2021-05-06T10:34:37.129Z] > git remote # timeout=10 [2021-05-06T10:34:37.147Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T10:34:37.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T10:34:37.180Z] > git merge f22f876e599b70c9e0b9005e06686315ad76e5c7 # timeout=10 [2021-05-06T10:34:37.202Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T10:34:37.223Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T10:34:37.236Z] > git checkout -f b40166cd49d7c3655c31719d5d3e26684ada0af7 # timeout=10 [2021-05-06T10:34:41.427Z] Commit message: "build: bump sdk version" [2021-05-06T10:34:41.482Z] > git --version # timeout=10 [2021-05-06T10:34:41.497Z] > git --version # 'git version 2.17.1' [2021-05-06T10:34:41.518Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T10:34:43.417Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T10:34:43.839Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T10:34:44.200Z] + + sudo service dockertrue restart [2021-05-06T10:34:44.200Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T10:34:46.964Z] provisioning config files... [2021-05-06T10:34:47.028Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2133624068659961231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:34:47.444Z] ---> docker-login.sh [2021-05-06T10:34:47.444Z] nexus3.edgexfoundry.org:10001 [2021-05-06T10:34:48.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:34:48.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:34:48.703Z] Configure a credential helper to remove this warning. See [2021-05-06T10:34:48.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:34:48.703Z] [2021-05-06T10:34:48.703Z] Login Succeeded [2021-05-06T10:34:48.703Z] nexus3.edgexfoundry.org:10002 [2021-05-06T10:34:49.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:34:49.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:34:49.304Z] Configure a credential helper to remove this warning. See [2021-05-06T10:34:49.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:34:49.304Z] [2021-05-06T10:34:49.304Z] Login Succeeded [2021-05-06T10:34:49.304Z] nexus3.edgexfoundry.org:10003 [2021-05-06T10:34:49.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:34:49.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:34:49.852Z] Configure a credential helper to remove this warning. See [2021-05-06T10:34:49.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:34:49.852Z] [2021-05-06T10:34:49.852Z] Login Succeeded [2021-05-06T10:34:49.852Z] nexus3.edgexfoundry.org:10004 [2021-05-06T10:34:50.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:34:50.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:34:50.125Z] Configure a credential helper to remove this warning. See [2021-05-06T10:34:50.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:34:50.125Z] [2021-05-06T10:34:50.125Z] Login Succeeded [2021-05-06T10:34:50.125Z] docker.io [2021-05-06T10:34:50.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:34:50.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:34:50.988Z] Configure a credential helper to remove this warning. See [2021-05-06T10:34:50.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:34:50.988Z] [2021-05-06T10:34:50.988Z] Login Succeeded [2021-05-06T10:34:50.988Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T10:34:51.019Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T10:34:51.469Z] ========================================================= [2021-05-06T10:34:51.469Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T10:34:51.469Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:34:51.852Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-06T10:34:52.127Z] Sending build context to Docker daemon 535.6kB [2021-05-06T10:34:52.127Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T10:34:52.127Z] Step 2/8 : FROM ${BASE} [2021-05-06T10:34:52.403Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T10:34:52.403Z] 595b0fe564bb: Pulling fs layer [2021-05-06T10:34:52.403Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T10:34:52.403Z] 316046926c0a: Pulling fs layer [2021-05-06T10:34:52.403Z] 4ebd0625c992: Pulling fs layer [2021-05-06T10:34:52.403Z] 207e8628e3a3: Pulling fs layer [2021-05-06T10:34:52.403Z] c791037a9be2: Pulling fs layer [2021-05-06T10:34:52.403Z] ffd874e62e21: Pulling fs layer [2021-05-06T10:34:52.403Z] 4ebd0625c992: Waiting [2021-05-06T10:34:52.403Z] 207e8628e3a3: Waiting [2021-05-06T10:34:52.403Z] ffd874e62e21: Waiting [2021-05-06T10:34:52.403Z] c791037a9be2: Waiting [2021-05-06T10:34:52.403Z] 316046926c0a: Verifying Checksum [2021-05-06T10:34:52.403Z] 7186ed65a4f7: Download complete [2021-05-06T10:34:52.403Z] 207e8628e3a3: Download complete [2021-05-06T10:34:52.403Z] c791037a9be2: Verifying Checksum [2021-05-06T10:34:52.403Z] c791037a9be2: Download complete [2021-05-06T10:34:52.403Z] 595b0fe564bb: Verifying Checksum [2021-05-06T10:34:52.403Z] 595b0fe564bb: Download complete [2021-05-06T10:34:53.013Z] 595b0fe564bb: Pull complete [2021-05-06T10:34:53.622Z] 7186ed65a4f7: Pull complete [2021-05-06T10:34:54.232Z] 316046926c0a: Pull complete [2021-05-06T10:34:54.509Z] ffd874e62e21: Verifying Checksum [2021-05-06T10:34:54.509Z] ffd874e62e21: Download complete [2021-05-06T10:34:55.950Z] 4ebd0625c992: Verifying Checksum [2021-05-06T10:34:55.950Z] 4ebd0625c992: Download complete [2021-05-06T10:35:08.376Z] 4ebd0625c992: Pull complete [2021-05-06T10:35:08.376Z] 207e8628e3a3: Pull complete [2021-05-06T10:35:08.376Z] c791037a9be2: Pull complete [2021-05-06T10:35:11.055Z] ffd874e62e21: Pull complete [2021-05-06T10:35:11.055Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T10:35:11.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T10:35:11.055Z] ---> cfc18b08335c [2021-05-06T10:35:11.055Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-06T10:35:13.671Z] ---> Running in cc208dfc9a69 [2021-05-06T10:35:14.267Z] Removing intermediate container cc208dfc9a69 [2021-05-06T10:35:14.267Z] ---> b674d0858eeb [2021-05-06T10:35:14.267Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T10:35:14.267Z] ---> Running in 51ca34198fa5 [2021-05-06T10:35:16.897Z] Removing intermediate container 51ca34198fa5 [2021-05-06T10:35:16.897Z] ---> b862f5693aee [2021-05-06T10:35:16.897Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T10:35:16.897Z] ---> Running in 6faf05bf6333 [2021-05-06T10:35:17.875Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T10:35:18.469Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T10:35:19.441Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-06T10:35:19.442Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-06T10:35:19.442Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-06T10:35:19.712Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-06T10:35:19.712Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-06T10:35:19.713Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-06T10:35:19.988Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-06T10:35:20.258Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-06T10:35:20.259Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-06T10:35:20.259Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-06T10:35:20.530Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-06T10:35:20.530Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-06T10:35:20.806Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-06T10:35:20.806Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T10:35:20.806Z] OK: 145 MiB in 53 packages [2021-05-06T10:35:22.244Z] Removing intermediate container 6faf05bf6333 [2021-05-06T10:35:22.244Z] ---> 173c2b427d1d [2021-05-06T10:35:22.244Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-06T10:35:22.519Z] ---> Running in 28400f0ba197 [2021-05-06T10:35:22.989Z] Running on prd-centos7-docker-4c-2g-3202 in /w/workspace/foundry_device-virtual-go_PR-196 [Pipeline] { [Pipeline] ws [2021-05-06T10:35:23.072Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [2021-05-06T10:35:23.116Z] Removing intermediate container 28400f0ba197 [2021-05-06T10:35:23.116Z] ---> 60ba9bc61285 [2021-05-06T10:35:23.116Z] Step 7/8 : COPY . . [Pipeline] checkout [2021-05-06T10:35:23.715Z] ---> d8b66e1150fe [2021-05-06T10:35:23.715Z] Step 8/8 : RUN go mod download [2021-05-06T10:35:23.988Z] ---> Running in 76ad322302e9 [2021-05-06T10:35:27.287Z] using credential edgex-jenkins-ssh [2021-05-06T10:35:27.300Z] Cloning the remote Git repository [2021-05-06T10:35:27.336Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T10:35:27.420Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-06T10:35:27.488Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T10:35:27.488Z] > git --version # timeout=10 [2021-05-06T10:35:27.498Z] > git --version # 'git version 2.24.3' [2021-05-06T10:35:27.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T10:35:27.525Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T10:35:28.180Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-06T10:35:28.189Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T10:35:28.755Z] Merging remotes/origin/master commit f22f876e599b70c9e0b9005e06686315ad76e5c7 into PR head commit b40166cd49d7c3655c31719d5d3e26684ada0af7 [2021-05-06T10:35:28.857Z] Merge succeeded, producing b40166cd49d7c3655c31719d5d3e26684ada0af7 [2021-05-06T10:35:28.857Z] Checking out Revision b40166cd49d7c3655c31719d5d3e26684ada0af7 (PR-196) [2021-05-06T10:35:28.204Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-06T10:35:28.224Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T10:35:28.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T10:35:28.230Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T10:35:28.770Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T10:35:28.779Z] > git checkout -f b40166cd49d7c3655c31719d5d3e26684ada0af7 # timeout=10 [2021-05-06T10:35:28.819Z] > git remote # timeout=10 [2021-05-06T10:35:28.825Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T10:35:28.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T10:35:28.837Z] > git merge f22f876e599b70c9e0b9005e06686315ad76e5c7 # timeout=10 [2021-05-06T10:35:28.855Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T10:35:28.866Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T10:35:28.877Z] > git checkout -f b40166cd49d7c3655c31719d5d3e26684ada0af7 # timeout=10 [2021-05-06T10:35:32.668Z] Commit message: "build: bump sdk version" [2021-05-06T10:35:32.710Z] > git --version # timeout=10 [2021-05-06T10:35:32.718Z] > git --version # 'git version 2.24.3' [2021-05-06T10:35:32.724Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T10:35:34.224Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T10:35:34.572Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T10:35:34.906Z] + sudo service docker restart [2021-05-06T10:35:34.906Z] + true [2021-05-06T10:35:34.906Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T10:35:35.943Z] provisioning config files... [2021-05-06T10:35:35.990Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1192717769666519588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:35:36.367Z] ---> docker-login.sh [2021-05-06T10:35:36.367Z] nexus3.edgexfoundry.org:10001 [2021-05-06T10:35:36.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:35:36.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:35:36.909Z] Configure a credential helper to remove this warning. See [2021-05-06T10:35:36.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:35:36.909Z] [2021-05-06T10:35:36.909Z] Login Succeeded [2021-05-06T10:35:36.909Z] nexus3.edgexfoundry.org:10002 [2021-05-06T10:35:36.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:35:37.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:35:37.174Z] Configure a credential helper to remove this warning. See [2021-05-06T10:35:37.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:35:37.174Z] [2021-05-06T10:35:37.174Z] Login Succeeded [2021-05-06T10:35:37.174Z] nexus3.edgexfoundry.org:10003 [2021-05-06T10:35:37.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:35:37.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:35:37.174Z] Configure a credential helper to remove this warning. See [2021-05-06T10:35:37.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:35:37.174Z] [2021-05-06T10:35:37.174Z] Login Succeeded [2021-05-06T10:35:37.174Z] nexus3.edgexfoundry.org:10004 [2021-05-06T10:35:37.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:35:37.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:35:37.442Z] Configure a credential helper to remove this warning. See [2021-05-06T10:35:37.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:35:37.442Z] [2021-05-06T10:35:37.442Z] Login Succeeded [2021-05-06T10:35:37.442Z] docker.io [2021-05-06T10:35:37.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T10:35:37.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T10:35:37.706Z] Configure a credential helper to remove this warning. See [2021-05-06T10:35:37.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T10:35:37.706Z] [2021-05-06T10:35:37.706Z] Login Succeeded [2021-05-06T10:35:37.706Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T10:35:37.731Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T10:35:38.036Z] ========================================================= [2021-05-06T10:35:38.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T10:35:38.036Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:35:38.403Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-06T10:35:38.403Z] Sending build context to Docker daemon 536.6kB [2021-05-06T10:35:38.676Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T10:35:38.676Z] Step 2/8 : FROM ${BASE} [2021-05-06T10:35:38.676Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T10:35:38.676Z] 540db60ca938: Pulling fs layer [2021-05-06T10:35:38.676Z] adcc1eea9eea: Pulling fs layer [2021-05-06T10:35:38.676Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T10:35:38.676Z] 0510c868ecb4: Pulling fs layer [2021-05-06T10:35:38.676Z] afea3b2eda06: Pulling fs layer [2021-05-06T10:35:38.676Z] 7809a108b3ef: Pulling fs layer [2021-05-06T10:35:38.676Z] f706445af74f: Pulling fs layer [2021-05-06T10:35:38.676Z] afea3b2eda06: Waiting [2021-05-06T10:35:38.676Z] 7809a108b3ef: Waiting [2021-05-06T10:35:38.676Z] f706445af74f: Waiting [2021-05-06T10:35:38.676Z] 0510c868ecb4: Waiting [2021-05-06T10:35:38.676Z] 4c4ab2625f07: Download complete [2021-05-06T10:35:38.676Z] adcc1eea9eea: Download complete [2021-05-06T10:35:38.676Z] afea3b2eda06: Verifying Checksum [2021-05-06T10:35:38.676Z] afea3b2eda06: Download complete [2021-05-06T10:35:38.676Z] 540db60ca938: Verifying Checksum [2021-05-06T10:35:38.676Z] 540db60ca938: Download complete [2021-05-06T10:35:38.676Z] 7809a108b3ef: Verifying Checksum [2021-05-06T10:35:38.676Z] 7809a108b3ef: Download complete [2021-05-06T10:35:38.940Z] 540db60ca938: Pull complete [2021-05-06T10:35:39.207Z] adcc1eea9eea: Pull complete [2021-05-06T10:35:39.472Z] 4c4ab2625f07: Pull complete [2021-05-06T10:35:40.432Z] f706445af74f: Verifying Checksum [2021-05-06T10:35:40.432Z] f706445af74f: Download complete [2021-05-06T10:35:41.851Z] 0510c868ecb4: Verifying Checksum [2021-05-06T10:35:41.852Z] 0510c868ecb4: Download complete [2021-05-06T10:35:47.204Z] 0510c868ecb4: Pull complete [2021-05-06T10:35:47.204Z] afea3b2eda06: Pull complete [2021-05-06T10:35:47.466Z] 7809a108b3ef: Pull complete [2021-05-06T10:35:52.808Z] f706445af74f: Pull complete [2021-05-06T10:35:52.808Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T10:35:52.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T10:35:52.809Z] ---> b068be0155e3 [2021-05-06T10:35:52.809Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-06T10:35:54.212Z] ---> Running in 42ff20b3fcbe [2021-05-06T10:35:54.482Z] Removing intermediate container 42ff20b3fcbe [2021-05-06T10:35:54.482Z] ---> b00686973880 [2021-05-06T10:35:54.482Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T10:35:54.482Z] ---> Running in bb45dceef09a [2021-05-06T10:35:55.894Z] Removing intermediate container bb45dceef09a [2021-05-06T10:35:55.894Z] ---> 09b931a3ecc6 [2021-05-06T10:35:55.894Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T10:35:55.894Z] ---> Running in a7efe12f1cac [2021-05-06T10:35:56.332Z] Removing intermediate container 76ad322302e9 [2021-05-06T10:35:56.332Z] ---> 68c7f916337c [2021-05-06T10:35:56.332Z] Successfully built 68c7f916337c [2021-05-06T10:35:56.332Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:35:56.471Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T10:35:56.711Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T10:35:56.711Z] . [Pipeline] withDockerContainer [2021-05-06T10:35:57.016Z] prd-ubuntu18.04-docker-arm64-4c-16g-3201 does not seem to be running inside a container [2021-05-06T10:35:57.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-06T10:35:57.422Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T10:35:58.002Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-06T10:35:58.002Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-06T10:35:58.002Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-06T10:35:58.272Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-06T10:35:58.273Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-06T10:35:58.273Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-06T10:35:58.554Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-06T10:35:58.653Z] $ docker top 7ee141420d73b411cda76ba1bcbe165adf9460dc662a3061a9271323bc8126a5 -eo pid,comm [2021-05-06T10:35:58.818Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-06T10:35:58.818Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [Pipeline] { [Pipeline] sh [2021-05-06T10:35:59.083Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-06T10:35:59.083Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-06T10:35:59.083Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-06T10:35:59.351Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-06T10:35:59.351Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T10:35:59.351Z] OK: 156 MiB in 53 packages [2021-05-06T10:35:59.723Z] + go version [2021-05-06T10:35:59.723Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T10:35:59.760Z] $ docker stop --time=1 7ee141420d73b411cda76ba1bcbe165adf9460dc662a3061a9271323bc8126a5 [2021-05-06T10:36:00.306Z] Removing intermediate container a7efe12f1cac [2021-05-06T10:36:00.306Z] ---> b5c364833d8a [2021-05-06T10:36:00.306Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-06T10:36:00.306Z] ---> Running in ebe2fa03c0c8 [2021-05-06T10:36:00.575Z] Removing intermediate container ebe2fa03c0c8 [2021-05-06T10:36:00.575Z] ---> 17df444fba7d [2021-05-06T10:36:00.575Z] Step 7/8 : COPY . . [2021-05-06T10:36:01.156Z] ---> 7a7c8f202e9b [2021-05-06T10:36:01.156Z] Step 8/8 : RUN go mod download [2021-05-06T10:36:01.429Z] ---> Running in 1de9fed585c1 [2021-05-06T10:36:01.705Z] $ docker rm -f 7ee141420d73b411cda76ba1bcbe165adf9460dc662a3061a9271323bc8126a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:36:02.701Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T10:36:02.701Z] . [Pipeline] withDockerContainer [2021-05-06T10:36:02.974Z] prd-ubuntu18.04-docker-arm64-4c-16g-3201 does not seem to be running inside a container [2021-05-06T10:36:03.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-06T10:36:04.575Z] $ docker top bcfdddc4a8dc01e82bda4d673946691ea1f9d1e6a8258df982a505001bad7ba4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T10:36:05.579Z] + go mod tidy [Pipeline] sh [2021-05-06T10:36:06.855Z] + make test [2021-05-06T10:36:06.855Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-06T10:36:08.296Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-06T10:36:28.114Z] Removing intermediate container 1de9fed585c1 [2021-05-06T10:36:28.114Z] ---> 67725b0f7d35 [2021-05-06T10:36:28.114Z] Successfully built 67725b0f7d35 [2021-05-06T10:36:28.114Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:36:28.473Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T10:36:28.473Z] . [Pipeline] withDockerContainer [2021-05-06T10:36:28.648Z] prd-centos7-docker-4c-2g-3202 does not seem to be running inside a container [2021-05-06T10:36:28.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-06T10:36:29.576Z] $ docker top bd881dbb473db90e393c4cef919ee0315e619c34df144be35d66fa1382662842 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T10:36:30.173Z] + go version [2021-05-06T10:36:30.173Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T10:36:30.204Z] $ docker stop --time=1 bd881dbb473db90e393c4cef919ee0315e619c34df144be35d66fa1382662842 [2021-05-06T10:36:32.395Z] $ docker rm -f bd881dbb473db90e393c4cef919ee0315e619c34df144be35d66fa1382662842 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:36:33.182Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T10:36:33.182Z] . [Pipeline] withDockerContainer [2021-05-06T10:36:33.305Z] prd-centos7-docker-4c-2g-3202 does not seem to be running inside a container [2021-05-06T10:36:33.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-06T10:36:34.400Z] $ docker top a2d140f357525a3abef23f6df61b75ee6addf8c7180985e2ff1cfbb64abe3efd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T10:36:34.905Z] + go mod tidy [Pipeline] sh [2021-05-06T10:36:36.252Z] + make test [2021-05-06T10:36:36.252Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-06T10:36:37.770Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-06T10:37:04.940Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-06T10:37:04.940Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.586s coverage: 63.8% of statements [2021-05-06T10:37:04.940Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-06T10:37:16.370Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-06T10:37:16.370Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.725s coverage: 63.8% of statements [2021-05-06T10:37:16.370Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-06T10:37:17.641Z] gofmt -l . [2021-05-06T10:37:17.641Z] [ "`gofmt -l .`" = "" ] [2021-05-06T10:37:17.641Z] ./bin/test-attribution-txt.sh [2021-05-06T10:37:17.641Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T10:37:17.682Z] $ docker stop --time=1 a2d140f357525a3abef23f6df61b75ee6addf8c7180985e2ff1cfbb64abe3efd [2021-05-06T10:37:19.801Z] $ docker rm -f a2d140f357525a3abef23f6df61b75ee6addf8c7180985e2ff1cfbb64abe3efd [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T10:37:20.472Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T10:37:20.970Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-06T10:37:23.616Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T10:37:23.942Z] + ls -al . [2021-05-06T10:37:23.943Z] total 132 [2021-05-06T10:37:23.943Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 6 10:37 . [2021-05-06T10:37:23.943Z] drwxrwxr-x. 4 jenkins jenkins 28 May 6 10:35 .. [2021-05-06T10:37:23.943Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 6 10:35 Attribution.txt [2021-05-06T10:37:23.943Z] drwxrwxr-x. 2 jenkins jenkins 64 May 6 10:35 bin [2021-05-06T10:37:23.943Z] drwxrwxr-x. 3 jenkins jenkins 32 May 6 10:35 cmd [2021-05-06T10:37:23.943Z] -rw-r--r--. 1 jenkins jenkins 47247 May 6 10:37 coverage.out [2021-05-06T10:37:23.943Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 6 10:35 Dockerfile [2021-05-06T10:37:23.943Z] -rw-rw-r--. 1 jenkins jenkins 998 May 6 10:35 Dockerfile.build [2021-05-06T10:37:23.943Z] drwxrwxr-x. 8 jenkins jenkins 179 May 6 10:35 .git [2021-05-06T10:37:23.943Z] drwxrwxr-x. 2 jenkins jenkins 103 May 6 10:35 .github [2021-05-06T10:37:23.943Z] -rw-rw-r--. 1 jenkins jenkins 277 May 6 10:35 .gitignore [2021-05-06T10:37:23.943Z] -rw-r--r--. 1 jenkins jenkins 809 May 6 10:37 go.mod [2021-05-06T10:37:23.943Z] -rw-r--r--. 1 jenkins jenkins 23585 May 6 10:36 go.sum [2021-05-06T10:37:23.943Z] drwxrwxr-x. 3 jenkins jenkins 20 May 6 10:35 internal [2021-05-06T10:37:23.943Z] -rw-rw-r--. 1 jenkins jenkins 660 May 6 10:35 Jenkinsfile [2021-05-06T10:37:23.943Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 6 10:35 LICENSE [2021-05-06T10:37:23.943Z] -rw-rw-r--. 1 jenkins jenkins 921 May 6 10:35 Makefile [2021-05-06T10:37:23.943Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 6 10:35 README.md [2021-05-06T10:37:23.943Z] -rw-rw-r--. 1 jenkins jenkins 5 May 6 10:32 VERSION [2021-05-06T10:37:23.943Z] -rw-rw-r--. 1 jenkins jenkins 235 May 6 10:35 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:37:24.285Z] + 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=b40166cd49d7c3655c31719d5d3e26684ada0af7 --label arch=amd64 --label version=0.0.0 . [2021-05-06T10:37:24.557Z] Sending build context to Docker daemon 609.3kB [2021-05-06T10:37:24.557Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T10:37:24.557Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-06T10:37:24.557Z] ---> 67725b0f7d35 [2021-05-06T10:37:24.557Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-06T10:37:24.828Z] ---> Running in e6765a7be561 [2021-05-06T10:37:24.828Z] Removing intermediate container e6765a7be561 [2021-05-06T10:37:24.828Z] ---> d408e8b5c350 [2021-05-06T10:37:24.828Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T10:37:24.828Z] ---> Running in f4e37f294c49 [2021-05-06T10:37:25.109Z] Removing intermediate container f4e37f294c49 [2021-05-06T10:37:25.109Z] ---> 60fb3ba1d76c [2021-05-06T10:37:25.109Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-06T10:37:25.374Z] ---> Running in f82416e2f6be [2021-05-06T10:37:25.374Z] Removing intermediate container f82416e2f6be [2021-05-06T10:37:25.374Z] ---> bdb18a5d4093 [2021-05-06T10:37:25.374Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T10:37:25.645Z] ---> Running in 908eddcd46ca [2021-05-06T10:37:26.610Z] Removing intermediate container 908eddcd46ca [2021-05-06T10:37:26.610Z] ---> a7d4be8b7a65 [2021-05-06T10:37:26.610Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T10:37:26.610Z] ---> Running in 924bdee48d4c [2021-05-06T10:37:27.194Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T10:37:27.776Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T10:37:28.729Z] OK: 156 MiB in 53 packages [2021-05-06T10:37:29.314Z] Removing intermediate container 924bdee48d4c [2021-05-06T10:37:29.314Z] ---> cec6319a94de [2021-05-06T10:37:29.314Z] Step 8/25 : COPY . . [2021-05-06T10:37:29.894Z] ---> 579100396dc7 [2021-05-06T10:37:29.894Z] Step 9/25 : RUN go mod download [2021-05-06T10:37:29.894Z] ---> Running in d68d65be5927 [2021-05-06T10:37:31.318Z] Removing intermediate container d68d65be5927 [2021-05-06T10:37:31.318Z] ---> ecf785edc5a2 [2021-05-06T10:37:31.318Z] Step 10/25 : ARG MAKE='make build' [2021-05-06T10:37:31.318Z] ---> Running in bc44ce599ccf [2021-05-06T10:37:31.318Z] Removing intermediate container bc44ce599ccf [2021-05-06T10:37:31.318Z] ---> c1fc5507e687 [2021-05-06T10:37:31.318Z] Step 11/25 : RUN $MAKE [2021-05-06T10:37:31.598Z] ---> Running in d27f099424a7 [2021-05-06T10:37:32.571Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-06T10:37:38.589Z] gofmt -l . [2021-05-06T10:37:38.589Z] [ "`gofmt -l .`" = "" ] [2021-05-06T10:37:38.893Z] ./bin/test-attribution-txt.sh [2021-05-06T10:37:40.871Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T10:37:41.518Z] $ docker stop --time=1 bcfdddc4a8dc01e82bda4d673946691ea1f9d1e6a8258df982a505001bad7ba4 [2021-05-06T10:37:43.535Z] $ docker rm -f bcfdddc4a8dc01e82bda4d673946691ea1f9d1e6a8258df982a505001bad7ba4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T10:37:44.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T10:37:44.522Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T10:37:45.395Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T10:37:46.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T10:37:46.420Z] + ls -al . [2021-05-06T10:37:46.420Z] total 156 [2021-05-06T10:37:46.420Z] drwxrwxr-x 7 jenkins jenkins 4096 May 6 10:37 . [2021-05-06T10:37:46.420Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 10:34 .. [2021-05-06T10:37:46.420Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 10:34 .git [2021-05-06T10:37:46.420Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 10:34 .github [2021-05-06T10:37:46.420Z] -rw-rw-r-- 1 jenkins jenkins 277 May 6 10:34 .gitignore [2021-05-06T10:37:46.420Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 6 10:34 Attribution.txt [2021-05-06T10:37:46.420Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 6 10:34 Dockerfile [2021-05-06T10:37:46.420Z] -rw-rw-r-- 1 jenkins jenkins 998 May 6 10:34 Dockerfile.build [2021-05-06T10:37:46.420Z] -rw-rw-r-- 1 jenkins jenkins 660 May 6 10:34 Jenkinsfile [2021-05-06T10:37:46.420Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 6 10:34 LICENSE [2021-05-06T10:37:46.420Z] -rw-rw-r-- 1 jenkins jenkins 921 May 6 10:34 Makefile [2021-05-06T10:37:46.420Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 6 10:34 README.md [2021-05-06T10:37:46.420Z] -rw-rw-r-- 1 jenkins jenkins 5 May 6 10:32 VERSION [2021-05-06T10:37:46.420Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 10:34 bin [2021-05-06T10:37:46.420Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 10:34 cmd [2021-05-06T10:37:46.420Z] -rw-r--r-- 1 jenkins jenkins 47247 May 6 10:37 coverage.out [2021-05-06T10:37:46.420Z] -rw-r--r-- 1 jenkins jenkins 809 May 6 10:37 go.mod [2021-05-06T10:37:46.420Z] -rw-r--r-- 1 jenkins jenkins 23585 May 6 10:36 go.sum [2021-05-06T10:37:46.420Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 10:34 internal [2021-05-06T10:37:46.420Z] -rw-rw-r-- 1 jenkins jenkins 235 May 6 10:34 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:37:46.835Z] + 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=b40166cd49d7c3655c31719d5d3e26684ada0af7 --label arch=arm64 --label version=0.0.0 . [2021-05-06T10:37:47.128Z] Sending build context to Docker daemon 608.3kB [2021-05-06T10:37:47.405Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T10:37:47.405Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-06T10:37:47.405Z] ---> 68c7f916337c [2021-05-06T10:37:47.405Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-06T10:37:47.692Z] ---> Running in dc54e536de7d [2021-05-06T10:37:47.970Z] Removing intermediate container dc54e536de7d [2021-05-06T10:37:47.970Z] ---> 2b454bc31c21 [2021-05-06T10:37:47.970Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T10:37:48.240Z] ---> Running in 903c38a1d488 [2021-05-06T10:37:48.512Z] Removing intermediate container 903c38a1d488 [2021-05-06T10:37:48.512Z] ---> 6b2200cda3ca [2021-05-06T10:37:48.512Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-06T10:37:48.786Z] ---> Running in 8c13ae18ff49 [2021-05-06T10:37:49.061Z] Removing intermediate container 8c13ae18ff49 [2021-05-06T10:37:49.061Z] ---> 10db2458b569 [2021-05-06T10:37:49.061Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T10:37:49.340Z] ---> Running in 696ddf5302ac [2021-05-06T10:37:51.319Z] Removing intermediate container 696ddf5302ac [2021-05-06T10:37:51.319Z] ---> efa67d31ecf0 [2021-05-06T10:37:51.319Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T10:37:51.591Z] ---> Running in b0f43245fc23 [2021-05-06T10:37:52.566Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T10:37:53.540Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T10:37:54.515Z] OK: 145 MiB in 53 packages [2021-05-06T10:37:54.929Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-06T10:37:55.490Z] Removing intermediate container b0f43245fc23 [2021-05-06T10:37:55.490Z] ---> abfa145e2e2e [2021-05-06T10:37:55.490Z] Step 8/25 : COPY . . [2021-05-06T10:37:56.469Z] ---> 27fbf8c670ba [2021-05-06T10:37:56.469Z] Step 9/25 : RUN go mod download [2021-05-06T10:37:56.740Z] ---> Running in 6dbdeba77db3 [2021-05-06T10:37:59.357Z] Removing intermediate container 6dbdeba77db3 [2021-05-06T10:37:59.357Z] ---> 3dab4e3a1c5e [2021-05-06T10:37:59.357Z] Step 10/25 : ARG MAKE='make build' [2021-05-06T10:37:59.357Z] ---> Running in c1453845b972 [2021-05-06T10:37:59.628Z] Removing intermediate container c1453845b972 [2021-05-06T10:37:59.628Z] ---> 736560c91404 [2021-05-06T10:37:59.628Z] Step 11/25 : RUN $MAKE [2021-05-06T10:37:59.902Z] ---> Running in fbd92a6a87a9 [2021-05-06T10:38:00.278Z] Removing intermediate container d27f099424a7 [2021-05-06T10:38:00.278Z] ---> 3bdf7a41199e [2021-05-06T10:38:00.278Z] Step 12/25 : FROM alpine:3.12 [2021-05-06T10:38:00.278Z] 3.12: Pulling from library/alpine [2021-05-06T10:38:00.278Z] 339de151aab4: Pulling fs layer [2021-05-06T10:38:00.278Z] 339de151aab4: Verifying Checksum [2021-05-06T10:38:00.278Z] 339de151aab4: Download complete [2021-05-06T10:38:00.544Z] 339de151aab4: Pull complete [2021-05-06T10:38:00.544Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T10:38:00.544Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T10:38:00.544Z] ---> 13621d1b12d4 [2021-05-06T10:38:00.544Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-06T10:38:00.544Z] ---> Running in a1cc5b78dde4 [2021-05-06T10:38:00.811Z] Removing intermediate container a1cc5b78dde4 [2021-05-06T10:38:00.811Z] ---> 78a866a992f2 [2021-05-06T10:38:00.811Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T10:38:00.811Z] ---> Running in 5ecacfa336b0 [2021-05-06T10:38:00.897Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-06T10:38:02.764Z] Removing intermediate container 5ecacfa336b0 [2021-05-06T10:38:02.764Z] ---> e24183105f57 [2021-05-06T10:38:02.764Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-06T10:38:02.764Z] ---> Running in 754b1486cea9 [2021-05-06T10:38:03.029Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-06T10:38:03.609Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-06T10:38:04.187Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-06T10:38:04.187Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-06T10:38:04.454Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-06T10:38:04.454Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-06T10:38:05.412Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-06T10:38:05.412Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-06T10:38:05.412Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T10:38:05.412Z] OK: 8 MiB in 20 packages [2021-05-06T10:38:05.992Z] Removing intermediate container 754b1486cea9 [2021-05-06T10:38:05.992Z] ---> f941dd8ccef8 [2021-05-06T10:38:05.992Z] Step 16/25 : WORKDIR / [2021-05-06T10:38:05.992Z] ---> Running in f4143f99bc39 [2021-05-06T10:38:06.257Z] Removing intermediate container f4143f99bc39 [2021-05-06T10:38:06.257Z] ---> 2610e5eb7dfa [2021-05-06T10:38:06.257Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-06T10:38:06.523Z] ---> a0796785be65 [2021-05-06T10:38:06.523Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-06T10:38:06.523Z] ---> fc4ab1c5e464 [2021-05-06T10:38:06.523Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-06T10:38:07.477Z] ---> 3b0cd1af099d [2021-05-06T10:38:07.477Z] Step 20/25 : EXPOSE 49990 [2021-05-06T10:38:07.477Z] ---> Running in 6a44ef295652 [2021-05-06T10:38:07.477Z] Removing intermediate container 6a44ef295652 [2021-05-06T10:38:07.477Z] ---> a79258af7d72 [2021-05-06T10:38:07.477Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-06T10:38:07.742Z] ---> Running in 8c2ae0e8d4d1 [2021-05-06T10:38:07.742Z] Removing intermediate container 8c2ae0e8d4d1 [2021-05-06T10:38:07.742Z] ---> 05b8655f9932 [2021-05-06T10:38:07.742Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T10:38:08.014Z] ---> Running in 7bd66a492597 [2021-05-06T10:38:08.014Z] Removing intermediate container 7bd66a492597 [2021-05-06T10:38:08.014Z] ---> 1c35a328d531 [2021-05-06T10:38:08.014Z] Step 23/25 : LABEL arch=amd64 [2021-05-06T10:38:08.014Z] ---> Running in bf2418dc0b7e [2021-05-06T10:38:08.280Z] Removing intermediate container bf2418dc0b7e [2021-05-06T10:38:08.280Z] ---> 67f03fc56e46 [2021-05-06T10:38:08.280Z] Step 24/25 : LABEL git_sha=b40166cd49d7c3655c31719d5d3e26684ada0af7 [2021-05-06T10:38:08.544Z] ---> Running in 3d3c443d27b9 [2021-05-06T10:38:08.544Z] Removing intermediate container 3d3c443d27b9 [2021-05-06T10:38:08.544Z] ---> 782046086feb [2021-05-06T10:38:08.544Z] Step 25/25 : LABEL version=0.0.0 [2021-05-06T10:38:08.810Z] ---> Running in 930fa173828b [2021-05-06T10:38:08.810Z] Removing intermediate container 930fa173828b [2021-05-06T10:38:08.810Z] ---> 6b6731b238ec [2021-05-06T10:38:08.810Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-06T10:38:08.810Z] Successfully built 6b6731b238ec [2021-05-06T10:38:08.810Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:38:09.747Z] ---> job-cost.sh [2021-05-06T10:38:09.747Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oqyy [2021-05-06T10:38:27.948Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T10:38:47.898Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-06T10:38:54.613Z] lf-activate-venv(): INFO: Adding /tmp/venv-oqyy/bin to PATH [2021-05-06T10:38:54.613Z] INFO: No Stack... [2021-05-06T10:38:55.192Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T10:38:56.142Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T10:38:56.482Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-06T10:38:56.482Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T10:38:56.598Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-196-1-stack-cost] [2021-05-06T10:38:56.605Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-196-1-stack-cost] did not exist. Created. [2021-05-06T10:38:56.605Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T10:38:57.045Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T10:38:57.266Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T10:38:57.287Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T10:38:58.067Z] Removing intermediate container fbd92a6a87a9 [2021-05-06T10:38:58.067Z] ---> e76ee893f700 [2021-05-06T10:38:58.067Z] Step 12/25 : FROM alpine:3.12 [2021-05-06T10:38:58.067Z] 3.12: Pulling from library/alpine [2021-05-06T10:38:58.067Z] d2f70382dc9a: Pulling fs layer [2021-05-06T10:38:58.067Z] d2f70382dc9a: Verifying Checksum [2021-05-06T10:38:58.067Z] d2f70382dc9a: Download complete [2021-05-06T10:38:58.663Z] d2f70382dc9a: Pull complete [2021-05-06T10:38:58.663Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T10:38:58.663Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T10:38:58.663Z] ---> 9852663dfa18 [2021-05-06T10:38:58.663Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-06T10:38:58.935Z] ---> Running in f95e28d246d8 [2021-05-06T10:38:59.214Z] Removing intermediate container f95e28d246d8 [2021-05-06T10:38:59.214Z] ---> 5a16fa50a929 [2021-05-06T10:38:59.214Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T10:38:59.492Z] ---> Running in f72ac5fff6a8 [2021-05-06T10:39:01.472Z] Removing intermediate container f72ac5fff6a8 [2021-05-06T10:39:01.472Z] ---> 50ff4c163516 [2021-05-06T10:39:01.472Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-06T10:39:01.744Z] ---> Running in 0553a94aa7dd [2021-05-06T10:39:02.724Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-06T10:39:03.694Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-06T10:39:04.288Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-06T10:39:04.288Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-06T10:39:04.558Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-06T10:39:04.558Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-06T10:39:05.146Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-06T10:39:05.416Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-06T10:39:05.416Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T10:39:05.416Z] OK: 8 MiB in 20 packages [2021-05-06T10:39:06.843Z] Removing intermediate container 0553a94aa7dd [2021-05-06T10:39:06.843Z] ---> 3e82a1f8fa96 [2021-05-06T10:39:06.843Z] Step 16/25 : WORKDIR / [2021-05-06T10:39:06.843Z] ---> Running in c385e872202b [2021-05-06T10:39:07.440Z] Removing intermediate container c385e872202b [2021-05-06T10:39:07.440Z] ---> 54760a0e32f6 [2021-05-06T10:39:07.440Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-06T10:39:08.035Z] ---> 99d5efc870c7 [2021-05-06T10:39:08.035Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-06T10:39:08.631Z] ---> 74027e00ca85 [2021-05-06T10:39:08.631Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-06T10:39:10.066Z] ---> 83052b347de9 [2021-05-06T10:39:10.066Z] Step 20/25 : EXPOSE 49990 [2021-05-06T10:39:10.066Z] ---> Running in bfcdf34b3e95 [2021-05-06T10:39:10.666Z] Removing intermediate container bfcdf34b3e95 [2021-05-06T10:39:10.666Z] ---> 77afad6dad54 [2021-05-06T10:39:10.666Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-06T10:39:10.666Z] ---> Running in bf7d34503a91 [2021-05-06T10:39:11.262Z] Removing intermediate container bf7d34503a91 [2021-05-06T10:39:11.262Z] ---> 529d955b156a [2021-05-06T10:39:11.262Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T10:39:11.262Z] ---> Running in a94a4be16fe2 [2021-05-06T10:39:11.855Z] Removing intermediate container a94a4be16fe2 [2021-05-06T10:39:11.855Z] ---> 91d16bdf3fcd [2021-05-06T10:39:11.855Z] Step 23/25 : LABEL arch=arm64 [2021-05-06T10:39:11.855Z] ---> Running in 53e473b617fd [2021-05-06T10:39:12.448Z] Removing intermediate container 53e473b617fd [2021-05-06T10:39:12.448Z] ---> aa5695e28f3b [2021-05-06T10:39:12.448Z] Step 24/25 : LABEL git_sha=b40166cd49d7c3655c31719d5d3e26684ada0af7 [2021-05-06T10:39:12.448Z] ---> Running in e61b98b34b16 [2021-05-06T10:39:13.043Z] Removing intermediate container e61b98b34b16 [2021-05-06T10:39:13.043Z] ---> 48f45e94b513 [2021-05-06T10:39:13.043Z] Step 25/25 : LABEL version=0.0.0 [2021-05-06T10:39:13.043Z] ---> Running in 6dd9025f5bae [2021-05-06T10:39:13.634Z] Removing intermediate container 6dd9025f5bae [2021-05-06T10:39:13.634Z] ---> c8d040117eaa [2021-05-06T10:39:13.634Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-06T10:39:13.634Z] Successfully built c8d040117eaa [2021-05-06T10:39:13.634Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:39:14.366Z] ---> job-cost.sh [2021-05-06T10:39:14.366Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zeqD [2021-05-06T10:39:53.325Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T10:41:30.071Z] lf-activate-venv(): INFO: Adding /tmp/venv-zeqD/bin to PATH [2021-05-06T10:41:30.071Z] INFO: No Stack... [2021-05-06T10:41:30.071Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T10:41:30.071Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T10:41:30.425Z] + cut -d, -f6 [2021-05-06T10:41:30.425Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-05-06T10:41:30.561Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-196-1-stack-cost] [2021-05-06T10:41:30.570Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-196-1-stack-cost] did not exist. Created. [2021-05-06T10:41:30.570Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T10:41:31.003Z] /w/workspace/device-virtual-go/1@tmp/durable-ad4a2d23/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-ad4a2d23/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T10:41:31.394Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T10:41:31.432Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T10:41:31.570Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T10:41:31.588Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-06T10:41:32.771Z] provisioning config files... [2021-05-06T10:41:32.791Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-196@tmp/config4828013387973507864tmp [Pipeline] { [Pipeline] sh [2021-05-06T10:41:33.249Z] + set +x [2021-05-06T10:41:33.249Z] + curl -s https://codecov.io/bash [2021-05-06T10:41:33.249Z] + bash -s -- [2021-05-06T10:41:33.515Z] [2021-05-06T10:41:33.515Z] _____ _ [2021-05-06T10:41:33.515Z] / ____| | | [2021-05-06T10:41:33.515Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T10:41:33.515Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T10:41:33.515Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T10:41:33.515Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T10:41:33.515Z] Bash-1.0.2 [2021-05-06T10:41:33.515Z] [2021-05-06T10:41:33.515Z] [2021-05-06T10:41:33.515Z] ==> git version 2.24.3 found [2021-05-06T10:41:33.515Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-06T10:41:33.515Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T10:41:33.515Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T10:41:33.515Z] ==> Jenkins CI detected. [2021-05-06T10:41:33.515Z] project root: . [2021-05-06T10:41:33.515Z] --> token set from env [2021-05-06T10:41:33.515Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T10:41:33.515Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T10:41:33.515Z] ==> Python coveragepy not found [2021-05-06T10:41:33.515Z] ==> Searching for coverage reports in: [2021-05-06T10:41:33.515Z] + . [2021-05-06T10:41:33.515Z] -> Found 1 reports [2021-05-06T10:41:33.515Z] ==> Detecting git/mercurial file structure [2021-05-06T10:41:33.515Z] ==> Reading reports [2021-05-06T10:41:33.515Z] + ./coverage.out bytes=47247 [2021-05-06T10:41:33.515Z] ==> Appending adjustments [2021-05-06T10:41:33.515Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T10:41:33.515Z] + Found adjustments [2021-05-06T10:41:33.515Z] ==> Gzipping contents [2021-05-06T10:41:33.515Z] 8.0K /tmp/codecov.Ftr0FH.gz [2021-05-06T10:41:33.515Z] ==> Uploading reports [2021-05-06T10:41:33.515Z] url: https://codecov.io [2021-05-06T10:41:33.515Z] query: branch=PR-196&commit=b40166cd49d7c3655c31719d5d3e26684ada0af7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-196%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=196&job=&cmd_args= [2021-05-06T10:41:33.515Z] -> Pinging Codecov [2021-05-06T10:41:33.515Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-196&commit=b40166cd49d7c3655c31719d5d3e26684ada0af7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-196%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=196&job=&cmd_args= [2021-05-06T10:41:34.090Z] -> Uploading to [2021-05-06T10:41:34.090Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/5E52B4B073DB2E39498172D8E973AA87/b40166cd49d7c3655c31719d5d3e26684ada0af7/54d62172-5fc3-4f34-b17e-deb7d5e39fa9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T104133Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6f3fa90594a6bc6ca793788e0438e1d187745402818c6a777ce12894e7a5d814 [2021-05-06T10:41:34.091Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T10:41:34.091Z] Dload Upload Total Spent Left Speed [2021-05-06T10:41:34.669Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5767 0 0 100 5767 0 12197 --:--:-- --:--:-- --:--:-- 12218 [2021-05-06T10:41:34.669Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b40166cd49d7c3655c31719d5d3e26684ada0af7 [Pipeline] } [2021-05-06T10:41:34.691Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:41:36.713Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:41:37.058Z] ---> package-listing.sh [2021-05-06T10:41:37.058Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T10:41:37.058Z] ++ facter osfamily [2021-05-06T10:41:37.058Z] + OS_FAMILY=redhat [2021-05-06T10:41:37.058Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-196 [2021-05-06T10:41:37.058Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T10:41:37.058Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T10:41:37.058Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T10:41:37.058Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T10:41:37.058Z] + '[' /w/workspace/foundry_device-virtual-go_PR-196 ']' [2021-05-06T10:41:37.058Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T10:41:37.058Z] + case "${OS_FAMILY}" in [2021-05-06T10:41:37.058Z] + rpm -qa [2021-05-06T10:41:37.058Z] + sort [2021-05-06T10:41:42.368Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T10:41:42.368Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T10:41:42.368Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T10:41:42.368Z] + '[' /w/workspace/foundry_device-virtual-go_PR-196 ']' [2021-05-06T10:41:42.368Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-196/archives/ [2021-05-06T10:41:42.368Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-196/archives/ [Pipeline] echo [2021-05-06T10:41:42.399Z] 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-196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T10:41:42.710Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:41:43.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T10:41:43.074Z] [2021-05-06T10:41:43.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T10:41:43.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T10:41:43.435Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T10:41:43.435Z] df20fa9351a1: Pulling fs layer [2021-05-06T10:41:43.435Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T10:41:43.435Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T10:41:43.435Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T10:41:43.435Z] 93b61091891f: Pulling fs layer [2021-05-06T10:41:43.435Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T10:41:43.435Z] 5e14af77c1be: Pulling fs layer [2021-05-06T10:41:43.435Z] 01666e4c0597: Pulling fs layer [2021-05-06T10:41:43.435Z] aa168da1d23b: Pulling fs layer [2021-05-06T10:41:43.435Z] 93b9cdb0e59b: Waiting [2021-05-06T10:41:43.435Z] 5e14af77c1be: Waiting [2021-05-06T10:41:43.435Z] 01666e4c0597: Waiting [2021-05-06T10:41:43.435Z] aa168da1d23b: Waiting [2021-05-06T10:41:43.435Z] 46f8f816bc3b: Waiting [2021-05-06T10:41:43.435Z] 93b61091891f: Waiting [2021-05-06T10:41:43.435Z] 36b3adc4ff6f: Download complete [2021-05-06T10:41:43.435Z] 46f8f816bc3b: Verifying Checksum [2021-05-06T10:41:43.435Z] 46f8f816bc3b: Download complete [2021-05-06T10:41:43.435Z] df20fa9351a1: Verifying Checksum [2021-05-06T10:41:43.435Z] df20fa9351a1: Download complete [2021-05-06T10:41:43.435Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T10:41:43.435Z] 93b9cdb0e59b: Download complete [2021-05-06T10:41:43.697Z] 5e14af77c1be: Verifying Checksum [2021-05-06T10:41:43.697Z] 5e14af77c1be: Download complete [2021-05-06T10:41:43.697Z] 01666e4c0597: Verifying Checksum [2021-05-06T10:41:43.697Z] 01666e4c0597: Download complete [2021-05-06T10:41:43.697Z] 93b61091891f: Download complete [2021-05-06T10:41:43.697Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T10:41:43.697Z] 8ad3a11d3b57: Download complete [2021-05-06T10:41:43.969Z] df20fa9351a1: Pull complete [2021-05-06T10:41:43.969Z] 36b3adc4ff6f: Pull complete [2021-05-06T10:41:44.928Z] 8ad3a11d3b57: Pull complete [2021-05-06T10:41:44.928Z] 46f8f816bc3b: Pull complete [2021-05-06T10:41:46.324Z] aa168da1d23b: Verifying Checksum [2021-05-06T10:41:46.324Z] aa168da1d23b: Download complete [2021-05-06T10:41:46.586Z] 93b61091891f: Pull complete [2021-05-06T10:41:46.587Z] 93b9cdb0e59b: Pull complete [2021-05-06T10:41:46.854Z] 5e14af77c1be: Pull complete [2021-05-06T10:41:46.854Z] 01666e4c0597: Pull complete [2021-05-06T10:41:53.487Z] aa168da1d23b: Pull complete [2021-05-06T10:41:53.487Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T10:41:53.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T10:41:53.487Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T10:41:53.688Z] prd-centos7-docker-4c-2g-3200 does not seem to be running inside a container [2021-05-06T10:41:53.726Z] $ 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-196/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-196 -v /w/workspace/foundry_device-virtual-go_PR-196:/w/workspace/foundry_device-virtual-go_PR-196:rw,z -v /w/workspace/foundry_device-virtual-go_PR-196@tmp:/w/workspace/foundry_device-virtual-go_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T10:41:56.338Z] $ docker top 1ec1dd0e3ecd30e7dd9876557b841cb63b656203ed7e4fe05f8bd711283e407b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T10:41:56.844Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T10:41:57.166Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T10:41:57.496Z] + ls /var/log/sa-host [2021-05-06T10:41:57.496Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T10:41:57.496Z] file_magic: OK [2021-05-06T10:41:57.496Z] HZ: Using current value: 100 [2021-05-06T10:41:57.496Z] file_header: OK [2021-05-06T10:41:57.496Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-06T10:41:57.496Z] Statistics: [2021-05-06T10:41:57.496Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T10:41:57.496Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T10:41:57.496Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T10:41:57.496Z] file_magic: OK [2021-05-06T10:41:57.496Z] HZ: Using current value: 100 [2021-05-06T10:41:57.496Z] file_header: OK [2021-05-06T10:41:57.496Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-06T10:41:57.496Z] Statistics: [2021-05-06T10:41:57.496Z] Hnuu...uuuununununu... [2021-05-06T10:41:57.496Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T10:41:58.164Z] provisioning config files... [2021-05-06T10:41:58.181Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-196@tmp/config1124660341513739781tmp [Pipeline] { [Pipeline] echo [2021-05-06T10:41:58.237Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:41:58.578Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T10:41:58.603Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T10:41:58.680Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:41:59.022Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T10:41:59.059Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:41:59.393Z] ---> sudo-logs.sh [2021-05-06T10:41:59.393Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T10:41:59.467Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:41:59.794Z] ---> job-cost.sh [2021-05-06T10:41:59.794Z] lf-activate-venv: SKIPPING [2021-05-06T10:41:59.794Z] DEBUG: total: 0.20999999344348907 [2021-05-06T10:41:59.794Z] INFO: Retrieving Stack Cost... [2021-05-06T10:42:01.185Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T10:42:01.767Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T10:42:01.812Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T10:42:02.154Z] ---> logs-deploy.sh [2021-05-06T10:42:02.154Z] lf-activate-venv: SKIPPING [2021-05-06T10:42:02.155Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-196/1 [2021-05-06T10:42:02.155Z] INFO: archiving workspace using pattern(s): [2021-05-06T10:42:04.080Z] Archives upload complete. [2021-05-06T10:42:04.080Z] INFO: archiving logs to Nexus