Pull request #179 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cb1d17677de78e009a913bd9b3fbfbba9ad1a211+0ad834929aa8e9ec52e16888807ba544aec55768 (f90d071dfc63ff3e4e7b38679d55155b99636991) Running in Durability level: PERFORMANCE_OPTIMIZED 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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-33149 in /w/workspace/foundry_device-virtual-go_PR-179 [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-179 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 0ad834929aa8e9ec52e16888807ba544aec55768 into PR head commit cb1d17677de78e009a913bd9b3fbfbba9ad1a211 Merge succeeded, producing cb1d17677de78e009a913bd9b3fbfbba9ad1a211 Checking out Revision cb1d17677de78e009a913bd9b3fbfbba9ad1a211 (PR-179) > 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/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb1d17677de78e009a913bd9b3fbfbba9ad1a211 # 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 0ad834929aa8e9ec52e16888807ba544aec55768 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb1d17677de78e009a913bd9b3fbfbba9ad1a211 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-07T09:55:12.013Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 00b819b7d5a979fc6366b31ba6c26e96c7b92f42 # timeout=10 [2021-04-07T09:55:12.265Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-07T09:55:12.358Z] ========================================================= [2021-04-07T09:55:12.359Z] EdgeX Global Pipelines Version Info [2021-04-07T09:55:12.359Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:55:13.801Z] ------------------- [2021-04-07T09:55:13.801Z] stable info: [2021-04-07T09:55:13.801Z] ------------------- [2021-04-07T09:55:13.801Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-07T09:55:13.801Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T09:55:13.801Z] Message: update stable to v1.0.186 [2021-04-07T09:55:14.747Z] ------------------- [2021-04-07T09:55:14.747Z] experimental info: [2021-04-07T09:55:14.747Z] ------------------- [2021-04-07T09:55:14.747Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-07T09:55:14.747Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-07T09:55:14.747Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-07T09:55:15.018Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-04-07T09:55:15.103Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-04-07T09:55:15.192Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-07T09:55:15.283Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-07T09:55:15.369Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-07T09:55:15.467Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-07T09:55:15.554Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-07T09:55:15.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-07T09:55:15.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-07T09:55:15.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-07T09:55:15.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-07T09:55:16.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-04-07T09:55:16.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-07T09:55:16.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-07T09:55:16.340Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-07T09:55:16.436Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-07T09:55:16.525Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T09:55:16.624Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T09:55:16.712Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-07T09:55:16.797Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-07T09:55:16.922Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-07T09:55:17.012Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-07T09:55:17.100Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-07T09:55:17.181Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-07T09:55:17.263Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-07T09:55:17.356Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-07T09:55:17.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo [2021-04-07T09:55:17.584Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo [2021-04-07T09:55:17.669Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo [2021-04-07T09:55:17.755Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb1d17677de78e009a913bd9b3fbfbba9ad1a211 [Pipeline] echo [2021-04-07T09:55:17.836Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb1d176 [Pipeline] echo [2021-04-07T09:55:17.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T09:55:18.088Z] provisioning config files... [2021-04-07T09:55:18.124Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-179@tmp/config6004713302104010108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:55:18.483Z] ---> docker-login.sh [2021-04-07T09:55:18.483Z] nexus3.edgexfoundry.org:10001 [2021-04-07T09:55:18.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:55:19.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:55:19.011Z] Configure a credential helper to remove this warning. See [2021-04-07T09:55:19.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:55:19.011Z] [2021-04-07T09:55:19.011Z] Login Succeeded [2021-04-07T09:55:19.011Z] nexus3.edgexfoundry.org:10002 [2021-04-07T09:55:19.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:55:19.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:55:19.011Z] Configure a credential helper to remove this warning. See [2021-04-07T09:55:19.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:55:19.011Z] [2021-04-07T09:55:19.011Z] Login Succeeded [2021-04-07T09:55:19.011Z] nexus3.edgexfoundry.org:10003 [2021-04-07T09:55:19.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:55:19.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:55:19.274Z] Configure a credential helper to remove this warning. See [2021-04-07T09:55:19.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:55:19.274Z] [2021-04-07T09:55:19.274Z] Login Succeeded [2021-04-07T09:55:19.274Z] nexus3.edgexfoundry.org:10004 [2021-04-07T09:55:19.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:55:19.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:55:19.536Z] Configure a credential helper to remove this warning. See [2021-04-07T09:55:19.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:55:19.536Z] [2021-04-07T09:55:19.536Z] Login Succeeded [2021-04-07T09:55:19.536Z] docker.io [2021-04-07T09:55:19.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:55:19.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:55:19.800Z] Configure a credential helper to remove this warning. See [2021-04-07T09:55:19.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:55:19.800Z] [2021-04-07T09:55:19.800Z] Login Succeeded [2021-04-07T09:55:19.800Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T09:55:19.810Z] 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-04-07T09:55:20.627Z] + git log --format=format:%s -1 cb1d17677de78e009a913bd9b3fbfbba9ad1a211 [Pipeline] echo [2021-04-07T09:55:20.697Z] GIT_COMMIT: cb1d17677de78e009a913bd9b3fbfbba9ad1a211, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-04-07T09:55:20.743Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:55:21.416Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T09:55:21.416Z] [2021-04-07T09:55:21.416Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:55:21.768Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T09:55:21.768Z] latest: Pulling from edgex-devops/git-semver [2021-04-07T09:55:21.768Z] 31603596830f: Pulling fs layer [2021-04-07T09:55:21.768Z] 2a8b12db71e7: Pulling fs layer [2021-04-07T09:55:21.768Z] 6ca5941a6612: Pulling fs layer [2021-04-07T09:55:21.768Z] ecc8261a40a4: Pulling fs layer [2021-04-07T09:55:21.768Z] ecc8261a40a4: Waiting [2021-04-07T09:55:21.768Z] 2a8b12db71e7: Verifying Checksum [2021-04-07T09:55:21.768Z] 2a8b12db71e7: Download complete [2021-04-07T09:55:22.031Z] 31603596830f: Verifying Checksum [2021-04-07T09:55:22.031Z] 31603596830f: Download complete [2021-04-07T09:55:22.031Z] ecc8261a40a4: Verifying Checksum [2021-04-07T09:55:22.031Z] ecc8261a40a4: Download complete [2021-04-07T09:55:22.031Z] 6ca5941a6612: Verifying Checksum [2021-04-07T09:55:22.031Z] 6ca5941a6612: Download complete [2021-04-07T09:55:22.294Z] 31603596830f: Pull complete [2021-04-07T09:55:22.294Z] 2a8b12db71e7: Pull complete [2021-04-07T09:55:23.251Z] 6ca5941a6612: Pull complete [2021-04-07T09:55:23.513Z] ecc8261a40a4: Pull complete [2021-04-07T09:55:23.513Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-07T09:55:23.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T09:55:23.513Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-07T09:55:23.621Z] prd-centos7-docker-4c-2g-33149 does not seem to be running inside a container [2021-04-07T09:55:23.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-179 -v /w/workspace/foundry_device-virtual-go_PR-179:/w/workspace/foundry_device-virtual-go_PR-179:rw,z -v /w/workspace/foundry_device-virtual-go_PR-179@tmp:/w/workspace/foundry_device-virtual-go_PR-179@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-04-07T09:55:25.715Z] $ docker top cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-07T09:55:26.102Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T09:55:26.102Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T09:55:26.342Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T09:55:26.346Z] $ docker exec cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e ssh-agent [2021-04-07T09:55:26.520Z] SSH_AUTH_SOCK=/tmp/ssh-8sYZMO0d6YHs/agent.11 [2021-04-07T09:55:26.520Z] SSH_AGENT_PID=16 [2021-04-07T09:55:26.535Z] Running ssh-add (command line suppressed) [2021-04-07T09:55:26.654Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-179@tmp/private_key_5467794659519675652.key (/w/workspace/foundry_device-virtual-go_PR-179@tmp/private_key_5467794659519675652.key) [2021-04-07T09:55:26.707Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T09:55:27.045Z] + git tag --points-at HEAD [Pipeline] } [2021-04-07T09:55:27.067Z] $ docker exec --env ******** --env ******** cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e ssh-agent -k [2021-04-07T09:55:27.177Z] unset SSH_AUTH_SOCK; [2021-04-07T09:55:27.178Z] unset SSH_AGENT_PID; [2021-04-07T09:55:27.178Z] echo Agent pid 16 killed; [2021-04-07T09:55:27.224Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-07T09:55:27.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T09:55:27.354Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T09:55:27.511Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T09:55:27.514Z] $ docker exec cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e ssh-agent [2021-04-07T09:55:27.684Z] SSH_AUTH_SOCK=/tmp/ssh-qiuLeqzEL2D1/agent.46 [2021-04-07T09:55:27.684Z] SSH_AGENT_PID=51 [2021-04-07T09:55:27.692Z] Running ssh-add (command line suppressed) [2021-04-07T09:55:27.812Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-179@tmp/private_key_3668133587323485267.key (/w/workspace/foundry_device-virtual-go_PR-179@tmp/private_key_3668133587323485267.key) [2021-04-07T09:55:27.990Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T09:55:28.326Z] + git semver init [2021-04-07T09:55:28.326Z] # -> Open(): unable to determine branch for HEAD [2021-04-07T09:55:28.326Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-179/.git [2021-04-07T09:55:28.326Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-179 [2021-04-07T09:55:28.326Z] # $SEMVER_REMOTE_NAME = origin [2021-04-07T09:55:28.326Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-07T09:55:28.326Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-07T09:55:28.326Z] # $SEMVER_BRANCH = PR-179 [2021-04-07T09:55:28.326Z] # $SEMVER_TEMP = /tmp/semver-951188185 [2021-04-07T09:55:28.326Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-04-07T09:55:28.589Z] # '/tmp/semver-951188185' -> '/w/workspace/foundry_device-virtual-go_PR-179/.semver' [2021-04-07T09:55:28.854Z] # -> Force: false [2021-04-07T09:55:28.854Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-179/.semver [Pipeline] } [2021-04-07T09:55:28.867Z] $ docker exec --env ******** --env ******** cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e ssh-agent -k [2021-04-07T09:55:28.982Z] unset SSH_AUTH_SOCK; [2021-04-07T09:55:28.982Z] unset SSH_AGENT_PID; [2021-04-07T09:55:28.983Z] echo Agent pid 51 killed; [2021-04-07T09:55:29.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-07T09:55:29.484Z] + git semver [Pipeline] } [2021-04-07T09:55:29.502Z] $ docker stop --time=1 cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e [2021-04-07T09:55:30.877Z] $ docker rm -f cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T09:55:31.340Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-07T09:55:31.996Z] Stashed 1 file(s) [Pipeline] echo [2021-04-07T09:55:31.999Z] [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-04-07T09:55:47.495Z] Still waiting to schedule task [2021-04-07T09:55:47.496Z] ‘prd-centos7-blackbox-4c-2g-32647’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-32765’ is offline; ‘prd-centos7-docker-4c-2g-32816’ is offline; ‘prd-centos7-docker-4c-2g-33150’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-07T09:55:47.498Z] Still waiting to schedule task [2021-04-07T09:55:47.498Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-07T09:58:53.652Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33151 in /w/workspace/foundry_device-virtual-go_PR-179 [Pipeline] { [Pipeline] ws [2021-04-07T09:58:53.772Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-04-07T09:58:56.927Z] Running on prd-centos7-docker-4c-2g-33152 in /w/workspace/foundry_device-virtual-go_PR-179 [Pipeline] { [Pipeline] ws [2021-04-07T09:58:56.987Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-04-07T09:58:59.333Z] using credential edgex-jenkins-ssh [2021-04-07T09:58:59.381Z] Cloning the remote Git repository [2021-04-07T09:58:59.517Z] using credential edgex-jenkins-ssh [2021-04-07T09:58:59.573Z] Cloning the remote Git repository [2021-04-07T09:58:59.406Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-04-07T09:58:59.482Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-04-07T09:58:59.540Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-07T09:58:59.540Z] > git --version # timeout=10 [2021-04-07T09:58:59.547Z] > git --version # 'git version 2.24.3' [2021-04-07T09:58:59.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T09:58:59.581Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T09:59:00.122Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-07T09:59:00.129Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T09:59:00.140Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-07T09:59:00.152Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-07T09:59:00.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T09:59:00.157Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T09:58:59.703Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-04-07T09:58:59.847Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-04-07T09:58:59.941Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-07T09:58:59.942Z] > git --version # timeout=10 [2021-04-07T09:58:59.959Z] > git --version # 'git version 2.17.1' [2021-04-07T09:58:59.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T09:59:00.036Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T09:59:00.516Z] Merging remotes/origin/master commit 0ad834929aa8e9ec52e16888807ba544aec55768 into PR head commit cb1d17677de78e009a913bd9b3fbfbba9ad1a211 [2021-04-07T09:59:00.673Z] Merge succeeded, producing cb1d17677de78e009a913bd9b3fbfbba9ad1a211 [2021-04-07T09:59:00.673Z] Checking out Revision cb1d17677de78e009a913bd9b3fbfbba9ad1a211 (PR-179) [2021-04-07T09:59:00.524Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T09:59:00.529Z] > git checkout -f cb1d17677de78e009a913bd9b3fbfbba9ad1a211 # timeout=10 [2021-04-07T09:59:00.600Z] > git remote # timeout=10 [2021-04-07T09:59:00.611Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T09:59:00.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T09:59:00.621Z] > git merge 0ad834929aa8e9ec52e16888807ba544aec55768 # timeout=10 [2021-04-07T09:59:00.652Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T09:59:00.674Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T09:59:00.678Z] > git checkout -f cb1d17677de78e009a913bd9b3fbfbba9ad1a211 # timeout=10 [2021-04-07T09:59:00.866Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-07T09:59:00.888Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T09:59:00.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-07T09:59:00.957Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-07T09:59:00.959Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T09:59:00.970Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T09:59:01.822Z] Merging remotes/origin/master commit 0ad834929aa8e9ec52e16888807ba544aec55768 into PR head commit cb1d17677de78e009a913bd9b3fbfbba9ad1a211 [2021-04-07T09:59:02.128Z] Merge succeeded, producing cb1d17677de78e009a913bd9b3fbfbba9ad1a211 [2021-04-07T09:59:02.128Z] Checking out Revision cb1d17677de78e009a913bd9b3fbfbba9ad1a211 (PR-179) [2021-04-07T09:59:01.837Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T09:59:01.855Z] > git checkout -f cb1d17677de78e009a913bd9b3fbfbba9ad1a211 # timeout=10 [2021-04-07T09:59:01.944Z] > git remote # timeout=10 [2021-04-07T09:59:01.969Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T09:59:02.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T09:59:02.048Z] > git merge 0ad834929aa8e9ec52e16888807ba544aec55768 # timeout=10 [2021-04-07T09:59:02.087Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T09:59:02.130Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T09:59:02.159Z] > git checkout -f cb1d17677de78e009a913bd9b3fbfbba9ad1a211 # timeout=10 [2021-04-07T09:59:04.352Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T09:59:05.727Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-07T09:59:06.065Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T09:59:06.378Z] + sudo service docker restart [2021-04-07T09:59:06.378Z] + true [2021-04-07T09:59:06.378Z] Redirecting to /bin/systemctl restart docker.service [2021-04-07T09:59:06.494Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T09:59:07.849Z] provisioning config files... [2021-04-07T09:59:07.901Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config4049799486446799343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-04-07T09:59:08.297Z] ---> docker-login.sh [2021-04-07T09:59:08.297Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2021-04-07T09:59:08.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:59:08.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:59:08.563Z] Configure a credential helper to remove this warning. See [2021-04-07T09:59:08.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:59:08.563Z] [2021-04-07T09:59:08.563Z] Login Succeeded [2021-04-07T09:59:08.563Z] nexus3.edgexfoundry.org:10002 [2021-04-07T09:59:08.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:59:08.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:59:08.861Z] Configure a credential helper to remove this warning. See [2021-04-07T09:59:08.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:59:08.861Z] [2021-04-07T09:59:08.861Z] Login Succeeded [2021-04-07T09:59:08.861Z] nexus3.edgexfoundry.org:10003 [2021-04-07T09:59:08.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:59:09.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:59:09.128Z] Configure a credential helper to remove this warning. See [2021-04-07T09:59:09.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:59:09.128Z] [2021-04-07T09:59:09.128Z] Login Succeeded [2021-04-07T09:59:09.128Z] nexus3.edgexfoundry.org:10004 [2021-04-07T09:59:09.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:59:09.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:59:09.128Z] Configure a credential helper to remove this warning. See [2021-04-07T09:59:09.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:59:09.128Z] [2021-04-07T09:59:09.128Z] Login Succeeded [2021-04-07T09:59:09.128Z] docker.io [2021-04-07T09:59:09.156Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-07T09:59:09.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:59:09.570Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T09:59:09.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:59:09.655Z] Configure a credential helper to remove this warning. See [2021-04-07T09:59:09.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:59:09.655Z] [2021-04-07T09:59:09.655Z] Login Succeeded [2021-04-07T09:59:09.655Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T09:59:09.694Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-07T09:59:09.918Z] + true [2021-04-07T09:59:09.918Z] + sudo service docker restart [Pipeline] echo [2021-04-07T09:59:10.070Z] ========================================================= [2021-04-07T09:59:10.070Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-07T09:59:10.070Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:59:10.417Z] + 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-04-07T09:59:10.417Z] Sending build context to Docker daemon 501.8kB [2021-04-07T09:59:10.417Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T09:59:10.417Z] Step 2/8 : FROM ${BASE} [2021-04-07T09:59:10.686Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-07T09:59:10.686Z] 188c0c94c7c5: Pulling fs layer [2021-04-07T09:59:10.686Z] 0ef7d3d256c8: Pulling fs layer [2021-04-07T09:59:10.686Z] de9db76c5a1d: Pulling fs layer [2021-04-07T09:59:10.686Z] bca2f99d35d6: Pulling fs layer [2021-04-07T09:59:10.686Z] 93359f2a8cfa: Pulling fs layer [2021-04-07T09:59:10.686Z] 7c6f9722023f: Pulling fs layer [2021-04-07T09:59:10.686Z] a35cf1a2eb13: Pulling fs layer [2021-04-07T09:59:10.686Z] bca2f99d35d6: Waiting [2021-04-07T09:59:10.686Z] 93359f2a8cfa: Waiting [2021-04-07T09:59:10.686Z] 7c6f9722023f: Waiting [2021-04-07T09:59:10.686Z] a35cf1a2eb13: Waiting [2021-04-07T09:59:10.686Z] de9db76c5a1d: Verifying Checksum [2021-04-07T09:59:10.686Z] de9db76c5a1d: Download complete [2021-04-07T09:59:10.686Z] 0ef7d3d256c8: Verifying Checksum [2021-04-07T09:59:10.686Z] 0ef7d3d256c8: Download complete [2021-04-07T09:59:10.686Z] 93359f2a8cfa: Download complete [2021-04-07T09:59:10.686Z] 7c6f9722023f: Verifying Checksum [2021-04-07T09:59:10.686Z] 7c6f9722023f: Download complete [2021-04-07T09:59:10.686Z] 188c0c94c7c5: Verifying Checksum [2021-04-07T09:59:10.686Z] 188c0c94c7c5: Download complete [2021-04-07T09:59:10.951Z] 188c0c94c7c5: Pull complete [2021-04-07T09:59:11.219Z] 0ef7d3d256c8: Pull complete [2021-04-07T09:59:11.219Z] de9db76c5a1d: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T09:59:12.685Z] provisioning config files... [2021-04-07T09:59:12.748Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config8464353355182610151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:59:13.156Z] a35cf1a2eb13: Verifying Checksum [2021-04-07T09:59:13.157Z] a35cf1a2eb13: Download complete [2021-04-07T09:59:13.168Z] ---> docker-login.sh [2021-04-07T09:59:13.168Z] nexus3.edgexfoundry.org:10001 [2021-04-07T09:59:13.424Z] bca2f99d35d6: Verifying Checksum [2021-04-07T09:59:13.424Z] bca2f99d35d6: Download complete [2021-04-07T09:59:14.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:59:14.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:59:14.430Z] Configure a credential helper to remove this warning. See [2021-04-07T09:59:14.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:59:14.430Z] [2021-04-07T09:59:14.430Z] Login Succeeded [2021-04-07T09:59:14.430Z] nexus3.edgexfoundry.org:10002 [2021-04-07T09:59:14.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:59:14.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:59:14.981Z] Configure a credential helper to remove this warning. See [2021-04-07T09:59:14.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:59:14.981Z] [2021-04-07T09:59:14.981Z] Login Succeeded [2021-04-07T09:59:14.981Z] nexus3.edgexfoundry.org:10003 [2021-04-07T09:59:15.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:59:15.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:59:15.541Z] Configure a credential helper to remove this warning. See [2021-04-07T09:59:15.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:59:15.541Z] [2021-04-07T09:59:15.541Z] Login Succeeded [2021-04-07T09:59:15.541Z] nexus3.edgexfoundry.org:10004 [2021-04-07T09:59:15.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:59:16.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:59:16.100Z] Configure a credential helper to remove this warning. See [2021-04-07T09:59:16.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:59:16.100Z] [2021-04-07T09:59:16.100Z] Login Succeeded [2021-04-07T09:59:16.100Z] docker.io [2021-04-07T09:59:16.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:59:16.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:59:16.648Z] Configure a credential helper to remove this warning. See [2021-04-07T09:59:16.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:59:16.648Z] [2021-04-07T09:59:16.648Z] Login Succeeded [2021-04-07T09:59:16.648Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T09:59:16.665Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-07T09:59:17.162Z] ========================================================= [2021-04-07T09:59:17.162Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-07T09:59:17.162Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:59:17.545Z] + 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-04-07T09:59:17.821Z] Sending build context to Docker daemon 500.7kB [2021-04-07T09:59:17.821Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T09:59:17.821Z] Step 2/8 : FROM ${BASE} [2021-04-07T09:59:18.097Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-07T09:59:18.097Z] 5f621e34cdf4: Pulling fs layer [2021-04-07T09:59:18.097Z] a4357932f1b6: Pulling fs layer [2021-04-07T09:59:18.097Z] 18c013af1878: Pulling fs layer [2021-04-07T09:59:18.097Z] 00ac8860ef70: Pulling fs layer [2021-04-07T09:59:18.097Z] 63d7cb157983: Pulling fs layer [2021-04-07T09:59:18.097Z] b116817d02f9: Pulling fs layer [2021-04-07T09:59:18.097Z] 745a02a5169b: Pulling fs layer [2021-04-07T09:59:18.097Z] 63d7cb157983: Waiting [2021-04-07T09:59:18.097Z] b116817d02f9: Waiting [2021-04-07T09:59:18.097Z] 745a02a5169b: Waiting [2021-04-07T09:59:18.097Z] 00ac8860ef70: Waiting [2021-04-07T09:59:18.097Z] 18c013af1878: Verifying Checksum [2021-04-07T09:59:18.097Z] 18c013af1878: Download complete [2021-04-07T09:59:18.097Z] a4357932f1b6: Verifying Checksum [2021-04-07T09:59:18.097Z] a4357932f1b6: Download complete [2021-04-07T09:59:18.097Z] 63d7cb157983: Verifying Checksum [2021-04-07T09:59:18.097Z] 63d7cb157983: Download complete [2021-04-07T09:59:18.097Z] b116817d02f9: Verifying Checksum [2021-04-07T09:59:18.097Z] b116817d02f9: Download complete [2021-04-07T09:59:18.097Z] 5f621e34cdf4: Verifying Checksum [2021-04-07T09:59:18.097Z] 5f621e34cdf4: Download complete [2021-04-07T09:59:18.714Z] 5f621e34cdf4: Pull complete [2021-04-07T09:59:18.804Z] bca2f99d35d6: Pull complete [2021-04-07T09:59:18.804Z] 93359f2a8cfa: Pull complete [2021-04-07T09:59:18.804Z] 7c6f9722023f: Pull complete [2021-04-07T09:59:19.322Z] a4357932f1b6: Pull complete [2021-04-07T09:59:19.942Z] 18c013af1878: Pull complete [2021-04-07T09:59:21.390Z] 745a02a5169b: Verifying Checksum [2021-04-07T09:59:21.390Z] 745a02a5169b: Download complete [2021-04-07T09:59:22.392Z] 00ac8860ef70: Verifying Checksum [2021-04-07T09:59:22.392Z] 00ac8860ef70: Download complete [2021-04-07T09:59:24.181Z] a35cf1a2eb13: Pull complete [2021-04-07T09:59:24.181Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-07T09:59:24.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-07T09:59:24.181Z] ---> a62c8e92a672 [2021-04-07T09:59:24.181Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-07T09:59:24.181Z] ---> Running in 6d58ccd6127f [2021-04-07T09:59:24.181Z] Removing intermediate container 6d58ccd6127f [2021-04-07T09:59:24.181Z] ---> 34fc6352c133 [2021-04-07T09:59:24.181Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T09:59:24.181Z] ---> Running in fc20b037f927 [2021-04-07T09:59:25.144Z] Removing intermediate container fc20b037f927 [2021-04-07T09:59:25.144Z] ---> 2e741d71a5f0 [2021-04-07T09:59:25.144Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T09:59:25.144Z] ---> Running in 4fc21c311da0 [2021-04-07T09:59:25.417Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T09:59:26.413Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T09:59:26.993Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-07T09:59:26.993Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-07T09:59:27.258Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-07T09:59:27.258Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-07T09:59:27.258Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-07T09:59:27.523Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-07T09:59:27.523Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-07T09:59:28.101Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-07T09:59:28.101Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-07T09:59:28.101Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-07T09:59:28.364Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-07T09:59:28.364Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-07T09:59:28.627Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-07T09:59:28.627Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T09:59:28.627Z] OK: 173 MiB in 52 packages [2021-04-07T09:59:29.206Z] Removing intermediate container 4fc21c311da0 [2021-04-07T09:59:29.206Z] ---> 57cc060d80e0 [2021-04-07T09:59:29.206Z] Step 6/8 : WORKDIR /device-virtual-go [2021-04-07T09:59:29.206Z] ---> Running in 0b011eac437e [2021-04-07T09:59:29.472Z] Removing intermediate container 0b011eac437e [2021-04-07T09:59:29.472Z] ---> 45c8995f17fe [2021-04-07T09:59:29.472Z] Step 7/8 : COPY . . [2021-04-07T09:59:30.425Z] ---> 597dea626907 [2021-04-07T09:59:30.425Z] Step 8/8 : RUN go mod download [2021-04-07T09:59:30.425Z] ---> Running in 57743c71d3f0 [2021-04-07T09:59:32.595Z] 00ac8860ef70: Pull complete [2021-04-07T09:59:32.870Z] 63d7cb157983: Pull complete [2021-04-07T09:59:33.145Z] b116817d02f9: Pull complete [2021-04-07T09:59:37.478Z] 745a02a5169b: Pull complete [2021-04-07T09:59:37.478Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-07T09:59:37.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-07T09:59:37.478Z] ---> b7e6874047d6 [2021-04-07T09:59:37.478Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-07T09:59:40.095Z] ---> Running in 2fd706f2e536 [2021-04-07T09:59:40.697Z] Removing intermediate container 2fd706f2e536 [2021-04-07T09:59:40.697Z] ---> b56c54a8417f [2021-04-07T09:59:40.697Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T09:59:40.697Z] ---> Running in 6790db7fbc38 [2021-04-07T09:59:43.341Z] Removing intermediate container 6790db7fbc38 [2021-04-07T09:59:43.341Z] ---> c4dc87acc395 [2021-04-07T09:59:43.341Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T09:59:43.341Z] ---> Running in c561e0fedb94 [2021-04-07T09:59:44.334Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T09:59:44.933Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T09:59:45.914Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-07T09:59:45.914Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-07T09:59:45.914Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-07T09:59:45.914Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-07T09:59:46.187Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-07T09:59:46.187Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-07T09:59:46.459Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-07T09:59:47.054Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-07T09:59:47.054Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-07T09:59:47.054Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-07T09:59:47.326Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-07T09:59:47.603Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-07T09:59:47.603Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-07T09:59:47.603Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T09:59:47.603Z] OK: 149 MiB in 52 packages [2021-04-07T09:59:49.042Z] Removing intermediate container c561e0fedb94 [2021-04-07T09:59:49.042Z] ---> a97960fda5f8 [2021-04-07T09:59:49.042Z] Step 6/8 : WORKDIR /device-virtual-go [2021-04-07T09:59:49.315Z] ---> Running in ae5d46034bd4 [2021-04-07T09:59:49.909Z] Removing intermediate container ae5d46034bd4 [2021-04-07T09:59:49.909Z] ---> 31cbc8591072 [2021-04-07T09:59:49.909Z] Step 7/8 : COPY . . [2021-04-07T09:59:50.891Z] ---> 7c87d7aedf51 [2021-04-07T09:59:50.891Z] Step 8/8 : RUN go mod download [2021-04-07T09:59:50.891Z] ---> Running in 11f7fdb72af8 [2021-04-07T09:59:52.502Z] Removing intermediate container 57743c71d3f0 [2021-04-07T09:59:52.502Z] ---> 56ea3701b4e1 [2021-04-07T09:59:52.502Z] Successfully built 56ea3701b4e1 [2021-04-07T09:59:52.502Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:59:52.836Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T09:59:53.099Z] . [Pipeline] withDockerContainer [2021-04-07T09:59:53.376Z] prd-centos7-docker-4c-2g-33152 does not seem to be running inside a container [2021-04-07T09:59:53.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-x86_64 cat [2021-04-07T09:59:54.408Z] $ docker top 7fcdc6b4862bc8c82a28ec4bfa9e1647820ca06dcbfc2bc750158c58ce7d28ee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T09:59:54.951Z] + go version [2021-04-07T09:59:54.951Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-07T09:59:54.964Z] $ docker stop --time=1 7fcdc6b4862bc8c82a28ec4bfa9e1647820ca06dcbfc2bc750158c58ce7d28ee [2021-04-07T09:59:56.331Z] $ docker rm -f 7fcdc6b4862bc8c82a28ec4bfa9e1647820ca06dcbfc2bc750158c58ce7d28ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:59:57.174Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T09:59:57.174Z] . [Pipeline] withDockerContainer [2021-04-07T09:59:57.276Z] prd-centos7-docker-4c-2g-33152 does not seem to be running inside a container [2021-04-07T09:59:57.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-x86_64 cat [2021-04-07T09:59:57.960Z] $ docker top 5d723795521287753e5ca97a4d283711c9d20e999a37047abded7c3de29da55d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T09:59:58.535Z] + make test [2021-04-07T09:59:58.535Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-07T09:59:59.946Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-04-07T10:00:17.718Z] Removing intermediate container 11f7fdb72af8 [2021-04-07T10:00:17.718Z] ---> 19c0568159ea [2021-04-07T10:00:17.718Z] Successfully built 19c0568159ea [2021-04-07T10:00:17.718Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T10:00:18.156Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T10:00:18.156Z] . [Pipeline] withDockerContainer [2021-04-07T10:00:18.266Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-04-07T10:00:18.267Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.332s coverage: 63.8% of statements [2021-04-07T10:00:18.475Z] prd-ubuntu18.04-docker-arm64-4c-16g-33151 does not seem to be running inside a container [2021-04-07T10:00:18.543Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-07T10:00:18.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-04-07T10:00:20.149Z] $ docker top d6925a673050c62a8d125c2cb2ebeb274c811c8cac780ccc4b2aa7465e0f9ed6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T10:00:21.202Z] + go version [2021-04-07T10:00:21.202Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-07T10:00:21.235Z] $ docker stop --time=1 d6925a673050c62a8d125c2cb2ebeb274c811c8cac780ccc4b2aa7465e0f9ed6 [2021-04-07T10:00:22.827Z] gofmt -l . [2021-04-07T10:00:22.827Z] [ "`gofmt -l .`" = "" ] [2021-04-07T10:00:22.827Z] ./bin/test-attribution-txt.sh [2021-04-07T10:00:23.077Z] $ docker rm -f d6925a673050c62a8d125c2cb2ebeb274c811c8cac780ccc4b2aa7465e0f9ed6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T10:00:23.777Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T10:00:23.812Z] $ docker stop --time=1 5d723795521287753e5ca97a4d283711c9d20e999a37047abded7c3de29da55d [2021-04-07T10:00:24.025Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T10:00:24.025Z] . [2021-04-07T10:00:25.573Z] $ docker rm -f 5d723795521287753e5ca97a4d283711c9d20e999a37047abded7c3de29da55d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withDockerContainer [2021-04-07T10:00:26.127Z] prd-ubuntu18.04-docker-arm64-4c-16g-33151 does not seem to be running inside a container [2021-04-07T10:00:26.185Z] + sudo chown -R jenkins:jenkins . [2021-04-07T10:00:26.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-04-07T10:00:27.509Z] $ docker top 1b9d9eef2536b9f993d1a5fb57f05911874879ad99205de0ca2836da470ca368 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh [2021-04-07T10:00:28.224Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-04-07T10:00:28.471Z] + make test [2021-04-07T10:00:28.471Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] sh [2021-04-07T10:00:29.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T10:00:29.767Z] + ls -al . [2021-04-07T10:00:29.767Z] total 132 [2021-04-07T10:00:29.767Z] drwxrwxr-x. 7 jenkins jenkins 4096 Apr 7 10:00 . [2021-04-07T10:00:29.767Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 09:58 .. [2021-04-07T10:00:29.767Z] -rw-rw-r--. 1 jenkins jenkins 8039 Apr 7 09:59 Attribution.txt [2021-04-07T10:00:29.767Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 7 09:59 bin [2021-04-07T10:00:29.767Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 7 09:59 cmd [2021-04-07T10:00:29.767Z] -rw-r--r--. 1 jenkins jenkins 47247 Apr 7 10:00 coverage.out [2021-04-07T10:00:29.767Z] -rw-rw-r--. 1 jenkins jenkins 1895 Apr 7 09:59 Dockerfile [2021-04-07T10:00:29.767Z] -rw-rw-r--. 1 jenkins jenkins 998 Apr 7 09:59 Dockerfile.build [2021-04-07T10:00:29.767Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 09:59 .git [2021-04-07T10:00:29.767Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 7 09:59 .github [2021-04-07T10:00:29.767Z] -rw-rw-r--. 1 jenkins jenkins 258 Apr 7 09:59 .gitignore [2021-04-07T10:00:29.767Z] -rw-r--r--. 1 jenkins jenkins 809 Apr 7 10:00 go.mod [2021-04-07T10:00:29.767Z] -rw-r--r--. 1 jenkins jenkins 23692 Apr 7 10:00 go.sum [2021-04-07T10:00:29.767Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 7 09:59 internal [2021-04-07T10:00:29.767Z] -rw-rw-r--. 1 jenkins jenkins 660 Apr 7 09:59 Jenkinsfile [2021-04-07T10:00:29.767Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 7 09:59 LICENSE [2021-04-07T10:00:29.767Z] -rw-rw-r--. 1 jenkins jenkins 921 Apr 7 09:59 Makefile [2021-04-07T10:00:29.767Z] -rw-rw-r--. 1 jenkins jenkins 918 Apr 7 09:59 README.md [2021-04-07T10:00:29.767Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 09:55 VERSION [2021-04-07T10:00:29.767Z] -rw-rw-r--. 1 jenkins jenkins 235 Apr 7 09:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-07T10:00:29.899Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-04-07T10:00:30.086Z] + 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=cb1d17677de78e009a913bd9b3fbfbba9ad1a211 --label arch=amd64 --label version=0.0.0 . [2021-04-07T10:00:30.086Z] Sending build context to Docker daemon 574.5kB [2021-04-07T10:00:30.349Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T10:00:30.349Z] Step 2/25 : FROM ${BASE} AS builder [2021-04-07T10:00:30.349Z] ---> 56ea3701b4e1 [2021-04-07T10:00:30.349Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-07T10:00:30.349Z] ---> Running in 8da8db0a5ce6 [2021-04-07T10:00:30.617Z] Removing intermediate container 8da8db0a5ce6 [2021-04-07T10:00:30.617Z] ---> 6b555a213996 [2021-04-07T10:00:30.617Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-04-07T10:00:30.617Z] ---> Running in d5f0147900ce [2021-04-07T10:00:30.881Z] Removing intermediate container d5f0147900ce [2021-04-07T10:00:30.881Z] ---> ff13b339f2e7 [2021-04-07T10:00:30.881Z] Step 5/25 : WORKDIR /device-virtual-go [2021-04-07T10:00:30.881Z] ---> Running in 35bbc5638841 [2021-04-07T10:00:31.149Z] Removing intermediate container 35bbc5638841 [2021-04-07T10:00:31.149Z] ---> 99f8a67677ae [2021-04-07T10:00:31.149Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T10:00:31.149Z] ---> Running in a7bd08d78923 [2021-04-07T10:00:32.123Z] Removing intermediate container a7bd08d78923 [2021-04-07T10:00:32.123Z] ---> c3555faa5394 [2021-04-07T10:00:32.123Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-07T10:00:32.123Z] ---> Running in b767313b61ab [2021-04-07T10:00:32.709Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T10:00:33.302Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T10:00:33.883Z] OK: 173 MiB in 52 packages [2021-04-07T10:00:34.490Z] Removing intermediate container b767313b61ab [2021-04-07T10:00:34.490Z] ---> aba32a995881 [2021-04-07T10:00:34.490Z] Step 8/25 : COPY . . [2021-04-07T10:00:35.066Z] ---> 24b252b323e6 [2021-04-07T10:00:35.066Z] Step 9/25 : RUN go mod download [2021-04-07T10:00:35.330Z] ---> Running in e5245414e779 [2021-04-07T10:00:36.285Z] Removing intermediate container e5245414e779 [2021-04-07T10:00:36.285Z] ---> f744ba8a789c [2021-04-07T10:00:36.285Z] Step 10/25 : ARG MAKE='make build' [2021-04-07T10:00:36.285Z] ---> Running in 8dee81198d23 [2021-04-07T10:00:36.548Z] Removing intermediate container 8dee81198d23 [2021-04-07T10:00:36.548Z] ---> 171d5a01fcff [2021-04-07T10:00:36.548Z] Step 11/25 : RUN $MAKE [2021-04-07T10:00:36.548Z] ---> Running in be4a98c5cfc9 [2021-04-07T10:00:37.140Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-04-07T10:00:55.438Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-07T10:01:00.774Z] Removing intermediate container be4a98c5cfc9 [2021-04-07T10:01:00.774Z] ---> 775bcd34f599 [2021-04-07T10:01:00.774Z] Step 12/25 : FROM alpine:3.12 [2021-04-07T10:01:00.774Z] 3.12: Pulling from library/alpine [2021-04-07T10:01:00.774Z] 532819f3e44c: Pulling fs layer [2021-04-07T10:01:00.774Z] 532819f3e44c: Verifying Checksum [2021-04-07T10:01:00.774Z] 532819f3e44c: Download complete [2021-04-07T10:01:00.774Z] 532819f3e44c: Pull complete [2021-04-07T10:01:00.774Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-07T10:01:00.774Z] Status: Downloaded newer image for alpine:3.12 [2021-04-07T10:01:00.774Z] ---> 7230e588e954 [2021-04-07T10:01:00.774Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-04-07T10:01:01.037Z] ---> Running in dccdc23e7000 [2021-04-07T10:01:01.037Z] Removing intermediate container dccdc23e7000 [2021-04-07T10:01:01.037Z] ---> d3d91b8de334 [2021-04-07T10:01:01.037Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T10:01:01.300Z] ---> Running in 0f0840399d1f [2021-04-07T10:01:02.264Z] Removing intermediate container 0f0840399d1f [2021-04-07T10:01:02.264Z] ---> eed54b9f40f2 [2021-04-07T10:01:02.264Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2021-04-07T10:01:02.264Z] ---> Running in f14761765a87 [2021-04-07T10:01:02.843Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T10:01:03.423Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T10:01:04.009Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-07T10:01:04.009Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-07T10:01:04.273Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-07T10:01:04.273Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-07T10:01:04.536Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-07T10:01:04.536Z] Executing busybox-1.31.1-r20.trigger [2021-04-07T10:01:04.536Z] OK: 8 MiB in 19 packages [2021-04-07T10:01:05.117Z] Removing intermediate container f14761765a87 [2021-04-07T10:01:05.117Z] ---> 1720a1005e9a [2021-04-07T10:01:05.117Z] Step 16/25 : WORKDIR / [2021-04-07T10:01:05.380Z] ---> Running in f22622392eb2 [2021-04-07T10:01:05.380Z] Removing intermediate container f22622392eb2 [2021-04-07T10:01:05.380Z] ---> b92c6cee6d46 [2021-04-07T10:01:05.380Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-04-07T10:01:05.643Z] ---> 0dc9243c23bd [2021-04-07T10:01:05.643Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-04-07T10:01:05.906Z] ---> 7368bf7ecee1 [2021-04-07T10:01:05.906Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-04-07T10:01:06.484Z] ---> 5449d3c9b14d [2021-04-07T10:01:06.484Z] Step 20/25 : EXPOSE 49990 [2021-04-07T10:01:06.746Z] ---> Running in eaecdcc98a31 [2021-04-07T10:01:06.746Z] Removing intermediate container eaecdcc98a31 [2021-04-07T10:01:06.746Z] ---> be8a023b7884 [2021-04-07T10:01:06.746Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-04-07T10:01:07.009Z] ---> Running in 3685c10f1a8c [2021-04-07T10:01:07.009Z] Removing intermediate container 3685c10f1a8c [2021-04-07T10:01:07.009Z] ---> 74f684becaf4 [2021-04-07T10:01:07.009Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-07T10:01:07.273Z] ---> Running in 8a516cd3aa11 [2021-04-07T10:01:07.273Z] Removing intermediate container 8a516cd3aa11 [2021-04-07T10:01:07.273Z] ---> 0ab12d74b9c6 [2021-04-07T10:01:07.273Z] Step 23/25 : LABEL arch=amd64 [2021-04-07T10:01:07.273Z] ---> Running in 2626f322e44c [2021-04-07T10:01:07.535Z] Removing intermediate container 2626f322e44c [2021-04-07T10:01:07.535Z] ---> bab55e7b5588 [2021-04-07T10:01:07.535Z] Step 24/25 : LABEL git_sha=cb1d17677de78e009a913bd9b3fbfbba9ad1a211 [2021-04-07T10:01:07.535Z] ---> Running in 74911ce36132 [2021-04-07T10:01:07.798Z] Removing intermediate container 74911ce36132 [2021-04-07T10:01:07.798Z] ---> 7db429ed8398 [2021-04-07T10:01:07.798Z] Step 25/25 : LABEL version=0.0.0 [2021-04-07T10:01:07.798Z] ---> Running in 9d6a593c8ef1 [2021-04-07T10:01:08.061Z] Removing intermediate container 9d6a593c8ef1 [2021-04-07T10:01:08.061Z] ---> 9c261a753536 [2021-04-07T10:01:08.061Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-07T10:01:08.061Z] Successfully built 9c261a753536 [2021-04-07T10:01:08.061Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-07T10:01:09.011Z] ---> job-cost.sh [2021-04-07T10:01:09.011Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jNRq [2021-04-07T10:01:23.955Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T10:01:26.493Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-04-07T10:01:26.493Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.464s coverage: 63.8% of statements [2021-04-07T10:01:26.493Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-07T10:01:34.784Z] gofmt -l . [2021-04-07T10:01:34.784Z] [ "`gofmt -l .`" = "" ] [2021-04-07T10:01:34.784Z] ./bin/test-attribution-txt.sh [2021-04-07T10:01:35.065Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T10:01:35.698Z] $ docker stop --time=1 1b9d9eef2536b9f993d1a5fb57f05911874879ad99205de0ca2836da470ca368 [2021-04-07T10:01:37.973Z] $ docker rm -f 1b9d9eef2536b9f993d1a5fb57f05911874879ad99205de0ca2836da470ca368 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T10:01:38.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T10:01:39.045Z] Warning: overwriting stash ‘coverage-report’ [2021-04-07T10:01:39.893Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T10:01:40.627Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T10:01:41.026Z] + ls -al . [2021-04-07T10:01:41.026Z] total 156 [2021-04-07T10:01:41.026Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 7 10:01 . [2021-04-07T10:01:41.026Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:58 .. [2021-04-07T10:01:41.026Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:59 .git [2021-04-07T10:01:41.026Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:59 .github [2021-04-07T10:01:41.026Z] -rw-rw-r-- 1 jenkins jenkins 258 Apr 7 09:59 .gitignore [2021-04-07T10:01:41.026Z] -rw-rw-r-- 1 jenkins jenkins 8039 Apr 7 09:59 Attribution.txt [2021-04-07T10:01:41.026Z] -rw-rw-r-- 1 jenkins jenkins 1895 Apr 7 09:59 Dockerfile [2021-04-07T10:01:41.026Z] -rw-rw-r-- 1 jenkins jenkins 998 Apr 7 09:59 Dockerfile.build [2021-04-07T10:01:41.026Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 7 09:59 Jenkinsfile [2021-04-07T10:01:41.026Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:59 LICENSE [2021-04-07T10:01:41.026Z] -rw-rw-r-- 1 jenkins jenkins 921 Apr 7 09:59 Makefile [2021-04-07T10:01:41.026Z] -rw-rw-r-- 1 jenkins jenkins 918 Apr 7 09:59 README.md [2021-04-07T10:01:41.026Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:55 VERSION [2021-04-07T10:01:41.026Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:59 bin [2021-04-07T10:01:41.026Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:59 cmd [2021-04-07T10:01:41.026Z] -rw-r--r-- 1 jenkins jenkins 47247 Apr 7 10:01 coverage.out [2021-04-07T10:01:41.026Z] -rw-r--r-- 1 jenkins jenkins 809 Apr 7 10:01 go.mod [2021-04-07T10:01:41.026Z] -rw-r--r-- 1 jenkins jenkins 23692 Apr 7 10:01 go.sum [2021-04-07T10:01:41.026Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:59 internal [2021-04-07T10:01:41.026Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 7 09:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-07T10:01:41.430Z] + 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=cb1d17677de78e009a913bd9b3fbfbba9ad1a211 --label arch=arm64 --label version=0.0.0 . [2021-04-07T10:01:42.030Z] Sending build context to Docker daemon 573.4kB [2021-04-07T10:01:42.030Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T10:01:42.030Z] Step 2/25 : FROM ${BASE} AS builder [2021-04-07T10:01:42.030Z] ---> 19c0568159ea [2021-04-07T10:01:42.030Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-07T10:01:42.304Z] ---> Running in 2852bac8f55c [2021-04-07T10:01:42.900Z] Removing intermediate container 2852bac8f55c [2021-04-07T10:01:42.900Z] ---> d3b815d2d422 [2021-04-07T10:01:42.900Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-04-07T10:01:42.900Z] ---> Running in 1c949c9f50e7 [2021-04-07T10:01:43.176Z] Removing intermediate container 1c949c9f50e7 [2021-04-07T10:01:43.176Z] ---> ad5ef7d57888 [2021-04-07T10:01:43.176Z] Step 5/25 : WORKDIR /device-virtual-go [2021-04-07T10:01:43.450Z] ---> Running in 9623e99ce1ce [2021-04-07T10:01:44.049Z] Removing intermediate container 9623e99ce1ce [2021-04-07T10:01:44.049Z] ---> 35f4e3a9e7c8 [2021-04-07T10:01:44.049Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T10:01:44.049Z] ---> Running in 1a32d2e5c313 [2021-04-07T10:01:46.033Z] Removing intermediate container 1a32d2e5c313 [2021-04-07T10:01:46.033Z] ---> 2ebedb53172a [2021-04-07T10:01:46.033Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-07T10:01:46.315Z] ---> Running in 595091c7b521 [2021-04-07T10:01:47.298Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T10:01:48.271Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T10:01:48.864Z] OK: 149 MiB in 52 packages [2021-04-07T10:01:50.297Z] Removing intermediate container 595091c7b521 [2021-04-07T10:01:50.297Z] ---> b9bf4ae5b2be [2021-04-07T10:01:50.297Z] Step 8/25 : COPY . . [2021-04-07T10:01:50.587Z] lf-activate-venv(): INFO: Adding /tmp/venv-jNRq/bin to PATH [2021-04-07T10:01:50.587Z] INFO: No Stack... [2021-04-07T10:01:50.849Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T10:01:50.907Z] ---> 57d5acc6d985 [2021-04-07T10:01:50.907Z] Step 9/25 : RUN go mod download [2021-04-07T10:01:51.179Z] ---> Running in 508552ae755d [2021-04-07T10:01:51.423Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T10:01:51.773Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2021-04-07T10:01:51.773Z] + cut -d, -f6 [Pipeline] lock [2021-04-07T10:01:51.846Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] [2021-04-07T10:01:51.854Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] did not exist. Created. [2021-04-07T10:01:51.854Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T10:01:52.258Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-07T10:01:52.395Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T10:01:52.409Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-07T10:01:53.841Z] Removing intermediate container 508552ae755d [2021-04-07T10:01:53.841Z] ---> 02811af791ff [2021-04-07T10:01:53.841Z] Step 10/25 : ARG MAKE='make build' [2021-04-07T10:01:53.841Z] ---> Running in 9e1f38a1438a [2021-04-07T10:01:54.113Z] Removing intermediate container 9e1f38a1438a [2021-04-07T10:01:54.113Z] ---> 78560a31c3f6 [2021-04-07T10:01:54.113Z] Step 11/25 : RUN $MAKE [2021-04-07T10:01:54.113Z] ---> Running in c2da5da88eb1 [2021-04-07T10:01:55.089Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-04-07T10:02:42.101Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-07T10:02:54.487Z] Removing intermediate container c2da5da88eb1 [2021-04-07T10:02:54.487Z] ---> 5b64f2e6bf4f [2021-04-07T10:02:54.487Z] Step 12/25 : FROM alpine:3.12 [2021-04-07T10:02:54.756Z] 3.12: Pulling from library/alpine [2021-04-07T10:02:54.756Z] 9a219e8acc52: Pulling fs layer [2021-04-07T10:02:55.029Z] 9a219e8acc52: Verifying Checksum [2021-04-07T10:02:55.029Z] 9a219e8acc52: Download complete [2021-04-07T10:02:55.623Z] 9a219e8acc52: Pull complete [2021-04-07T10:02:55.623Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-07T10:02:55.623Z] Status: Downloaded newer image for alpine:3.12 [2021-04-07T10:02:55.623Z] ---> d75e27dfc0a0 [2021-04-07T10:02:55.623Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-04-07T10:02:55.897Z] ---> Running in e3221d5004b7 [2021-04-07T10:02:56.496Z] Removing intermediate container e3221d5004b7 [2021-04-07T10:02:56.496Z] ---> 4b437962faa6 [2021-04-07T10:02:56.496Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T10:02:56.496Z] ---> Running in b4afa94b366f [2021-04-07T10:02:58.474Z] Removing intermediate container b4afa94b366f [2021-04-07T10:02:58.474Z] ---> 3ae43bb5c932 [2021-04-07T10:02:58.474Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2021-04-07T10:02:58.746Z] ---> Running in ef9cf7592a93 [2021-04-07T10:02:59.729Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T10:03:00.701Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T10:03:01.676Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-07T10:03:01.676Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-07T10:03:01.676Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-07T10:03:01.951Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-07T10:03:02.223Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-07T10:03:02.223Z] Executing busybox-1.31.1-r20.trigger [2021-04-07T10:03:02.223Z] OK: 8 MiB in 19 packages [2021-04-07T10:03:03.657Z] Removing intermediate container ef9cf7592a93 [2021-04-07T10:03:03.657Z] ---> 213f58dc19bb [2021-04-07T10:03:03.657Z] Step 16/25 : WORKDIR / [2021-04-07T10:03:03.657Z] ---> Running in 8b94fec6ab8f [2021-04-07T10:03:04.265Z] Removing intermediate container 8b94fec6ab8f [2021-04-07T10:03:04.265Z] ---> 85a79641e241 [2021-04-07T10:03:04.265Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-04-07T10:03:04.859Z] ---> b5fb49c76a04 [2021-04-07T10:03:04.859Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-04-07T10:03:05.840Z] ---> e72d1ed2f6cf [2021-04-07T10:03:05.840Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-04-07T10:03:07.271Z] ---> 1db260b98d4a [2021-04-07T10:03:07.271Z] Step 20/25 : EXPOSE 49990 [2021-04-07T10:03:07.271Z] ---> Running in bea693e6cef4 [2021-04-07T10:03:07.544Z] Removing intermediate container bea693e6cef4 [2021-04-07T10:03:07.544Z] ---> ebf693ee59e4 [2021-04-07T10:03:07.544Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-04-07T10:03:07.817Z] ---> Running in a497d2e6e39d [2021-04-07T10:03:08.415Z] Removing intermediate container a497d2e6e39d [2021-04-07T10:03:08.415Z] ---> acef4cb09bb9 [2021-04-07T10:03:08.415Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-07T10:03:08.415Z] ---> Running in 0d8ddb98170a [2021-04-07T10:03:09.011Z] Removing intermediate container 0d8ddb98170a [2021-04-07T10:03:09.011Z] ---> 4219151ccd9b [2021-04-07T10:03:09.011Z] Step 23/25 : LABEL arch=arm64 [2021-04-07T10:03:09.011Z] ---> Running in 9f711ba0bfdd [2021-04-07T10:03:09.285Z] Removing intermediate container 9f711ba0bfdd [2021-04-07T10:03:09.285Z] ---> 2cc21182eed9 [2021-04-07T10:03:09.285Z] Step 24/25 : LABEL git_sha=cb1d17677de78e009a913bd9b3fbfbba9ad1a211 [2021-04-07T10:03:09.561Z] ---> Running in 7472d89c35aa [2021-04-07T10:03:10.163Z] Removing intermediate container 7472d89c35aa [2021-04-07T10:03:10.163Z] ---> 4ab53149bd55 [2021-04-07T10:03:10.163Z] Step 25/25 : LABEL version=0.0.0 [2021-04-07T10:03:10.163Z] ---> Running in b71dbd0877c6 [2021-04-07T10:03:10.758Z] Removing intermediate container b71dbd0877c6 [2021-04-07T10:03:10.758Z] ---> 2f1486aa2254 [2021-04-07T10:03:10.758Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-07T10:03:10.758Z] Successfully built 2f1486aa2254 [2021-04-07T10:03:10.758Z] 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-04-07T10:03:11.550Z] ---> job-cost.sh [2021-04-07T10:03:11.551Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-khG7 [2021-04-07T10:03:50.520Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T10:05:27.267Z] lf-activate-venv(): INFO: Adding /tmp/venv-khG7/bin to PATH [2021-04-07T10:05:27.267Z] INFO: No Stack... [2021-04-07T10:05:27.267Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-07T10:05:27.267Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T10:05:27.606Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2021-04-07T10:05:27.606Z] + cut -d, -f6 [Pipeline] lock [2021-04-07T10:05:27.714Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] [2021-04-07T10:05:27.724Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] did not exist. Created. [2021-04-07T10:05:27.724Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T10:05:28.159Z] /w/workspace/device-virtual-go/2@tmp/durable-83d40361/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-83d40361/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-07T10:05:28.500Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-07T10:05:28.519Z] Warning: overwriting stash ‘stack-cost’ [2021-04-07T10:05:28.679Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T10:05:28.691Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-179-2-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-04-07T10:05:29.771Z] provisioning config files... [2021-04-07T10:05:29.783Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-179@tmp/config994448880086299074tmp [Pipeline] { [Pipeline] sh [2021-04-07T10:05:30.190Z] + set +x [2021-04-07T10:05:30.190Z] + curl -s https://codecov.io/bash [2021-04-07T10:05:30.190Z] + bash -s -- [2021-04-07T10:05:30.452Z] [2021-04-07T10:05:30.452Z] _____ _ [2021-04-07T10:05:30.452Z] / ____| | | [2021-04-07T10:05:30.452Z] | | ___ __| | ___ ___ _____ __ [2021-04-07T10:05:30.452Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-07T10:05:30.452Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-07T10:05:30.452Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-07T10:05:30.453Z] Bash-20210309-2b87ace [2021-04-07T10:05:30.453Z] [2021-04-07T10:05:30.453Z] [2021-04-07T10:05:30.453Z] ==> git version 2.24.3 found [2021-04-07T10:05:30.453Z] ==> 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-04-07T10:05:30.453Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-07T10:05:30.453Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-07T10:05:30.453Z] ==> Jenkins CI detected. [2021-04-07T10:05:30.453Z] project root: . [2021-04-07T10:05:30.453Z] --> token set from env [2021-04-07T10:05:30.453Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-07T10:05:30.453Z] ==> Running gcov in . (disable via -X gcov) [2021-04-07T10:05:30.453Z] ==> Python coveragepy not found [2021-04-07T10:05:30.453Z] ==> Searching for coverage reports in: [2021-04-07T10:05:30.453Z] + . [2021-04-07T10:05:30.453Z] -> Found 1 reports [2021-04-07T10:05:30.453Z] ==> Detecting git/mercurial file structure [2021-04-07T10:05:30.453Z] ==> Reading reports [2021-04-07T10:05:30.453Z] + ./coverage.out bytes=47247 [2021-04-07T10:05:30.453Z] ==> Appending adjustments [2021-04-07T10:05:30.453Z] https://docs.codecov.io/docs/fixing-reports [2021-04-07T10:05:30.453Z] + Found adjustments [2021-04-07T10:05:30.453Z] ==> Gzipping contents [2021-04-07T10:05:30.716Z] 8.0K /tmp/codecov.1dnn5k.gz [2021-04-07T10:05:30.716Z] ==> Uploading reports [2021-04-07T10:05:30.716Z] url: https://codecov.io [2021-04-07T10:05:30.716Z] query: branch=PR-179&commit=cb1d17677de78e009a913bd9b3fbfbba9ad1a211&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-179%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=179&job=&cmd_args= [2021-04-07T10:05:30.716Z] -> Pinging Codecov [2021-04-07T10:05:30.716Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-179&commit=cb1d17677de78e009a913bd9b3fbfbba9ad1a211&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-179%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=179&job=&cmd_args= [2021-04-07T10:05:30.979Z] -> Uploading to [2021-04-07T10:05:30.979Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-07/5E52B4B073DB2E39498172D8E973AA87/cb1d17677de78e009a913bd9b3fbfbba9ad1a211/b04cb086-52ee-4af8-bfca-5f333e00f73f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T100530Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a3dd7d2940edf7b535728d00a55c08e120f4a67ec1d99fdf4dc8563979bba19 [2021-04-07T10:05:30.979Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-07T10:05:30.979Z] Dload Upload Total Spent Left Speed [2021-04-07T10:05:31.555Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5781 0 0 100 5781 0 9866 --:--:-- --:--:-- --:--:-- 9882 [2021-04-07T10:05:31.555Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/cb1d17677de78e009a913bd9b3fbfbba9ad1a211 [Pipeline] } [2021-04-07T10:05:31.565Z] 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-04-07T10:05:33.643Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T10:05:34.223Z] ---> package-listing.sh [2021-04-07T10:05:34.223Z] ++ facter osfamily [2021-04-07T10:05:34.223Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-07T10:05:34.223Z] + OS_FAMILY=redhat [2021-04-07T10:05:34.223Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-179 [2021-04-07T10:05:34.223Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-07T10:05:34.223Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-07T10:05:34.223Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-07T10:05:34.223Z] + PACKAGES=/tmp/packages_start.txt [2021-04-07T10:05:34.223Z] + '[' /w/workspace/foundry_device-virtual-go_PR-179 ']' [2021-04-07T10:05:34.223Z] + PACKAGES=/tmp/packages_end.txt [2021-04-07T10:05:34.223Z] + case "${OS_FAMILY}" in [2021-04-07T10:05:34.223Z] + rpm -qa [2021-04-07T10:05:34.223Z] + sort [2021-04-07T10:05:39.547Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-07T10:05:39.547Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-07T10:05:39.547Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-07T10:05:39.547Z] + '[' /w/workspace/foundry_device-virtual-go_PR-179 ']' [2021-04-07T10:05:39.547Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-179/archives/ [2021-04-07T10:05:39.547Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-179/archives/ [Pipeline] echo [2021-04-07T10:05:39.561Z] 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-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-07T10:05:39.856Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-07T10:05:40.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T10:05:40.166Z] [2021-04-07T10:05:40.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-07T10:05:40.524Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T10:05:40.524Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-07T10:05:40.524Z] df20fa9351a1: Pulling fs layer [2021-04-07T10:05:40.524Z] 36b3adc4ff6f: Pulling fs layer [2021-04-07T10:05:40.524Z] 8ad3a11d3b57: Pulling fs layer [2021-04-07T10:05:40.524Z] 46f8f816bc3b: Pulling fs layer [2021-04-07T10:05:40.524Z] 93b61091891f: Pulling fs layer [2021-04-07T10:05:40.524Z] 93b9cdb0e59b: Pulling fs layer [2021-04-07T10:05:40.524Z] 5e14af77c1be: Pulling fs layer [2021-04-07T10:05:40.524Z] 01666e4c0597: Pulling fs layer [2021-04-07T10:05:40.524Z] aa168da1d23b: Pulling fs layer [2021-04-07T10:05:40.524Z] 46f8f816bc3b: Waiting [2021-04-07T10:05:40.524Z] 93b61091891f: Waiting [2021-04-07T10:05:40.524Z] 01666e4c0597: Waiting [2021-04-07T10:05:40.524Z] aa168da1d23b: Waiting [2021-04-07T10:05:40.524Z] 93b9cdb0e59b: Waiting [2021-04-07T10:05:40.524Z] 5e14af77c1be: Waiting [2021-04-07T10:05:40.524Z] 36b3adc4ff6f: Verifying Checksum [2021-04-07T10:05:40.524Z] 36b3adc4ff6f: Download complete [2021-04-07T10:05:40.524Z] 46f8f816bc3b: Verifying Checksum [2021-04-07T10:05:40.524Z] 46f8f816bc3b: Download complete [2021-04-07T10:05:40.788Z] df20fa9351a1: Verifying Checksum [2021-04-07T10:05:40.788Z] 93b9cdb0e59b: Verifying Checksum [2021-04-07T10:05:40.788Z] 93b9cdb0e59b: Download complete [2021-04-07T10:05:40.788Z] 5e14af77c1be: Verifying Checksum [2021-04-07T10:05:40.788Z] 5e14af77c1be: Download complete [2021-04-07T10:05:40.788Z] 01666e4c0597: Verifying Checksum [2021-04-07T10:05:40.788Z] 01666e4c0597: Download complete [2021-04-07T10:05:40.788Z] 93b61091891f: Verifying Checksum [2021-04-07T10:05:40.788Z] 93b61091891f: Download complete [2021-04-07T10:05:40.788Z] 8ad3a11d3b57: Verifying Checksum [2021-04-07T10:05:40.788Z] 8ad3a11d3b57: Download complete [2021-04-07T10:05:41.051Z] df20fa9351a1: Pull complete [2021-04-07T10:05:41.315Z] 36b3adc4ff6f: Pull complete [2021-04-07T10:05:41.891Z] 8ad3a11d3b57: Pull complete [2021-04-07T10:05:42.168Z] 46f8f816bc3b: Pull complete [2021-04-07T10:05:42.432Z] 93b61091891f: Pull complete [2021-04-07T10:05:42.697Z] 93b9cdb0e59b: Pull complete [2021-04-07T10:05:43.285Z] aa168da1d23b: Verifying Checksum [2021-04-07T10:05:43.285Z] aa168da1d23b: Download complete [2021-04-07T10:05:43.285Z] 5e14af77c1be: Pull complete [2021-04-07T10:05:43.285Z] 01666e4c0597: Pull complete [2021-04-07T10:05:49.899Z] aa168da1d23b: Pull complete [2021-04-07T10:05:49.899Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-07T10:05:49.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T10:05:49.899Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-07T10:05:50.057Z] prd-centos7-docker-4c-2g-33149 does not seem to be running inside a container [2021-04-07T10:05:50.108Z] $ 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-179/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-179 -v /w/workspace/foundry_device-virtual-go_PR-179:/w/workspace/foundry_device-virtual-go_PR-179:rw,z -v /w/workspace/foundry_device-virtual-go_PR-179@tmp:/w/workspace/foundry_device-virtual-go_PR-179@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-04-07T10:05:53.926Z] $ docker top cc2a39d682a5abe279d258891fe923bfa1574377dfe421241a2ed8038e8ef9d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T10:05:54.528Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-07T10:05:54.829Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-07T10:05:55.133Z] + ls /var/log/sa-host [2021-04-07T10:05:55.133Z] + sadf -c /var/log/sa-host/sa07 [2021-04-07T10:05:55.133Z] file_magic: OK [2021-04-07T10:05:55.133Z] HZ: Using current value: 100 [2021-04-07T10:05:55.133Z] file_header: OK [2021-04-07T10:05:55.133Z] 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-04-07T10:05:55.133Z] Statistics: [2021-04-07T10:05:55.133Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-07T10:05:55.133Z] File successfully converted to sysstat format version 12.2.1 [2021-04-07T10:05:55.133Z] + sadf -c /var/log/sa-host/sa23 [2021-04-07T10:05:55.133Z] file_magic: OK [2021-04-07T10:05:55.133Z] HZ: Using current value: 100 [2021-04-07T10:05:55.133Z] file_header: OK [2021-04-07T10:05:55.133Z] 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-04-07T10:05:55.133Z] Statistics: [2021-04-07T10:05:55.133Z] Hnuu...uuuununununu... [2021-04-07T10:05:55.133Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-07T10:05:55.376Z] provisioning config files... [2021-04-07T10:05:55.392Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-179@tmp/config7151912229783004694tmp [Pipeline] { [Pipeline] echo [2021-04-07T10:05:55.474Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T10:05:55.789Z] ---> create-netrc.sh [Pipeline] } [2021-04-07T10:05:55.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-07T10:05:55.896Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T10:05:56.202Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-07T10:05:56.214Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T10:05:56.514Z] ---> sudo-logs.sh [2021-04-07T10:05:56.514Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-07T10:05:56.578Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T10:05:56.877Z] ---> job-cost.sh [2021-04-07T10:05:56.877Z] lf-activate-venv: SKIPPING [2021-04-07T10:05:56.877Z] DEBUG: total: 0.20999999344348907 [2021-04-07T10:05:56.877Z] INFO: Retrieving Stack Cost... [2021-04-07T10:05:57.825Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T10:05:58.400Z] INFO: Archiving Costs [Pipeline] echo [2021-04-07T10:05:58.413Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T10:05:58.711Z] ---> logs-deploy.sh [2021-04-07T10:05:58.711Z] lf-activate-venv: SKIPPING [2021-04-07T10:05:58.711Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-179/2 [2021-04-07T10:05:58.711Z] INFO: archiving workspace using pattern(s): [2021-04-07T10:06:00.626Z] Archives upload complete. [2021-04-07T10:06:00.626Z] INFO: archiving logs to Nexus