Pull request #169 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 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 rather than 2b4e7d513dd90ec50609b636363c1f4ebf5757ad Obtained Jenkinsfile from 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 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-169/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-169/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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-29956 in /w/workspace/foundry_device-virtual-go_PR-169 [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-169 # 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/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 2b4e7d513dd90ec50609b636363c1f4ebf5757ad Merge succeeded, producing 2b4e7d513dd90ec50609b636363c1f4ebf5757ad Checking out Revision 2b4e7d513dd90ec50609b636363c1f4ebf5757ad (PR-169) > git config core.sparsecheckout # timeout=10 > git checkout -f 2b4e7d513dd90ec50609b636363c1f4ebf5757ad # 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 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b4e7d513dd90ec50609b636363c1f4ebf5757ad # timeout=10 Commit message: "refactor: consume v2 Device SDK" 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-16T07:14:39.396Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-16T07:14:39.904Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-16T07:14:40.192Z] ========================================================= [2021-03-16T07:14:40.192Z] EdgeX Global Pipelines Version Info [2021-03-16T07:14:40.192Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-16T07:14:41.713Z] ------------------- [2021-03-16T07:14:41.713Z] stable info: [2021-03-16T07:14:41.713Z] ------------------- [2021-03-16T07:14:41.713Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-16T07:14:41.713Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T07:14:41.713Z] Message: update stable to v1.0.184 [2021-03-16T07:14:42.656Z] ------------------- [2021-03-16T07:14:42.656Z] experimental info: [2021-03-16T07:14:42.656Z] ------------------- [2021-03-16T07:14:42.656Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-16T07:14:42.656Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T07:14:42.656Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-16T07:14:43.161Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-03-16T07:14:43.305Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-03-16T07:14:43.433Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-16T07:14:43.562Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-16T07:14:43.691Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-16T07:14:43.840Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-16T07:14:43.977Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-16T07:14:44.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-16T07:14:44.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-16T07:14:44.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-16T07:14:45.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-16T07:14:45.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-03-16T07:14:45.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-16T07:14:45.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-16T07:14:46.004Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-16T07:14:46.252Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-16T07:14:46.501Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T07:14:46.750Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T07:14:47.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-16T07:14:47.275Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-16T07:14:47.514Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-03-16T07:14:47.642Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-03-16T07:14:47.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-16T07:14:48.173Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-16T07:14:48.498Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-16T07:14:48.899Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-16T07:14:49.217Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo [2021-03-16T07:14:49.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo [2021-03-16T07:14:50.090Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo [2021-03-16T07:14:50.356Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b4e7d513dd90ec50609b636363c1f4ebf5757ad [Pipeline] echo [2021-03-16T07:14:50.674Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b4e7d5 [Pipeline] echo [2021-03-16T07:14:50.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T07:14:51.484Z] provisioning config files... [2021-03-16T07:14:51.532Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config6376206825290540632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T07:14:52.159Z] ---> docker-login.sh [2021-03-16T07:14:52.159Z] nexus3.edgexfoundry.org:10001 [2021-03-16T07:14:52.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:14:52.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:14:52.421Z] Configure a credential helper to remove this warning. See [2021-03-16T07:14:52.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:14:52.421Z] [2021-03-16T07:14:52.421Z] Login Succeeded [2021-03-16T07:14:52.421Z] nexus3.edgexfoundry.org:10002 [2021-03-16T07:14:52.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:14:52.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:14:52.683Z] Configure a credential helper to remove this warning. See [2021-03-16T07:14:52.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:14:52.683Z] [2021-03-16T07:14:52.683Z] Login Succeeded [2021-03-16T07:14:52.683Z] nexus3.edgexfoundry.org:10003 [2021-03-16T07:14:52.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:14:52.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:14:52.945Z] Configure a credential helper to remove this warning. See [2021-03-16T07:14:52.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:14:52.945Z] [2021-03-16T07:14:52.945Z] Login Succeeded [2021-03-16T07:14:52.945Z] nexus3.edgexfoundry.org:10004 [2021-03-16T07:14:52.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:14:52.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:14:52.945Z] Configure a credential helper to remove this warning. See [2021-03-16T07:14:52.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:14:52.945Z] [2021-03-16T07:14:52.945Z] Login Succeeded [2021-03-16T07:14:52.945Z] docker.io [2021-03-16T07:14:53.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:14:53.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:14:53.467Z] Configure a credential helper to remove this warning. See [2021-03-16T07:14:53.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:14:53.467Z] [2021-03-16T07:14:53.467Z] Login Succeeded [2021-03-16T07:14:53.467Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T07:14:53.496Z] 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-16T07:14:54.701Z] + git log --format=format:%s -1 2b4e7d513dd90ec50609b636363c1f4ebf5757ad [Pipeline] echo [2021-03-16T07:14:54.798Z] GIT_COMMIT: 2b4e7d513dd90ec50609b636363c1f4ebf5757ad, Commit Message: refactor: consume v2 Device SDK [Pipeline] echo [2021-03-16T07:14:54.873Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-16T07:14:56.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T07:14:56.402Z] [2021-03-16T07:14:56.402Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T07:14:56.793Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T07:14:56.793Z] latest: Pulling from edgex-devops/git-semver [2021-03-16T07:14:56.793Z] 31603596830f: Pulling fs layer [2021-03-16T07:14:56.793Z] 2a8b12db71e7: Pulling fs layer [2021-03-16T07:14:56.793Z] 6ca5941a6612: Pulling fs layer [2021-03-16T07:14:56.793Z] ecc8261a40a4: Pulling fs layer [2021-03-16T07:14:56.793Z] ecc8261a40a4: Waiting [2021-03-16T07:14:56.793Z] 2a8b12db71e7: Verifying Checksum [2021-03-16T07:14:56.793Z] 2a8b12db71e7: Download complete [2021-03-16T07:14:56.793Z] 31603596830f: Verifying Checksum [2021-03-16T07:14:56.793Z] 31603596830f: Download complete [2021-03-16T07:14:57.062Z] ecc8261a40a4: Verifying Checksum [2021-03-16T07:14:57.062Z] ecc8261a40a4: Download complete [2021-03-16T07:14:57.062Z] 6ca5941a6612: Verifying Checksum [2021-03-16T07:14:57.062Z] 6ca5941a6612: Download complete [2021-03-16T07:14:57.324Z] 31603596830f: Pull complete [2021-03-16T07:14:57.325Z] 2a8b12db71e7: Pull complete [2021-03-16T07:14:58.276Z] 6ca5941a6612: Pull complete [2021-03-16T07:14:58.545Z] ecc8261a40a4: Pull complete [2021-03-16T07:14:58.545Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-16T07:14:58.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T07:14:58.545Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-16T07:14:58.710Z] prd-centos7-docker-4c-2g-29956 does not seem to be running inside a container [2021-03-16T07:14:58.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-169 -v /w/workspace/foundry_device-virtual-go_PR-169:/w/workspace/foundry_device-virtual-go_PR-169:rw,z -v /w/workspace/foundry_device-virtual-go_PR-169@tmp:/w/workspace/foundry_device-virtual-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-16T07:15:01.002Z] $ docker top 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T07:15:01.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T07:15:01.435Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T07:15:01.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T07:15:01.649Z] $ docker exec 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 ssh-agent [2021-03-16T07:15:01.807Z] SSH_AUTH_SOCK=/tmp/ssh-FzLhi4QlO3m5/agent.13 [2021-03-16T07:15:01.807Z] SSH_AGENT_PID=18 [2021-03-16T07:15:01.819Z] Running ssh-add (command line suppressed) [2021-03-16T07:15:01.941Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_3768113866659531480.key (/w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_3768113866659531480.key) [2021-03-16T07:15:01.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T07:15:02.371Z] + git tag --points-at HEAD [Pipeline] } [2021-03-16T07:15:02.409Z] $ docker exec --env ******** --env ******** 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 ssh-agent -k [2021-03-16T07:15:02.529Z] unset SSH_AUTH_SOCK; [2021-03-16T07:15:02.529Z] unset SSH_AGENT_PID; [2021-03-16T07:15:02.529Z] echo Agent pid 18 killed; [2021-03-16T07:15:02.572Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-16T07:15:02.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T07:15:02.786Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T07:15:02.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T07:15:02.957Z] $ docker exec 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 ssh-agent [2021-03-16T07:15:03.106Z] SSH_AUTH_SOCK=/tmp/ssh-wUVK2EFqtjM1/agent.46 [2021-03-16T07:15:03.106Z] SSH_AGENT_PID=51 [2021-03-16T07:15:03.113Z] Running ssh-add (command line suppressed) [2021-03-16T07:15:03.229Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_6171550680141408157.key (/w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_6171550680141408157.key) [2021-03-16T07:15:03.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T07:15:03.665Z] + git semver init [2021-03-16T07:15:03.665Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T07:15:03.665Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.git [2021-03-16T07:15:03.665Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-169 [2021-03-16T07:15:03.665Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T07:15:03.665Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T07:15:03.665Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T07:15:03.665Z] # $SEMVER_BRANCH = PR-169 [2021-03-16T07:15:03.665Z] # $SEMVER_TEMP = /tmp/semver-509581508 [2021-03-16T07:15:03.665Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-03-16T07:15:05.585Z] # '/tmp/semver-509581508' -> '/w/workspace/foundry_device-virtual-go_PR-169/.semver' [2021-03-16T07:15:05.585Z] # -> Force: false [2021-03-16T07:15:05.585Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.semver [Pipeline] } [2021-03-16T07:15:05.611Z] $ docker exec --env ******** --env ******** 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 ssh-agent -k [2021-03-16T07:15:05.720Z] unset SSH_AUTH_SOCK; [2021-03-16T07:15:05.720Z] unset SSH_AGENT_PID; [2021-03-16T07:15:05.720Z] echo Agent pid 51 killed; [2021-03-16T07:15:05.761Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T07:15:06.342Z] + git semver [Pipeline] } [2021-03-16T07:15:06.402Z] $ docker stop --time=1 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 [2021-03-16T07:15:07.735Z] $ docker rm -f 06fcfc42eed7669712e31d94a3e4c8bf7bbb129ff8d3e93c78cf97f98239d8e3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T07:15:08.243Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-16T07:15:08.650Z] Stashed 1 file(s) [Pipeline] echo [2021-03-16T07:15:08.674Z] [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-16T07:15:24.507Z] Still waiting to schedule task [2021-03-16T07:15:24.508Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-16T07:15:24.539Z] Still waiting to schedule task [2021-03-16T07:15:24.540Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-16T07:18:38.818Z] Running on prd-centos7-docker-4c-2g-29958 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws [2021-03-16T07:18:38.920Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-03-16T07:18:41.408Z] using credential edgex-jenkins-ssh [2021-03-16T07:18:41.464Z] Cloning the remote Git repository [2021-03-16T07:18:41.493Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-03-16T07:18:41.565Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-03-16T07:18:41.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-16T07:18:41.624Z] > git --version # timeout=10 [2021-03-16T07:18:41.631Z] > git --version # 'git version 2.24.3' [2021-03-16T07:18:41.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T07:18:41.657Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T07:18:42.216Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-16T07:18:42.228Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T07:18:42.241Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-16T07:18:42.257Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-16T07:18:42.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T07:18:42.262Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T07:18:42.666Z] Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 2b4e7d513dd90ec50609b636363c1f4ebf5757ad [2021-03-16T07:18:42.750Z] Merge succeeded, producing 2b4e7d513dd90ec50609b636363c1f4ebf5757ad [2021-03-16T07:18:42.750Z] Checking out Revision 2b4e7d513dd90ec50609b636363c1f4ebf5757ad (PR-169) [2021-03-16T07:18:42.675Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T07:18:42.686Z] > git checkout -f 2b4e7d513dd90ec50609b636363c1f4ebf5757ad # timeout=10 [2021-03-16T07:18:42.723Z] > git remote # timeout=10 [2021-03-16T07:18:42.728Z] > git config --get remote.origin.url # timeout=10 [2021-03-16T07:18:42.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T07:18:42.736Z] > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 [2021-03-16T07:18:42.744Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-16T07:18:42.753Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T07:18:42.762Z] > git checkout -f 2b4e7d513dd90ec50609b636363c1f4ebf5757ad # timeout=10 [2021-03-16T07:18:46.351Z] Commit message: "refactor: consume v2 Device SDK" [2021-03-16T07:18:46.383Z] > git --version # timeout=10 [2021-03-16T07:18:46.389Z] > git --version # 'git version 2.24.3' [2021-03-16T07:18:46.397Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T07:18:47.958Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-16T07:18:48.310Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T07:18:48.627Z] + sudo service docker restart [2021-03-16T07:18:48.627Z] + true [2021-03-16T07:18:48.627Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T07:18:49.718Z] provisioning config files... [2021-03-16T07:18:49.758Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7227832742809417364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T07:18:50.209Z] ---> docker-login.sh [2021-03-16T07:18:50.209Z] nexus3.edgexfoundry.org:10001 [2021-03-16T07:18:50.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:18:50.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:18:50.472Z] Configure a credential helper to remove this warning. See [2021-03-16T07:18:50.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:18:50.472Z] [2021-03-16T07:18:50.472Z] Login Succeeded [2021-03-16T07:18:50.472Z] nexus3.edgexfoundry.org:10002 [2021-03-16T07:18:50.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:18:50.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:18:50.741Z] Configure a credential helper to remove this warning. See [2021-03-16T07:18:50.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:18:50.741Z] [2021-03-16T07:18:50.741Z] Login Succeeded [2021-03-16T07:18:50.741Z] nexus3.edgexfoundry.org:10003 [2021-03-16T07:18:51.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:18:51.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:18:51.007Z] Configure a credential helper to remove this warning. See [2021-03-16T07:18:51.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:18:51.007Z] [2021-03-16T07:18:51.007Z] Login Succeeded [2021-03-16T07:18:51.007Z] nexus3.edgexfoundry.org:10004 [2021-03-16T07:18:51.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:18:51.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:18:51.007Z] Configure a credential helper to remove this warning. See [2021-03-16T07:18:51.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:18:51.007Z] [2021-03-16T07:18:51.007Z] Login Succeeded [2021-03-16T07:18:51.007Z] docker.io [2021-03-16T07:18:51.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:18:51.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:18:51.533Z] Configure a credential helper to remove this warning. See [2021-03-16T07:18:51.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:18:51.533Z] [2021-03-16T07:18:51.533Z] Login Succeeded [2021-03-16T07:18:51.533Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T07:18:51.557Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T07:18:52.081Z] ========================================================= [2021-03-16T07:18:52.081Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-16T07:18:52.081Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T07:18:52.475Z] + 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-16T07:18:52.475Z] Sending build context to Docker daemon 513.5kB [2021-03-16T07:18:52.475Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T07:18:52.475Z] Step 2/8 : FROM ${BASE} [2021-03-16T07:18:52.742Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-16T07:18:52.742Z] 188c0c94c7c5: Pulling fs layer [2021-03-16T07:18:52.742Z] 0ef7d3d256c8: Pulling fs layer [2021-03-16T07:18:52.742Z] de9db76c5a1d: Pulling fs layer [2021-03-16T07:18:52.742Z] bca2f99d35d6: Pulling fs layer [2021-03-16T07:18:52.742Z] 93359f2a8cfa: Pulling fs layer [2021-03-16T07:18:52.742Z] 7c6f9722023f: Pulling fs layer [2021-03-16T07:18:52.742Z] a35cf1a2eb13: Pulling fs layer [2021-03-16T07:18:52.742Z] bca2f99d35d6: Waiting [2021-03-16T07:18:52.742Z] 93359f2a8cfa: Waiting [2021-03-16T07:18:52.742Z] 7c6f9722023f: Waiting [2021-03-16T07:18:52.742Z] a35cf1a2eb13: Waiting [2021-03-16T07:18:52.742Z] de9db76c5a1d: Verifying Checksum [2021-03-16T07:18:52.742Z] de9db76c5a1d: Download complete [2021-03-16T07:18:52.742Z] 0ef7d3d256c8: Verifying Checksum [2021-03-16T07:18:52.742Z] 0ef7d3d256c8: Download complete [2021-03-16T07:18:52.742Z] 93359f2a8cfa: Download complete [2021-03-16T07:18:52.742Z] 7c6f9722023f: Verifying Checksum [2021-03-16T07:18:52.742Z] 7c6f9722023f: Download complete [2021-03-16T07:18:52.742Z] 188c0c94c7c5: Verifying Checksum [2021-03-16T07:18:52.742Z] 188c0c94c7c5: Download complete [2021-03-16T07:18:53.006Z] 188c0c94c7c5: Pull complete [2021-03-16T07:18:53.270Z] 0ef7d3d256c8: Pull complete [2021-03-16T07:18:53.537Z] de9db76c5a1d: Pull complete [2021-03-16T07:18:55.474Z] a35cf1a2eb13: Verifying Checksum [2021-03-16T07:18:55.474Z] a35cf1a2eb13: Download complete [2021-03-16T07:18:55.474Z] bca2f99d35d6: Verifying Checksum [2021-03-16T07:18:55.474Z] bca2f99d35d6: Download complete [2021-03-16T07:19:00.802Z] bca2f99d35d6: Pull complete [2021-03-16T07:19:00.802Z] 93359f2a8cfa: Pull complete [2021-03-16T07:19:01.066Z] 7c6f9722023f: Pull complete [2021-03-16T07:19:06.386Z] a35cf1a2eb13: Pull complete [2021-03-16T07:19:06.386Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-16T07:19:06.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-16T07:19:06.386Z] ---> a62c8e92a672 [2021-03-16T07:19:06.386Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-03-16T07:19:06.386Z] ---> Running in a87f7cbfa824 [2021-03-16T07:19:06.386Z] Removing intermediate container a87f7cbfa824 [2021-03-16T07:19:06.386Z] ---> 57b31723520e [2021-03-16T07:19:06.386Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T07:19:06.653Z] ---> Running in 4e5ffb3898fb [2021-03-16T07:19:07.609Z] Removing intermediate container 4e5ffb3898fb [2021-03-16T07:19:07.609Z] ---> 3db137c01444 [2021-03-16T07:19:07.609Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-16T07:19:07.609Z] ---> Running in 75b796e5c459 [2021-03-16T07:19:08.186Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T07:19:08.768Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T07:19:09.032Z] (1/14) Installing libmagic (5.38-r0) [2021-03-16T07:19:09.328Z] (2/14) Installing file (5.38-r0) [2021-03-16T07:19:09.328Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-16T07:19:09.328Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-16T07:19:11.664Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29957 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws [2021-03-16T07:19:11.824Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-03-16T07:19:14.626Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-16T07:19:14.626Z] (6/14) Installing patch (2.7.6-r6) [2021-03-16T07:19:14.626Z] (7/14) Installing build-base (0.5-r2) [2021-03-16T07:19:14.626Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-03-16T07:19:14.626Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-16T07:19:14.626Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-03-16T07:19:14.890Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-03-16T07:19:14.890Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-03-16T07:19:14.890Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-03-16T07:19:15.153Z] (14/14) Installing openssh (8.3_p1-r1) [2021-03-16T07:19:15.153Z] Executing busybox-1.31.1-r19.trigger [2021-03-16T07:19:15.153Z] OK: 237 MiB in 53 packages [2021-03-16T07:19:16.929Z] using credential edgex-jenkins-ssh [2021-03-16T07:19:16.992Z] Cloning the remote Git repository [2021-03-16T07:19:17.055Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-03-16T07:19:17.157Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-03-16T07:19:17.227Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-16T07:19:17.228Z] > git --version # timeout=10 [2021-03-16T07:19:17.247Z] > git --version # 'git version 2.17.1' [2021-03-16T07:19:17.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T07:19:17.332Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T07:19:18.141Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-16T07:19:18.783Z] Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 2b4e7d513dd90ec50609b636363c1f4ebf5757ad [2021-03-16T07:19:19.104Z] Merge succeeded, producing 2b4e7d513dd90ec50609b636363c1f4ebf5757ad [2021-03-16T07:19:19.104Z] Checking out Revision 2b4e7d513dd90ec50609b636363c1f4ebf5757ad (PR-169) [2021-03-16T07:19:19.376Z] Removing intermediate container 75b796e5c459 [2021-03-16T07:19:19.376Z] ---> a1e4d7ebc9ed [2021-03-16T07:19:19.377Z] Step 6/8 : WORKDIR /device-virtual-go [2021-03-16T07:19:19.377Z] ---> Running in bbaa2363a4ba [2021-03-16T07:19:19.377Z] Removing intermediate container bbaa2363a4ba [2021-03-16T07:19:19.377Z] ---> 4ccd847962ca [2021-03-16T07:19:19.377Z] Step 7/8 : COPY . . [2021-03-16T07:19:18.165Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T07:19:18.189Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-16T07:19:18.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-16T07:19:18.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T07:19:18.231Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T07:19:18.800Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T07:19:18.825Z] > git checkout -f 2b4e7d513dd90ec50609b636363c1f4ebf5757ad # timeout=10 [2021-03-16T07:19:18.911Z] > git remote # timeout=10 [2021-03-16T07:19:18.972Z] > git config --get remote.origin.url # timeout=10 [2021-03-16T07:19:18.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T07:19:19.035Z] > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 [2021-03-16T07:19:19.068Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-16T07:19:19.113Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T07:19:19.162Z] > git checkout -f 2b4e7d513dd90ec50609b636363c1f4ebf5757ad # timeout=10 [2021-03-16T07:19:19.960Z] ---> f4f7556b12d4 [2021-03-16T07:19:19.960Z] Step 8/8 : RUN go mod download [2021-03-16T07:19:19.960Z] ---> Running in a2b56d2a3515 [2021-03-16T07:19:23.443Z] Commit message: "refactor: consume v2 Device SDK" [2021-03-16T07:19:23.494Z] > git --version # timeout=10 [2021-03-16T07:19:23.504Z] > git --version # 'git version 2.17.1' [2021-03-16T07:19:23.520Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T07:19:25.246Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-16T07:19:25.752Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T07:19:26.120Z] + true [2021-03-16T07:19:26.120Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T07:19:28.241Z] provisioning config files... [2021-03-16T07:19:28.288Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2749238326613079099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T07:19:28.749Z] ---> docker-login.sh [2021-03-16T07:19:28.749Z] nexus3.edgexfoundry.org:10001 [2021-03-16T07:19:29.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:19:30.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:19:30.006Z] Configure a credential helper to remove this warning. See [2021-03-16T07:19:30.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:19:30.006Z] [2021-03-16T07:19:30.006Z] Login Succeeded [2021-03-16T07:19:30.006Z] nexus3.edgexfoundry.org:10002 [2021-03-16T07:19:30.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:19:30.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:19:30.280Z] Configure a credential helper to remove this warning. See [2021-03-16T07:19:30.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:19:30.280Z] [2021-03-16T07:19:30.280Z] Login Succeeded [2021-03-16T07:19:30.556Z] nexus3.edgexfoundry.org:10003 [2021-03-16T07:19:30.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:19:30.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:19:30.831Z] Configure a credential helper to remove this warning. See [2021-03-16T07:19:30.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:19:30.831Z] [2021-03-16T07:19:30.831Z] Login Succeeded [2021-03-16T07:19:30.831Z] nexus3.edgexfoundry.org:10004 [2021-03-16T07:19:31.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:19:31.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:19:31.430Z] Configure a credential helper to remove this warning. See [2021-03-16T07:19:31.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:19:31.430Z] [2021-03-16T07:19:31.430Z] Login Succeeded [2021-03-16T07:19:31.430Z] docker.io [2021-03-16T07:19:32.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T07:19:32.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T07:19:32.304Z] Configure a credential helper to remove this warning. See [2021-03-16T07:19:32.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T07:19:32.304Z] [2021-03-16T07:19:32.304Z] Login Succeeded [2021-03-16T07:19:32.304Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T07:19:32.352Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T07:19:32.945Z] ========================================================= [2021-03-16T07:19:32.945Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-16T07:19:32.945Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T07:19:33.418Z] + 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-16T07:19:33.691Z] Sending build context to Docker daemon 512.5kB [2021-03-16T07:19:33.691Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T07:19:33.691Z] Step 2/8 : FROM ${BASE} [2021-03-16T07:19:33.691Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-16T07:19:33.970Z] 5f621e34cdf4: Pulling fs layer [2021-03-16T07:19:33.970Z] a4357932f1b6: Pulling fs layer [2021-03-16T07:19:33.970Z] 18c013af1878: Pulling fs layer [2021-03-16T07:19:33.970Z] 00ac8860ef70: Pulling fs layer [2021-03-16T07:19:33.970Z] 63d7cb157983: Pulling fs layer [2021-03-16T07:19:33.970Z] b116817d02f9: Pulling fs layer [2021-03-16T07:19:33.970Z] 745a02a5169b: Pulling fs layer [2021-03-16T07:19:33.970Z] 63d7cb157983: Waiting [2021-03-16T07:19:33.970Z] b116817d02f9: Waiting [2021-03-16T07:19:33.970Z] 745a02a5169b: Waiting [2021-03-16T07:19:33.970Z] 00ac8860ef70: Waiting [2021-03-16T07:19:33.970Z] 18c013af1878: Verifying Checksum [2021-03-16T07:19:33.970Z] 18c013af1878: Download complete [2021-03-16T07:19:33.970Z] a4357932f1b6: Verifying Checksum [2021-03-16T07:19:33.970Z] a4357932f1b6: Download complete [2021-03-16T07:19:33.970Z] 63d7cb157983: Verifying Checksum [2021-03-16T07:19:33.970Z] 63d7cb157983: Download complete [2021-03-16T07:19:33.970Z] b116817d02f9: Download complete [2021-03-16T07:19:33.970Z] 5f621e34cdf4: Verifying Checksum [2021-03-16T07:19:33.970Z] 5f621e34cdf4: Download complete [2021-03-16T07:19:34.573Z] 5f621e34cdf4: Pull complete [2021-03-16T07:19:35.175Z] a4357932f1b6: Pull complete [2021-03-16T07:19:35.783Z] 18c013af1878: Pull complete [2021-03-16T07:19:36.058Z] 745a02a5169b: Verifying Checksum [2021-03-16T07:19:36.058Z] 745a02a5169b: Download complete [2021-03-16T07:19:37.492Z] 00ac8860ef70: Verifying Checksum [2021-03-16T07:19:37.492Z] 00ac8860ef70: Download complete [2021-03-16T07:19:41.970Z] Removing intermediate container a2b56d2a3515 [2021-03-16T07:19:41.970Z] ---> 46dcb605b4f7 [2021-03-16T07:19:41.970Z] Successfully built 46dcb605b4f7 [2021-03-16T07:19:41.970Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T07:19:42.320Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T07:19:42.320Z] . [Pipeline] withDockerContainer [2021-03-16T07:19:42.471Z] prd-centos7-docker-4c-2g-29958 does not seem to be running inside a container [2021-03-16T07:19:42.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-16T07:19:43.215Z] $ docker top 4e10e10d288d3d3114c431c1dcf08fe70aaec82f64b273d6990919588032e908 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T07:19:43.746Z] + go version [2021-03-16T07:19:43.747Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-16T07:19:43.774Z] $ docker stop --time=1 4e10e10d288d3d3114c431c1dcf08fe70aaec82f64b273d6990919588032e908 [2021-03-16T07:19:45.139Z] $ docker rm -f 4e10e10d288d3d3114c431c1dcf08fe70aaec82f64b273d6990919588032e908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T07:19:46.234Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T07:19:46.235Z] . [Pipeline] withDockerContainer [2021-03-16T07:19:46.349Z] prd-centos7-docker-4c-2g-29958 does not seem to be running inside a container [2021-03-16T07:19:46.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-16T07:19:46.962Z] $ docker top 103d16e57a0b5fa5da542c63d0d721990ff6a54856dfeed88a60074380a825bc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T07:19:47.504Z] + make test [2021-03-16T07:19:47.504Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-16T07:19:47.648Z] 00ac8860ef70: Pull complete [2021-03-16T07:19:47.648Z] 63d7cb157983: Pull complete [2021-03-16T07:19:47.923Z] b116817d02f9: Pull complete [2021-03-16T07:19:48.909Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-03-16T07:19:52.229Z] 745a02a5169b: Pull complete [2021-03-16T07:19:52.229Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-16T07:19:52.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-16T07:19:52.229Z] ---> b7e6874047d6 [2021-03-16T07:19:52.229Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-03-16T07:19:54.845Z] ---> Running in de2387350337 [2021-03-16T07:19:55.117Z] Removing intermediate container de2387350337 [2021-03-16T07:19:55.117Z] ---> 8bd26ef74869 [2021-03-16T07:19:55.117Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T07:19:55.117Z] ---> Running in 29a9aada2df6 [2021-03-16T07:19:57.089Z] Removing intermediate container 29a9aada2df6 [2021-03-16T07:19:57.089Z] ---> c4af5e6b01df [2021-03-16T07:19:57.089Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-16T07:19:57.372Z] ---> Running in 4662a839f55f [2021-03-16T07:19:58.351Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-16T07:19:58.942Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T07:19:59.532Z] (1/14) Installing libmagic (5.38-r0) [2021-03-16T07:20:00.128Z] (2/14) Installing file (5.38-r0) [2021-03-16T07:20:00.128Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-16T07:20:00.128Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-16T07:20:04.002Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-03-16T07:20:04.583Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.341s coverage: 63.5% of statements [2021-03-16T07:20:04.583Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-16T07:20:06.821Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-16T07:20:06.821Z] (6/14) Installing patch (2.7.6-r6) [2021-03-16T07:20:06.821Z] (7/14) Installing build-base (0.5-r2) [2021-03-16T07:20:06.821Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-03-16T07:20:06.821Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-16T07:20:06.821Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-03-16T07:20:06.821Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-03-16T07:20:06.821Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-03-16T07:20:06.821Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-03-16T07:20:07.092Z] (14/14) Installing openssh (8.3_p1-r1) [2021-03-16T07:20:07.092Z] Executing busybox-1.31.1-r19.trigger [2021-03-16T07:20:07.092Z] OK: 221 MiB in 53 packages [2021-03-16T07:20:07.929Z] gofmt -l . [2021-03-16T07:20:07.929Z] [ "`gofmt -l .`" = "" ] [2021-03-16T07:20:07.929Z] ./bin/test-attribution-txt.sh [2021-03-16T07:20:08.509Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-16T07:20:08.809Z] $ docker stop --time=1 103d16e57a0b5fa5da542c63d0d721990ff6a54856dfeed88a60074380a825bc [2021-03-16T07:20:10.491Z] $ docker rm -f 103d16e57a0b5fa5da542c63d0d721990ff6a54856dfeed88a60074380a825bc [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T07:20:11.178Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T07:20:11.399Z] Removing intermediate container 4662a839f55f [2021-03-16T07:20:11.399Z] ---> 53e869f1736a [2021-03-16T07:20:11.399Z] Step 6/8 : WORKDIR /device-virtual-go [2021-03-16T07:20:11.399Z] ---> Running in f0a69ef04a08 [2021-03-16T07:20:11.530Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2021-03-16T07:20:11.681Z] Removing intermediate container f0a69ef04a08 [2021-03-16T07:20:11.681Z] ---> 01cdf8a55459 [2021-03-16T07:20:11.681Z] Step 7/8 : COPY . . [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-03-16T07:20:12.686Z] ---> e0f31b6b8b45 [2021-03-16T07:20:12.686Z] Step 8/8 : RUN go mod download [2021-03-16T07:20:12.686Z] ---> Running in 099086fc4754 [Pipeline] sh [2021-03-16T07:20:15.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T07:20:15.743Z] + ls -al . [2021-03-16T07:20:15.744Z] total 128 [2021-03-16T07:20:15.744Z] drwxrwxr-x. 7 jenkins jenkins 4096 Mar 16 07:20 . [2021-03-16T07:20:15.744Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 16 07:18 .. [2021-03-16T07:20:15.744Z] -rw-rw-r--. 1 jenkins jenkins 7136 Mar 16 07:18 Attribution.txt [2021-03-16T07:20:15.744Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 16 07:18 bin [2021-03-16T07:20:15.744Z] drwxrwxr-x. 3 jenkins jenkins 32 Mar 16 07:18 cmd [2021-03-16T07:20:15.744Z] -rw-r--r--. 1 jenkins jenkins 47526 Mar 16 07:20 coverage.out [2021-03-16T07:20:15.744Z] -rw-rw-r--. 1 jenkins jenkins 1851 Mar 16 07:18 Dockerfile [2021-03-16T07:20:15.744Z] -rw-rw-r--. 1 jenkins jenkins 961 Mar 16 07:18 Dockerfile.build [2021-03-16T07:20:15.744Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 16 07:18 .git [2021-03-16T07:20:15.744Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 16 07:18 .github [2021-03-16T07:20:15.744Z] -rw-rw-r--. 1 jenkins jenkins 258 Mar 16 07:18 .gitignore [2021-03-16T07:20:15.744Z] -rw-r--r--. 1 jenkins jenkins 809 Mar 16 07:20 go.mod [2021-03-16T07:20:15.744Z] -rw-r--r--. 1 jenkins jenkins 20236 Mar 16 07:20 go.sum [2021-03-16T07:20:15.744Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 16 07:18 internal [2021-03-16T07:20:15.744Z] -rw-rw-r--. 1 jenkins jenkins 660 Mar 16 07:18 Jenkinsfile [2021-03-16T07:20:15.744Z] -rw-rw-r--. 1 jenkins jenkins 11340 Mar 16 07:18 LICENSE [2021-03-16T07:20:15.744Z] -rw-rw-r--. 1 jenkins jenkins 873 Mar 16 07:18 Makefile [2021-03-16T07:20:15.744Z] -rw-rw-r--. 1 jenkins jenkins 918 Mar 16 07:18 README.md [2021-03-16T07:20:15.744Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 16 07:15 VERSION [2021-03-16T07:20:15.744Z] -rw-rw-r--. 1 jenkins jenkins 235 Mar 16 07:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T07:20:16.090Z] + 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=2b4e7d513dd90ec50609b636363c1f4ebf5757ad --label arch=amd64 --label version=0.0.0 . [2021-03-16T07:20:16.090Z] Sending build context to Docker daemon 582.7kB [2021-03-16T07:20:16.352Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T07:20:16.352Z] Step 2/22 : FROM ${BASE} AS builder [2021-03-16T07:20:16.352Z] ---> 46dcb605b4f7 [2021-03-16T07:20:16.352Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-03-16T07:20:16.614Z] ---> Running in d4f27169fd1e [2021-03-16T07:20:16.614Z] Removing intermediate container d4f27169fd1e [2021-03-16T07:20:16.614Z] ---> 3f3c72624203 [2021-03-16T07:20:16.614Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-03-16T07:20:16.877Z] ---> Running in 1a24017f3489 [2021-03-16T07:20:16.877Z] Removing intermediate container 1a24017f3489 [2021-03-16T07:20:16.877Z] ---> 5b68417ff131 [2021-03-16T07:20:16.877Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-03-16T07:20:16.877Z] ---> Running in 05aa800ae053 [2021-03-16T07:20:17.142Z] Removing intermediate container 05aa800ae053 [2021-03-16T07:20:17.142Z] ---> e14841058b87 [2021-03-16T07:20:17.142Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T07:20:17.142Z] ---> Running in 3e66e5c04a8c [2021-03-16T07:20:18.093Z] Removing intermediate container 3e66e5c04a8c [2021-03-16T07:20:18.093Z] ---> c40d884a00d9 [2021-03-16T07:20:18.093Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-03-16T07:20:18.093Z] ---> Running in 0d5c764b46c1 [2021-03-16T07:20:18.668Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T07:20:19.618Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T07:20:20.192Z] OK: 237 MiB in 53 packages [2021-03-16T07:20:20.766Z] Removing intermediate container 0d5c764b46c1 [2021-03-16T07:20:20.766Z] ---> 507a33bf61db [2021-03-16T07:20:20.766Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-03-16T07:20:20.766Z] ---> Running in ffd9f2787ff4 [2021-03-16T07:20:20.766Z] Removing intermediate container ffd9f2787ff4 [2021-03-16T07:20:20.766Z] ---> a8fa294a2332 [2021-03-16T07:20:20.766Z] Step 9/22 : COPY . . [2021-03-16T07:20:21.715Z] ---> 15186b98bf5a [2021-03-16T07:20:21.715Z] Step 10/22 : ARG MAKE='make build' [2021-03-16T07:20:21.715Z] ---> Running in 248176b9e25d [2021-03-16T07:20:21.975Z] Removing intermediate container 248176b9e25d [2021-03-16T07:20:21.975Z] ---> 366bcc7402d6 [2021-03-16T07:20:21.975Z] Step 11/22 : RUN $MAKE [2021-03-16T07:20:21.975Z] ---> Running in b2c7b7cd7956 [2021-03-16T07:20:22.555Z] 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-16T07:20:34.928Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-16T07:20:38.243Z] Removing intermediate container b2c7b7cd7956 [2021-03-16T07:20:38.243Z] ---> 0524c784966b [2021-03-16T07:20:38.243Z] Step 12/22 : FROM alpine:3.12 [2021-03-16T07:20:38.504Z] 3.12: Pulling from library/alpine [2021-03-16T07:20:38.504Z] f84cab65f19f: Pulling fs layer [2021-03-16T07:20:38.770Z] f84cab65f19f: Verifying Checksum [2021-03-16T07:20:38.770Z] f84cab65f19f: Download complete [2021-03-16T07:20:39.042Z] f84cab65f19f: Pull complete [2021-03-16T07:20:39.042Z] Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe [2021-03-16T07:20:39.042Z] Status: Downloaded newer image for alpine:3.12 [2021-03-16T07:20:39.042Z] ---> 88dd2752d2ea [2021-03-16T07:20:39.042Z] Step 13/22 : ENV APP_PORT=49990 [2021-03-16T07:20:39.042Z] ---> Running in 21817ce0c036 [2021-03-16T07:20:39.305Z] Removing intermediate container 21817ce0c036 [2021-03-16T07:20:39.305Z] ---> 9e0808ff4bd5 [2021-03-16T07:20:39.305Z] Step 14/22 : EXPOSE $APP_PORT [2021-03-16T07:20:39.305Z] ---> Running in 24c726722ce5 [2021-03-16T07:20:39.496Z] Removing intermediate container 099086fc4754 [2021-03-16T07:20:39.496Z] ---> c94bed02af19 [2021-03-16T07:20:39.496Z] Successfully built c94bed02af19 [2021-03-16T07:20:39.496Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T07:20:39.567Z] Removing intermediate container 24c726722ce5 [2021-03-16T07:20:39.568Z] ---> fc800e79842d [2021-03-16T07:20:39.568Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-03-16T07:20:39.902Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T07:20:39.902Z] . [Pipeline] withDockerContainer [2021-03-16T07:20:40.140Z] ---> 036b8155c68f [2021-03-16T07:20:40.140Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-03-16T07:20:40.196Z] prd-ubuntu18.04-docker-arm64-4c-16g-29957 does not seem to be running inside a container [2021-03-16T07:20:40.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-16T07:20:40.401Z] ---> ce1f63c4f050 [2021-03-16T07:20:40.401Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-03-16T07:20:40.662Z] ---> a3ad0c165e77 [2021-03-16T07:20:40.662Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-03-16T07:20:40.662Z] ---> Running in 21c70268ca84 [2021-03-16T07:20:40.923Z] Removing intermediate container 21c70268ca84 [2021-03-16T07:20:40.923Z] ---> aa213fe48709 [2021-03-16T07:20:40.923Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T07:20:40.923Z] ---> Running in 099f43c4f100 [2021-03-16T07:20:40.923Z] Removing intermediate container 099f43c4f100 [2021-03-16T07:20:40.923Z] ---> 3481bdc840e1 [2021-03-16T07:20:40.923Z] Step 20/22 : LABEL arch=amd64 [2021-03-16T07:20:41.186Z] ---> Running in 63288dca2fbc [2021-03-16T07:20:41.186Z] Removing intermediate container 63288dca2fbc [2021-03-16T07:20:41.186Z] ---> 888a3379b4c1 [2021-03-16T07:20:41.186Z] Step 21/22 : LABEL git_sha=2b4e7d513dd90ec50609b636363c1f4ebf5757ad [2021-03-16T07:20:41.447Z] ---> Running in ad5d495fa64a [2021-03-16T07:20:41.447Z] Removing intermediate container ad5d495fa64a [2021-03-16T07:20:41.447Z] ---> 4a4c2aeb1226 [2021-03-16T07:20:41.447Z] Step 22/22 : LABEL version=0.0.0 [2021-03-16T07:20:41.447Z] ---> Running in 5d41fcde1a06 [2021-03-16T07:20:41.710Z] Removing intermediate container 5d41fcde1a06 [2021-03-16T07:20:41.710Z] ---> 4353a3372d84 [2021-03-16T07:20:41.711Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T07:20:41.711Z] Successfully built 4353a3372d84 [2021-03-16T07:20:41.711Z] Successfully tagged docker-device-virtual-go:latest [2021-03-16T07:20:41.817Z] $ docker top 102fdc816630309e6a66179ffcdfc900dadbccc1374addf49950a19110de769f -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2021-03-16T07:20:43.037Z] + go version [2021-03-16T07:20:43.038Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-16T07:20:43.109Z] $ docker stop --time=1 102fdc816630309e6a66179ffcdfc900dadbccc1374addf49950a19110de769f [2021-03-16T07:20:45.041Z] $ docker rm -f 102fdc816630309e6a66179ffcdfc900dadbccc1374addf49950a19110de769f [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T07:20:46.585Z] ---> job-cost.sh [2021-03-16T07:20:46.585Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4QAq [2021-03-16T07:20:46.906Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T07:20:46.906Z] . [Pipeline] withDockerContainer [2021-03-16T07:20:47.217Z] prd-ubuntu18.04-docker-arm64-4c-16g-29957 does not seem to be running inside a container [2021-03-16T07:20:47.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-16T07:20:48.780Z] $ docker top 4b6bcc5554b3e5837c8d7f7d1356e9eb19c90aef95e1c6d14c3e8b2c2d0a5576 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T07:20:49.900Z] + make test [2021-03-16T07:20:49.900Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-16T07:20:51.346Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-03-16T07:21:01.769Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T07:21:28.404Z] lf-activate-venv(): INFO: Adding /tmp/venv-4QAq/bin to PATH [2021-03-16T07:21:28.404Z] INFO: No Stack... [2021-03-16T07:21:28.404Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T07:21:28.666Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T07:21:29.004Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-03-16T07:21:29.005Z] + cut -d, -f6 [Pipeline] lock [2021-03-16T07:21:29.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] [2021-03-16T07:21:29.109Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] did not exist. Created. [2021-03-16T07:21:29.109Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T07:21:29.711Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-16T07:21:29.879Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T07:21:29.920Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-16T07:21:38.425Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-03-16T07:21:38.425Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.419s coverage: 63.5% of statements [2021-03-16T07:21:38.425Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-16T07:21:48.574Z] gofmt -l . [2021-03-16T07:21:48.574Z] [ "`gofmt -l .`" = "" ] [2021-03-16T07:21:48.574Z] ./bin/test-attribution-txt.sh [2021-03-16T07:21:48.574Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-16T07:21:49.207Z] $ docker stop --time=1 4b6bcc5554b3e5837c8d7f7d1356e9eb19c90aef95e1c6d14c3e8b2c2d0a5576 [2021-03-16T07:21:51.457Z] $ docker rm -f 4b6bcc5554b3e5837c8d7f7d1356e9eb19c90aef95e1c6d14c3e8b2c2d0a5576 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T07:21:52.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T07:21:52.604Z] Warning: overwriting stash ‘coverage-report’ [2021-03-16T07:21:53.626Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T07:21:54.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T07:21:54.959Z] + ls -al . [2021-03-16T07:21:54.959Z] total 152 [2021-03-16T07:21:54.959Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 16 07:21 . [2021-03-16T07:21:54.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 07:19 .. [2021-03-16T07:21:54.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 07:19 .git [2021-03-16T07:21:54.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 07:19 .github [2021-03-16T07:21:54.959Z] -rw-rw-r-- 1 jenkins jenkins 258 Mar 16 07:19 .gitignore [2021-03-16T07:21:54.959Z] -rw-rw-r-- 1 jenkins jenkins 7136 Mar 16 07:19 Attribution.txt [2021-03-16T07:21:54.959Z] -rw-rw-r-- 1 jenkins jenkins 1851 Mar 16 07:19 Dockerfile [2021-03-16T07:21:54.959Z] -rw-rw-r-- 1 jenkins jenkins 961 Mar 16 07:19 Dockerfile.build [2021-03-16T07:21:54.959Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 16 07:19 Jenkinsfile [2021-03-16T07:21:54.959Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 07:19 LICENSE [2021-03-16T07:21:54.959Z] -rw-rw-r-- 1 jenkins jenkins 873 Mar 16 07:19 Makefile [2021-03-16T07:21:54.959Z] -rw-rw-r-- 1 jenkins jenkins 918 Mar 16 07:19 README.md [2021-03-16T07:21:54.959Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 07:15 VERSION [2021-03-16T07:21:54.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 07:19 bin [2021-03-16T07:21:54.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 07:19 cmd [2021-03-16T07:21:54.959Z] -rw-r--r-- 1 jenkins jenkins 47526 Mar 16 07:21 coverage.out [2021-03-16T07:21:54.959Z] -rw-r--r-- 1 jenkins jenkins 809 Mar 16 07:21 go.mod [2021-03-16T07:21:54.959Z] -rw-r--r-- 1 jenkins jenkins 20236 Mar 16 07:21 go.sum [2021-03-16T07:21:54.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 07:19 internal [2021-03-16T07:21:54.959Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 16 07:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T07:21:55.429Z] + 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=2b4e7d513dd90ec50609b636363c1f4ebf5757ad --label arch=arm64 --label version=0.0.0 . [2021-03-16T07:21:55.706Z] Sending build context to Docker daemon 581.6kB [2021-03-16T07:21:55.978Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T07:21:55.978Z] Step 2/22 : FROM ${BASE} AS builder [2021-03-16T07:21:55.978Z] ---> c94bed02af19 [2021-03-16T07:21:55.978Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-03-16T07:21:56.251Z] ---> Running in 6c3b9cde4e12 [2021-03-16T07:21:56.523Z] Removing intermediate container 6c3b9cde4e12 [2021-03-16T07:21:56.523Z] ---> e9ef200ba70c [2021-03-16T07:21:56.523Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-03-16T07:21:56.806Z] ---> Running in 3df48ff86b4e [2021-03-16T07:21:57.083Z] Removing intermediate container 3df48ff86b4e [2021-03-16T07:21:57.083Z] ---> 22459827f11c [2021-03-16T07:21:57.083Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-03-16T07:21:57.356Z] ---> Running in 46a3bd62632e [2021-03-16T07:21:57.628Z] Removing intermediate container 46a3bd62632e [2021-03-16T07:21:57.628Z] ---> c3cade07a79f [2021-03-16T07:21:57.628Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T07:21:57.903Z] ---> Running in dc734c511239 [2021-03-16T07:21:59.877Z] Removing intermediate container dc734c511239 [2021-03-16T07:21:59.877Z] ---> 5eaea9018a87 [2021-03-16T07:21:59.877Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-03-16T07:22:00.151Z] ---> Running in 3e5af7400c86 [2021-03-16T07:22:01.131Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-16T07:22:02.110Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T07:22:02.713Z] OK: 221 MiB in 53 packages [2021-03-16T07:22:03.730Z] Removing intermediate container 3e5af7400c86 [2021-03-16T07:22:03.730Z] ---> 12c9150477af [2021-03-16T07:22:03.730Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-03-16T07:22:04.007Z] ---> Running in 39490d0f4b28 [2021-03-16T07:22:04.600Z] Removing intermediate container 39490d0f4b28 [2021-03-16T07:22:04.600Z] ---> 03416d9da03c [2021-03-16T07:22:04.600Z] Step 9/22 : COPY . . [2021-03-16T07:22:05.580Z] ---> 113b4f731f36 [2021-03-16T07:22:05.580Z] Step 10/22 : ARG MAKE='make build' [2021-03-16T07:22:05.580Z] ---> Running in 7681755bd79a [2021-03-16T07:22:06.176Z] Removing intermediate container 7681755bd79a [2021-03-16T07:22:06.176Z] ---> 999c3ae9a144 [2021-03-16T07:22:06.176Z] Step 11/22 : RUN $MAKE [2021-03-16T07:22:06.176Z] ---> Running in a1100a2e18a0 [2021-03-16T07:22:07.606Z] 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-16T07:22:46.643Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-16T07:22:48.606Z] Removing intermediate container a1100a2e18a0 [2021-03-16T07:22:48.606Z] ---> 0abdee6a6574 [2021-03-16T07:22:48.606Z] Step 12/22 : FROM alpine:3.12 [2021-03-16T07:22:49.580Z] 3.12: Pulling from library/alpine [2021-03-16T07:22:49.581Z] dce8679b510e: Pulling fs layer [2021-03-16T07:22:49.853Z] dce8679b510e: Verifying Checksum [2021-03-16T07:22:49.853Z] dce8679b510e: Download complete [2021-03-16T07:22:50.449Z] dce8679b510e: Pull complete [2021-03-16T07:22:50.449Z] Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe [2021-03-16T07:22:50.449Z] Status: Downloaded newer image for alpine:3.12 [2021-03-16T07:22:50.449Z] ---> d10569e2745f [2021-03-16T07:22:50.449Z] Step 13/22 : ENV APP_PORT=49990 [2021-03-16T07:22:50.724Z] ---> Running in 6c2c09aa143e [2021-03-16T07:22:51.000Z] Removing intermediate container 6c2c09aa143e [2021-03-16T07:22:51.000Z] ---> 6e8738fa2374 [2021-03-16T07:22:51.000Z] Step 14/22 : EXPOSE $APP_PORT [2021-03-16T07:22:51.000Z] ---> Running in 58aa08ebbe90 [2021-03-16T07:22:51.596Z] Removing intermediate container 58aa08ebbe90 [2021-03-16T07:22:51.596Z] ---> f2f0f1c9ca24 [2021-03-16T07:22:51.596Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-03-16T07:22:53.039Z] ---> a599340ccd41 [2021-03-16T07:22:53.039Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-03-16T07:22:53.637Z] ---> 9a3fe9843ec6 [2021-03-16T07:22:53.637Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-03-16T07:22:54.233Z] ---> cd8f4dc1aee3 [2021-03-16T07:22:54.233Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-03-16T07:22:54.518Z] ---> Running in 0f7315789097 [2021-03-16T07:22:55.111Z] Removing intermediate container 0f7315789097 [2021-03-16T07:22:55.111Z] ---> ab58f30dfb8c [2021-03-16T07:22:55.111Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T07:22:55.111Z] ---> Running in 8f80d6b58dd7 [2021-03-16T07:22:55.704Z] Removing intermediate container 8f80d6b58dd7 [2021-03-16T07:22:55.704Z] ---> 4702d906cd40 [2021-03-16T07:22:55.704Z] Step 20/22 : LABEL arch=arm64 [2021-03-16T07:22:55.704Z] ---> Running in fc3e673cf8ec [2021-03-16T07:22:56.297Z] Removing intermediate container fc3e673cf8ec [2021-03-16T07:22:56.297Z] ---> 0a73646faccd [2021-03-16T07:22:56.297Z] Step 21/22 : LABEL git_sha=2b4e7d513dd90ec50609b636363c1f4ebf5757ad [2021-03-16T07:22:56.297Z] ---> Running in ff4d0eb36bbe [2021-03-16T07:22:56.891Z] Removing intermediate container ff4d0eb36bbe [2021-03-16T07:22:56.891Z] ---> 237ac1f6290a [2021-03-16T07:22:56.891Z] Step 22/22 : LABEL version=0.0.0 [2021-03-16T07:22:56.891Z] ---> Running in 3577211b4968 [2021-03-16T07:22:57.484Z] Removing intermediate container 3577211b4968 [2021-03-16T07:22:57.484Z] ---> 536fb0091fb2 [2021-03-16T07:22:57.484Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T07:22:57.484Z] Successfully built 536fb0091fb2 [2021-03-16T07:22:57.484Z] 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-16T07:22:58.602Z] ---> job-cost.sh [2021-03-16T07:22:58.603Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JXyq [2021-03-16T07:23:45.516Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T07:25:22.248Z] lf-activate-venv(): INFO: Adding /tmp/venv-JXyq/bin to PATH [2021-03-16T07:25:22.248Z] INFO: No Stack... [2021-03-16T07:25:22.248Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-16T07:25:22.248Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T07:25:22.609Z] + cut -d, -f6 [2021-03-16T07:25:22.609Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-03-16T07:25:22.750Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] [2021-03-16T07:25:22.757Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] did not exist. Created. [2021-03-16T07:25:22.757Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-169-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T07:25:23.287Z] /w/workspace/device-virtual-go/1@tmp/durable-359cf645/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-359cf645/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-16T07:25:23.653Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-16T07:25:23.699Z] Warning: overwriting stash ‘stack-cost’ [2021-03-16T07:25:23.856Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T07:25:23.877Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-169-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-16T07:25:25.927Z] provisioning config files... [2021-03-16T07:25:25.937Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config1147239200242928936tmp [Pipeline] { [Pipeline] sh [2021-03-16T07:25:26.423Z] + set +x [2021-03-16T07:25:26.423Z] + bash -s -- [2021-03-16T07:25:26.423Z] + curl -s https://codecov.io/bash [2021-03-16T07:25:26.690Z] [2021-03-16T07:25:26.690Z] _____ _ [2021-03-16T07:25:26.690Z] / ____| | | [2021-03-16T07:25:26.690Z] | | ___ __| | ___ ___ _____ __ [2021-03-16T07:25:26.690Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-16T07:25:26.690Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-16T07:25:26.690Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-16T07:25:26.690Z] Bash-20210309-2b87ace [2021-03-16T07:25:26.690Z] [2021-03-16T07:25:26.690Z] [2021-03-16T07:25:26.690Z] ==> git version 2.24.3 found [2021-03-16T07:25:26.690Z] ==> 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-16T07:25:26.690Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-16T07:25:26.690Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-16T07:25:26.690Z] ==> Jenkins CI detected. [2021-03-16T07:25:26.690Z] project root: . [2021-03-16T07:25:26.690Z] --> token set from env [2021-03-16T07:25:26.690Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-16T07:25:26.690Z] ==> Running gcov in . (disable via -X gcov) [2021-03-16T07:25:26.690Z] ==> Python coveragepy not found [2021-03-16T07:25:26.690Z] ==> Searching for coverage reports in: [2021-03-16T07:25:26.690Z] + . [2021-03-16T07:25:26.690Z] -> Found 1 reports [2021-03-16T07:25:26.690Z] ==> Detecting git/mercurial file structure [2021-03-16T07:25:26.690Z] ==> Reading reports [2021-03-16T07:25:26.690Z] + ./coverage.out bytes=47526 [2021-03-16T07:25:26.690Z] ==> Appending adjustments [2021-03-16T07:25:26.690Z] https://docs.codecov.io/docs/fixing-reports [2021-03-16T07:25:26.690Z] + Found adjustments [2021-03-16T07:25:26.690Z] ==> Gzipping contents [2021-03-16T07:25:26.690Z] 8.0K /tmp/codecov.c9SLBJ.gz [2021-03-16T07:25:26.690Z] ==> Uploading reports [2021-03-16T07:25:26.690Z] url: https://codecov.io [2021-03-16T07:25:26.690Z] query: branch=PR-169&commit=2b4e7d513dd90ec50609b636363c1f4ebf5757ad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-169%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=169&job=&cmd_args= [2021-03-16T07:25:26.955Z] -> Pinging Codecov [2021-03-16T07:25:26.955Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-169&commit=2b4e7d513dd90ec50609b636363c1f4ebf5757ad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-169%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=169&job=&cmd_args= [2021-03-16T07:25:27.218Z] -> Uploading to [2021-03-16T07:25:27.218Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-16/5E52B4B073DB2E39498172D8E973AA87/2b4e7d513dd90ec50609b636363c1f4ebf5757ad/540d5839-6566-436f-9b8b-c36a33d5ae49.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210316T072527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=684d80fa31e075c2164d5e8acd270927c64d574156eee5b2c6e9d40f46411f86 [2021-03-16T07:25:27.218Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-16T07:25:27.218Z] Dload Upload Total Spent Left Speed [2021-03-16T07:25:27.797Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5783 0 0 100 5783 0 14362 --:--:-- --:--:-- --:--:-- 14385 [2021-03-16T07:25:27.797Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/2b4e7d513dd90ec50609b636363c1f4ebf5757ad [Pipeline] } [2021-03-16T07:25:27.824Z] 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-16T07:25:31.241Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T07:25:31.582Z] ---> package-listing.sh [2021-03-16T07:25:31.582Z] ++ facter osfamily [2021-03-16T07:25:31.582Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-16T07:25:31.582Z] + OS_FAMILY=redhat [2021-03-16T07:25:31.582Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-169 [2021-03-16T07:25:31.582Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-16T07:25:31.582Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-16T07:25:31.582Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-16T07:25:31.582Z] + PACKAGES=/tmp/packages_start.txt [2021-03-16T07:25:31.582Z] + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' [2021-03-16T07:25:31.582Z] + PACKAGES=/tmp/packages_end.txt [2021-03-16T07:25:31.582Z] + case "${OS_FAMILY}" in [2021-03-16T07:25:31.582Z] + rpm -qa [2021-03-16T07:25:31.582Z] + sort [2021-03-16T07:25:36.887Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-16T07:25:36.887Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-16T07:25:36.887Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-16T07:25:36.887Z] + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' [2021-03-16T07:25:36.887Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-169/archives/ [2021-03-16T07:25:36.887Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-169/archives/ [Pipeline] echo [2021-03-16T07:25:36.928Z] 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-169/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-16T07:25:37.239Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-16T07:25:37.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T07:25:37.577Z] [2021-03-16T07:25:37.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-16T07:25:38.003Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T07:25:38.003Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-16T07:25:38.003Z] df20fa9351a1: Pulling fs layer [2021-03-16T07:25:38.003Z] 36b3adc4ff6f: Pulling fs layer [2021-03-16T07:25:38.003Z] 8ad3a11d3b57: Pulling fs layer [2021-03-16T07:25:38.003Z] 46f8f816bc3b: Pulling fs layer [2021-03-16T07:25:38.003Z] 93b61091891f: Pulling fs layer [2021-03-16T07:25:38.003Z] 93b9cdb0e59b: Pulling fs layer [2021-03-16T07:25:38.003Z] 5e14af77c1be: Pulling fs layer [2021-03-16T07:25:38.003Z] 01666e4c0597: Pulling fs layer [2021-03-16T07:25:38.003Z] aa168da1d23b: Pulling fs layer [2021-03-16T07:25:38.003Z] 5e14af77c1be: Waiting [2021-03-16T07:25:38.003Z] aa168da1d23b: Waiting [2021-03-16T07:25:38.003Z] 93b9cdb0e59b: Waiting [2021-03-16T07:25:38.003Z] 93b61091891f: Waiting [2021-03-16T07:25:38.003Z] 46f8f816bc3b: Waiting [2021-03-16T07:25:38.003Z] 36b3adc4ff6f: Verifying Checksum [2021-03-16T07:25:38.004Z] 36b3adc4ff6f: Download complete [2021-03-16T07:25:38.264Z] 46f8f816bc3b: Download complete [2021-03-16T07:25:38.264Z] df20fa9351a1: Verifying Checksum [2021-03-16T07:25:38.264Z] df20fa9351a1: Download complete [2021-03-16T07:25:38.264Z] 93b9cdb0e59b: Verifying Checksum [2021-03-16T07:25:38.264Z] 93b9cdb0e59b: Download complete [2021-03-16T07:25:38.264Z] 5e14af77c1be: Verifying Checksum [2021-03-16T07:25:38.264Z] 5e14af77c1be: Download complete [2021-03-16T07:25:38.264Z] 93b61091891f: Download complete [2021-03-16T07:25:38.264Z] 01666e4c0597: Download complete [2021-03-16T07:25:38.526Z] df20fa9351a1: Pull complete [2021-03-16T07:25:38.786Z] 36b3adc4ff6f: Pull complete [2021-03-16T07:25:39.048Z] 8ad3a11d3b57: Verifying Checksum [2021-03-16T07:25:39.048Z] 8ad3a11d3b57: Download complete [2021-03-16T07:25:39.630Z] 8ad3a11d3b57: Pull complete [2021-03-16T07:25:39.891Z] 46f8f816bc3b: Pull complete [2021-03-16T07:25:40.170Z] 93b61091891f: Pull complete [2021-03-16T07:25:40.436Z] 93b9cdb0e59b: Pull complete [2021-03-16T07:25:40.698Z] aa168da1d23b: Verifying Checksum [2021-03-16T07:25:40.698Z] aa168da1d23b: Download complete [2021-03-16T07:25:40.698Z] 5e14af77c1be: Pull complete [2021-03-16T07:25:40.965Z] 01666e4c0597: Pull complete [2021-03-16T07:25:47.588Z] aa168da1d23b: Pull complete [2021-03-16T07:25:47.588Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-16T07:25:47.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T07:25:47.588Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-16T07:25:47.761Z] prd-centos7-docker-4c-2g-29956 does not seem to be running inside a container [2021-03-16T07:25:47.805Z] $ 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-169/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-169 -v /w/workspace/foundry_device-virtual-go_PR-169:/w/workspace/foundry_device-virtual-go_PR-169:rw,z -v /w/workspace/foundry_device-virtual-go_PR-169@tmp:/w/workspace/foundry_device-virtual-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-16T07:25:52.496Z] $ docker top 80dd0fd4750d6dcc75a3a6ba2caf06dde68e9bbeddf24e2cbf6732bdab0e0c3c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T07:25:53.085Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-16T07:25:53.406Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-16T07:25:53.720Z] + ls /var/log/sa-host [2021-03-16T07:25:53.721Z] + sadf -c /var/log/sa-host/sa16 [2021-03-16T07:25:53.721Z] file_magic: OK [2021-03-16T07:25:53.721Z] HZ: Using current value: 100 [2021-03-16T07:25:53.721Z] file_header: OK [2021-03-16T07:25:53.721Z] 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-16T07:25:53.721Z] Statistics: [2021-03-16T07:25:53.721Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-16T07:25:53.721Z] File successfully converted to sysstat format version 12.2.1 [2021-03-16T07:25:53.721Z] + sadf -c /var/log/sa-host/sa23 [2021-03-16T07:25:53.721Z] file_magic: OK [2021-03-16T07:25:53.721Z] HZ: Using current value: 100 [2021-03-16T07:25:53.721Z] file_header: OK [2021-03-16T07:25:53.721Z] 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-16T07:25:53.721Z] Statistics: [2021-03-16T07:25:53.721Z] Hnuu...uuuununununu... [2021-03-16T07:25:53.721Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-16T07:25:54.465Z] provisioning config files... [2021-03-16T07:25:54.482Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config2671152714690481690tmp [Pipeline] { [Pipeline] echo [2021-03-16T07:25:54.606Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T07:25:54.940Z] ---> create-netrc.sh [Pipeline] } [2021-03-16T07:25:54.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-16T07:25:55.189Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T07:25:55.521Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-16T07:25:55.552Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T07:25:55.902Z] ---> sudo-logs.sh [2021-03-16T07:25:55.902Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-16T07:25:56.021Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T07:25:56.349Z] ---> job-cost.sh [2021-03-16T07:25:56.350Z] lf-activate-venv: SKIPPING [2021-03-16T07:25:56.350Z] DEBUG: total: 0.20999999344348907 [2021-03-16T07:25:56.350Z] INFO: Retrieving Stack Cost... [2021-03-16T07:25:57.292Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T07:25:57.865Z] INFO: Archiving Costs [Pipeline] echo [2021-03-16T07:25:57.905Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T07:25:58.240Z] ---> logs-deploy.sh [2021-03-16T07:25:58.240Z] lf-activate-venv: SKIPPING [2021-03-16T07:25:58.240Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-169/1 [2021-03-16T07:25:58.240Z] INFO: archiving workspace using pattern(s): [2021-03-16T07:26:00.792Z] Archives upload complete. [2021-03-16T07:26:00.792Z] INFO: archiving logs to Nexus