Pull request #200 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 ernestojeda for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 390274e52fec6bb2c444bd84e5560e61a6e3132c+630144a10735cec8e2a8b402cbcf2c5516b5e8e8 (25fb429dbc4c425d966c4e100ca140853d4e5c64) 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-200/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-200/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 ‘prd-centos7-docker-4c-2g-3345’ is offline; ‘prd-centos7-docker-4c-2g-3347’ is offline; ‘prd-centos7-docker-4c-2g-3348’ is offline; ‘prd-centos7-docker-4c-2g-3351’ is offline; ‘prd-centos7-docker-4c-2g-3361’ is offline Running on prd-centos7-docker-4c-2g-3369 in /w/workspace/foundry_device-virtual-go_PR-200 [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-200 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 into PR head commit 390274e52fec6bb2c444bd84e5560e61a6e3132c Merge succeeded, producing 390274e52fec6bb2c444bd84e5560e61a6e3132c Checking out Revision 390274e52fec6bb2c444bd84e5560e61a6e3132c (PR-200) > 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/200/head:refs/remotes/origin/PR-200 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 390274e52fec6bb2c444bd84e5560e61a6e3132c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 390274e52fec6bb2c444bd84e5560e61a6e3132c # timeout=10 Commit message: "ci: update local docker image names" 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-06T22:50:37.182Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T22:50:37.402Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T22:50:37.522Z] ========================================================= [2021-05-06T22:50:37.522Z] EdgeX Global Pipelines Version Info [2021-05-06T22:50:37.522Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:50:39.596Z] ------------------- [2021-05-06T22:50:39.596Z] stable info: [2021-05-06T22:50:39.596Z] ------------------- [2021-05-06T22:50:39.596Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T22:50:39.596Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:50:39.596Z] Message: update stable to v1.0.191 [2021-05-06T22:50:40.188Z] ------------------- [2021-05-06T22:50:40.188Z] experimental info: [2021-05-06T22:50:40.188Z] ------------------- [2021-05-06T22:50:40.188Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T22:50:40.189Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:50:40.189Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T22:50:40.560Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-06T22:50:40.632Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-06T22:50:40.739Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T22:50:40.812Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T22:50:40.881Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T22:50:41.032Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T22:50:41.145Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T22:50:41.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T22:50:41.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-06T22:50:41.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T22:50:41.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T22:50:41.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-05-06T22:50:41.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T22:50:41.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T22:50:41.742Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T22:50:41.864Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T22:50:41.949Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:50:42.015Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:50:42.082Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T22:50:42.184Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T22:50:42.269Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-06T22:50:42.366Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-06T22:50:42.432Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T22:50:42.519Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T22:50:42.592Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-06T22:50:42.661Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T22:50:42.739Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-200 [Pipeline] echo [2021-05-06T22:50:42.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-200 [Pipeline] echo [2021-05-06T22:50:42.942Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-200 [Pipeline] echo [2021-05-06T22:50:43.024Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 390274e52fec6bb2c444bd84e5560e61a6e3132c [Pipeline] echo [2021-05-06T22:50:43.105Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 390274e [Pipeline] echo [2021-05-06T22:50:43.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:50:43.372Z] provisioning config files... [2021-05-06T22:50:43.429Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-200@tmp/config1022619362677818401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:50:43.832Z] ---> docker-login.sh [2021-05-06T22:50:43.832Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:50:44.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:50:44.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:50:44.360Z] Configure a credential helper to remove this warning. See [2021-05-06T22:50:44.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:50:44.360Z] [2021-05-06T22:50:44.360Z] Login Succeeded [2021-05-06T22:50:44.360Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:50:44.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:50:44.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:50:44.360Z] Configure a credential helper to remove this warning. See [2021-05-06T22:50:44.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:50:44.360Z] [2021-05-06T22:50:44.360Z] Login Succeeded [2021-05-06T22:50:44.360Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:50:44.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:50:44.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:50:44.624Z] Configure a credential helper to remove this warning. See [2021-05-06T22:50:44.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:50:44.624Z] [2021-05-06T22:50:44.624Z] Login Succeeded [2021-05-06T22:50:44.624Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:50:44.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:50:44.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:50:44.890Z] Configure a credential helper to remove this warning. See [2021-05-06T22:50:44.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:50:44.890Z] [2021-05-06T22:50:44.890Z] Login Succeeded [2021-05-06T22:50:44.890Z] docker.io [2021-05-06T22:50:44.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:50:45.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:50:45.155Z] Configure a credential helper to remove this warning. See [2021-05-06T22:50:45.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:50:45.155Z] [2021-05-06T22:50:45.155Z] Login Succeeded [2021-05-06T22:50:45.155Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:50:45.184Z] 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-06T22:50:45.915Z] + git log --format=format:%s -1 390274e52fec6bb2c444bd84e5560e61a6e3132c [Pipeline] echo [2021-05-06T22:50:46.027Z] GIT_COMMIT: 390274e52fec6bb2c444bd84e5560e61a6e3132c, Commit Message: ci: update local docker image names [Pipeline] echo [2021-05-06T22:50:46.072Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:50:46.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:50:46.809Z] [2021-05-06T22:50:46.809Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:50:47.169Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:50:47.169Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T22:50:47.169Z] 31603596830f: Pulling fs layer [2021-05-06T22:50:47.169Z] 54011a49482f: Pulling fs layer [2021-05-06T22:50:47.169Z] a6820b24f6d8: Pulling fs layer [2021-05-06T22:50:47.169Z] f581987b2513: Pulling fs layer [2021-05-06T22:50:47.169Z] f581987b2513: Waiting [2021-05-06T22:50:47.169Z] 54011a49482f: Verifying Checksum [2021-05-06T22:50:47.169Z] 54011a49482f: Download complete [2021-05-06T22:50:47.169Z] 31603596830f: Verifying Checksum [2021-05-06T22:50:47.169Z] 31603596830f: Download complete [2021-05-06T22:50:47.438Z] f581987b2513: Verifying Checksum [2021-05-06T22:50:47.438Z] f581987b2513: Download complete [2021-05-06T22:50:47.438Z] a6820b24f6d8: Verifying Checksum [2021-05-06T22:50:47.438Z] a6820b24f6d8: Download complete [2021-05-06T22:50:47.702Z] 31603596830f: Pull complete [2021-05-06T22:50:47.968Z] 54011a49482f: Pull complete [2021-05-06T22:50:48.921Z] a6820b24f6d8: Pull complete [2021-05-06T22:50:48.921Z] f581987b2513: Pull complete [2021-05-06T22:50:49.183Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T22:50:49.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:50:49.183Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T22:50:49.374Z] prd-centos7-docker-4c-2g-3369 does not seem to be running inside a container [2021-05-06T22:50:49.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-200 -v /w/workspace/foundry_device-virtual-go_PR-200:/w/workspace/foundry_device-virtual-go_PR-200:rw,z -v /w/workspace/foundry_device-virtual-go_PR-200@tmp:/w/workspace/foundry_device-virtual-go_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-06T22:50:51.734Z] $ docker top 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T22:50:52.012Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:50:52.012Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:50:52.251Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:50:52.255Z] $ docker exec 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 ssh-agent [2021-05-06T22:50:52.444Z] SSH_AUTH_SOCK=/tmp/ssh-eOak3LDN1Tes/agent.11 [2021-05-06T22:50:52.444Z] SSH_AGENT_PID=16 [2021-05-06T22:50:52.459Z] Running ssh-add (command line suppressed) [2021-05-06T22:50:52.591Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-200@tmp/private_key_7669703038959590293.key (/w/workspace/foundry_device-virtual-go_PR-200@tmp/private_key_7669703038959590293.key) [2021-05-06T22:50:52.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:50:53.023Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T22:50:53.057Z] $ docker exec --env ******** --env ******** 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 ssh-agent -k [2021-05-06T22:50:53.189Z] unset SSH_AUTH_SOCK; [2021-05-06T22:50:53.190Z] unset SSH_AGENT_PID; [2021-05-06T22:50:53.190Z] echo Agent pid 16 killed; [2021-05-06T22:50:53.246Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T22:50:53.349Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:50:53.349Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:50:53.537Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:50:53.542Z] $ docker exec 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 ssh-agent [2021-05-06T22:50:53.731Z] SSH_AUTH_SOCK=/tmp/ssh-dUSkPgqATiQh/agent.45 [2021-05-06T22:50:53.732Z] SSH_AGENT_PID=50 [2021-05-06T22:50:53.739Z] Running ssh-add (command line suppressed) [2021-05-06T22:50:53.870Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-200@tmp/private_key_8786072033138755807.key (/w/workspace/foundry_device-virtual-go_PR-200@tmp/private_key_8786072033138755807.key) [2021-05-06T22:50:53.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:50:54.286Z] + git semver init [2021-05-06T22:50:54.286Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T22:50:54.286Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-200/.git [2021-05-06T22:50:54.286Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-200 [2021-05-06T22:50:54.286Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T22:50:54.286Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T22:50:54.286Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T22:50:54.286Z] # $SEMVER_BRANCH = PR-200 [2021-05-06T22:50:54.286Z] # $SEMVER_TEMP = /tmp/semver-879031059 [2021-05-06T22:50:54.286Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-06T22:50:54.863Z] # '/tmp/semver-879031059' -> '/w/workspace/foundry_device-virtual-go_PR-200/.semver' [2021-05-06T22:50:54.863Z] # -> Force: false [2021-05-06T22:50:54.863Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-200/.semver [Pipeline] } [2021-05-06T22:50:54.897Z] $ docker exec --env ******** --env ******** 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 ssh-agent -k [2021-05-06T22:50:55.034Z] unset SSH_AUTH_SOCK; [2021-05-06T22:50:55.035Z] unset SSH_AGENT_PID; [2021-05-06T22:50:55.035Z] echo Agent pid 50 killed; [2021-05-06T22:50:55.088Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T22:50:55.528Z] + git semver [Pipeline] } [2021-05-06T22:50:55.564Z] $ docker stop --time=1 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 [2021-05-06T22:50:57.064Z] $ docker rm -f 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:50:57.583Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T22:50:58.054Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T22:50:58.079Z] [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-06T22:51:13.520Z] Still waiting to schedule task [2021-05-06T22:51:13.521Z] ‘prd-centos7-docker-4c-2g-3345’ is offline; ‘prd-centos7-docker-4c-2g-3347’ is offline; ‘prd-centos7-docker-4c-2g-3348’ is offline; ‘prd-centos7-docker-4c-2g-3351’ is offline; ‘prd-centos7-docker-4c-2g-3372’ is offline; ‘prd-centos7-docker-4c-2g-3374’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3367’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-06T22:51:13.545Z] Still waiting to schedule task [2021-05-06T22:51:13.546Z] ‘prd-centos7-docker-4c-2g-3345’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3347’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3348’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3351’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3372’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3374’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3367’ is offline [2021-05-06T22:51:45.163Z] Running on prd-centos7-docker-4c-2g-3378 in /w/workspace/foundry_device-virtual-go_PR-200 [Pipeline] { [Pipeline] ws [2021-05-06T22:51:45.218Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-06T22:51:48.801Z] using credential edgex-jenkins-ssh [2021-05-06T22:51:48.815Z] Cloning the remote Git repository [2021-05-06T22:51:48.864Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T22:51:48.946Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-06T22:51:49.290Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T22:51:49.291Z] > git --version # timeout=10 [2021-05-06T22:51:49.322Z] > git --version # 'git version 2.24.3' [2021-05-06T22:51:49.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:51:49.359Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:51:49.976Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-06T22:51:49.984Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:51:49.999Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-06T22:51:50.012Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T22:51:50.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:51:50.022Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:51:50.476Z] Merging remotes/origin/master commit 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 into PR head commit 390274e52fec6bb2c444bd84e5560e61a6e3132c [2021-05-06T22:51:50.573Z] Merge succeeded, producing 390274e52fec6bb2c444bd84e5560e61a6e3132c [2021-05-06T22:51:50.574Z] Checking out Revision 390274e52fec6bb2c444bd84e5560e61a6e3132c (PR-200) [2021-05-06T22:51:50.485Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:51:50.501Z] > git checkout -f 390274e52fec6bb2c444bd84e5560e61a6e3132c # timeout=10 [2021-05-06T22:51:50.540Z] > git remote # timeout=10 [2021-05-06T22:51:50.548Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:51:50.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:51:50.558Z] > git merge 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 # timeout=10 [2021-05-06T22:51:50.568Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:51:50.577Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:51:50.584Z] > git checkout -f 390274e52fec6bb2c444bd84e5560e61a6e3132c # timeout=10 [2021-05-06T22:51:54.202Z] Commit message: "ci: update local docker image names" [2021-05-06T22:51:54.231Z] > git --version # timeout=10 [2021-05-06T22:51:54.239Z] > git --version # 'git version 2.24.3' [2021-05-06T22:51:54.245Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:51:55.587Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:51:55.947Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:51:56.268Z] + sudo service docker restart [2021-05-06T22:51:56.268Z] + true [2021-05-06T22:51:56.268Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:51:57.352Z] provisioning config files... [2021-05-06T22:51:57.432Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config521651066453333352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:51:57.828Z] ---> docker-login.sh [2021-05-06T22:51:57.828Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:51:58.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:51:58.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:51:58.360Z] Configure a credential helper to remove this warning. See [2021-05-06T22:51:58.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:51:58.360Z] [2021-05-06T22:51:58.360Z] Login Succeeded [2021-05-06T22:51:58.360Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:51:58.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:51:58.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:51:58.626Z] Configure a credential helper to remove this warning. See [2021-05-06T22:51:58.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:51:58.626Z] [2021-05-06T22:51:58.626Z] Login Succeeded [2021-05-06T22:51:58.626Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:51:58.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:51:58.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:51:58.626Z] Configure a credential helper to remove this warning. See [2021-05-06T22:51:58.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:51:58.626Z] [2021-05-06T22:51:58.626Z] Login Succeeded [2021-05-06T22:51:58.901Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:51:58.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:51:58.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:51:58.901Z] Configure a credential helper to remove this warning. See [2021-05-06T22:51:58.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:51:58.901Z] [2021-05-06T22:51:58.901Z] Login Succeeded [2021-05-06T22:51:58.901Z] docker.io [2021-05-06T22:51:59.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:51:59.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:51:59.431Z] Configure a credential helper to remove this warning. See [2021-05-06T22:51:59.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:51:59.431Z] [2021-05-06T22:51:59.431Z] Login Succeeded [2021-05-06T22:51:59.431Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:51:59.453Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:51:59.806Z] ========================================================= [2021-05-06T22:51:59.807Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T22:51:59.807Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:52:00.187Z] + 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-06T22:52:00.471Z] Sending build context to Docker daemon 525.8kB [2021-05-06T22:52:00.471Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:52:00.471Z] Step 2/8 : FROM ${BASE} [2021-05-06T22:52:00.471Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T22:52:00.471Z] 540db60ca938: Pulling fs layer [2021-05-06T22:52:00.471Z] adcc1eea9eea: Pulling fs layer [2021-05-06T22:52:00.471Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T22:52:00.471Z] 0510c868ecb4: Pulling fs layer [2021-05-06T22:52:00.471Z] afea3b2eda06: Pulling fs layer [2021-05-06T22:52:00.471Z] 7809a108b3ef: Pulling fs layer [2021-05-06T22:52:00.471Z] f706445af74f: Pulling fs layer [2021-05-06T22:52:00.471Z] afea3b2eda06: Waiting [2021-05-06T22:52:00.471Z] 7809a108b3ef: Waiting [2021-05-06T22:52:00.471Z] f706445af74f: Waiting [2021-05-06T22:52:00.471Z] 0510c868ecb4: Waiting [2021-05-06T22:52:00.471Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T22:52:00.471Z] 4c4ab2625f07: Download complete [2021-05-06T22:52:00.471Z] adcc1eea9eea: Verifying Checksum [2021-05-06T22:52:00.471Z] adcc1eea9eea: Download complete [2021-05-06T22:52:00.471Z] afea3b2eda06: Verifying Checksum [2021-05-06T22:52:00.471Z] afea3b2eda06: Download complete [2021-05-06T22:52:00.471Z] 7809a108b3ef: Verifying Checksum [2021-05-06T22:52:00.471Z] 7809a108b3ef: Download complete [2021-05-06T22:52:00.471Z] 540db60ca938: Verifying Checksum [2021-05-06T22:52:00.471Z] 540db60ca938: Download complete [2021-05-06T22:52:01.842Z] 540db60ca938: Pull complete [2021-05-06T22:52:01.842Z] adcc1eea9eea: Pull complete [2021-05-06T22:52:01.842Z] 4c4ab2625f07: Pull complete [2021-05-06T22:52:01.842Z] f706445af74f: Verifying Checksum [2021-05-06T22:52:01.842Z] f706445af74f: Download complete [2021-05-06T22:52:04.470Z] 0510c868ecb4: Verifying Checksum [2021-05-06T22:52:04.470Z] 0510c868ecb4: Download complete [2021-05-06T22:52:11.147Z] 0510c868ecb4: Pull complete [2021-05-06T22:52:11.147Z] afea3b2eda06: Pull complete [2021-05-06T22:52:11.147Z] 7809a108b3ef: Pull complete [2021-05-06T22:52:15.410Z] f706445af74f: Pull complete [2021-05-06T22:52:15.410Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T22:52:15.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T22:52:15.410Z] ---> b068be0155e3 [2021-05-06T22:52:15.410Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-06T22:52:15.410Z] ---> Running in 8350340957c0 [2021-05-06T22:52:15.687Z] Removing intermediate container 8350340957c0 [2021-05-06T22:52:15.687Z] ---> df8b04fbc1f2 [2021-05-06T22:52:15.687Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:52:15.687Z] ---> Running in ff8072b4cd11 [2021-05-06T22:52:17.097Z] Removing intermediate container ff8072b4cd11 [2021-05-06T22:52:17.098Z] ---> 9cf061725c61 [2021-05-06T22:52:17.098Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T22:52:17.098Z] ---> Running in 515d825857fd [2021-05-06T22:52:18.056Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:52:19.015Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:52:19.606Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-06T22:52:19.606Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-06T22:52:19.873Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-06T22:52:19.873Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-06T22:52:19.873Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-06T22:52:20.454Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-06T22:52:20.454Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-06T22:52:20.718Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-06T22:52:20.982Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-06T22:52:20.982Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-06T22:52:20.982Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-06T22:52:21.932Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-06T22:52:21.932Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-06T22:52:22.202Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T22:52:22.202Z] OK: 156 MiB in 53 packages [2021-05-06T22:52:23.151Z] Removing intermediate container 515d825857fd [2021-05-06T22:52:23.151Z] ---> 0fadfb80afa5 [2021-05-06T22:52:23.151Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-06T22:52:23.151Z] ---> Running in 4557230ad503 [2021-05-06T22:52:23.151Z] Removing intermediate container 4557230ad503 [2021-05-06T22:52:23.151Z] ---> 03eb64e970d1 [2021-05-06T22:52:23.151Z] Step 7/8 : COPY . . [2021-05-06T22:52:24.113Z] ---> 701f4c97c379 [2021-05-06T22:52:24.113Z] Step 8/8 : RUN go mod download [2021-05-06T22:52:24.113Z] ---> Running in bcb96d4fd0c8 [2021-05-06T22:52:50.833Z] Removing intermediate container bcb96d4fd0c8 [2021-05-06T22:52:50.833Z] ---> 9005bc86e587 [2021-05-06T22:52:50.833Z] Successfully built 9005bc86e587 [2021-05-06T22:52:50.833Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:52:51.193Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:52:51.193Z] . [Pipeline] withDockerContainer [2021-05-06T22:52:51.420Z] prd-centos7-docker-4c-2g-3378 does not seem to be running inside a container [2021-05-06T22:52:51.478Z] $ 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-06T22:52:52.469Z] $ docker top 24d5bdb4778668d06968be86d913b69e778f7d85745bf39412f536e2131d4a99 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:52:53.003Z] + go version [2021-05-06T22:52:53.003Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T22:52:53.037Z] $ docker stop --time=1 24d5bdb4778668d06968be86d913b69e778f7d85745bf39412f536e2131d4a99 [2021-05-06T22:52:54.490Z] $ docker rm -f 24d5bdb4778668d06968be86d913b69e778f7d85745bf39412f536e2131d4a99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:52:55.255Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:52:55.255Z] . [Pipeline] withDockerContainer [2021-05-06T22:52:55.416Z] prd-centos7-docker-4c-2g-3378 does not seem to be running inside a container [2021-05-06T22:52:55.525Z] $ 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-06T22:52:56.251Z] $ docker top 00e82f9fbd425f7973448a5774e4b8fbdc9e276f41305ffa91f56b62fceb2351 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:52:56.715Z] + go mod tidy [Pipeline] sh [2021-05-06T22:52:58.027Z] + make test [2021-05-06T22:52:58.027Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-06T22:52:59.470Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-06T22:53:26.471Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-06T22:53:27.566Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.573s coverage: 63.8% of statements [2021-05-06T22:53:27.566Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-06T22:53:42.599Z] gofmt -l . [2021-05-06T22:53:42.599Z] [ "`gofmt -l .`" = "" ] [2021-05-06T22:53:42.599Z] ./bin/test-attribution-txt.sh [2021-05-06T22:53:42.599Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T22:53:42.639Z] $ docker stop --time=1 00e82f9fbd425f7973448a5774e4b8fbdc9e276f41305ffa91f56b62fceb2351 [2021-05-06T22:53:44.918Z] $ docker rm -f 00e82f9fbd425f7973448a5774e4b8fbdc9e276f41305ffa91f56b62fceb2351 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:53:45.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T22:53:46.122Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-06T22:53:47.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T22:53:47.699Z] + ls -al . [2021-05-06T22:53:47.699Z] total 132 [2021-05-06T22:53:47.699Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 6 22:53 . [2021-05-06T22:53:47.699Z] drwxrwxr-x. 4 jenkins jenkins 28 May 6 22:51 .. [2021-05-06T22:53:47.699Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 6 22:51 Attribution.txt [2021-05-06T22:53:47.699Z] drwxrwxr-x. 2 jenkins jenkins 64 May 6 22:51 bin [2021-05-06T22:53:47.699Z] drwxrwxr-x. 3 jenkins jenkins 32 May 6 22:51 cmd [2021-05-06T22:53:47.699Z] -rw-r--r--. 1 jenkins jenkins 47247 May 6 22:53 coverage.out [2021-05-06T22:53:47.699Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 6 22:51 Dockerfile [2021-05-06T22:53:47.699Z] -rw-rw-r--. 1 jenkins jenkins 998 May 6 22:51 Dockerfile.build [2021-05-06T22:53:47.699Z] drwxrwxr-x. 8 jenkins jenkins 179 May 6 22:51 .git [2021-05-06T22:53:47.699Z] drwxrwxr-x. 2 jenkins jenkins 103 May 6 22:51 .github [2021-05-06T22:53:47.699Z] -rw-rw-r--. 1 jenkins jenkins 277 May 6 22:51 .gitignore [2021-05-06T22:53:47.699Z] -rw-r--r--. 1 jenkins jenkins 809 May 6 22:53 go.mod [2021-05-06T22:53:47.699Z] -rw-r--r--. 1 jenkins jenkins 23585 May 6 22:52 go.sum [2021-05-06T22:53:47.699Z] drwxrwxr-x. 3 jenkins jenkins 20 May 6 22:51 internal [2021-05-06T22:53:47.699Z] -rw-rw-r--. 1 jenkins jenkins 660 May 6 22:51 Jenkinsfile [2021-05-06T22:53:47.699Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 6 22:51 LICENSE [2021-05-06T22:53:47.699Z] -rw-rw-r--. 1 jenkins jenkins 901 May 6 22:51 Makefile [2021-05-06T22:53:47.699Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 6 22:51 README.md [2021-05-06T22:53:47.699Z] -rw-rw-r--. 1 jenkins jenkins 5 May 6 22:50 VERSION [2021-05-06T22:53:47.699Z] -rw-rw-r--. 1 jenkins jenkins 235 May 6 22:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:53:48.056Z] + 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=390274e52fec6bb2c444bd84e5560e61a6e3132c --label arch=amd64 --label version=0.0.0 . [2021-05-06T22:53:48.318Z] Sending build context to Docker daemon 598.5kB [2021-05-06T22:53:48.318Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:53:48.318Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-06T22:53:48.318Z] ---> 9005bc86e587 [2021-05-06T22:53:48.318Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-06T22:53:48.580Z] ---> Running in da884320fa58 [2021-05-06T22:53:48.580Z] Removing intermediate container da884320fa58 [2021-05-06T22:53:48.580Z] ---> 7192dd32b27f [2021-05-06T22:53:48.580Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T22:53:48.846Z] ---> Running in f14bd15161e4 [2021-05-06T22:53:48.846Z] Removing intermediate container f14bd15161e4 [2021-05-06T22:53:48.846Z] ---> 6497b24b15d8 [2021-05-06T22:53:48.846Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-06T22:53:49.109Z] ---> Running in 3c5f51403d97 [2021-05-06T22:53:49.109Z] Removing intermediate container 3c5f51403d97 [2021-05-06T22:53:49.109Z] ---> edafc7f81995 [2021-05-06T22:53:49.109Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:53:49.373Z] ---> Running in 0a1d471ce620 [2021-05-06T22:53:50.331Z] Removing intermediate container 0a1d471ce620 [2021-05-06T22:53:50.331Z] ---> f5ce654dd717 [2021-05-06T22:53:50.331Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T22:53:50.331Z] ---> Running in 3bcead802418 [2021-05-06T22:53:50.915Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:53:51.864Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:53:53.267Z] OK: 156 MiB in 53 packages [2021-05-06T22:53:53.553Z] Removing intermediate container 3bcead802418 [2021-05-06T22:53:53.553Z] ---> 33979d9a49d8 [2021-05-06T22:53:53.553Z] Step 8/25 : COPY . . [2021-05-06T22:53:54.508Z] ---> e900266bd733 [2021-05-06T22:53:54.508Z] Step 9/25 : RUN go mod download [2021-05-06T22:53:54.508Z] ---> Running in 6c8eb4a70946 [2021-05-06T22:53:55.477Z] Removing intermediate container 6c8eb4a70946 [2021-05-06T22:53:55.477Z] ---> c74ed5c89129 [2021-05-06T22:53:55.477Z] Step 10/25 : ARG MAKE='make build' [2021-05-06T22:53:55.477Z] ---> Running in ad4605765f30 [2021-05-06T22:53:55.741Z] Removing intermediate container ad4605765f30 [2021-05-06T22:53:55.741Z] ---> 18c980a3927a [2021-05-06T22:53:55.741Z] Step 11/25 : RUN $MAKE [2021-05-06T22:53:55.741Z] ---> Running in 9c1875ee6598 [2021-05-06T22:53:56.324Z] 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-06T22:54:18.513Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-06T22:54:20.441Z] Removing intermediate container 9c1875ee6598 [2021-05-06T22:54:20.441Z] ---> 234304eeceb9 [2021-05-06T22:54:20.441Z] Step 12/25 : FROM alpine:3.12 [2021-05-06T22:54:21.014Z] 3.12: Pulling from library/alpine [2021-05-06T22:54:21.014Z] 339de151aab4: Pulling fs layer [2021-05-06T22:54:21.277Z] 339de151aab4: Verifying Checksum [2021-05-06T22:54:21.277Z] 339de151aab4: Download complete [2021-05-06T22:54:21.540Z] 339de151aab4: Pull complete [2021-05-06T22:54:21.540Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T22:54:21.540Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T22:54:21.540Z] ---> 13621d1b12d4 [2021-05-06T22:54:21.540Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-06T22:54:21.540Z] ---> Running in aeef4564718b [2021-05-06T22:54:21.804Z] Removing intermediate container aeef4564718b [2021-05-06T22:54:21.804Z] ---> 9aa2e15510b0 [2021-05-06T22:54:21.804Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:54:21.804Z] ---> Running in 237e37b91250 [2021-05-06T22:54:22.753Z] Removing intermediate container 237e37b91250 [2021-05-06T22:54:22.753Z] ---> a3ea4af580ba [2021-05-06T22:54:22.753Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-06T22:54:22.753Z] ---> Running in fe402006ce6a [2021-05-06T22:54:23.337Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:54:23.967Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:54:24.231Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-06T22:54:24.231Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-06T22:54:24.495Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-06T22:54:24.495Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-06T22:54:25.443Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-06T22:54:25.443Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-06T22:54:25.443Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T22:54:25.443Z] OK: 8 MiB in 20 packages [2021-05-06T22:54:26.025Z] Removing intermediate container fe402006ce6a [2021-05-06T22:54:26.025Z] ---> ecc415605b98 [2021-05-06T22:54:26.025Z] Step 16/25 : WORKDIR / [2021-05-06T22:54:26.025Z] ---> Running in c872022abe01 [2021-05-06T22:54:26.290Z] Removing intermediate container c872022abe01 [2021-05-06T22:54:26.290Z] ---> 408ae3eb7782 [2021-05-06T22:54:26.290Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-06T22:54:26.555Z] ---> 4a7805f3bfe8 [2021-05-06T22:54:26.555Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-06T22:54:26.818Z] ---> 2ba2e4e3469d [2021-05-06T22:54:26.818Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-06T22:54:27.398Z] ---> 5e9103010c6c [2021-05-06T22:54:27.398Z] Step 20/25 : EXPOSE 49990 [2021-05-06T22:54:27.398Z] ---> Running in f58d7438f462 [2021-05-06T22:54:27.666Z] Removing intermediate container f58d7438f462 [2021-05-06T22:54:27.666Z] ---> 2e49afaa9e78 [2021-05-06T22:54:27.666Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-06T22:54:27.666Z] ---> Running in 68271688e560 [2021-05-06T22:54:27.932Z] Removing intermediate container 68271688e560 [2021-05-06T22:54:27.932Z] ---> 8f2c5df1805a [2021-05-06T22:54:27.932Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T22:54:27.932Z] ---> Running in 4b313eafefd3 [2021-05-06T22:54:28.202Z] Removing intermediate container 4b313eafefd3 [2021-05-06T22:54:28.202Z] ---> c1fa870ca095 [2021-05-06T22:54:28.202Z] Step 23/25 : LABEL arch=amd64 [2021-05-06T22:54:28.202Z] ---> Running in b108c4f22e2d [2021-05-06T22:54:28.465Z] Removing intermediate container b108c4f22e2d [2021-05-06T22:54:28.465Z] ---> 5a8985380099 [2021-05-06T22:54:28.465Z] Step 24/25 : LABEL git_sha=390274e52fec6bb2c444bd84e5560e61a6e3132c [2021-05-06T22:54:28.465Z] ---> Running in b48a4b1b9236 [2021-05-06T22:54:28.730Z] Removing intermediate container b48a4b1b9236 [2021-05-06T22:54:28.730Z] ---> e411dc6d1097 [2021-05-06T22:54:28.730Z] Step 25/25 : LABEL version=0.0.0 [2021-05-06T22:54:28.730Z] ---> Running in fcdaab2d7d9a [2021-05-06T22:54:28.993Z] Removing intermediate container fcdaab2d7d9a [2021-05-06T22:54:28.993Z] ---> d765adea6610 [2021-05-06T22:54:28.993Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-06T22:54:28.993Z] Successfully built d765adea6610 [2021-05-06T22:54:28.993Z] 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-06T22:54:29.793Z] ---> job-cost.sh [2021-05-06T22:54:29.793Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-O7wL [2021-05-06T22:54:47.953Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T22:55:14.618Z] lf-activate-venv(): INFO: Adding /tmp/venv-O7wL/bin to PATH [2021-05-06T22:55:14.618Z] INFO: No Stack... [2021-05-06T22:55:14.618Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T22:55:14.619Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T22:55:14.954Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-06T22:55:14.954Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T22:55:15.064Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] [2021-05-06T22:55:15.071Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] did not exist. Created. [2021-05-06T22:55:15.071Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T22:55:15.485Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T22:55:15.631Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T22:55:15.650Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T22:59:19.321Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3389 in /w/workspace/foundry_device-virtual-go_PR-200 [Pipeline] { [Pipeline] ws [2021-05-06T22:59:19.390Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-06T22:59:27.024Z] using credential edgex-jenkins-ssh [2021-05-06T22:59:27.082Z] Cloning the remote Git repository [2021-05-06T22:59:27.314Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T22:59:27.530Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-06T22:59:27.613Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T22:59:27.614Z] > git --version # timeout=10 [2021-05-06T22:59:27.632Z] > git --version # 'git version 2.17.1' [2021-05-06T22:59:27.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:59:27.731Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:59:29.376Z] Merging remotes/origin/master commit 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 into PR head commit 390274e52fec6bb2c444bd84e5560e61a6e3132c [2021-05-06T22:59:29.555Z] Merge succeeded, producing 390274e52fec6bb2c444bd84e5560e61a6e3132c [2021-05-06T22:59:29.556Z] Checking out Revision 390274e52fec6bb2c444bd84e5560e61a6e3132c (PR-200) [2021-05-06T22:59:28.692Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-06T22:59:28.711Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:59:28.737Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-06T22:59:28.766Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-06T22:59:28.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:59:28.778Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:59:29.398Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:59:29.411Z] > git checkout -f 390274e52fec6bb2c444bd84e5560e61a6e3132c # timeout=10 [2021-05-06T22:59:29.481Z] > git remote # timeout=10 [2021-05-06T22:59:29.497Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:59:29.510Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:59:29.523Z] > git merge 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 # timeout=10 [2021-05-06T22:59:29.544Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:59:29.567Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:59:29.593Z] > git checkout -f 390274e52fec6bb2c444bd84e5560e61a6e3132c # timeout=10 [2021-05-06T22:59:33.977Z] Commit message: "ci: update local docker image names" [2021-05-06T22:59:34.034Z] > git --version # timeout=10 [2021-05-06T22:59:34.044Z] > git --version # 'git version 2.17.1' [2021-05-06T22:59:34.064Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:59:35.715Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:59:36.143Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:59:36.501Z] + + true [2021-05-06T22:59:36.501Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:59:39.245Z] provisioning config files... [2021-05-06T22:59:39.308Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config285636041272126135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:59:39.752Z] ---> docker-login.sh [2021-05-06T22:59:39.752Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:59:40.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:41.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:41.018Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:41.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:41.018Z] [2021-05-06T22:59:41.018Z] Login Succeeded [2021-05-06T22:59:41.018Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:59:41.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:41.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:41.574Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:41.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:41.574Z] [2021-05-06T22:59:41.574Z] Login Succeeded [2021-05-06T22:59:41.574Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:59:41.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:42.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:42.124Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:42.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:42.124Z] [2021-05-06T22:59:42.124Z] Login Succeeded [2021-05-06T22:59:42.124Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:59:42.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:42.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:42.399Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:42.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:42.399Z] [2021-05-06T22:59:42.399Z] Login Succeeded [2021-05-06T22:59:42.673Z] docker.io [2021-05-06T22:59:42.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:43.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:43.237Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:43.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:43.237Z] [2021-05-06T22:59:43.237Z] Login Succeeded [2021-05-06T22:59:43.237Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:59:43.278Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:59:43.754Z] ========================================================= [2021-05-06T22:59:43.754Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T22:59:43.754Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:59:44.128Z] + 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-06T22:59:44.401Z] Sending build context to Docker daemon 524.8kB [2021-05-06T22:59:44.401Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:59:44.401Z] Step 2/8 : FROM ${BASE} [2021-05-06T22:59:44.401Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T22:59:44.401Z] 595b0fe564bb: Pulling fs layer [2021-05-06T22:59:44.401Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T22:59:44.401Z] 316046926c0a: Pulling fs layer [2021-05-06T22:59:44.401Z] 4ebd0625c992: Pulling fs layer [2021-05-06T22:59:44.401Z] 207e8628e3a3: Pulling fs layer [2021-05-06T22:59:44.401Z] c791037a9be2: Pulling fs layer [2021-05-06T22:59:44.401Z] ffd874e62e21: Pulling fs layer [2021-05-06T22:59:44.401Z] 4ebd0625c992: Waiting [2021-05-06T22:59:44.401Z] 207e8628e3a3: Waiting [2021-05-06T22:59:44.401Z] c791037a9be2: Waiting [2021-05-06T22:59:44.401Z] ffd874e62e21: Waiting [2021-05-06T22:59:44.684Z] 316046926c0a: Verifying Checksum [2021-05-06T22:59:44.684Z] 316046926c0a: Download complete [2021-05-06T22:59:44.684Z] 7186ed65a4f7: Verifying Checksum [2021-05-06T22:59:44.684Z] 7186ed65a4f7: Download complete [2021-05-06T22:59:44.684Z] 207e8628e3a3: Verifying Checksum [2021-05-06T22:59:44.684Z] 207e8628e3a3: Download complete [2021-05-06T22:59:44.684Z] c791037a9be2: Verifying Checksum [2021-05-06T22:59:44.684Z] c791037a9be2: Download complete [2021-05-06T22:59:44.684Z] 595b0fe564bb: Verifying Checksum [2021-05-06T22:59:44.684Z] 595b0fe564bb: Download complete [2021-05-06T22:59:45.288Z] 595b0fe564bb: Pull complete [2021-05-06T22:59:45.897Z] 7186ed65a4f7: Pull complete [2021-05-06T22:59:46.173Z] 316046926c0a: Pull complete [2021-05-06T22:59:47.163Z] ffd874e62e21: Verifying Checksum [2021-05-06T22:59:47.163Z] ffd874e62e21: Download complete [2021-05-06T22:59:49.147Z] 4ebd0625c992: Verifying Checksum [2021-05-06T22:59:49.147Z] 4ebd0625c992: Download complete [2021-05-06T22:59:59.338Z] 4ebd0625c992: Pull complete [2021-05-06T22:59:59.338Z] 207e8628e3a3: Pull complete [2021-05-06T22:59:59.934Z] c791037a9be2: Pull complete [2021-05-06T23:00:03.324Z] ffd874e62e21: Pull complete [2021-05-06T23:00:03.324Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T23:00:03.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T23:00:03.324Z] ---> cfc18b08335c [2021-05-06T23:00:03.324Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-06T23:00:05.945Z] ---> Running in 3bafc24c2d5b [2021-05-06T23:00:06.547Z] Removing intermediate container 3bafc24c2d5b [2021-05-06T23:00:06.547Z] ---> 77897cfe1955 [2021-05-06T23:00:06.547Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T23:00:06.547Z] ---> Running in 3404b0a7a687 [2021-05-06T23:00:09.217Z] Removing intermediate container 3404b0a7a687 [2021-05-06T23:00:09.217Z] ---> 0451a9e3a2bd [2021-05-06T23:00:09.217Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T23:00:09.217Z] ---> Running in 97af25ba32dd [2021-05-06T23:00:10.692Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T23:00:11.692Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T23:00:13.138Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-06T23:00:13.412Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-06T23:00:13.683Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-06T23:00:13.683Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-06T23:00:13.683Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-06T23:00:13.956Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-06T23:00:14.234Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-06T23:00:15.671Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-06T23:00:15.944Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-06T23:00:15.944Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-06T23:00:16.214Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-06T23:00:16.806Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-06T23:00:16.806Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-06T23:00:17.079Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T23:00:17.079Z] OK: 145 MiB in 53 packages [2021-05-06T23:00:18.511Z] Removing intermediate container 97af25ba32dd [2021-05-06T23:00:18.511Z] ---> bc49a633a788 [2021-05-06T23:00:18.511Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-06T23:00:18.511Z] ---> Running in 6fdea501edd6 [2021-05-06T23:00:19.103Z] Removing intermediate container 6fdea501edd6 [2021-05-06T23:00:19.103Z] ---> 31cbba02447f [2021-05-06T23:00:19.103Z] Step 7/8 : COPY . . [2021-05-06T23:00:20.096Z] ---> 49da09990fbc [2021-05-06T23:00:20.096Z] Step 8/8 : RUN go mod download [2021-05-06T23:00:20.096Z] ---> Running in 1c266e288737 [2021-05-06T23:00:52.501Z] Removing intermediate container 1c266e288737 [2021-05-06T23:00:52.501Z] ---> bcd386215c1d [2021-05-06T23:00:52.501Z] Successfully built bcd386215c1d [2021-05-06T23:00:52.501Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:00:52.907Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T23:00:52.907Z] . [Pipeline] withDockerContainer [2021-05-06T23:00:53.250Z] prd-ubuntu18.04-docker-arm64-4c-16g-3389 does not seem to be running inside a container [2021-05-06T23:00:53.375Z] $ 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-06T23:00:55.140Z] $ docker top f7cebeefc25d82de67c99166c0521cacaa9f82bd7df7b3beda87f06bf9492d3c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T23:00:56.230Z] + go version [2021-05-06T23:00:56.230Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T23:00:56.284Z] $ docker stop --time=1 f7cebeefc25d82de67c99166c0521cacaa9f82bd7df7b3beda87f06bf9492d3c [2021-05-06T23:00:58.371Z] $ docker rm -f f7cebeefc25d82de67c99166c0521cacaa9f82bd7df7b3beda87f06bf9492d3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:00:59.295Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T23:00:59.295Z] . [Pipeline] withDockerContainer [2021-05-06T23:00:59.609Z] prd-ubuntu18.04-docker-arm64-4c-16g-3389 does not seem to be running inside a container [2021-05-06T23:00:59.712Z] $ 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-06T23:01:01.137Z] $ docker top 3708907e7dfcbe48d3bdd043f3a6bded600718e3e72ad15693b25ef9a43942d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T23:01:02.181Z] + go mod tidy [Pipeline] sh [2021-05-06T23:01:03.620Z] + make test [2021-05-06T23:01:03.620Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-06T23:01:05.704Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-06T23:02:27.773Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-06T23:02:27.773Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.134s coverage: 63.8% of statements [2021-05-06T23:02:27.773Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-06T23:02:50.003Z] gofmt -l . [2021-05-06T23:02:50.003Z] [ "`gofmt -l .`" = "" ] [2021-05-06T23:02:50.003Z] ./bin/test-attribution-txt.sh [2021-05-06T23:02:50.003Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T23:02:50.315Z] $ docker stop --time=1 3708907e7dfcbe48d3bdd043f3a6bded600718e3e72ad15693b25ef9a43942d7 [2021-05-06T23:02:52.445Z] $ docker rm -f 3708907e7dfcbe48d3bdd043f3a6bded600718e3e72ad15693b25ef9a43942d7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T23:02:53.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T23:02:53.468Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T23:02:54.276Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T23:02:54.918Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T23:02:55.282Z] + ls -al . [2021-05-06T23:02:55.282Z] total 156 [2021-05-06T23:02:55.282Z] drwxrwxr-x 7 jenkins jenkins 4096 May 6 23:02 . [2021-05-06T23:02:55.282Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:59 .. [2021-05-06T23:02:55.282Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:59 .git [2021-05-06T23:02:55.282Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:59 .github [2021-05-06T23:02:55.282Z] -rw-rw-r-- 1 jenkins jenkins 277 May 6 22:59 .gitignore [2021-05-06T23:02:55.282Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 6 22:59 Attribution.txt [2021-05-06T23:02:55.282Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 6 22:59 Dockerfile [2021-05-06T23:02:55.282Z] -rw-rw-r-- 1 jenkins jenkins 998 May 6 22:59 Dockerfile.build [2021-05-06T23:02:55.282Z] -rw-rw-r-- 1 jenkins jenkins 660 May 6 22:59 Jenkinsfile [2021-05-06T23:02:55.282Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 6 22:59 LICENSE [2021-05-06T23:02:55.282Z] -rw-rw-r-- 1 jenkins jenkins 901 May 6 22:59 Makefile [2021-05-06T23:02:55.282Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 6 22:59 README.md [2021-05-06T23:02:55.282Z] -rw-rw-r-- 1 jenkins jenkins 5 May 6 22:50 VERSION [2021-05-06T23:02:55.282Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:59 bin [2021-05-06T23:02:55.282Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 22:59 cmd [2021-05-06T23:02:55.282Z] -rw-r--r-- 1 jenkins jenkins 47247 May 6 23:02 coverage.out [2021-05-06T23:02:55.282Z] -rw-r--r-- 1 jenkins jenkins 809 May 6 23:02 go.mod [2021-05-06T23:02:55.282Z] -rw-r--r-- 1 jenkins jenkins 23585 May 6 23:01 go.sum [2021-05-06T23:02:55.282Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 22:59 internal [2021-05-06T23:02:55.282Z] -rw-rw-r-- 1 jenkins jenkins 235 May 6 22:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:02:55.673Z] + 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=390274e52fec6bb2c444bd84e5560e61a6e3132c --label arch=arm64 --label version=0.0.0 . [2021-05-06T23:02:56.272Z] Sending build context to Docker daemon 597.5kB [2021-05-06T23:02:56.272Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T23:02:56.272Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-06T23:02:56.272Z] ---> bcd386215c1d [2021-05-06T23:02:56.272Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-06T23:02:56.547Z] ---> Running in 743b4523c32b [2021-05-06T23:02:56.833Z] Removing intermediate container 743b4523c32b [2021-05-06T23:02:56.833Z] ---> 414e3e72664c [2021-05-06T23:02:56.833Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T23:02:57.110Z] ---> Running in e2f22266af6b [2021-05-06T23:02:57.716Z] Removing intermediate container e2f22266af6b [2021-05-06T23:02:57.716Z] ---> fd77f47dd797 [2021-05-06T23:02:57.716Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-06T23:02:57.716Z] ---> Running in d352fa9ed14b [2021-05-06T23:02:58.315Z] Removing intermediate container d352fa9ed14b [2021-05-06T23:02:58.315Z] ---> ba26c5659a6c [2021-05-06T23:02:58.315Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T23:02:58.315Z] ---> Running in 6a3e37903d66 [2021-05-06T23:03:00.957Z] Removing intermediate container 6a3e37903d66 [2021-05-06T23:03:00.957Z] ---> 6d656a58a7f5 [2021-05-06T23:03:00.957Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T23:03:00.957Z] ---> Running in 28777681cd2b [2021-05-06T23:03:02.409Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T23:03:03.402Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T23:03:04.384Z] OK: 145 MiB in 53 packages [2021-05-06T23:03:05.830Z] Removing intermediate container 28777681cd2b [2021-05-06T23:03:05.830Z] ---> 0b532ff8b7dd [2021-05-06T23:03:05.830Z] Step 8/25 : COPY . . [2021-05-06T23:03:06.818Z] ---> 155767388796 [2021-05-06T23:03:06.818Z] Step 9/25 : RUN go mod download [2021-05-06T23:03:06.818Z] ---> Running in 19577269fc93 [2021-05-06T23:03:09.440Z] Removing intermediate container 19577269fc93 [2021-05-06T23:03:09.440Z] ---> e996a6d8aca5 [2021-05-06T23:03:09.440Z] Step 10/25 : ARG MAKE='make build' [2021-05-06T23:03:09.440Z] ---> Running in 6b12b7697567 [2021-05-06T23:03:10.043Z] Removing intermediate container 6b12b7697567 [2021-05-06T23:03:10.043Z] ---> ab4090b049d0 [2021-05-06T23:03:10.043Z] Step 11/25 : RUN $MAKE [2021-05-06T23:03:10.316Z] ---> Running in 62bb1e2592f3 [2021-05-06T23:03:11.294Z] 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-06T23:04:07.886Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-06T23:04:20.291Z] Removing intermediate container 62bb1e2592f3 [2021-05-06T23:04:20.291Z] ---> ce42a4b0dadc [2021-05-06T23:04:20.291Z] Step 12/25 : FROM alpine:3.12 [2021-05-06T23:04:20.291Z] 3.12: Pulling from library/alpine [2021-05-06T23:04:20.291Z] d2f70382dc9a: Pulling fs layer [2021-05-06T23:04:20.291Z] d2f70382dc9a: Verifying Checksum [2021-05-06T23:04:20.291Z] d2f70382dc9a: Download complete [2021-05-06T23:04:20.291Z] d2f70382dc9a: Pull complete [2021-05-06T23:04:20.291Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T23:04:20.291Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T23:04:20.291Z] ---> 9852663dfa18 [2021-05-06T23:04:20.291Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-06T23:04:20.571Z] ---> Running in edc1b929361a [2021-05-06T23:04:21.187Z] Removing intermediate container edc1b929361a [2021-05-06T23:04:21.187Z] ---> 3224d14f8adc [2021-05-06T23:04:21.187Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T23:04:21.187Z] ---> Running in 3fbced288d15 [2021-05-06T23:04:23.821Z] Removing intermediate container 3fbced288d15 [2021-05-06T23:04:23.821Z] ---> fe7ba97ff9ab [2021-05-06T23:04:23.821Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-06T23:04:23.821Z] ---> Running in 1565ca951ec0 [2021-05-06T23:04:24.797Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-06T23:04:25.781Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-06T23:04:26.378Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-06T23:04:26.379Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-06T23:04:26.657Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-06T23:04:26.657Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-06T23:04:26.932Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-06T23:04:26.932Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-06T23:04:27.206Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T23:04:27.206Z] OK: 8 MiB in 20 packages [2021-05-06T23:04:28.657Z] Removing intermediate container 1565ca951ec0 [2021-05-06T23:04:28.657Z] ---> df2daee6fd37 [2021-05-06T23:04:28.657Z] Step 16/25 : WORKDIR / [2021-05-06T23:04:28.657Z] ---> Running in 9be856cab28b [2021-05-06T23:04:29.253Z] Removing intermediate container 9be856cab28b [2021-05-06T23:04:29.253Z] ---> a559edf9e08c [2021-05-06T23:04:29.253Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-06T23:04:30.234Z] ---> 0000b696abcf [2021-05-06T23:04:30.234Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-06T23:04:30.830Z] ---> 01f11411ad81 [2021-05-06T23:04:30.830Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-06T23:04:32.263Z] ---> 407d6c3069be [2021-05-06T23:04:32.263Z] Step 20/25 : EXPOSE 49990 [2021-05-06T23:04:32.263Z] ---> Running in ff95c8e10c18 [2021-05-06T23:04:32.857Z] Removing intermediate container ff95c8e10c18 [2021-05-06T23:04:32.857Z] ---> f3f6a4947b82 [2021-05-06T23:04:32.857Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-06T23:04:32.857Z] ---> Running in 639b0e1b1f6a [2021-05-06T23:04:33.456Z] Removing intermediate container 639b0e1b1f6a [2021-05-06T23:04:33.456Z] ---> df94e62e951b [2021-05-06T23:04:33.456Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T23:04:33.456Z] ---> Running in 08e9cb360f26 [2021-05-06T23:04:34.055Z] Removing intermediate container 08e9cb360f26 [2021-05-06T23:04:34.055Z] ---> 09245af636cc [2021-05-06T23:04:34.055Z] Step 23/25 : LABEL arch=arm64 [2021-05-06T23:04:34.055Z] ---> Running in 77faf0d33e10 [2021-05-06T23:04:34.655Z] Removing intermediate container 77faf0d33e10 [2021-05-06T23:04:34.655Z] ---> 78bdfd6195e7 [2021-05-06T23:04:34.656Z] Step 24/25 : LABEL git_sha=390274e52fec6bb2c444bd84e5560e61a6e3132c [2021-05-06T23:04:34.656Z] ---> Running in fe91d1150e55 [2021-05-06T23:04:35.252Z] Removing intermediate container fe91d1150e55 [2021-05-06T23:04:35.252Z] ---> c78bbac2d5f3 [2021-05-06T23:04:35.252Z] Step 25/25 : LABEL version=0.0.0 [2021-05-06T23:04:35.252Z] ---> Running in fe2d8fbb270c [2021-05-06T23:04:35.847Z] Removing intermediate container fe2d8fbb270c [2021-05-06T23:04:35.847Z] ---> e1a5802bd415 [2021-05-06T23:04:35.847Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-06T23:04:35.847Z] Successfully built e1a5802bd415 [2021-05-06T23:04:35.847Z] 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-06T23:04:36.540Z] ---> job-cost.sh [2021-05-06T23:04:36.540Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WBnh [2021-05-06T23:05:23.497Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T23:07:30.339Z] lf-activate-venv(): INFO: Adding /tmp/venv-WBnh/bin to PATH [2021-05-06T23:07:30.339Z] INFO: No Stack... [2021-05-06T23:07:30.339Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T23:07:30.339Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T23:07:30.711Z] + + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-06T23:07:30.711Z] cut -d, -f6 [Pipeline] lock [2021-05-06T23:07:30.864Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] [2021-05-06T23:07:30.872Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] did not exist. Created. [2021-05-06T23:07:30.872Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T23:07:31.316Z] /w/workspace/device-virtual-go/1@tmp/durable-b39aaae4/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-b39aaae4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T23:07:31.694Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T23:07:31.735Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T23:07:31.889Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T23:07:31.910Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-200-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-06T23:07:32.751Z] provisioning config files... [2021-05-06T23:07:32.762Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-200@tmp/config2658226514772646131tmp [Pipeline] { [Pipeline] sh [2021-05-06T23:07:33.136Z] + set +x [2021-05-06T23:07:33.136Z] + curl -s https://codecov.io/bash [2021-05-06T23:07:33.136Z] + bash -s -- [2021-05-06T23:07:33.401Z] [2021-05-06T23:07:33.401Z] _____ _ [2021-05-06T23:07:33.401Z] / ____| | | [2021-05-06T23:07:33.401Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T23:07:33.401Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T23:07:33.401Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T23:07:33.401Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T23:07:33.401Z] Bash-1.0.2 [2021-05-06T23:07:33.401Z] [2021-05-06T23:07:33.401Z] [2021-05-06T23:07:33.401Z] ==> git version 2.24.3 found [2021-05-06T23:07:33.401Z] ==> 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-06T23:07:33.401Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T23:07:33.401Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T23:07:33.401Z] ==> Jenkins CI detected. [2021-05-06T23:07:33.401Z] project root: . [2021-05-06T23:07:33.401Z] --> token set from env [2021-05-06T23:07:33.401Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T23:07:33.401Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T23:07:33.401Z] ==> Python coveragepy not found [2021-05-06T23:07:33.401Z] ==> Searching for coverage reports in: [2021-05-06T23:07:33.401Z] + . [2021-05-06T23:07:33.401Z] -> Found 1 reports [2021-05-06T23:07:33.401Z] ==> Detecting git/mercurial file structure [2021-05-06T23:07:33.401Z] ==> Reading reports [2021-05-06T23:07:33.401Z] + ./coverage.out bytes=47247 [2021-05-06T23:07:33.401Z] ==> Appending adjustments [2021-05-06T23:07:33.401Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T23:07:33.401Z] + Found adjustments [2021-05-06T23:07:33.401Z] ==> Gzipping contents [2021-05-06T23:07:33.401Z] 8.0K /tmp/codecov.TWXUs1.gz [2021-05-06T23:07:33.707Z] ==> Uploading reports [2021-05-06T23:07:33.707Z] url: https://codecov.io [2021-05-06T23:07:33.707Z] query: branch=PR-200&commit=390274e52fec6bb2c444bd84e5560e61a6e3132c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-200%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=200&job=&cmd_args= [2021-05-06T23:07:33.707Z] -> Pinging Codecov [2021-05-06T23:07:33.707Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-200&commit=390274e52fec6bb2c444bd84e5560e61a6e3132c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-200%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=200&job=&cmd_args= [2021-05-06T23:07:34.319Z] -> Uploading to [2021-05-06T23:07:34.319Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/5E52B4B073DB2E39498172D8E973AA87/390274e52fec6bb2c444bd84e5560e61a6e3132c/6812ea6a-d627-4a6d-8243-f8f59f1ffab2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T230733Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=795619cf31a919364c2aca9bdf4d04d26467204ae27daf8a95bae821872e5a73 [2021-05-06T23:07:34.319Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T23:07:34.319Z] Dload Upload Total Spent Left Speed [2021-05-06T23:07:34.608Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5770 0 0 100 5770 0 12945 --:--:-- --:--:-- --:--:-- 12966 [2021-05-06T23:07:34.608Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/390274e52fec6bb2c444bd84e5560e61a6e3132c [Pipeline] } [2021-05-06T23:07:34.645Z] 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-06T23:07:36.450Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:07:36.813Z] ---> package-listing.sh [2021-05-06T23:07:36.813Z] ++ facter osfamily [2021-05-06T23:07:36.813Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T23:07:36.813Z] + OS_FAMILY=redhat [2021-05-06T23:07:36.813Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-200 [2021-05-06T23:07:36.813Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T23:07:36.813Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T23:07:36.813Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T23:07:36.813Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T23:07:36.813Z] + '[' /w/workspace/foundry_device-virtual-go_PR-200 ']' [2021-05-06T23:07:36.813Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T23:07:36.813Z] + case "${OS_FAMILY}" in [2021-05-06T23:07:36.813Z] + rpm -qa [2021-05-06T23:07:36.813Z] + sort [2021-05-06T23:07:42.145Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T23:07:42.145Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T23:07:42.145Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T23:07:42.145Z] + '[' /w/workspace/foundry_device-virtual-go_PR-200 ']' [2021-05-06T23:07:42.145Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-200/archives/ [2021-05-06T23:07:42.145Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-200/archives/ [Pipeline] echo [2021-05-06T23:07:42.189Z] 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-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T23:07:42.509Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:07:42.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T23:07:42.854Z] [2021-05-06T23:07:42.854Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:07:43.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T23:07:43.221Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T23:07:43.221Z] df20fa9351a1: Pulling fs layer [2021-05-06T23:07:43.221Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T23:07:43.221Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T23:07:43.221Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T23:07:43.221Z] 93b61091891f: Pulling fs layer [2021-05-06T23:07:43.221Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T23:07:43.221Z] 5e14af77c1be: Pulling fs layer [2021-05-06T23:07:43.221Z] 01666e4c0597: Pulling fs layer [2021-05-06T23:07:43.221Z] aa168da1d23b: Pulling fs layer [2021-05-06T23:07:43.221Z] 93b9cdb0e59b: Waiting [2021-05-06T23:07:43.221Z] 01666e4c0597: Waiting [2021-05-06T23:07:43.221Z] 5e14af77c1be: Waiting [2021-05-06T23:07:43.221Z] aa168da1d23b: Waiting [2021-05-06T23:07:43.221Z] 46f8f816bc3b: Waiting [2021-05-06T23:07:43.221Z] 93b61091891f: Waiting [2021-05-06T23:07:43.221Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T23:07:43.221Z] 36b3adc4ff6f: Download complete [2021-05-06T23:07:43.221Z] 46f8f816bc3b: Download complete [2021-05-06T23:07:43.486Z] df20fa9351a1: Verifying Checksum [2021-05-06T23:07:43.486Z] df20fa9351a1: Download complete [2021-05-06T23:07:43.486Z] 93b61091891f: Download complete [2021-05-06T23:07:43.486Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T23:07:43.486Z] 93b9cdb0e59b: Download complete [2021-05-06T23:07:43.486Z] 5e14af77c1be: Verifying Checksum [2021-05-06T23:07:43.486Z] 5e14af77c1be: Download complete [2021-05-06T23:07:43.486Z] 01666e4c0597: Download complete [2021-05-06T23:07:43.486Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T23:07:43.486Z] 8ad3a11d3b57: Download complete [2021-05-06T23:07:43.757Z] df20fa9351a1: Pull complete [2021-05-06T23:07:44.021Z] 36b3adc4ff6f: Pull complete [2021-05-06T23:07:44.605Z] 8ad3a11d3b57: Pull complete [2021-05-06T23:07:44.870Z] 46f8f816bc3b: Pull complete [2021-05-06T23:07:45.831Z] aa168da1d23b: Verifying Checksum [2021-05-06T23:07:45.831Z] aa168da1d23b: Download complete [2021-05-06T23:07:45.831Z] 93b61091891f: Pull complete [2021-05-06T23:07:45.831Z] 93b9cdb0e59b: Pull complete [2021-05-06T23:07:46.097Z] 5e14af77c1be: Pull complete [2021-05-06T23:07:46.097Z] 01666e4c0597: Pull complete [2021-05-06T23:07:54.326Z] aa168da1d23b: Pull complete [2021-05-06T23:07:54.326Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T23:07:54.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T23:07:54.326Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T23:07:54.580Z] prd-centos7-docker-4c-2g-3369 does not seem to be running inside a container [2021-05-06T23:07:54.635Z] $ 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-200/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-200 -v /w/workspace/foundry_device-virtual-go_PR-200:/w/workspace/foundry_device-virtual-go_PR-200:rw,z -v /w/workspace/foundry_device-virtual-go_PR-200@tmp:/w/workspace/foundry_device-virtual-go_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T23:07:57.213Z] $ docker top 9079db3efb6f7c069915ead88fd66dfa6feb01e9e29e1d8fecc76341643c0257 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T23:07:57.717Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T23:07:58.049Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T23:07:58.371Z] + ls /var/log/sa-host [2021-05-06T23:07:58.371Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T23:07:58.371Z] file_magic: OK [2021-05-06T23:07:58.371Z] HZ: Using current value: 100 [2021-05-06T23:07:58.371Z] file_header: OK [2021-05-06T23:07:58.371Z] 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-06T23:07:58.371Z] Statistics: [2021-05-06T23:07:58.371Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T23:07:58.371Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T23:07:58.371Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T23:07:58.371Z] file_magic: OK [2021-05-06T23:07:58.371Z] HZ: Using current value: 100 [2021-05-06T23:07:58.371Z] file_header: OK [2021-05-06T23:07:58.371Z] 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-06T23:07:58.371Z] Statistics: [2021-05-06T23:07:58.371Z] Hnuu...uuuununununu... [2021-05-06T23:07:58.371Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T23:07:58.674Z] provisioning config files... [2021-05-06T23:07:58.690Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-200@tmp/config2634794967691613138tmp [Pipeline] { [Pipeline] echo [2021-05-06T23:07:58.747Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:07:59.086Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T23:07:59.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T23:07:59.189Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:07:59.528Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T23:07:59.560Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:07:59.907Z] ---> sudo-logs.sh [2021-05-06T23:07:59.907Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T23:08:00.001Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:08:00.337Z] ---> job-cost.sh [2021-05-06T23:08:00.337Z] lf-activate-venv: SKIPPING [2021-05-06T23:08:00.337Z] DEBUG: total: 0.20999999344348907 [2021-05-06T23:08:00.337Z] INFO: Retrieving Stack Cost... [2021-05-06T23:08:01.287Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T23:08:01.867Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T23:08:01.900Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:08:02.240Z] ---> logs-deploy.sh [2021-05-06T23:08:02.240Z] lf-activate-venv: SKIPPING [2021-05-06T23:08:02.240Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-200/1 [2021-05-06T23:08:02.240Z] INFO: archiving workspace using pattern(s): [2021-05-06T23:08:04.170Z] Archives upload complete. [2021-05-06T23:08:04.170Z] INFO: archiving logs to Nexus