Pull request #182 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 6ead4b4314fe4c754254279faf995032dd66a7c5+0ad834929aa8e9ec52e16888807ba544aec55768 (d92e793e1f944f7230259208eee2d8a3efc7f505) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33204 in /w/workspace/foundry_device-virtual-go_PR-182 [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-182 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0ad834929aa8e9ec52e16888807ba544aec55768 into PR head commit 6ead4b4314fe4c754254279faf995032dd66a7c5 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ead4b4314fe4c754254279faf995032dd66a7c5 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 6ead4b4314fe4c754254279faf995032dd66a7c5 Checking out Revision 6ead4b4314fe4c754254279faf995032dd66a7c5 (PR-182) > 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 6ead4b4314fe4c754254279faf995032dd66a7c5 # timeout=10 Commit message: "feat: Add Registry/Config Access token capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-07T22:41:34.043Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-07T22:41:34.261Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-07T22:41:34.352Z] ========================================================= [2021-04-07T22:41:34.352Z] EdgeX Global Pipelines Version Info [2021-04-07T22:41:34.352Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:41:38.754Z] ------------------- [2021-04-07T22:41:38.754Z] stable info: [2021-04-07T22:41:38.754Z] ------------------- [2021-04-07T22:41:38.754Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-07T22:41:38.754Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T22:41:38.754Z] Message: update stable to v1.0.186 [2021-04-07T22:41:39.839Z] ------------------- [2021-04-07T22:41:39.839Z] experimental info: [2021-04-07T22:41:39.839Z] ------------------- [2021-04-07T22:41:39.839Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-07T22:41:39.839Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-07T22:41:39.839Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-07T22:41:40.287Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-04-07T22:41:40.374Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-04-07T22:41:40.525Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-07T22:41:40.631Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-07T22:41:40.736Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-07T22:41:40.827Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-07T22:41:40.933Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-07T22:41:41.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-07T22:41:41.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-07T22:41:41.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-07T22:41:41.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-07T22:41:41.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-04-07T22:41:41.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-07T22:41:41.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-07T22:41:41.749Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-07T22:41:41.838Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-07T22:41:41.935Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T22:41:42.099Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T22:41:42.197Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-07T22:41:42.277Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-07T22:41:42.360Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-07T22:41:42.442Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-07T22:41:42.532Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-07T22:41:42.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-07T22:41:42.718Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-07T22:41:42.802Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-07T22:41:42.888Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo [2021-04-07T22:41:43.016Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo [2021-04-07T22:41:43.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo [2021-04-07T22:41:43.201Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ead4b4314fe4c754254279faf995032dd66a7c5 [Pipeline] echo [2021-04-07T22:41:43.283Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ead4b4 [Pipeline] echo [2021-04-07T22:41:43.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T22:41:43.611Z] provisioning config files... [2021-04-07T22:41:43.660Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-182@tmp/config4670854847442322353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:41:44.289Z] ---> docker-login.sh [2021-04-07T22:41:44.289Z] nexus3.edgexfoundry.org:10001 [2021-04-07T22:41:44.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:41:45.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:41:45.270Z] Configure a credential helper to remove this warning. See [2021-04-07T22:41:45.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:41:45.270Z] [2021-04-07T22:41:45.270Z] Login Succeeded [2021-04-07T22:41:45.270Z] nexus3.edgexfoundry.org:10002 [2021-04-07T22:41:45.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:41:45.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:41:45.942Z] Configure a credential helper to remove this warning. See [2021-04-07T22:41:45.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:41:45.942Z] [2021-04-07T22:41:45.942Z] Login Succeeded [2021-04-07T22:41:45.942Z] nexus3.edgexfoundry.org:10003 [2021-04-07T22:41:46.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:41:47.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:41:47.016Z] Configure a credential helper to remove this warning. See [2021-04-07T22:41:47.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:41:47.016Z] [2021-04-07T22:41:47.016Z] Login Succeeded [2021-04-07T22:41:47.016Z] nexus3.edgexfoundry.org:10004 [2021-04-07T22:41:47.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:41:47.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:41:47.690Z] Configure a credential helper to remove this warning. See [2021-04-07T22:41:47.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:41:47.690Z] [2021-04-07T22:41:47.690Z] Login Succeeded [2021-04-07T22:41:47.690Z] docker.io [2021-04-07T22:41:48.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:41:48.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:41:48.412Z] Configure a credential helper to remove this warning. See [2021-04-07T22:41:48.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:41:48.412Z] [2021-04-07T22:41:48.412Z] Login Succeeded [2021-04-07T22:41:48.412Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T22:41:48.450Z] 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-07T22:41:49.725Z] + git log --format=format:%s -1 6ead4b4314fe4c754254279faf995032dd66a7c5 [Pipeline] echo [2021-04-07T22:41:49.939Z] GIT_COMMIT: 6ead4b4314fe4c754254279faf995032dd66a7c5, Commit Message: feat: Add Registry/Config Access token capability [Pipeline] echo [2021-04-07T22:41:49.986Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:41:50.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T22:41:50.890Z] [2021-04-07T22:41:50.890Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:41:51.366Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T22:41:51.693Z] latest: Pulling from edgex-devops/git-semver [2021-04-07T22:41:51.693Z] 31603596830f: Pulling fs layer [2021-04-07T22:41:51.693Z] 2a8b12db71e7: Pulling fs layer [2021-04-07T22:41:51.693Z] 6ca5941a6612: Pulling fs layer [2021-04-07T22:41:51.693Z] ecc8261a40a4: Pulling fs layer [2021-04-07T22:41:51.693Z] ecc8261a40a4: Waiting [2021-04-07T22:41:51.693Z] 2a8b12db71e7: Verifying Checksum [2021-04-07T22:41:51.693Z] 2a8b12db71e7: Download complete [2021-04-07T22:41:52.388Z] 31603596830f: Verifying Checksum [2021-04-07T22:41:52.388Z] 31603596830f: Download complete [2021-04-07T22:41:52.734Z] ecc8261a40a4: Verifying Checksum [2021-04-07T22:41:52.734Z] ecc8261a40a4: Download complete [2021-04-07T22:41:52.734Z] 6ca5941a6612: Verifying Checksum [2021-04-07T22:41:52.734Z] 6ca5941a6612: Download complete [2021-04-07T22:41:53.393Z] 31603596830f: Pull complete [2021-04-07T22:41:53.678Z] 2a8b12db71e7: Pull complete [2021-04-07T22:41:56.387Z] 6ca5941a6612: Pull complete [2021-04-07T22:41:57.010Z] ecc8261a40a4: Pull complete [2021-04-07T22:41:57.010Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-07T22:41:57.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T22:41:57.010Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-07T22:41:57.554Z] prd-centos7-docker-4c-2g-33204 does not seem to be running inside a container [2021-04-07T22:41:57.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-182 -v /w/workspace/foundry_device-virtual-go_PR-182:/w/workspace/foundry_device-virtual-go_PR-182:rw,z -v /w/workspace/foundry_device-virtual-go_PR-182@tmp:/w/workspace/foundry_device-virtual-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-07T22:42:00.521Z] $ docker top f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-07T22:42:00.927Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T22:42:00.927Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T22:42:01.311Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T22:42:01.318Z] $ docker exec f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 ssh-agent [2021-04-07T22:42:02.052Z] SSH_AUTH_SOCK=/tmp/ssh-K4QflOvGeC04/agent.11 [2021-04-07T22:42:02.052Z] SSH_AGENT_PID=16 [2021-04-07T22:42:02.092Z] Running ssh-add (command line suppressed) [2021-04-07T22:42:02.646Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-182@tmp/private_key_4420454338996288593.key (/w/workspace/foundry_device-virtual-go_PR-182@tmp/private_key_4420454338996288593.key) [2021-04-07T22:42:02.825Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T22:42:03.893Z] + git tag --points-at HEAD [Pipeline] } [2021-04-07T22:42:04.310Z] $ docker exec --env ******** --env ******** f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 ssh-agent -k [2021-04-07T22:42:04.721Z] unset SSH_AUTH_SOCK; [2021-04-07T22:42:04.722Z] unset SSH_AGENT_PID; [2021-04-07T22:42:04.722Z] echo Agent pid 16 killed; [2021-04-07T22:42:05.051Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-07T22:42:05.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T22:42:05.190Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T22:42:06.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T22:42:06.036Z] $ docker exec f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 ssh-agent [2021-04-07T22:42:06.961Z] SSH_AUTH_SOCK=/tmp/ssh-TD0pxCWmtLzv/agent.44 [2021-04-07T22:42:06.961Z] SSH_AGENT_PID=49 [2021-04-07T22:42:06.974Z] Running ssh-add (command line suppressed) [2021-04-07T22:42:07.624Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-182@tmp/private_key_239278399397212656.key (/w/workspace/foundry_device-virtual-go_PR-182@tmp/private_key_239278399397212656.key) [2021-04-07T22:42:07.783Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T22:42:08.567Z] + git semver init [2021-04-07T22:42:08.567Z] # -> Open(): unable to determine branch for HEAD [2021-04-07T22:42:08.567Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-182/.git [2021-04-07T22:42:08.567Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-182 [2021-04-07T22:42:08.567Z] # $SEMVER_REMOTE_NAME = origin [2021-04-07T22:42:08.567Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-07T22:42:08.567Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-07T22:42:08.567Z] # $SEMVER_BRANCH = PR-182 [2021-04-07T22:42:08.567Z] # $SEMVER_TEMP = /tmp/semver-750796498 [2021-04-07T22:42:08.567Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-04-07T22:42:09.176Z] # '/tmp/semver-750796498' -> '/w/workspace/foundry_device-virtual-go_PR-182/.semver' [2021-04-07T22:42:09.176Z] # -> Force: false [2021-04-07T22:42:09.176Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-182/.semver [Pipeline] } [2021-04-07T22:42:09.204Z] $ docker exec --env ******** --env ******** f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 ssh-agent -k [2021-04-07T22:42:09.618Z] unset SSH_AUTH_SOCK; [2021-04-07T22:42:09.620Z] unset SSH_AGENT_PID; [2021-04-07T22:42:09.620Z] echo Agent pid 49 killed; [2021-04-07T22:42:10.143Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-07T22:42:11.055Z] + git semver [Pipeline] } [2021-04-07T22:42:11.107Z] $ docker stop --time=1 f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 [2021-04-07T22:42:12.930Z] $ docker rm -f f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T22:42:13.630Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-07T22:42:15.251Z] Stashed 1 file(s) [Pipeline] echo [2021-04-07T22:42:15.254Z] [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-07T22:42:15.900Z] Running on prd-centos7-docker-4c-2g-33208 in /w/workspace/foundry_device-virtual-go_PR-182 [Pipeline] { [Pipeline] ws [2021-04-07T22:42:15.949Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-04-07T22:42:18.240Z] using credential edgex-jenkins-ssh [2021-04-07T22:42:18.299Z] Cloning the remote Git repository [2021-04-07T22:42:18.323Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-04-07T22:42:18.388Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-04-07T22:42:18.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-07T22:42:18.447Z] > git --version # timeout=10 [2021-04-07T22:42:18.454Z] > git --version # 'git version 2.24.3' [2021-04-07T22:42:18.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:42:18.481Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T22:42:19.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-07T22:42:19.138Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T22:42:19.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-07T22:42:19.160Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-07T22:42:19.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:42:19.165Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T22:42:20.419Z] Merging remotes/origin/master commit 0ad834929aa8e9ec52e16888807ba544aec55768 into PR head commit 6ead4b4314fe4c754254279faf995032dd66a7c5 [2021-04-07T22:42:20.614Z] Merge succeeded, producing 6ead4b4314fe4c754254279faf995032dd66a7c5 [2021-04-07T22:42:20.615Z] Checking out Revision 6ead4b4314fe4c754254279faf995032dd66a7c5 (PR-182) [2021-04-07T22:42:20.430Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T22:42:20.436Z] > git checkout -f 6ead4b4314fe4c754254279faf995032dd66a7c5 # timeout=10 [2021-04-07T22:42:20.583Z] > git remote # timeout=10 [2021-04-07T22:42:20.589Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T22:42:20.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:42:20.599Z] > git merge 0ad834929aa8e9ec52e16888807ba544aec55768 # timeout=10 [2021-04-07T22:42:20.609Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T22:42:20.620Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T22:42:20.625Z] > git checkout -f 6ead4b4314fe4c754254279faf995032dd66a7c5 # timeout=10 [2021-04-07T22:42:24.345Z] Commit message: "feat: Add Registry/Config Access token capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T22:42:25.621Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-07T22:42:25.953Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T22:42:26.251Z] + sudo service docker restart [2021-04-07T22:42:26.251Z] + true [2021-04-07T22:42:26.251Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T22:42:27.713Z] provisioning config files... [2021-04-07T22:42:27.758Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config1414586647620054393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:42:28.113Z] ---> docker-login.sh [2021-04-07T22:42:28.113Z] nexus3.edgexfoundry.org:10001 [2021-04-07T22:42:28.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:42:28.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:42:28.379Z] Configure a credential helper to remove this warning. See [2021-04-07T22:42:28.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:42:28.379Z] [2021-04-07T22:42:28.379Z] Login Succeeded [2021-04-07T22:42:28.379Z] nexus3.edgexfoundry.org:10002 [2021-04-07T22:42:28.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:42:28.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:42:28.643Z] Configure a credential helper to remove this warning. See [2021-04-07T22:42:28.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:42:28.643Z] [2021-04-07T22:42:28.643Z] Login Succeeded [2021-04-07T22:42:28.643Z] nexus3.edgexfoundry.org:10003 [2021-04-07T22:42:28.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:42:28.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:42:28.904Z] Configure a credential helper to remove this warning. See [2021-04-07T22:42:28.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:42:28.904Z] [2021-04-07T22:42:28.904Z] Login Succeeded [2021-04-07T22:42:28.904Z] nexus3.edgexfoundry.org:10004 [2021-04-07T22:42:28.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:42:29.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:42:29.167Z] Configure a credential helper to remove this warning. See [2021-04-07T22:42:29.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:42:29.167Z] [2021-04-07T22:42:29.167Z] Login Succeeded [2021-04-07T22:42:29.167Z] docker.io [2021-04-07T22:42:29.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:42:29.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:42:29.428Z] Configure a credential helper to remove this warning. See [2021-04-07T22:42:29.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:42:29.428Z] [2021-04-07T22:42:29.428Z] Login Succeeded [2021-04-07T22:42:29.428Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T22:42:29.440Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-07T22:42:29.767Z] ========================================================= [2021-04-07T22:42:29.767Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-07T22:42:29.767Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:42:30.129Z] + 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-07T22:42:30.398Z] Sending build context to Docker daemon 26.3MB [2021-04-07T22:42:30.398Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T22:42:30.398Z] Step 2/8 : FROM ${BASE} [2021-04-07T22:42:30.398Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-07T22:42:30.398Z] 188c0c94c7c5: Pulling fs layer [2021-04-07T22:42:30.398Z] 0ef7d3d256c8: Pulling fs layer [2021-04-07T22:42:30.398Z] de9db76c5a1d: Pulling fs layer [2021-04-07T22:42:30.398Z] bca2f99d35d6: Pulling fs layer [2021-04-07T22:42:30.398Z] 93359f2a8cfa: Pulling fs layer [2021-04-07T22:42:30.398Z] 7c6f9722023f: Pulling fs layer [2021-04-07T22:42:30.398Z] a35cf1a2eb13: Pulling fs layer [2021-04-07T22:42:30.398Z] 93359f2a8cfa: Waiting [2021-04-07T22:42:30.398Z] 7c6f9722023f: Waiting [2021-04-07T22:42:30.398Z] a35cf1a2eb13: Waiting [2021-04-07T22:42:30.398Z] bca2f99d35d6: Waiting [2021-04-07T22:42:30.398Z] de9db76c5a1d: Download complete [2021-04-07T22:42:30.398Z] 0ef7d3d256c8: Download complete [2021-04-07T22:42:30.660Z] 93359f2a8cfa: Verifying Checksum [2021-04-07T22:42:30.660Z] 93359f2a8cfa: Download complete [2021-04-07T22:42:30.660Z] 188c0c94c7c5: Verifying Checksum [2021-04-07T22:42:30.660Z] 188c0c94c7c5: Download complete [2021-04-07T22:42:30.660Z] 7c6f9722023f: Download complete [2021-04-07T22:42:30.805Z] Still waiting to schedule task [2021-04-07T22:42:30.805Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-07T22:42:30.925Z] 188c0c94c7c5: Pull complete [2021-04-07T22:42:30.925Z] 0ef7d3d256c8: Pull complete [2021-04-07T22:42:31.190Z] de9db76c5a1d: Pull complete [2021-04-07T22:42:32.585Z] a35cf1a2eb13: Verifying Checksum [2021-04-07T22:42:32.585Z] a35cf1a2eb13: Download complete [2021-04-07T22:42:33.160Z] bca2f99d35d6: Verifying Checksum [2021-04-07T22:42:33.160Z] bca2f99d35d6: Download complete [2021-04-07T22:42:38.501Z] bca2f99d35d6: Pull complete [2021-04-07T22:42:38.501Z] 93359f2a8cfa: Pull complete [2021-04-07T22:42:38.501Z] 7c6f9722023f: Pull complete [2021-04-07T22:42:46.680Z] a35cf1a2eb13: Pull complete [2021-04-07T22:42:46.680Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-07T22:42:46.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-07T22:42:46.680Z] ---> a62c8e92a672 [2021-04-07T22:42:46.680Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-07T22:42:46.680Z] ---> Running in 35150de61722 [2021-04-07T22:42:46.680Z] Removing intermediate container 35150de61722 [2021-04-07T22:42:46.680Z] ---> 446e2f6c269a [2021-04-07T22:42:46.680Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T22:42:46.680Z] ---> Running in 70b6bee7a74f [2021-04-07T22:42:47.259Z] Removing intermediate container 70b6bee7a74f [2021-04-07T22:42:47.259Z] ---> 90e28d95fb4e [2021-04-07T22:42:47.259Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T22:42:47.525Z] ---> Running in e3633b9ba800 [2021-04-07T22:42:48.473Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T22:42:49.419Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T22:42:49.681Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-07T22:42:49.681Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-07T22:42:49.946Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-07T22:42:49.946Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-07T22:42:49.946Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-07T22:42:50.215Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-07T22:42:50.215Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-07T22:42:50.483Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-07T22:42:50.747Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-07T22:42:50.747Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-07T22:42:50.747Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-07T22:42:51.013Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-07T22:42:51.013Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-07T22:42:51.013Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T22:42:51.013Z] OK: 173 MiB in 52 packages [2021-04-07T22:42:51.960Z] Removing intermediate container e3633b9ba800 [2021-04-07T22:42:51.960Z] ---> 84d4f357ce90 [2021-04-07T22:42:51.960Z] Step 6/8 : WORKDIR /device-virtual-go [2021-04-07T22:42:51.960Z] ---> Running in 9a8776c82e74 [2021-04-07T22:42:51.960Z] Removing intermediate container 9a8776c82e74 [2021-04-07T22:42:51.960Z] ---> 10981c4fbc9d [2021-04-07T22:42:51.960Z] Step 7/8 : COPY . . [2021-04-07T22:42:53.360Z] ---> d89a3a5b1071 [2021-04-07T22:42:53.360Z] Step 8/8 : RUN go mod download [2021-04-07T22:42:53.360Z] ---> Running in 691080a8a256 [2021-04-07T22:42:55.291Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.38: parsing /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2021-04-07T22:42:55.555Z] The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:42:56.952Z] ---> job-cost.sh [2021-04-07T22:42:56.952Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4vSA [2021-04-07T22:43:11.889Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T22:43:38.515Z] lf-activate-venv(): INFO: Adding /tmp/venv-4vSA/bin to PATH [2021-04-07T22:43:38.515Z] INFO: No Stack... [2021-04-07T22:43:38.515Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T22:43:38.515Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T22:43:38.828Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2021-04-07T22:43:38.828Z] + cut -d, -f6 [Pipeline] lock [2021-04-07T22:43:38.914Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] [2021-04-07T22:43:38.925Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] did not exist. Created. [2021-04-07T22:43:38.925Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T22:43:39.320Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-07T22:43:39.708Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T22:43:39.724Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-07T22:43:40.477Z] Failed in branch amd64 [2021-04-07T22:45:27.355Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33209 in /w/workspace/foundry_device-virtual-go_PR-182 [Pipeline] { [Pipeline] ws [2021-04-07T22:45:27.406Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-04-07T22:45:32.716Z] using credential edgex-jenkins-ssh [2021-04-07T22:45:32.795Z] Cloning the remote Git repository [2021-04-07T22:45:32.849Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-04-07T22:45:32.968Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-04-07T22:45:33.071Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-07T22:45:33.072Z] > git --version # timeout=10 [2021-04-07T22:45:33.089Z] > git --version # 'git version 2.17.1' [2021-04-07T22:45:33.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:45:33.182Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T22:45:33.927Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-07T22:45:33.947Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T22:45:33.974Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-07T22:45:34.025Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-07T22:45:34.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:45:34.039Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T22:45:36.730Z] Merging remotes/origin/master commit 0ad834929aa8e9ec52e16888807ba544aec55768 into PR head commit 6ead4b4314fe4c754254279faf995032dd66a7c5 [2021-04-07T22:45:37.327Z] Merge succeeded, producing 6ead4b4314fe4c754254279faf995032dd66a7c5 [2021-04-07T22:45:37.328Z] Checking out Revision 6ead4b4314fe4c754254279faf995032dd66a7c5 (PR-182) [2021-04-07T22:45:36.746Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T22:45:36.768Z] > git checkout -f 6ead4b4314fe4c754254279faf995032dd66a7c5 # timeout=10 [2021-04-07T22:45:37.091Z] > git remote # timeout=10 [2021-04-07T22:45:37.175Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T22:45:37.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:45:37.221Z] > git merge 0ad834929aa8e9ec52e16888807ba544aec55768 # timeout=10 [2021-04-07T22:45:37.267Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T22:45:37.332Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T22:45:37.355Z] > git checkout -f 6ead4b4314fe4c754254279faf995032dd66a7c5 # timeout=10 [2021-04-07T22:45:42.084Z] Commit message: "feat: Add Registry/Config Access token capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T22:45:43.677Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-07T22:45:44.086Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T22:45:44.476Z] + true [2021-04-07T22:45:44.476Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T22:45:47.179Z] provisioning config files... [2021-04-07T22:45:47.224Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config4878071426589457401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:45:47.677Z] ---> docker-login.sh [2021-04-07T22:45:47.677Z] nexus3.edgexfoundry.org:10001 [2021-04-07T22:45:48.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:45:48.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:45:48.880Z] Configure a credential helper to remove this warning. See [2021-04-07T22:45:48.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:45:48.880Z] [2021-04-07T22:45:48.880Z] Login Succeeded [2021-04-07T22:45:48.880Z] nexus3.edgexfoundry.org:10002 [2021-04-07T22:45:49.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:45:49.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:45:49.433Z] Configure a credential helper to remove this warning. See [2021-04-07T22:45:49.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:45:49.433Z] [2021-04-07T22:45:49.433Z] Login Succeeded [2021-04-07T22:45:49.433Z] nexus3.edgexfoundry.org:10003 [2021-04-07T22:45:49.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:45:49.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:45:49.990Z] Configure a credential helper to remove this warning. See [2021-04-07T22:45:49.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:45:49.990Z] [2021-04-07T22:45:49.990Z] Login Succeeded [2021-04-07T22:45:49.990Z] nexus3.edgexfoundry.org:10004 [2021-04-07T22:45:50.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:45:50.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:45:50.543Z] Configure a credential helper to remove this warning. See [2021-04-07T22:45:50.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:45:50.543Z] [2021-04-07T22:45:50.543Z] Login Succeeded [2021-04-07T22:45:50.543Z] docker.io [2021-04-07T22:45:50.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T22:45:51.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T22:45:51.089Z] Configure a credential helper to remove this warning. See [2021-04-07T22:45:51.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T22:45:51.089Z] [2021-04-07T22:45:51.089Z] Login Succeeded [2021-04-07T22:45:51.089Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T22:45:51.106Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-07T22:45:51.640Z] ========================================================= [2021-04-07T22:45:51.640Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-07T22:45:51.640Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:45:52.033Z] + 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-07T22:45:52.637Z] Sending build context to Docker daemon 26.3MB [2021-04-07T22:45:52.637Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T22:45:52.637Z] Step 2/8 : FROM ${BASE} [2021-04-07T22:45:52.914Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-07T22:45:52.914Z] 5f621e34cdf4: Pulling fs layer [2021-04-07T22:45:52.914Z] a4357932f1b6: Pulling fs layer [2021-04-07T22:45:52.914Z] 18c013af1878: Pulling fs layer [2021-04-07T22:45:52.914Z] 00ac8860ef70: Pulling fs layer [2021-04-07T22:45:52.914Z] 63d7cb157983: Pulling fs layer [2021-04-07T22:45:52.914Z] b116817d02f9: Pulling fs layer [2021-04-07T22:45:52.914Z] 745a02a5169b: Pulling fs layer [2021-04-07T22:45:52.914Z] 63d7cb157983: Waiting [2021-04-07T22:45:52.914Z] b116817d02f9: Waiting [2021-04-07T22:45:52.914Z] 745a02a5169b: Waiting [2021-04-07T22:45:52.914Z] 00ac8860ef70: Waiting [2021-04-07T22:45:52.914Z] 18c013af1878: Verifying Checksum [2021-04-07T22:45:52.914Z] 18c013af1878: Download complete [2021-04-07T22:45:52.914Z] a4357932f1b6: Verifying Checksum [2021-04-07T22:45:52.914Z] a4357932f1b6: Download complete [2021-04-07T22:45:52.914Z] 63d7cb157983: Verifying Checksum [2021-04-07T22:45:52.914Z] 63d7cb157983: Download complete [2021-04-07T22:45:52.914Z] b116817d02f9: Verifying Checksum [2021-04-07T22:45:52.914Z] b116817d02f9: Download complete [2021-04-07T22:45:53.193Z] 5f621e34cdf4: Verifying Checksum [2021-04-07T22:45:53.193Z] 5f621e34cdf4: Download complete [2021-04-07T22:45:54.189Z] 5f621e34cdf4: Pull complete [2021-04-07T22:45:54.470Z] a4357932f1b6: Pull complete [2021-04-07T22:45:55.082Z] 18c013af1878: Pull complete [2021-04-07T22:45:55.355Z] 745a02a5169b: Download complete [2021-04-07T22:45:56.793Z] 00ac8860ef70: Verifying Checksum [2021-04-07T22:45:56.793Z] 00ac8860ef70: Download complete [2021-04-07T22:46:06.986Z] 00ac8860ef70: Pull complete [2021-04-07T22:46:07.259Z] 63d7cb157983: Pull complete [2021-04-07T22:46:07.532Z] b116817d02f9: Pull complete [2021-04-07T22:46:11.863Z] 745a02a5169b: Pull complete [2021-04-07T22:46:11.863Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-07T22:46:11.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-07T22:46:11.863Z] ---> b7e6874047d6 [2021-04-07T22:46:11.863Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-07T22:46:14.482Z] ---> Running in b1e3abdac67c [2021-04-07T22:46:14.482Z] Removing intermediate container b1e3abdac67c [2021-04-07T22:46:14.482Z] ---> c3a3da82a832 [2021-04-07T22:46:14.482Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T22:46:14.482Z] ---> Running in 2e2fde4fc338 [2021-04-07T22:46:17.125Z] Removing intermediate container 2e2fde4fc338 [2021-04-07T22:46:17.125Z] ---> f1cc039c3aea [2021-04-07T22:46:17.125Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T22:46:17.125Z] ---> Running in 4dc955f0cff0 [2021-04-07T22:46:18.114Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T22:46:18.706Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T22:46:19.693Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-07T22:46:19.693Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-07T22:46:19.962Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-07T22:46:19.962Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-07T22:46:19.962Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-07T22:46:20.232Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-07T22:46:20.232Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-07T22:46:21.204Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-07T22:46:21.204Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-07T22:46:21.204Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-07T22:46:21.474Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-07T22:46:21.474Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-07T22:46:21.746Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-07T22:46:21.746Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T22:46:22.019Z] OK: 149 MiB in 52 packages [2021-04-07T22:46:23.456Z] Removing intermediate container 4dc955f0cff0 [2021-04-07T22:46:23.456Z] ---> 366346e684b3 [2021-04-07T22:46:23.456Z] Step 6/8 : WORKDIR /device-virtual-go [2021-04-07T22:46:23.456Z] ---> Running in 5d746ffd8117 [2021-04-07T22:46:24.050Z] Removing intermediate container 5d746ffd8117 [2021-04-07T22:46:24.050Z] ---> 26f15622b84a [2021-04-07T22:46:24.050Z] Step 7/8 : COPY . . [2021-04-07T22:46:26.028Z] ---> 773c5c447ffe [2021-04-07T22:46:26.028Z] Step 8/8 : RUN go mod download [2021-04-07T22:46:26.028Z] ---> Running in 820d88a756b5 [2021-04-07T22:46:27.997Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.38: parsing /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2021-04-07T22:46:28.269Z] The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:46:29.358Z] ---> job-cost.sh [2021-04-07T22:46:29.358Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-i1BM [2021-04-07T22:47:08.312Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T22:48:30.032Z] lf-activate-venv(): INFO: Adding /tmp/venv-i1BM/bin to PATH [2021-04-07T22:48:30.032Z] INFO: No Stack... [2021-04-07T22:48:30.032Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-07T22:48:30.032Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T22:48:30.374Z] + cut -d, -f6 [2021-04-07T22:48:30.374Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock [2021-04-07T22:48:30.488Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] [2021-04-07T22:48:30.497Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] did not exist. Created. [2021-04-07T22:48:30.498Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T22:48:30.981Z] /w/workspace/device-virtual-go/2@tmp/durable-7e8f81af/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-7e8f81af/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-07T22:48:31.324Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-07T22:48:31.395Z] Warning: overwriting stash ‘stack-cost’ [2021-04-07T22:48:32.287Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T22:48:32.304Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-07T22:48:32.971Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-07T22:48:35.666Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:48:36.509Z] ---> package-listing.sh [2021-04-07T22:48:36.509Z] ++ facter osfamily [2021-04-07T22:48:36.509Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-07T22:48:36.778Z] + OS_FAMILY=redhat [2021-04-07T22:48:36.778Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-182 [2021-04-07T22:48:36.778Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-07T22:48:36.778Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-07T22:48:36.778Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-07T22:48:36.778Z] + PACKAGES=/tmp/packages_start.txt [2021-04-07T22:48:36.778Z] + '[' /w/workspace/foundry_device-virtual-go_PR-182 ']' [2021-04-07T22:48:36.778Z] + PACKAGES=/tmp/packages_end.txt [2021-04-07T22:48:36.778Z] + case "${OS_FAMILY}" in [2021-04-07T22:48:36.778Z] + rpm -qa [2021-04-07T22:48:36.778Z] + sort [2021-04-07T22:48:45.318Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-07T22:48:45.318Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-07T22:48:45.318Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-07T22:48:45.318Z] + '[' /w/workspace/foundry_device-virtual-go_PR-182 ']' [2021-04-07T22:48:45.318Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-182/archives/ [2021-04-07T22:48:45.318Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-182/archives/ [Pipeline] echo [2021-04-07T22:48:45.351Z] 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-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-07T22:48:45.751Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:48:46.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T22:48:46.816Z] [2021-04-07T22:48:46.816Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:48:47.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T22:48:47.557Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-07T22:48:47.557Z] df20fa9351a1: Pulling fs layer [2021-04-07T22:48:47.557Z] 36b3adc4ff6f: Pulling fs layer [2021-04-07T22:48:47.557Z] 8ad3a11d3b57: Pulling fs layer [2021-04-07T22:48:47.557Z] 46f8f816bc3b: Pulling fs layer [2021-04-07T22:48:47.557Z] 93b61091891f: Pulling fs layer [2021-04-07T22:48:47.557Z] 93b9cdb0e59b: Pulling fs layer [2021-04-07T22:48:47.557Z] 5e14af77c1be: Pulling fs layer [2021-04-07T22:48:47.557Z] 01666e4c0597: Pulling fs layer [2021-04-07T22:48:47.557Z] aa168da1d23b: Pulling fs layer [2021-04-07T22:48:47.557Z] 93b9cdb0e59b: Waiting [2021-04-07T22:48:47.557Z] 5e14af77c1be: Waiting [2021-04-07T22:48:47.557Z] 46f8f816bc3b: Waiting [2021-04-07T22:48:47.557Z] 01666e4c0597: Waiting [2021-04-07T22:48:47.557Z] aa168da1d23b: Waiting [2021-04-07T22:48:47.557Z] 93b61091891f: Waiting [2021-04-07T22:48:47.557Z] 36b3adc4ff6f: Verifying Checksum [2021-04-07T22:48:47.557Z] 36b3adc4ff6f: Download complete [2021-04-07T22:48:47.862Z] 46f8f816bc3b: Verifying Checksum [2021-04-07T22:48:47.862Z] 46f8f816bc3b: Download complete [2021-04-07T22:48:47.862Z] df20fa9351a1: Verifying Checksum [2021-04-07T22:48:48.266Z] 93b9cdb0e59b: Verifying Checksum [2021-04-07T22:48:48.266Z] 93b9cdb0e59b: Download complete [2021-04-07T22:48:48.266Z] 5e14af77c1be: Verifying Checksum [2021-04-07T22:48:48.266Z] 5e14af77c1be: Download complete [2021-04-07T22:48:48.266Z] 01666e4c0597: Verifying Checksum [2021-04-07T22:48:48.266Z] 01666e4c0597: Download complete [2021-04-07T22:48:49.430Z] 93b61091891f: Verifying Checksum [2021-04-07T22:48:49.430Z] 93b61091891f: Download complete [2021-04-07T22:48:49.810Z] df20fa9351a1: Pull complete [2021-04-07T22:48:50.141Z] 8ad3a11d3b57: Verifying Checksum [2021-04-07T22:48:50.141Z] 8ad3a11d3b57: Download complete [2021-04-07T22:48:50.141Z] 36b3adc4ff6f: Pull complete [2021-04-07T22:48:53.026Z] 8ad3a11d3b57: Pull complete [2021-04-07T22:48:53.026Z] 46f8f816bc3b: Pull complete [2021-04-07T22:48:55.402Z] 93b61091891f: Pull complete [2021-04-07T22:48:56.048Z] 93b9cdb0e59b: Pull complete [2021-04-07T22:48:56.369Z] 5e14af77c1be: Pull complete [2021-04-07T22:48:57.028Z] 01666e4c0597: Pull complete [2021-04-07T22:49:00.476Z] aa168da1d23b: Verifying Checksum [2021-04-07T22:49:00.476Z] aa168da1d23b: Download complete [2021-04-07T22:49:23.651Z] aa168da1d23b: Pull complete [2021-04-07T22:49:23.651Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-07T22:49:23.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T22:49:23.651Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-07T22:49:24.054Z] prd-centos7-docker-4c-2g-33204 does not seem to be running inside a container [2021-04-07T22:49:24.233Z] $ 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-182/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-182 -v /w/workspace/foundry_device-virtual-go_PR-182:/w/workspace/foundry_device-virtual-go_PR-182:rw,z -v /w/workspace/foundry_device-virtual-go_PR-182@tmp:/w/workspace/foundry_device-virtual-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-07T22:49:27.964Z] $ docker top d016603ef5962604a620814d47ef97a5536609901917cea37fe730c941bdcf33 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T22:49:29.196Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-07T22:49:29.951Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-07T22:49:30.743Z] + ls /var/log/sa-host [2021-04-07T22:49:30.743Z] + sadf -c /var/log/sa-host/sa07 [2021-04-07T22:49:30.743Z] file_magic: OK [2021-04-07T22:49:30.743Z] HZ: Using current value: 100 [2021-04-07T22:49:30.743Z] file_header: OK [2021-04-07T22:49:30.743Z] 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-07T22:49:30.743Z] Statistics: [2021-04-07T22:49:30.743Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-07T22:49:30.743Z] File successfully converted to sysstat format version 12.2.1 [2021-04-07T22:49:30.743Z] + sadf -c /var/log/sa-host/sa23 [2021-04-07T22:49:30.743Z] file_magic: OK [2021-04-07T22:49:30.743Z] HZ: Using current value: 100 [2021-04-07T22:49:30.743Z] file_header: OK [2021-04-07T22:49:30.743Z] 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-07T22:49:30.743Z] Statistics: [2021-04-07T22:49:30.743Z] Hnuu...uuuununununu... [2021-04-07T22:49:30.743Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-07T22:49:31.009Z] provisioning config files... [2021-04-07T22:49:31.086Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-182@tmp/config391960055349497654tmp [Pipeline] { [Pipeline] echo [2021-04-07T22:49:31.173Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:49:32.472Z] ---> create-netrc.sh [Pipeline] } [2021-04-07T22:49:32.782Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-07T22:49:32.873Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:49:34.061Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-07T22:49:34.149Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:49:35.174Z] ---> sudo-logs.sh [2021-04-07T22:49:35.174Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-07T22:49:35.324Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:49:36.074Z] ---> job-cost.sh [2021-04-07T22:49:36.074Z] lf-activate-venv: SKIPPING [2021-04-07T22:49:36.074Z] DEBUG: total: 0.20999999344348907 [2021-04-07T22:49:36.074Z] INFO: Retrieving Stack Cost... [2021-04-07T22:49:37.126Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T22:49:37.789Z] INFO: Archiving Costs [Pipeline] echo [2021-04-07T22:49:37.816Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:49:38.598Z] ---> logs-deploy.sh [2021-04-07T22:49:38.598Z] lf-activate-venv: SKIPPING [2021-04-07T22:49:38.598Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-182/2 [2021-04-07T22:49:38.598Z] INFO: archiving workspace using pattern(s): [2021-04-07T22:49:43.236Z] Archives upload complete. [2021-04-07T22:49:43.236Z] INFO: archiving logs to Nexus