Pull request #170 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Loading trusted files from base branch master at aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f rather than 74fd1828a412d32bf9c049029e39ad817b496e4b Obtained Jenkinsfile from aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-170/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-170/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30516’ Running on prd-centos7-docker-4c-2g-30523 in /w/workspace/foundry_device-virtual-go_PR-170 [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-170 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f into PR head commit 74fd1828a412d32bf9c049029e39ad817b496e4b Merge succeeded, producing 74fd1828a412d32bf9c049029e39ad817b496e4b Checking out Revision 74fd1828a412d32bf9c049029e39ad817b496e4b (PR-170) > git config core.sparsecheckout # timeout=10 > git checkout -f 74fd1828a412d32bf9c049029e39ad817b496e4b # 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 aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74fd1828a412d32bf9c049029e39ad817b496e4b # timeout=10 Commit message: "build: bump SDK version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-19T08:46:49.338Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-19T08:46:49.675Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-19T08:46:49.891Z] ========================================================= [2021-03-19T08:46:49.891Z] EdgeX Global Pipelines Version Info [2021-03-19T08:46:49.891Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:46:51.413Z] ------------------- [2021-03-19T08:46:51.413Z] stable info: [2021-03-19T08:46:51.413Z] ------------------- [2021-03-19T08:46:51.413Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-19T08:46:51.413Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-19T08:46:51.413Z] Message: update stable to v1.0.184 [2021-03-19T08:46:52.358Z] ------------------- [2021-03-19T08:46:52.359Z] experimental info: [2021-03-19T08:46:52.359Z] ------------------- [2021-03-19T08:46:52.359Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-19T08:46:52.359Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-19T08:46:52.359Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-19T08:46:52.728Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-03-19T08:46:52.885Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-03-19T08:46:53.019Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-19T08:46:53.138Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-19T08:46:53.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-19T08:46:53.377Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-19T08:46:53.506Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-19T08:46:53.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-19T08:46:53.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-19T08:46:53.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-19T08:46:54.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-19T08:46:54.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-03-19T08:46:54.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-19T08:46:54.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-19T08:46:54.528Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-19T08:46:54.659Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-19T08:46:54.774Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T08:46:54.893Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T08:46:55.106Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-19T08:46:55.256Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-19T08:46:55.390Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-03-19T08:46:55.507Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-03-19T08:46:55.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-19T08:46:55.815Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-19T08:46:55.964Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-19T08:46:56.113Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-19T08:46:56.258Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-170 [Pipeline] echo [2021-03-19T08:46:56.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-170 [Pipeline] echo [2021-03-19T08:46:56.579Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-170 [Pipeline] echo [2021-03-19T08:46:56.704Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74fd1828a412d32bf9c049029e39ad817b496e4b [Pipeline] echo [2021-03-19T08:46:56.832Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74fd182 [Pipeline] echo [2021-03-19T08:46:56.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T08:46:57.217Z] provisioning config files... [2021-03-19T08:46:57.265Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-170@tmp/config2504125036637114104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:46:57.664Z] ---> docker-login.sh [2021-03-19T08:46:57.664Z] nexus3.edgexfoundry.org:10001 [2021-03-19T08:46:57.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:46:58.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:46:58.195Z] Configure a credential helper to remove this warning. See [2021-03-19T08:46:58.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:46:58.195Z] [2021-03-19T08:46:58.195Z] Login Succeeded [2021-03-19T08:46:58.195Z] nexus3.edgexfoundry.org:10002 [2021-03-19T08:46:58.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:46:58.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:46:58.196Z] Configure a credential helper to remove this warning. See [2021-03-19T08:46:58.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:46:58.196Z] [2021-03-19T08:46:58.196Z] Login Succeeded [2021-03-19T08:46:58.196Z] nexus3.edgexfoundry.org:10003 [2021-03-19T08:46:58.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:46:58.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:46:58.459Z] Configure a credential helper to remove this warning. See [2021-03-19T08:46:58.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:46:58.459Z] [2021-03-19T08:46:58.459Z] Login Succeeded [2021-03-19T08:46:58.459Z] nexus3.edgexfoundry.org:10004 [2021-03-19T08:46:58.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:46:58.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:46:58.723Z] Configure a credential helper to remove this warning. See [2021-03-19T08:46:58.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:46:58.723Z] [2021-03-19T08:46:58.723Z] Login Succeeded [2021-03-19T08:46:58.723Z] docker.io [2021-03-19T08:46:58.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:46:58.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:46:58.986Z] Configure a credential helper to remove this warning. See [2021-03-19T08:46:58.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:46:58.986Z] [2021-03-19T08:46:58.986Z] Login Succeeded [2021-03-19T08:46:58.986Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T08:46:59.027Z] 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-03-19T08:47:00.074Z] + git log --format=format:%s -1 74fd1828a412d32bf9c049029e39ad817b496e4b [Pipeline] echo [2021-03-19T08:47:00.173Z] GIT_COMMIT: 74fd1828a412d32bf9c049029e39ad817b496e4b, Commit Message: build: bump SDK version [Pipeline] echo [2021-03-19T08:47:00.308Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:47:01.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T08:47:01.406Z] [2021-03-19T08:47:01.406Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:47:01.792Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T08:47:01.792Z] latest: Pulling from edgex-devops/git-semver [2021-03-19T08:47:01.792Z] 31603596830f: Pulling fs layer [2021-03-19T08:47:01.792Z] 2a8b12db71e7: Pulling fs layer [2021-03-19T08:47:01.792Z] 6ca5941a6612: Pulling fs layer [2021-03-19T08:47:01.792Z] ecc8261a40a4: Pulling fs layer [2021-03-19T08:47:01.792Z] ecc8261a40a4: Waiting [2021-03-19T08:47:01.792Z] 2a8b12db71e7: Download complete [2021-03-19T08:47:01.792Z] 31603596830f: Download complete [2021-03-19T08:47:02.080Z] ecc8261a40a4: Verifying Checksum [2021-03-19T08:47:02.080Z] ecc8261a40a4: Download complete [2021-03-19T08:47:02.080Z] 6ca5941a6612: Verifying Checksum [2021-03-19T08:47:02.080Z] 6ca5941a6612: Download complete [2021-03-19T08:47:02.347Z] 31603596830f: Pull complete [2021-03-19T08:47:02.347Z] 2a8b12db71e7: Pull complete [2021-03-19T08:47:03.296Z] 6ca5941a6612: Pull complete [2021-03-19T08:47:03.559Z] ecc8261a40a4: Pull complete [2021-03-19T08:47:03.559Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-19T08:47:03.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T08:47:03.559Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-19T08:47:03.682Z] prd-centos7-docker-4c-2g-30523 does not seem to be running inside a container [2021-03-19T08:47:03.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-170 -v /w/workspace/foundry_device-virtual-go_PR-170:/w/workspace/foundry_device-virtual-go_PR-170:rw,z -v /w/workspace/foundry_device-virtual-go_PR-170@tmp:/w/workspace/foundry_device-virtual-go_PR-170@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-03-19T08:47:05.910Z] $ docker top 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T08:47:06.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T08:47:06.361Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T08:47:06.594Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T08:47:06.598Z] $ docker exec 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 ssh-agent [2021-03-19T08:47:06.769Z] SSH_AUTH_SOCK=/tmp/ssh-TiJzYrHmCl3d/agent.11 [2021-03-19T08:47:06.769Z] SSH_AGENT_PID=16 [2021-03-19T08:47:06.782Z] Running ssh-add (command line suppressed) [2021-03-19T08:47:06.911Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-170@tmp/private_key_8679657522897477090.key (/w/workspace/foundry_device-virtual-go_PR-170@tmp/private_key_8679657522897477090.key) [2021-03-19T08:47:06.982Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T08:47:07.370Z] + git tag --points-at HEAD [Pipeline] } [2021-03-19T08:47:07.408Z] $ docker exec --env ******** --env ******** 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 ssh-agent -k [2021-03-19T08:47:07.520Z] unset SSH_AUTH_SOCK; [2021-03-19T08:47:07.520Z] unset SSH_AGENT_PID; [2021-03-19T08:47:07.520Z] echo Agent pid 16 killed; [2021-03-19T08:47:07.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-19T08:47:07.760Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T08:47:07.760Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T08:47:07.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T08:47:07.940Z] $ docker exec 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 ssh-agent [2021-03-19T08:47:08.105Z] SSH_AUTH_SOCK=/tmp/ssh-MtcbSX8HyoJM/agent.44 [2021-03-19T08:47:08.105Z] SSH_AGENT_PID=49 [2021-03-19T08:47:08.120Z] Running ssh-add (command line suppressed) [2021-03-19T08:47:08.243Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-170@tmp/private_key_4618581896756867678.key (/w/workspace/foundry_device-virtual-go_PR-170@tmp/private_key_4618581896756867678.key) [2021-03-19T08:47:08.301Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T08:47:08.681Z] + git semver init [2021-03-19T08:47:08.682Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T08:47:08.682Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-170/.git [2021-03-19T08:47:08.682Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-170 [2021-03-19T08:47:08.682Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T08:47:08.682Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T08:47:08.682Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T08:47:08.682Z] # $SEMVER_BRANCH = PR-170 [2021-03-19T08:47:08.682Z] # $SEMVER_TEMP = /tmp/semver-213914822 [2021-03-19T08:47:08.682Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-03-19T08:47:09.272Z] # '/tmp/semver-213914822' -> '/w/workspace/foundry_device-virtual-go_PR-170/.semver' [2021-03-19T08:47:09.272Z] # -> Force: false [2021-03-19T08:47:09.272Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-170/.semver [Pipeline] } [2021-03-19T08:47:09.299Z] $ docker exec --env ******** --env ******** 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 ssh-agent -k [2021-03-19T08:47:09.425Z] unset SSH_AUTH_SOCK; [2021-03-19T08:47:09.425Z] unset SSH_AGENT_PID; [2021-03-19T08:47:09.425Z] echo Agent pid 49 killed; [2021-03-19T08:47:09.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T08:47:10.098Z] + git semver [Pipeline] } [2021-03-19T08:47:10.131Z] $ docker stop --time=1 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 [2021-03-19T08:47:11.493Z] $ docker rm -f 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T08:47:12.027Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-19T08:47:12.475Z] Stashed 1 file(s) [Pipeline] echo [2021-03-19T08:47:12.496Z] [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-03-19T08:47:28.307Z] Still waiting to schedule task [2021-03-19T08:47:28.308Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-19T08:47:28.331Z] Still waiting to schedule task [2021-03-19T08:47:28.331Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-19T08:49:12.352Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30524 in /w/workspace/foundry_device-virtual-go_PR-170 [Pipeline] { [Pipeline] ws [2021-03-19T08:49:12.452Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-03-19T08:49:17.984Z] using credential edgex-jenkins-ssh [2021-03-19T08:49:18.093Z] Cloning the remote Git repository [2021-03-19T08:49:18.158Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-03-19T08:49:18.273Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-03-19T08:49:18.375Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-19T08:49:18.376Z] > git --version # timeout=10 [2021-03-19T08:49:18.394Z] > git --version # 'git version 2.17.1' [2021-03-19T08:49:18.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:49:18.461Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T08:49:19.934Z] Merging remotes/origin/master commit aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f into PR head commit 74fd1828a412d32bf9c049029e39ad817b496e4b [2021-03-19T08:49:19.249Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-19T08:49:19.273Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T08:49:19.303Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-19T08:49:19.345Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-19T08:49:19.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:49:19.358Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T08:49:19.951Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T08:49:19.971Z] > git checkout -f 74fd1828a412d32bf9c049029e39ad817b496e4b # timeout=10 [2021-03-19T08:49:20.058Z] > git remote # timeout=10 [2021-03-19T08:49:20.082Z] > git config --get remote.origin.url # timeout=10 [2021-03-19T08:49:20.260Z] Merge succeeded, producing 74fd1828a412d32bf9c049029e39ad817b496e4b [2021-03-19T08:49:20.261Z] Checking out Revision 74fd1828a412d32bf9c049029e39ad817b496e4b (PR-170) [2021-03-19T08:49:20.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:49:20.168Z] > git merge aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f # timeout=10 [2021-03-19T08:49:20.216Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-19T08:49:20.264Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T08:49:20.298Z] > git checkout -f 74fd1828a412d32bf9c049029e39ad817b496e4b # timeout=10 [2021-03-19T08:49:24.834Z] Commit message: "build: bump SDK version" [2021-03-19T08:49:24.890Z] > git --version # timeout=10 [2021-03-19T08:49:24.907Z] > git --version # 'git version 2.17.1' [2021-03-19T08:49:24.918Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T08:49:27.022Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-19T08:49:27.450Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T08:49:27.811Z] + true [2021-03-19T08:49:27.812Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T08:49:30.626Z] provisioning config files... [2021-03-19T08:49:30.684Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8979618059887939552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:49:31.169Z] ---> docker-login.sh [2021-03-19T08:49:31.169Z] nexus3.edgexfoundry.org:10001 [2021-03-19T08:49:32.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:49:32.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:49:32.431Z] Configure a credential helper to remove this warning. See [2021-03-19T08:49:32.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:49:32.431Z] [2021-03-19T08:49:32.431Z] Login Succeeded [2021-03-19T08:49:32.431Z] nexus3.edgexfoundry.org:10002 [2021-03-19T08:49:32.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:49:32.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:49:32.982Z] Configure a credential helper to remove this warning. See [2021-03-19T08:49:32.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:49:32.982Z] [2021-03-19T08:49:32.982Z] Login Succeeded [2021-03-19T08:49:32.982Z] nexus3.edgexfoundry.org:10003 [2021-03-19T08:49:33.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:49:33.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:49:33.531Z] Configure a credential helper to remove this warning. See [2021-03-19T08:49:33.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:49:33.531Z] [2021-03-19T08:49:33.531Z] Login Succeeded [2021-03-19T08:49:33.531Z] nexus3.edgexfoundry.org:10004 [2021-03-19T08:49:33.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:49:34.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:49:34.121Z] Configure a credential helper to remove this warning. See [2021-03-19T08:49:34.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:49:34.121Z] [2021-03-19T08:49:34.121Z] Login Succeeded [2021-03-19T08:49:34.121Z] docker.io [2021-03-19T08:49:34.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:49:34.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:49:34.675Z] Configure a credential helper to remove this warning. See [2021-03-19T08:49:34.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:49:34.675Z] [2021-03-19T08:49:34.675Z] Login Succeeded [2021-03-19T08:49:34.675Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T08:49:34.717Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-19T08:49:35.295Z] ========================================================= [2021-03-19T08:49:35.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-19T08:49:35.295Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:49:35.736Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-19T08:49:36.010Z] Sending build context to Docker daemon 481.8kB [2021-03-19T08:49:36.010Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T08:49:36.010Z] Step 2/8 : FROM ${BASE} [2021-03-19T08:49:36.285Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-19T08:49:36.285Z] 5f621e34cdf4: Pulling fs layer [2021-03-19T08:49:36.285Z] a4357932f1b6: Pulling fs layer [2021-03-19T08:49:36.285Z] 18c013af1878: Pulling fs layer [2021-03-19T08:49:36.285Z] 00ac8860ef70: Pulling fs layer [2021-03-19T08:49:36.285Z] 63d7cb157983: Pulling fs layer [2021-03-19T08:49:36.285Z] b116817d02f9: Pulling fs layer [2021-03-19T08:49:36.285Z] 745a02a5169b: Pulling fs layer [2021-03-19T08:49:36.285Z] 63d7cb157983: Waiting [2021-03-19T08:49:36.285Z] b116817d02f9: Waiting [2021-03-19T08:49:36.285Z] 00ac8860ef70: Waiting [2021-03-19T08:49:36.285Z] 745a02a5169b: Waiting [2021-03-19T08:49:36.285Z] 18c013af1878: Verifying Checksum [2021-03-19T08:49:36.285Z] 18c013af1878: Download complete [2021-03-19T08:49:36.285Z] a4357932f1b6: Verifying Checksum [2021-03-19T08:49:36.285Z] a4357932f1b6: Download complete [2021-03-19T08:49:36.285Z] 63d7cb157983: Download complete [2021-03-19T08:49:37.273Z] b116817d02f9: Verifying Checksum [2021-03-19T08:49:37.273Z] b116817d02f9: Download complete [2021-03-19T08:49:37.273Z] 5f621e34cdf4: Verifying Checksum [2021-03-19T08:49:37.273Z] 5f621e34cdf4: Download complete [2021-03-19T08:49:37.554Z] 5f621e34cdf4: Pull complete [2021-03-19T08:49:38.157Z] a4357932f1b6: Pull complete [2021-03-19T08:49:38.761Z] 18c013af1878: Pull complete [2021-03-19T08:49:39.358Z] 745a02a5169b: Verifying Checksum [2021-03-19T08:49:39.358Z] 745a02a5169b: Download complete [2021-03-19T08:49:40.786Z] 00ac8860ef70: Verifying Checksum [2021-03-19T08:49:40.786Z] 00ac8860ef70: Download complete [2021-03-19T08:49:45.986Z] Running on prd-centos7-docker-4c-2g-30525 in /w/workspace/foundry_device-virtual-go_PR-170 [Pipeline] { [Pipeline] ws [2021-03-19T08:49:46.103Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-03-19T08:49:48.547Z] using credential edgex-jenkins-ssh [2021-03-19T08:49:48.604Z] Cloning the remote Git repository [2021-03-19T08:49:48.523Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-03-19T08:49:48.592Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-03-19T08:49:48.656Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-19T08:49:48.657Z] > git --version # timeout=10 [2021-03-19T08:49:48.670Z] > git --version # 'git version 2.24.3' [2021-03-19T08:49:48.671Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:49:48.705Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T08:49:49.307Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-19T08:49:49.313Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T08:49:49.325Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-19T08:49:49.339Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-19T08:49:49.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:49:49.344Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T08:49:49.831Z] Merging remotes/origin/master commit aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f into PR head commit 74fd1828a412d32bf9c049029e39ad817b496e4b [2021-03-19T08:49:49.921Z] Merge succeeded, producing 74fd1828a412d32bf9c049029e39ad817b496e4b [2021-03-19T08:49:49.922Z] Checking out Revision 74fd1828a412d32bf9c049029e39ad817b496e4b (PR-170) [2021-03-19T08:49:49.836Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T08:49:49.844Z] > git checkout -f 74fd1828a412d32bf9c049029e39ad817b496e4b # timeout=10 [2021-03-19T08:49:49.879Z] > git remote # timeout=10 [2021-03-19T08:49:49.887Z] > git config --get remote.origin.url # timeout=10 [2021-03-19T08:49:49.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:49:49.900Z] > git merge aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f # timeout=10 [2021-03-19T08:49:49.910Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-19T08:49:49.926Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T08:49:49.932Z] > git checkout -f 74fd1828a412d32bf9c049029e39ad817b496e4b # timeout=10 [2021-03-19T08:49:50.981Z] 00ac8860ef70: Pull complete [2021-03-19T08:49:51.252Z] 63d7cb157983: Pull complete [2021-03-19T08:49:51.529Z] b116817d02f9: Pull complete [2021-03-19T08:49:53.525Z] Commit message: "build: bump SDK version" [2021-03-19T08:49:53.553Z] > git --version # timeout=10 [2021-03-19T08:49:53.556Z] > git --version # 'git version 2.24.3' [2021-03-19T08:49:53.562Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T08:49:54.931Z] 745a02a5169b: Pull complete [2021-03-19T08:49:54.931Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-19T08:49:54.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-19T08:49:54.931Z] ---> b7e6874047d6 [2021-03-19T08:49:54.931Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-03-19T08:49:55.040Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-19T08:49:55.393Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T08:49:55.717Z] + sudo service docker restart [2021-03-19T08:49:55.717Z] + true [2021-03-19T08:49:55.717Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T08:49:56.816Z] provisioning config files... [2021-03-19T08:49:56.863Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1106493198673476086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:49:57.288Z] ---> docker-login.sh [2021-03-19T08:49:57.288Z] nexus3.edgexfoundry.org:10001 [2021-03-19T08:49:57.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:49:57.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:49:57.553Z] Configure a credential helper to remove this warning. See [2021-03-19T08:49:57.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:49:57.553Z] [2021-03-19T08:49:57.553Z] Login Succeeded [2021-03-19T08:49:57.553Z] nexus3.edgexfoundry.org:10002 [2021-03-19T08:49:57.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:49:57.565Z] ---> Running in 5cba71daa7a9 [2021-03-19T08:49:57.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:49:57.815Z] Configure a credential helper to remove this warning. See [2021-03-19T08:49:57.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:49:57.815Z] [2021-03-19T08:49:57.815Z] Login Succeeded [2021-03-19T08:49:57.815Z] nexus3.edgexfoundry.org:10003 [2021-03-19T08:49:57.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:49:57.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:49:57.815Z] Configure a credential helper to remove this warning. See [2021-03-19T08:49:57.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:49:57.815Z] [2021-03-19T08:49:57.815Z] Login Succeeded [2021-03-19T08:49:57.815Z] nexus3.edgexfoundry.org:10004 [2021-03-19T08:49:58.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:49:58.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:49:58.076Z] Configure a credential helper to remove this warning. See [2021-03-19T08:49:58.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:49:58.076Z] [2021-03-19T08:49:58.076Z] Login Succeeded [2021-03-19T08:49:58.076Z] docker.io [2021-03-19T08:49:58.165Z] Removing intermediate container 5cba71daa7a9 [2021-03-19T08:49:58.165Z] ---> 4e38d741c93b [2021-03-19T08:49:58.165Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T08:49:58.165Z] ---> Running in 9cea9765fe33 [2021-03-19T08:49:58.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:49:58.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:49:58.603Z] Configure a credential helper to remove this warning. See [2021-03-19T08:49:58.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:49:58.603Z] [2021-03-19T08:49:58.603Z] Login Succeeded [2021-03-19T08:49:58.604Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T08:49:58.631Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-19T08:49:59.227Z] ========================================================= [2021-03-19T08:49:59.227Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-19T08:49:59.227Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:49:59.623Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-19T08:49:59.623Z] Sending build context to Docker daemon 482.8kB [2021-03-19T08:49:59.623Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T08:49:59.623Z] Step 2/8 : FROM ${BASE} [2021-03-19T08:49:59.623Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-19T08:49:59.623Z] 188c0c94c7c5: Pulling fs layer [2021-03-19T08:49:59.623Z] 0ef7d3d256c8: Pulling fs layer [2021-03-19T08:49:59.623Z] de9db76c5a1d: Pulling fs layer [2021-03-19T08:49:59.623Z] bca2f99d35d6: Pulling fs layer [2021-03-19T08:49:59.623Z] 93359f2a8cfa: Pulling fs layer [2021-03-19T08:49:59.623Z] 7c6f9722023f: Pulling fs layer [2021-03-19T08:49:59.623Z] a35cf1a2eb13: Pulling fs layer [2021-03-19T08:49:59.623Z] 93359f2a8cfa: Waiting [2021-03-19T08:49:59.623Z] 7c6f9722023f: Waiting [2021-03-19T08:49:59.623Z] a35cf1a2eb13: Waiting [2021-03-19T08:49:59.623Z] bca2f99d35d6: Waiting [2021-03-19T08:49:59.892Z] de9db76c5a1d: Verifying Checksum [2021-03-19T08:49:59.892Z] de9db76c5a1d: Download complete [2021-03-19T08:49:59.892Z] 0ef7d3d256c8: Download complete [2021-03-19T08:49:59.892Z] 93359f2a8cfa: Verifying Checksum [2021-03-19T08:49:59.892Z] 93359f2a8cfa: Download complete [2021-03-19T08:49:59.892Z] 7c6f9722023f: Download complete [2021-03-19T08:49:59.892Z] 188c0c94c7c5: Verifying Checksum [2021-03-19T08:49:59.892Z] 188c0c94c7c5: Download complete [2021-03-19T08:50:00.155Z] 188c0c94c7c5: Pull complete [2021-03-19T08:50:00.417Z] 0ef7d3d256c8: Pull complete [2021-03-19T08:50:00.417Z] de9db76c5a1d: Pull complete [2021-03-19T08:50:00.806Z] Removing intermediate container 9cea9765fe33 [2021-03-19T08:50:00.806Z] ---> 91fd545715fa [2021-03-19T08:50:00.806Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-19T08:50:00.806Z] ---> Running in 75f462922904 [2021-03-19T08:50:01.784Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-19T08:50:01.836Z] a35cf1a2eb13: Verifying Checksum [2021-03-19T08:50:01.836Z] a35cf1a2eb13: Download complete [2021-03-19T08:50:02.378Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-19T08:50:02.419Z] bca2f99d35d6: Verifying Checksum [2021-03-19T08:50:02.419Z] bca2f99d35d6: Download complete [2021-03-19T08:50:03.812Z] (1/14) Installing libmagic (5.38-r0) [2021-03-19T08:50:04.081Z] (2/14) Installing file (5.38-r0) [2021-03-19T08:50:04.082Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-19T08:50:04.082Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-19T08:50:07.755Z] bca2f99d35d6: Pull complete [2021-03-19T08:50:07.755Z] 93359f2a8cfa: Pull complete [2021-03-19T08:50:07.755Z] 7c6f9722023f: Pull complete [2021-03-19T08:50:14.206Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-19T08:50:14.206Z] (6/14) Installing patch (2.7.6-r6) [2021-03-19T08:50:14.206Z] (7/14) Installing build-base (0.5-r2) [2021-03-19T08:50:14.206Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-03-19T08:50:14.206Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-19T08:50:14.206Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-03-19T08:50:14.206Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-03-19T08:50:14.206Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-03-19T08:50:14.372Z] a35cf1a2eb13: Pull complete [2021-03-19T08:50:14.372Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-19T08:50:14.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-19T08:50:14.372Z] ---> a62c8e92a672 [2021-03-19T08:50:14.372Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-03-19T08:50:14.477Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-03-19T08:50:14.477Z] (14/14) Installing openssh (8.3_p1-r1) [2021-03-19T08:50:14.636Z] ---> Running in 381fc393b19a [2021-03-19T08:50:14.750Z] Executing busybox-1.31.1-r19.trigger [2021-03-19T08:50:14.750Z] OK: 221 MiB in 53 packages [2021-03-19T08:50:14.904Z] Removing intermediate container 381fc393b19a [2021-03-19T08:50:14.904Z] ---> 0a829eb9490c [2021-03-19T08:50:14.904Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T08:50:14.904Z] ---> Running in 87667266612e [2021-03-19T08:50:15.871Z] Removing intermediate container 87667266612e [2021-03-19T08:50:15.871Z] ---> 369b6d9de497 [2021-03-19T08:50:15.871Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-19T08:50:16.138Z] ---> Running in ffcd18a47bb7 [2021-03-19T08:50:17.087Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-19T08:50:17.662Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-19T08:50:18.236Z] (1/14) Installing libmagic (5.38-r0) [2021-03-19T08:50:18.498Z] (2/14) Installing file (5.38-r0) [2021-03-19T08:50:18.498Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-19T08:50:18.498Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-19T08:50:19.060Z] Removing intermediate container 75f462922904 [2021-03-19T08:50:19.060Z] ---> 137f73cefd24 [2021-03-19T08:50:19.060Z] Step 6/8 : WORKDIR /device-virtual-go [2021-03-19T08:50:19.060Z] ---> Running in 73a79855dfa8 [2021-03-19T08:50:19.060Z] Removing intermediate container 73a79855dfa8 [2021-03-19T08:50:19.060Z] ---> 1afcbd3c5465 [2021-03-19T08:50:19.060Z] Step 7/8 : COPY . . [2021-03-19T08:50:20.056Z] ---> 68b417c30a74 [2021-03-19T08:50:20.056Z] Step 8/8 : RUN go mod download [2021-03-19T08:50:20.056Z] ---> Running in 08b2b9485a6b [2021-03-19T08:50:25.103Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-19T08:50:25.103Z] (6/14) Installing patch (2.7.6-r6) [2021-03-19T08:50:25.103Z] (7/14) Installing build-base (0.5-r2) [2021-03-19T08:50:25.103Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-03-19T08:50:25.103Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-19T08:50:25.103Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-03-19T08:50:25.679Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-03-19T08:50:25.679Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-03-19T08:50:25.679Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-03-19T08:50:25.940Z] (14/14) Installing openssh (8.3_p1-r1) [2021-03-19T08:50:25.940Z] Executing busybox-1.31.1-r19.trigger [2021-03-19T08:50:25.940Z] OK: 237 MiB in 53 packages [2021-03-19T08:50:29.256Z] Removing intermediate container ffcd18a47bb7 [2021-03-19T08:50:29.256Z] ---> 97c7f1dc1f2f [2021-03-19T08:50:29.256Z] Step 6/8 : WORKDIR /device-virtual-go [2021-03-19T08:50:29.256Z] ---> Running in 3aaab3cb3183 [2021-03-19T08:50:29.256Z] Removing intermediate container 3aaab3cb3183 [2021-03-19T08:50:29.256Z] ---> 5cc7b614f440 [2021-03-19T08:50:29.256Z] Step 7/8 : COPY . . [2021-03-19T08:50:29.833Z] ---> 66bae2a09450 [2021-03-19T08:50:29.833Z] Step 8/8 : RUN go mod download [2021-03-19T08:50:29.833Z] ---> Running in 85de3c4129d7 [2021-03-19T08:50:46.860Z] Removing intermediate container 08b2b9485a6b [2021-03-19T08:50:46.860Z] ---> d34b7f5ac483 [2021-03-19T08:50:46.860Z] Successfully built d34b7f5ac483 [2021-03-19T08:50:46.860Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:50:47.237Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T08:50:47.237Z] . [Pipeline] withDockerContainer [2021-03-19T08:50:47.525Z] prd-ubuntu18.04-docker-arm64-4c-16g-30524 does not seem to be running inside a container [2021-03-19T08:50:47.602Z] $ 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-03-19T08:50:49.224Z] $ docker top 01bb07c93cc6f480b1feea071f5f6610b1a7586418ff895d35227675dd81c9e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:50:50.329Z] + go version [2021-03-19T08:50:50.329Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-19T08:50:50.363Z] $ docker stop --time=1 01bb07c93cc6f480b1feea071f5f6610b1a7586418ff895d35227675dd81c9e0 [2021-03-19T08:50:52.314Z] $ docker rm -f 01bb07c93cc6f480b1feea071f5f6610b1a7586418ff895d35227675dd81c9e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:50:53.604Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T08:50:53.604Z] . [Pipeline] withDockerContainer [2021-03-19T08:50:53.887Z] prd-ubuntu18.04-docker-arm64-4c-16g-30524 does not seem to be running inside a container [2021-03-19T08:50:53.962Z] $ 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-03-19T08:50:55.521Z] $ docker top fe0cd680e2346c3d7ca4c51d84b91a9535919d423e5702bf83bb37adaff704b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:50:56.469Z] Removing intermediate container 85de3c4129d7 [2021-03-19T08:50:56.469Z] ---> e5693fe11ea1 [2021-03-19T08:50:56.469Z] Successfully built e5693fe11ea1 [2021-03-19T08:50:56.469Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:50:56.598Z] + make test [2021-03-19T08:50:56.598Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-19T08:50:56.818Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T08:50:56.818Z] . [Pipeline] withDockerContainer [2021-03-19T08:50:56.976Z] prd-centos7-docker-4c-2g-30525 does not seem to be running inside a container [2021-03-19T08:50:57.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-19T08:50:57.776Z] $ docker top 0f02f47e56ee9f925cdc35c83178b49cbe98fbcfe488dcc4cbdbce12a780a1ab -eo pid,comm [Pipeline] { [2021-03-19T08:50:58.042Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] sh [2021-03-19T08:50:58.404Z] + go version [2021-03-19T08:50:58.404Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-19T08:50:58.436Z] $ docker stop --time=1 0f02f47e56ee9f925cdc35c83178b49cbe98fbcfe488dcc4cbdbce12a780a1ab [2021-03-19T08:50:59.836Z] $ docker rm -f 0f02f47e56ee9f925cdc35c83178b49cbe98fbcfe488dcc4cbdbce12a780a1ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:51:01.061Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T08:51:01.061Z] . [Pipeline] withDockerContainer [2021-03-19T08:51:01.190Z] prd-centos7-docker-4c-2g-30525 does not seem to be running inside a container [2021-03-19T08:51:01.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-19T08:51:01.969Z] $ docker top f868f0c3a1e143c4ff88d7c97033caa1e525943cb4cd9e54980fbc4ccb2b3fb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:51:02.519Z] + make test [2021-03-19T08:51:02.519Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-19T08:51:03.923Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-03-19T08:51:22.221Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-03-19T08:51:22.221Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.359s coverage: 63.8% of statements [2021-03-19T08:51:22.221Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-19T08:51:23.182Z] gofmt -l . [2021-03-19T08:51:23.182Z] [ "`gofmt -l .`" = "" ] [2021-03-19T08:51:23.182Z] ./bin/test-attribution-txt.sh [2021-03-19T08:51:24.135Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T08:51:24.434Z] $ docker stop --time=1 f868f0c3a1e143c4ff88d7c97033caa1e525943cb4cd9e54980fbc4ccb2b3fb0 [2021-03-19T08:51:26.153Z] $ docker rm -f f868f0c3a1e143c4ff88d7c97033caa1e525943cb4cd9e54980fbc4ccb2b3fb0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T08:51:26.805Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T08:51:27.184Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-19T08:51:30.008Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-19T08:51:30.326Z] + ls -al . [2021-03-19T08:51:30.326Z] total 128 [2021-03-19T08:51:30.326Z] drwxrwxr-x. 7 jenkins jenkins 4096 Mar 19 08:51 . [2021-03-19T08:51:30.326Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 19 08:49 .. [2021-03-19T08:51:30.326Z] -rw-rw-r--. 1 jenkins jenkins 7136 Mar 19 08:49 Attribution.txt [2021-03-19T08:51:30.326Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 19 08:49 bin [2021-03-19T08:51:30.326Z] drwxrwxr-x. 3 jenkins jenkins 32 Mar 19 08:49 cmd [2021-03-19T08:51:30.326Z] -rw-r--r--. 1 jenkins jenkins 47247 Mar 19 08:51 coverage.out [2021-03-19T08:51:30.326Z] -rw-rw-r--. 1 jenkins jenkins 1851 Mar 19 08:49 Dockerfile [2021-03-19T08:51:30.326Z] -rw-rw-r--. 1 jenkins jenkins 961 Mar 19 08:49 Dockerfile.build [2021-03-19T08:51:30.326Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 19 08:49 .git [2021-03-19T08:51:30.326Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 19 08:49 .github [2021-03-19T08:51:30.326Z] -rw-rw-r--. 1 jenkins jenkins 258 Mar 19 08:49 .gitignore [2021-03-19T08:51:30.326Z] -rw-r--r--. 1 jenkins jenkins 809 Mar 19 08:51 go.mod [2021-03-19T08:51:30.326Z] -rw-r--r--. 1 jenkins jenkins 20118 Mar 19 08:51 go.sum [2021-03-19T08:51:30.326Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 19 08:49 internal [2021-03-19T08:51:30.326Z] -rw-rw-r--. 1 jenkins jenkins 660 Mar 19 08:49 Jenkinsfile [2021-03-19T08:51:30.326Z] -rw-rw-r--. 1 jenkins jenkins 11340 Mar 19 08:49 LICENSE [2021-03-19T08:51:30.326Z] -rw-rw-r--. 1 jenkins jenkins 873 Mar 19 08:49 Makefile [2021-03-19T08:51:30.326Z] -rw-rw-r--. 1 jenkins jenkins 918 Mar 19 08:49 README.md [2021-03-19T08:51:30.326Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 19 08:47 VERSION [2021-03-19T08:51:30.326Z] -rw-rw-r--. 1 jenkins jenkins 235 Mar 19 08:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:51:30.665Z] + 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=74fd1828a412d32bf9c049029e39ad817b496e4b --label arch=amd64 --label version=0.0.0 . [2021-03-19T08:51:30.665Z] Sending build context to Docker daemon 551.9kB [2021-03-19T08:51:30.665Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T08:51:30.665Z] Step 2/22 : FROM ${BASE} AS builder [2021-03-19T08:51:30.665Z] ---> e5693fe11ea1 [2021-03-19T08:51:30.665Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-03-19T08:51:30.927Z] ---> Running in af5f425e487f [2021-03-19T08:51:30.927Z] Removing intermediate container af5f425e487f [2021-03-19T08:51:30.927Z] ---> f482536895fc [2021-03-19T08:51:30.927Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-03-19T08:51:31.188Z] ---> Running in 6eb6d66858da [2021-03-19T08:51:31.188Z] Removing intermediate container 6eb6d66858da [2021-03-19T08:51:31.188Z] ---> 3a3e59db1851 [2021-03-19T08:51:31.188Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-03-19T08:51:31.450Z] ---> Running in d34c4e0cf446 [2021-03-19T08:51:31.450Z] Removing intermediate container d34c4e0cf446 [2021-03-19T08:51:31.450Z] ---> fe8d6da645b1 [2021-03-19T08:51:31.450Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T08:51:31.712Z] ---> Running in 073d33289f31 [2021-03-19T08:51:32.662Z] Removing intermediate container 073d33289f31 [2021-03-19T08:51:32.662Z] ---> 933d4d2fcb0d [2021-03-19T08:51:32.662Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-03-19T08:51:32.662Z] ---> Running in 463c4c8ac97a [2021-03-19T08:51:33.240Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-19T08:51:33.814Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-19T08:51:34.388Z] OK: 237 MiB in 53 packages [2021-03-19T08:51:34.652Z] Removing intermediate container 463c4c8ac97a [2021-03-19T08:51:34.652Z] ---> a3c5f36372c4 [2021-03-19T08:51:34.652Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-03-19T08:51:34.652Z] ---> Running in c9f3774a7c23 [2021-03-19T08:51:34.916Z] Removing intermediate container c9f3774a7c23 [2021-03-19T08:51:34.916Z] ---> 15f8cf361cd9 [2021-03-19T08:51:34.916Z] Step 9/22 : COPY . . [2021-03-19T08:51:35.861Z] ---> 5792e9880a2a [2021-03-19T08:51:35.861Z] Step 10/22 : ARG MAKE='make build' [2021-03-19T08:51:35.861Z] ---> Running in 237ae6c52db1 [2021-03-19T08:51:35.861Z] Removing intermediate container 237ae6c52db1 [2021-03-19T08:51:35.861Z] ---> 3e18e818cc47 [2021-03-19T08:51:35.861Z] Step 11/22 : RUN $MAKE [2021-03-19T08:51:36.123Z] ---> Running in 407248d42315 [2021-03-19T08:51:36.391Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-03-19T08:51:45.103Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-03-19T08:51:45.104Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.446s coverage: 63.8% of statements [2021-03-19T08:51:45.104Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-19T08:51:48.794Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-19T08:51:51.365Z] Removing intermediate container 407248d42315 [2021-03-19T08:51:51.365Z] ---> 2b72b6742abf [2021-03-19T08:51:51.365Z] Step 12/22 : FROM alpine:3.12 [2021-03-19T08:51:51.842Z] gofmt -l . [2021-03-19T08:51:51.842Z] [ "`gofmt -l .`" = "" ] [2021-03-19T08:51:51.939Z] 3.12: Pulling from library/alpine [2021-03-19T08:51:52.116Z] ./bin/test-attribution-txt.sh [2021-03-19T08:51:52.200Z] f84cab65f19f: Pulling fs layer [2021-03-19T08:51:52.200Z] f84cab65f19f: Verifying Checksum [2021-03-19T08:51:52.200Z] f84cab65f19f: Download complete [2021-03-19T08:51:52.461Z] f84cab65f19f: Pull complete [2021-03-19T08:51:52.461Z] Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe [2021-03-19T08:51:52.461Z] Status: Downloaded newer image for alpine:3.12 [2021-03-19T08:51:52.461Z] ---> 88dd2752d2ea [2021-03-19T08:51:52.461Z] Step 13/22 : ENV APP_PORT=49990 [2021-03-19T08:51:52.724Z] ---> Running in ee6c835277c6 [2021-03-19T08:51:52.725Z] Removing intermediate container ee6c835277c6 [2021-03-19T08:51:52.725Z] ---> 0dd5c77ab98b [2021-03-19T08:51:52.725Z] Step 14/22 : EXPOSE $APP_PORT [2021-03-19T08:51:52.986Z] ---> Running in 1193795a11f6 [2021-03-19T08:51:52.986Z] Removing intermediate container 1193795a11f6 [2021-03-19T08:51:52.986Z] ---> db298e4b0bf3 [2021-03-19T08:51:52.986Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-03-19T08:51:53.547Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T08:51:53.860Z] $ docker stop --time=1 fe0cd680e2346c3d7ca4c51d84b91a9535919d423e5702bf83bb37adaff704b6 [2021-03-19T08:51:54.008Z] ---> 743c5cfa30ab [2021-03-19T08:51:54.008Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-03-19T08:51:54.299Z] ---> 99208d8d78d3 [2021-03-19T08:51:54.299Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-03-19T08:51:54.299Z] ---> 623e3c058f7e [2021-03-19T08:51:54.299Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-03-19T08:51:54.574Z] ---> Running in 943942c63ab9 [2021-03-19T08:51:54.575Z] Removing intermediate container 943942c63ab9 [2021-03-19T08:51:54.575Z] ---> 6476be778fe4 [2021-03-19T08:51:54.575Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-19T08:51:54.870Z] ---> Running in 63294e7e0909 [2021-03-19T08:51:54.870Z] Removing intermediate container 63294e7e0909 [2021-03-19T08:51:54.870Z] ---> 53f892c896d7 [2021-03-19T08:51:54.870Z] Step 20/22 : LABEL arch=amd64 [2021-03-19T08:51:54.870Z] ---> Running in 3a88e1b2a6a0 [2021-03-19T08:51:55.164Z] Removing intermediate container 3a88e1b2a6a0 [2021-03-19T08:51:55.164Z] ---> 4da47e292ba9 [2021-03-19T08:51:55.164Z] Step 21/22 : LABEL git_sha=74fd1828a412d32bf9c049029e39ad817b496e4b [2021-03-19T08:51:55.164Z] ---> Running in ddfe61902617 [2021-03-19T08:51:55.439Z] Removing intermediate container ddfe61902617 [2021-03-19T08:51:55.440Z] ---> ad4bfeea623b [2021-03-19T08:51:55.440Z] Step 22/22 : LABEL version=0.0.0 [2021-03-19T08:51:55.440Z] ---> Running in b468bc8ea746 [2021-03-19T08:51:55.720Z] Removing intermediate container b468bc8ea746 [2021-03-19T08:51:55.720Z] ---> 9e5e54592275 [2021-03-19T08:51:55.720Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-19T08:51:55.720Z] Successfully built 9e5e54592275 [2021-03-19T08:51:55.720Z] Successfully tagged docker-device-virtual-go:latest [2021-03-19T08:51:56.061Z] $ docker rm -f fe0cd680e2346c3d7ca4c51d84b91a9535919d423e5702bf83bb37adaff704b6 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-03-19T08:51:57.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T08:51:57.174Z] Warning: overwriting stash ‘coverage-report’ 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 [2021-03-19T08:51:57.971Z] Stashed 1 file(s) [Pipeline] libraryResource [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [2021-03-19T08:51:58.313Z] ---> job-cost.sh [2021-03-19T08:51:58.313Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SBob [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T08:51:58.984Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-19T08:51:59.366Z] + ls -al . [2021-03-19T08:51:59.366Z] total 152 [2021-03-19T08:51:59.366Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 19 08:51 . [2021-03-19T08:51:59.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:49 .. [2021-03-19T08:51:59.366Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 08:49 .git [2021-03-19T08:51:59.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:49 .github [2021-03-19T08:51:59.366Z] -rw-rw-r-- 1 jenkins jenkins 258 Mar 19 08:49 .gitignore [2021-03-19T08:51:59.366Z] -rw-rw-r-- 1 jenkins jenkins 7136 Mar 19 08:49 Attribution.txt [2021-03-19T08:51:59.366Z] -rw-rw-r-- 1 jenkins jenkins 1851 Mar 19 08:49 Dockerfile [2021-03-19T08:51:59.366Z] -rw-rw-r-- 1 jenkins jenkins 961 Mar 19 08:49 Dockerfile.build [2021-03-19T08:51:59.366Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 19 08:49 Jenkinsfile [2021-03-19T08:51:59.366Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 19 08:49 LICENSE [2021-03-19T08:51:59.367Z] -rw-rw-r-- 1 jenkins jenkins 873 Mar 19 08:49 Makefile [2021-03-19T08:51:59.367Z] -rw-rw-r-- 1 jenkins jenkins 918 Mar 19 08:49 README.md [2021-03-19T08:51:59.367Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 19 08:47 VERSION [2021-03-19T08:51:59.367Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:49 bin [2021-03-19T08:51:59.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 08:49 cmd [2021-03-19T08:51:59.367Z] -rw-r--r-- 1 jenkins jenkins 47247 Mar 19 08:51 coverage.out [2021-03-19T08:51:59.367Z] -rw-r--r-- 1 jenkins jenkins 809 Mar 19 08:51 go.mod [2021-03-19T08:51:59.367Z] -rw-r--r-- 1 jenkins jenkins 20118 Mar 19 08:51 go.sum [2021-03-19T08:51:59.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 08:49 internal [2021-03-19T08:51:59.367Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 19 08:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:51:59.784Z] + 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=74fd1828a412d32bf9c049029e39ad817b496e4b --label arch=arm64 --label version=0.0.0 . [2021-03-19T08:52:00.101Z] Sending build context to Docker daemon 550.9kB [2021-03-19T08:52:00.101Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T08:52:00.101Z] Step 2/22 : FROM ${BASE} AS builder [2021-03-19T08:52:00.101Z] ---> d34b7f5ac483 [2021-03-19T08:52:00.101Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-03-19T08:52:00.401Z] ---> Running in 81d4d1ce7a12 [2021-03-19T08:52:01.008Z] Removing intermediate container 81d4d1ce7a12 [2021-03-19T08:52:01.008Z] ---> f708a3047a11 [2021-03-19T08:52:01.008Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-03-19T08:52:01.008Z] ---> Running in 630554b813de [2021-03-19T08:52:01.601Z] Removing intermediate container 630554b813de [2021-03-19T08:52:01.601Z] ---> 12855ea11fd9 [2021-03-19T08:52:01.601Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-03-19T08:52:01.601Z] ---> Running in 775c57d0e4f8 [2021-03-19T08:52:01.881Z] Removing intermediate container 775c57d0e4f8 [2021-03-19T08:52:01.881Z] ---> e518618ac677 [2021-03-19T08:52:01.881Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T08:52:02.152Z] ---> Running in b06b4f41c99b [2021-03-19T08:52:04.140Z] Removing intermediate container b06b4f41c99b [2021-03-19T08:52:04.140Z] ---> 32a02078f851 [2021-03-19T08:52:04.140Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-03-19T08:52:04.140Z] ---> Running in 5d8f3f9032c7 [2021-03-19T08:52:05.119Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-19T08:52:06.091Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-19T08:52:06.686Z] OK: 221 MiB in 53 packages [2021-03-19T08:52:07.666Z] Removing intermediate container 5d8f3f9032c7 [2021-03-19T08:52:07.666Z] ---> d4e9542e24ee [2021-03-19T08:52:07.666Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-03-19T08:52:07.666Z] ---> Running in 018d3d75a6f8 [2021-03-19T08:52:08.261Z] Removing intermediate container 018d3d75a6f8 [2021-03-19T08:52:08.261Z] ---> 55a4cf58b484 [2021-03-19T08:52:08.261Z] Step 9/22 : COPY . . [2021-03-19T08:52:09.241Z] ---> 97b64f1c26a4 [2021-03-19T08:52:09.241Z] Step 10/22 : ARG MAKE='make build' [2021-03-19T08:52:09.241Z] ---> Running in 18cff9b9d1c7 [2021-03-19T08:52:09.835Z] Removing intermediate container 18cff9b9d1c7 [2021-03-19T08:52:09.835Z] ---> 21d34a147d76 [2021-03-19T08:52:09.835Z] Step 11/22 : RUN $MAKE [2021-03-19T08:52:09.835Z] ---> Running in f0a2a389ffce [2021-03-19T08:52:10.814Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-03-19T08:52:13.244Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T08:52:39.917Z] lf-activate-venv(): INFO: Adding /tmp/venv-SBob/bin to PATH [2021-03-19T08:52:39.917Z] INFO: No Stack... [2021-03-19T08:52:39.917Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T08:52:40.492Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T08:52:40.821Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-03-19T08:52:40.821Z] + cut -d, -f6 [Pipeline] lock [2021-03-19T08:52:41.079Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] [2021-03-19T08:52:41.085Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] did not exist. Created. [2021-03-19T08:52:41.085Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T08:52:41.613Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-19T08:52:41.755Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T08:52:41.776Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-19T08:52:43.172Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-19T08:52:51.428Z] Removing intermediate container f0a2a389ffce [2021-03-19T08:52:51.428Z] ---> 2ca550c2d0a8 [2021-03-19T08:52:51.428Z] Step 12/22 : FROM alpine:3.12 [2021-03-19T08:52:51.428Z] 3.12: Pulling from library/alpine [2021-03-19T08:52:51.428Z] dce8679b510e: Pulling fs layer [2021-03-19T08:52:51.701Z] dce8679b510e: Verifying Checksum [2021-03-19T08:52:51.701Z] dce8679b510e: Download complete [2021-03-19T08:52:52.297Z] dce8679b510e: Pull complete [2021-03-19T08:52:52.297Z] Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe [2021-03-19T08:52:52.297Z] Status: Downloaded newer image for alpine:3.12 [2021-03-19T08:52:52.297Z] ---> d10569e2745f [2021-03-19T08:52:52.297Z] Step 13/22 : ENV APP_PORT=49990 [2021-03-19T08:52:52.570Z] ---> Running in 7d9bd8a3927f [2021-03-19T08:52:53.163Z] Removing intermediate container 7d9bd8a3927f [2021-03-19T08:52:53.163Z] ---> 70e5c638c4db [2021-03-19T08:52:53.163Z] Step 14/22 : EXPOSE $APP_PORT [2021-03-19T08:52:53.163Z] ---> Running in 70ec5c66f5de [2021-03-19T08:52:53.438Z] Removing intermediate container 70ec5c66f5de [2021-03-19T08:52:53.438Z] ---> 6dc65b92aecf [2021-03-19T08:52:53.438Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-03-19T08:52:54.875Z] ---> 34c738aaca60 [2021-03-19T08:52:54.875Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-03-19T08:52:55.851Z] ---> cb68f4bc764f [2021-03-19T08:52:55.852Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-03-19T08:52:56.445Z] ---> c4f010774eae [2021-03-19T08:52:56.445Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-03-19T08:52:56.445Z] ---> Running in 514caac03523 [2021-03-19T08:52:57.044Z] Removing intermediate container 514caac03523 [2021-03-19T08:52:57.044Z] ---> 0d7262719dea [2021-03-19T08:52:57.044Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-19T08:52:57.044Z] ---> Running in 216d740c675d [2021-03-19T08:52:57.638Z] Removing intermediate container 216d740c675d [2021-03-19T08:52:57.638Z] ---> 3ef8691a26f7 [2021-03-19T08:52:57.638Z] Step 20/22 : LABEL arch=arm64 [2021-03-19T08:52:57.638Z] ---> Running in 86b235c56c1f [2021-03-19T08:52:58.235Z] Removing intermediate container 86b235c56c1f [2021-03-19T08:52:58.235Z] ---> f3803db0a44e [2021-03-19T08:52:58.235Z] Step 21/22 : LABEL git_sha=74fd1828a412d32bf9c049029e39ad817b496e4b [2021-03-19T08:52:58.235Z] ---> Running in 9c565977110e [2021-03-19T08:52:58.830Z] Removing intermediate container 9c565977110e [2021-03-19T08:52:58.830Z] ---> 9438bbfadb43 [2021-03-19T08:52:58.830Z] Step 22/22 : LABEL version=0.0.0 [2021-03-19T08:52:58.830Z] ---> Running in 75f26e3c52e2 [2021-03-19T08:52:59.425Z] Removing intermediate container 75f26e3c52e2 [2021-03-19T08:52:59.425Z] ---> 9ea225517ed5 [2021-03-19T08:52:59.425Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-19T08:52:59.425Z] Successfully built 9ea225517ed5 [2021-03-19T08:52:59.425Z] 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-03-19T08:53:00.452Z] ---> job-cost.sh [2021-03-19T08:53:00.453Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1ZBy [2021-03-19T08:53:39.413Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T08:55:16.208Z] lf-activate-venv(): INFO: Adding /tmp/venv-1ZBy/bin to PATH [2021-03-19T08:55:16.208Z] INFO: No Stack... [2021-03-19T08:55:16.208Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-19T08:55:16.208Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T08:55:16.579Z] + cut -d, -f6 [2021-03-19T08:55:16.579Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-03-19T08:55:16.731Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] [2021-03-19T08:55:16.738Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] did not exist. Created. [2021-03-19T08:55:16.738Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T08:55:17.270Z] /w/workspace/device-virtual-go/1@tmp/durable-e2ff52ad/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-e2ff52ad/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-19T08:55:17.654Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-19T08:55:17.701Z] Warning: overwriting stash ‘stack-cost’ [2021-03-19T08:55:17.848Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T08:55:17.870Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-170-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-03-19T08:55:20.109Z] provisioning config files... [2021-03-19T08:55:20.122Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-170@tmp/config3400892602307209382tmp [Pipeline] { [Pipeline] sh [2021-03-19T08:55:20.634Z] + set +x [2021-03-19T08:55:20.634Z] + curl -s https://codecov.io/bash [2021-03-19T08:55:20.634Z] + bash -s -- [2021-03-19T08:55:20.903Z] [2021-03-19T08:55:20.903Z] _____ _ [2021-03-19T08:55:20.903Z] / ____| | | [2021-03-19T08:55:20.903Z] | | ___ __| | ___ ___ _____ __ [2021-03-19T08:55:20.903Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-19T08:55:20.903Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-19T08:55:20.903Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-19T08:55:20.903Z] Bash-20210309-2b87ace [2021-03-19T08:55:20.903Z] [2021-03-19T08:55:20.903Z] [2021-03-19T08:55:20.903Z] ==> git version 2.24.3 found [2021-03-19T08:55:20.903Z] ==> 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-03-19T08:55:20.903Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-19T08:55:20.903Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-19T08:55:20.903Z] ==> Jenkins CI detected. [2021-03-19T08:55:20.903Z] project root: . [2021-03-19T08:55:20.903Z] --> token set from env [2021-03-19T08:55:20.903Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-19T08:55:20.903Z] ==> Running gcov in . (disable via -X gcov) [2021-03-19T08:55:20.903Z] ==> Python coveragepy not found [2021-03-19T08:55:20.903Z] ==> Searching for coverage reports in: [2021-03-19T08:55:20.903Z] + . [2021-03-19T08:55:20.903Z] -> Found 1 reports [2021-03-19T08:55:20.903Z] ==> Detecting git/mercurial file structure [2021-03-19T08:55:20.903Z] ==> Reading reports [2021-03-19T08:55:20.903Z] + ./coverage.out bytes=47247 [2021-03-19T08:55:20.903Z] ==> Appending adjustments [2021-03-19T08:55:20.903Z] https://docs.codecov.io/docs/fixing-reports [2021-03-19T08:55:21.168Z] + Found adjustments [2021-03-19T08:55:21.168Z] ==> Gzipping contents [2021-03-19T08:55:21.168Z] 8.0K /tmp/codecov.xzbEyN.gz [2021-03-19T08:55:21.168Z] ==> Uploading reports [2021-03-19T08:55:21.168Z] url: https://codecov.io [2021-03-19T08:55:21.168Z] query: branch=PR-170&commit=74fd1828a412d32bf9c049029e39ad817b496e4b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-170%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=170&job=&cmd_args= [2021-03-19T08:55:21.168Z] -> Pinging Codecov [2021-03-19T08:55:21.168Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-170&commit=74fd1828a412d32bf9c049029e39ad817b496e4b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-170%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=170&job=&cmd_args= [2021-03-19T08:55:21.431Z] -> Uploading to [2021-03-19T08:55:21.431Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-19/5E52B4B073DB2E39498172D8E973AA87/74fd1828a412d32bf9c049029e39ad817b496e4b/356138e4-29f0-45cd-b30b-0c026f6da2e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T085521Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88dd9b5591a1fb04444f48e64f770fe8526c5ac6b3c43b60031be09af785360e [2021-03-19T08:55:21.431Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-19T08:55:21.431Z] Dload Upload Total Spent Left Speed [2021-03-19T08:55:21.959Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5762 0 0 100 5762 0 13079 --:--:-- --:--:-- --:--:-- 13065 [2021-03-19T08:55:21.959Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/74fd1828a412d32bf9c049029e39ad817b496e4b [Pipeline] } [2021-03-19T08:55:21.984Z] 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-03-19T08:55:25.496Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:55:26.107Z] ---> package-listing.sh [2021-03-19T08:55:26.108Z] ++ facter osfamily [2021-03-19T08:55:26.108Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-19T08:55:26.108Z] + OS_FAMILY=redhat [2021-03-19T08:55:26.108Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-170 [2021-03-19T08:55:26.108Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-19T08:55:26.108Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-19T08:55:26.108Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-19T08:55:26.108Z] + PACKAGES=/tmp/packages_start.txt [2021-03-19T08:55:26.108Z] + '[' /w/workspace/foundry_device-virtual-go_PR-170 ']' [2021-03-19T08:55:26.108Z] + PACKAGES=/tmp/packages_end.txt [2021-03-19T08:55:26.108Z] + case "${OS_FAMILY}" in [2021-03-19T08:55:26.108Z] + rpm -qa [2021-03-19T08:55:26.108Z] + sort [2021-03-19T08:55:31.412Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-19T08:55:31.412Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-19T08:55:31.412Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-19T08:55:31.412Z] + '[' /w/workspace/foundry_device-virtual-go_PR-170 ']' [2021-03-19T08:55:31.412Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-170/archives/ [2021-03-19T08:55:31.412Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-170/archives/ [Pipeline] echo [2021-03-19T08:55:31.465Z] 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-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-19T08:55:31.787Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:55:32.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T08:55:32.138Z] [2021-03-19T08:55:32.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:55:32.533Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T08:55:32.533Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-19T08:55:32.533Z] df20fa9351a1: Pulling fs layer [2021-03-19T08:55:32.533Z] 36b3adc4ff6f: Pulling fs layer [2021-03-19T08:55:32.533Z] 8ad3a11d3b57: Pulling fs layer [2021-03-19T08:55:32.533Z] 46f8f816bc3b: Pulling fs layer [2021-03-19T08:55:32.533Z] 93b61091891f: Pulling fs layer [2021-03-19T08:55:32.533Z] 93b9cdb0e59b: Pulling fs layer [2021-03-19T08:55:32.533Z] 5e14af77c1be: Pulling fs layer [2021-03-19T08:55:32.533Z] 01666e4c0597: Pulling fs layer [2021-03-19T08:55:32.533Z] aa168da1d23b: Pulling fs layer [2021-03-19T08:55:32.533Z] 46f8f816bc3b: Waiting [2021-03-19T08:55:32.533Z] 93b61091891f: Waiting [2021-03-19T08:55:32.533Z] 5e14af77c1be: Waiting [2021-03-19T08:55:32.533Z] 01666e4c0597: Waiting [2021-03-19T08:55:32.533Z] aa168da1d23b: Waiting [2021-03-19T08:55:32.533Z] 93b9cdb0e59b: Waiting [2021-03-19T08:55:32.533Z] 36b3adc4ff6f: Download complete [2021-03-19T08:55:32.533Z] 46f8f816bc3b: Verifying Checksum [2021-03-19T08:55:32.533Z] 46f8f816bc3b: Download complete [2021-03-19T08:55:32.800Z] df20fa9351a1: Verifying Checksum [2021-03-19T08:55:32.800Z] df20fa9351a1: Download complete [2021-03-19T08:55:32.800Z] 93b9cdb0e59b: Verifying Checksum [2021-03-19T08:55:32.800Z] 93b9cdb0e59b: Download complete [2021-03-19T08:55:32.800Z] 5e14af77c1be: Verifying Checksum [2021-03-19T08:55:32.800Z] 5e14af77c1be: Download complete [2021-03-19T08:55:32.800Z] 93b61091891f: Verifying Checksum [2021-03-19T08:55:32.800Z] 93b61091891f: Download complete [2021-03-19T08:55:32.800Z] 01666e4c0597: Verifying Checksum [2021-03-19T08:55:32.800Z] 01666e4c0597: Download complete [2021-03-19T08:55:33.063Z] df20fa9351a1: Pull complete [2021-03-19T08:55:33.326Z] 36b3adc4ff6f: Pull complete [2021-03-19T08:55:33.592Z] 8ad3a11d3b57: Verifying Checksum [2021-03-19T08:55:33.592Z] 8ad3a11d3b57: Download complete [2021-03-19T08:55:34.551Z] 8ad3a11d3b57: Pull complete [2021-03-19T08:55:34.551Z] 46f8f816bc3b: Pull complete [2021-03-19T08:55:35.149Z] 93b61091891f: Pull complete [2021-03-19T08:55:35.414Z] aa168da1d23b: Verifying Checksum [2021-03-19T08:55:35.414Z] aa168da1d23b: Download complete [2021-03-19T08:55:35.677Z] 93b9cdb0e59b: Pull complete [2021-03-19T08:55:35.940Z] 5e14af77c1be: Pull complete [2021-03-19T08:55:35.940Z] 01666e4c0597: Pull complete [2021-03-19T08:55:42.570Z] aa168da1d23b: Pull complete [2021-03-19T08:55:42.570Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-19T08:55:42.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T08:55:42.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-19T08:55:42.735Z] prd-centos7-docker-4c-2g-30523 does not seem to be running inside a container [2021-03-19T08:55:42.785Z] $ 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-170/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-170 -v /w/workspace/foundry_device-virtual-go_PR-170:/w/workspace/foundry_device-virtual-go_PR-170:rw,z -v /w/workspace/foundry_device-virtual-go_PR-170@tmp:/w/workspace/foundry_device-virtual-go_PR-170@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-03-19T08:55:46.216Z] $ docker top ba3a1aea796a0965eb68da57bf1c3992f94162dde10a921e642791833af61174 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:55:46.862Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-19T08:55:47.183Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-19T08:55:47.506Z] + ls /var/log/sa-host [2021-03-19T08:55:47.506Z] + sadf -c /var/log/sa-host/sa19 [2021-03-19T08:55:47.506Z] file_magic: OK [2021-03-19T08:55:47.506Z] HZ: Using current value: 100 [2021-03-19T08:55:47.506Z] file_header: OK [2021-03-19T08:55:47.506Z] 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-03-19T08:55:47.506Z] Statistics: [2021-03-19T08:55:47.506Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-19T08:55:47.506Z] File successfully converted to sysstat format version 12.2.1 [2021-03-19T08:55:47.506Z] + sadf -c /var/log/sa-host/sa23 [2021-03-19T08:55:47.506Z] file_magic: OK [2021-03-19T08:55:47.506Z] HZ: Using current value: 100 [2021-03-19T08:55:47.506Z] file_header: OK [2021-03-19T08:55:47.506Z] 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-03-19T08:55:47.506Z] Statistics: [2021-03-19T08:55:47.506Z] Hnuu...uuuununununu... [2021-03-19T08:55:47.506Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-19T08:55:48.177Z] provisioning config files... [2021-03-19T08:55:48.194Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-170@tmp/config7499165839672035690tmp [Pipeline] { [Pipeline] echo [2021-03-19T08:55:48.311Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:55:48.651Z] ---> create-netrc.sh [Pipeline] } [2021-03-19T08:55:48.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-19T08:55:48.831Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:55:49.173Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-19T08:55:49.211Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:55:49.555Z] ---> sudo-logs.sh [2021-03-19T08:55:49.555Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-19T08:55:49.673Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:55:50.014Z] ---> job-cost.sh [2021-03-19T08:55:50.014Z] lf-activate-venv: SKIPPING [2021-03-19T08:55:50.014Z] DEBUG: total: 0.20999999344348907 [2021-03-19T08:55:50.014Z] INFO: Retrieving Stack Cost... [2021-03-19T08:55:50.960Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T08:55:51.221Z] INFO: Archiving Costs [Pipeline] echo [2021-03-19T08:55:51.254Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:55:51.585Z] ---> logs-deploy.sh [2021-03-19T08:55:51.585Z] lf-activate-venv: SKIPPING [2021-03-19T08:55:51.585Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-170/1 [2021-03-19T08:55:51.585Z] INFO: archiving workspace using pattern(s): [2021-03-19T08:55:53.506Z] Archives upload complete. [2021-03-19T08:55:53.506Z] INFO: archiving logs to Nexus