Branch indexing 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 a8427ad9f313fd36a07394be183da3e7678cbf3a+f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 (d94365270736dc1a86cf2d31576d41b935b78a7a) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3930 in /w/workspace/foundry_device-virtual-go_PR-199 [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-199 # 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/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit a8427ad9f313fd36a07394be183da3e7678cbf3a Merge succeeded, producing a93c29b19bcd7027390851b324489ace61268ced Checking out Revision a93c29b19bcd7027390851b324489ace61268ced (PR-199) > git config core.sparsecheckout # timeout=10 > git checkout -f a8427ad9f313fd36a07394be183da3e7678cbf3a # 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 f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a93c29b19bcd7027390851b324489ace61268ced # timeout=10 Commit message: "Merge commit 'f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1' into HEAD" > git rev-list --no-walk a8427ad9f313fd36a07394be183da3e7678cbf3a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T04:13:36.232Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T04:13:36.332Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T04:13:36.361Z] ========================================================= [2021-05-10T04:13:36.361Z] EdgeX Global Pipelines Version Info [2021-05-10T04:13:36.361Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T04:13:37.934Z] ------------------- [2021-05-10T04:13:37.934Z] stable info: [2021-05-10T04:13:37.934Z] ------------------- [2021-05-10T04:13:37.934Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T04:13:37.934Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T04:13:37.934Z] Message: update stable to v1.0.191 [2021-05-10T04:13:38.882Z] ------------------- [2021-05-10T04:13:38.882Z] experimental info: [2021-05-10T04:13:38.882Z] ------------------- [2021-05-10T04:13:38.882Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T04:13:38.882Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T04:13:38.882Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T04:13:39.007Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-10T04:13:39.031Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-10T04:13:39.055Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T04:13:39.078Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T04:13:39.101Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T04:13:39.124Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T04:13:39.147Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T04:13:39.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T04:13:39.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T04:13:39.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T04:13:39.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T04:13:39.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-05-10T04:13:39.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T04:13:39.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T04:13:39.331Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T04:13:39.354Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T04:13:39.397Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T04:13:39.420Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T04:13:39.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T04:13:39.465Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T04:13:39.486Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T04:13:39.509Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T04:13:39.531Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T04:13:39.557Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T04:13:39.578Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T04:13:39.601Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T04:13:39.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-199 [Pipeline] echo [2021-05-10T04:13:39.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-199 [Pipeline] echo [2021-05-10T04:13:39.668Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-199 [Pipeline] echo [2021-05-10T04:13:39.690Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a93c29b19bcd7027390851b324489ace61268ced [Pipeline] echo [2021-05-10T04:13:39.713Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a93c29b [Pipeline] echo [2021-05-10T04:13:39.736Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T04:13:39.810Z] provisioning config files... [2021-05-10T04:13:39.853Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-199@tmp/config2731959670604874018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T04:13:40.182Z] ---> docker-login.sh [2021-05-10T04:13:40.182Z] nexus3.edgexfoundry.org:10001 [2021-05-10T04:13:40.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:13:40.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:13:40.715Z] Configure a credential helper to remove this warning. See [2021-05-10T04:13:40.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:13:40.715Z] [2021-05-10T04:13:40.715Z] Login Succeeded [2021-05-10T04:13:40.715Z] nexus3.edgexfoundry.org:10002 [2021-05-10T04:13:40.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:13:40.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:13:40.979Z] Configure a credential helper to remove this warning. See [2021-05-10T04:13:40.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:13:40.979Z] [2021-05-10T04:13:40.979Z] Login Succeeded [2021-05-10T04:13:40.979Z] nexus3.edgexfoundry.org:10003 [2021-05-10T04:13:40.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:13:40.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:13:40.979Z] Configure a credential helper to remove this warning. See [2021-05-10T04:13:40.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:13:40.979Z] [2021-05-10T04:13:40.979Z] Login Succeeded [2021-05-10T04:13:40.979Z] nexus3.edgexfoundry.org:10004 [2021-05-10T04:13:41.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:13:41.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:13:41.241Z] Configure a credential helper to remove this warning. See [2021-05-10T04:13:41.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:13:41.241Z] [2021-05-10T04:13:41.241Z] Login Succeeded [2021-05-10T04:13:41.241Z] docker.io [2021-05-10T04:13:41.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:13:41.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:13:41.769Z] Configure a credential helper to remove this warning. See [2021-05-10T04:13:41.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:13:41.769Z] [2021-05-10T04:13:41.769Z] Login Succeeded [2021-05-10T04:13:41.769Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T04:13:41.779Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T04:13:42.249Z] + git log --format=format:%s -1 a93c29b19bcd7027390851b324489ace61268ced [Pipeline] echo [2021-05-10T04:13:42.330Z] GIT_COMMIT: a93c29b19bcd7027390851b324489ace61268ced, Commit Message: Merge commit 'f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1' into HEAD [Pipeline] echo [2021-05-10T04:13:42.344Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T04:13:43.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T04:13:43.322Z] [2021-05-10T04:13:43.322Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T04:13:43.643Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T04:13:43.643Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T04:13:43.643Z] 31603596830f: Pulling fs layer [2021-05-10T04:13:43.643Z] 54011a49482f: Pulling fs layer [2021-05-10T04:13:43.643Z] a6820b24f6d8: Pulling fs layer [2021-05-10T04:13:43.643Z] f581987b2513: Pulling fs layer [2021-05-10T04:13:43.643Z] f581987b2513: Waiting [2021-05-10T04:13:43.643Z] 54011a49482f: Verifying Checksum [2021-05-10T04:13:43.643Z] 54011a49482f: Download complete [2021-05-10T04:13:43.643Z] 31603596830f: Verifying Checksum [2021-05-10T04:13:43.643Z] 31603596830f: Download complete [2021-05-10T04:13:43.919Z] f581987b2513: Verifying Checksum [2021-05-10T04:13:43.919Z] f581987b2513: Download complete [2021-05-10T04:13:43.919Z] a6820b24f6d8: Verifying Checksum [2021-05-10T04:13:43.919Z] a6820b24f6d8: Download complete [2021-05-10T04:13:44.192Z] 31603596830f: Pull complete [2021-05-10T04:13:44.192Z] 54011a49482f: Pull complete [2021-05-10T04:13:45.148Z] a6820b24f6d8: Pull complete [2021-05-10T04:13:45.410Z] f581987b2513: Pull complete [2021-05-10T04:13:45.410Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T04:13:45.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T04:13:45.410Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T04:13:45.512Z] prd-centos7-docker-4c-2g-3930 does not seem to be running inside a container [2021-05-10T04:13:45.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-199 -v /w/workspace/foundry_device-virtual-go_PR-199:/w/workspace/foundry_device-virtual-go_PR-199:rw,z -v /w/workspace/foundry_device-virtual-go_PR-199@tmp:/w/workspace/foundry_device-virtual-go_PR-199@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:10004/edgex-devops/git-semver:latest cat [2021-05-10T04:13:47.475Z] $ docker top 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T04:13:47.620Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T04:13:47.620Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T04:13:47.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T04:13:47.848Z] $ docker exec 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 ssh-agent [2021-05-10T04:13:48.010Z] SSH_AUTH_SOCK=/tmp/ssh-OusxL5ULsNy3/agent.11 [2021-05-10T04:13:48.010Z] SSH_AGENT_PID=17 [2021-05-10T04:13:48.020Z] Running ssh-add (command line suppressed) [2021-05-10T04:13:48.160Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_6873067079007979249.key (/w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_6873067079007979249.key) [2021-05-10T04:13:48.218Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T04:13:48.528Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T04:13:48.552Z] $ docker exec --env ******** --env ******** 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 ssh-agent -k [2021-05-10T04:13:48.664Z] unset SSH_AUTH_SOCK; [2021-05-10T04:13:48.665Z] unset SSH_AGENT_PID; [2021-05-10T04:13:48.665Z] echo Agent pid 17 killed; [2021-05-10T04:13:48.709Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T04:13:48.754Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T04:13:48.754Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T04:13:48.920Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T04:13:48.926Z] $ docker exec 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 ssh-agent [2021-05-10T04:13:49.091Z] SSH_AUTH_SOCK=/tmp/ssh-s7FNaz3RFNpd/agent.47 [2021-05-10T04:13:49.091Z] SSH_AGENT_PID=52 [2021-05-10T04:13:49.098Z] Running ssh-add (command line suppressed) [2021-05-10T04:13:49.221Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_463239730934724413.key (/w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_463239730934724413.key) [2021-05-10T04:13:49.278Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T04:13:49.586Z] + git semver init [2021-05-10T04:13:49.586Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T04:13:49.586Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-199/.git [2021-05-10T04:13:49.586Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-199 [2021-05-10T04:13:49.586Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T04:13:49.586Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T04:13:49.586Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T04:13:49.586Z] # $SEMVER_BRANCH = PR-199 [2021-05-10T04:13:49.586Z] # $SEMVER_TEMP = /tmp/semver-159770797 [2021-05-10T04:13:49.586Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-10T04:13:50.169Z] # '/tmp/semver-159770797' -> '/w/workspace/foundry_device-virtual-go_PR-199/.semver' [2021-05-10T04:13:50.169Z] # -> Force: false [2021-05-10T04:13:50.169Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-199/.semver [Pipeline] } [2021-05-10T04:13:50.183Z] $ docker exec --env ******** --env ******** 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 ssh-agent -k [2021-05-10T04:13:50.297Z] unset SSH_AUTH_SOCK; [2021-05-10T04:13:50.297Z] unset SSH_AGENT_PID; [2021-05-10T04:13:50.298Z] echo Agent pid 52 killed; [2021-05-10T04:13:50.342Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T04:13:50.673Z] + git semver [Pipeline] } [2021-05-10T04:13:50.692Z] $ docker stop --time=1 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 [2021-05-10T04:13:52.045Z] $ docker rm -f 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T04:13:52.449Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T04:13:52.808Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T04:13:52.811Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-10T04:14:07.993Z] Still waiting to schedule task [2021-05-10T04:14:07.993Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3930’ [2021-05-10T04:14:07.996Z] Still waiting to schedule task [2021-05-10T04:14:07.996Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-10T04:16:05.181Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3931 in /w/workspace/foundry_device-virtual-go_PR-199 [Pipeline] { [Pipeline] ws [2021-05-10T04:16:05.202Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-05-10T04:16:10.865Z] using credential edgex-jenkins-ssh [2021-05-10T04:16:10.893Z] Cloning the remote Git repository [2021-05-10T04:16:10.978Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T04:16:11.094Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-05-10T04:16:11.173Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T04:16:11.174Z] > git --version # timeout=10 [2021-05-10T04:16:11.200Z] > git --version # 'git version 2.17.1' [2021-05-10T04:16:11.201Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T04:16:11.271Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T04:16:12.125Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T04:16:12.151Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T04:16:12.179Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T04:16:12.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T04:16:12.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T04:16:12.243Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T04:16:14.837Z] Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit a8427ad9f313fd36a07394be183da3e7678cbf3a [2021-05-10T04:16:15.074Z] Merge succeeded, producing 2d78992aaf5c3f8de47ffcdea1d21d94eb385ec5 [2021-05-10T04:16:15.074Z] Checking out Revision 2d78992aaf5c3f8de47ffcdea1d21d94eb385ec5 (PR-199) [2021-05-10T04:16:14.861Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T04:16:14.882Z] > git checkout -f a8427ad9f313fd36a07394be183da3e7678cbf3a # timeout=10 [2021-05-10T04:16:14.962Z] > git remote # timeout=10 [2021-05-10T04:16:14.982Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T04:16:15.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T04:16:15.016Z] > git merge f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 [2021-05-10T04:16:15.061Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T04:16:15.085Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T04:16:15.099Z] > git checkout -f 2d78992aaf5c3f8de47ffcdea1d21d94eb385ec5 # timeout=10 [2021-05-10T04:16:19.280Z] Commit message: "Merge commit 'f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1' into HEAD" [2021-05-10T04:16:19.290Z] > git rev-list --no-walk a8427ad9f313fd36a07394be183da3e7678cbf3a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T04:16:20.848Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T04:16:21.330Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T04:16:21.673Z] + true [2021-05-10T04:16:21.674Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T04:16:24.343Z] provisioning config files... [2021-05-10T04:16:24.397Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config5465086702649724870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T04:16:24.776Z] ---> docker-login.sh [2021-05-10T04:16:24.776Z] nexus3.edgexfoundry.org:10001 [2021-05-10T04:16:25.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:16:26.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:16:26.044Z] Configure a credential helper to remove this warning. See [2021-05-10T04:16:26.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:16:26.044Z] [2021-05-10T04:16:26.044Z] Login Succeeded [2021-05-10T04:16:26.044Z] nexus3.edgexfoundry.org:10002 [2021-05-10T04:16:26.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:16:26.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:16:26.607Z] Configure a credential helper to remove this warning. See [2021-05-10T04:16:26.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:16:26.607Z] [2021-05-10T04:16:26.607Z] Login Succeeded [2021-05-10T04:16:26.608Z] nexus3.edgexfoundry.org:10003 [2021-05-10T04:16:26.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:16:27.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:16:27.155Z] Configure a credential helper to remove this warning. See [2021-05-10T04:16:27.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:16:27.155Z] [2021-05-10T04:16:27.155Z] Login Succeeded [2021-05-10T04:16:27.155Z] nexus3.edgexfoundry.org:10004 [2021-05-10T04:16:27.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:16:27.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:16:27.704Z] Configure a credential helper to remove this warning. See [2021-05-10T04:16:27.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:16:27.704Z] [2021-05-10T04:16:27.704Z] Login Succeeded [2021-05-10T04:16:27.704Z] docker.io [2021-05-10T04:16:27.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:16:28.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:16:28.249Z] Configure a credential helper to remove this warning. See [2021-05-10T04:16:28.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:16:28.249Z] [2021-05-10T04:16:28.249Z] Login Succeeded [2021-05-10T04:16:28.249Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T04:16:28.266Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T04:16:28.580Z] ========================================================= [2021-05-10T04:16:28.580Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T04:16:28.580Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T04:16:28.941Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-10T04:16:29.218Z] Sending build context to Docker daemon 9.178MB [2021-05-10T04:16:29.218Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T04:16:29.218Z] Step 2/8 : FROM ${BASE} [2021-05-10T04:16:29.493Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T04:16:29.494Z] 595b0fe564bb: Pulling fs layer [2021-05-10T04:16:29.494Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T04:16:29.494Z] 316046926c0a: Pulling fs layer [2021-05-10T04:16:29.494Z] 4ebd0625c992: Pulling fs layer [2021-05-10T04:16:29.494Z] 207e8628e3a3: Pulling fs layer [2021-05-10T04:16:29.494Z] c791037a9be2: Pulling fs layer [2021-05-10T04:16:29.494Z] ffd874e62e21: Pulling fs layer [2021-05-10T04:16:29.494Z] 4ebd0625c992: Waiting [2021-05-10T04:16:29.494Z] 207e8628e3a3: Waiting [2021-05-10T04:16:29.494Z] c791037a9be2: Waiting [2021-05-10T04:16:29.494Z] 316046926c0a: Verifying Checksum [2021-05-10T04:16:29.494Z] 316046926c0a: Download complete [2021-05-10T04:16:29.494Z] 7186ed65a4f7: Download complete [2021-05-10T04:16:29.494Z] 207e8628e3a3: Verifying Checksum [2021-05-10T04:16:29.494Z] 207e8628e3a3: Download complete [2021-05-10T04:16:29.494Z] c791037a9be2: Verifying Checksum [2021-05-10T04:16:29.494Z] c791037a9be2: Download complete [2021-05-10T04:16:29.494Z] 595b0fe564bb: Verifying Checksum [2021-05-10T04:16:29.769Z] 595b0fe564bb: Download complete [2021-05-10T04:16:30.381Z] 595b0fe564bb: Pull complete [2021-05-10T04:16:30.667Z] 7186ed65a4f7: Pull complete [2021-05-10T04:16:31.270Z] 316046926c0a: Pull complete [2021-05-10T04:16:32.247Z] ffd874e62e21: Download complete [2021-05-10T04:16:34.216Z] 4ebd0625c992: Verifying Checksum [2021-05-10T04:16:34.216Z] 4ebd0625c992: Download complete [2021-05-10T04:16:37.525Z] Running on prd-centos7-docker-4c-2g-3932 in /w/workspace/foundry_device-virtual-go_PR-199 [Pipeline] { [Pipeline] ws [2021-05-10T04:16:37.548Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-05-10T04:16:40.327Z] using credential edgex-jenkins-ssh [2021-05-10T04:16:40.356Z] Cloning the remote Git repository [2021-05-10T04:16:40.377Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T04:16:40.445Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-05-10T04:16:40.506Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T04:16:40.506Z] > git --version # timeout=10 [2021-05-10T04:16:40.512Z] > git --version # 'git version 2.24.3' [2021-05-10T04:16:40.513Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T04:16:40.541Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T04:16:41.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T04:16:41.076Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T04:16:41.090Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T04:16:41.107Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T04:16:41.107Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T04:16:41.114Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T04:16:44.443Z] 4ebd0625c992: Pull complete [2021-05-10T04:16:44.443Z] 207e8628e3a3: Pull complete [2021-05-10T04:16:44.716Z] c791037a9be2: Pull complete [2021-05-10T04:16:44.984Z] Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit a8427ad9f313fd36a07394be183da3e7678cbf3a [2021-05-10T04:16:45.072Z] Merge succeeded, producing bd8c143db4c39ab9daf18666d4498788588b15bc [2021-05-10T04:16:45.072Z] Checking out Revision bd8c143db4c39ab9daf18666d4498788588b15bc (PR-199) [2021-05-10T04:16:44.993Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T04:16:44.998Z] > git checkout -f a8427ad9f313fd36a07394be183da3e7678cbf3a # timeout=10 [2021-05-10T04:16:45.032Z] > git remote # timeout=10 [2021-05-10T04:16:45.038Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T04:16:45.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T04:16:45.048Z] > git merge f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 [2021-05-10T04:16:45.067Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T04:16:45.076Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T04:16:45.082Z] > git checkout -f bd8c143db4c39ab9daf18666d4498788588b15bc # timeout=10 [2021-05-10T04:16:48.705Z] Commit message: "Merge commit 'f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1' into HEAD" [2021-05-10T04:16:48.709Z] > git rev-list --no-walk a8427ad9f313fd36a07394be183da3e7678cbf3a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-05-10T04:16:49.040Z] ffd874e62e21: Pull complete [2021-05-10T04:16:49.040Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T04:16:49.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T04:16:49.040Z] ---> cfc18b08335c [2021-05-10T04:16:49.040Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T04:16:49.774Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T04:16:50.106Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T04:16:50.412Z] + sudo service docker restart [2021-05-10T04:16:50.412Z] + true [2021-05-10T04:16:50.412Z] Redirecting to /bin/systemctl restart docker.service [2021-05-10T04:16:51.028Z] ---> Running in 748652b2d908 [2021-05-10T04:16:51.633Z] Removing intermediate container 748652b2d908 [2021-05-10T04:16:51.633Z] ---> 54b65e180870 [2021-05-10T04:16:51.633Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T04:16:51.633Z] ---> Running in be7ac47b9055 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T04:16:51.839Z] provisioning config files... [2021-05-10T04:16:51.880Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config1328246225404595934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T04:16:52.215Z] ---> docker-login.sh [2021-05-10T04:16:52.216Z] nexus3.edgexfoundry.org:10001 [2021-05-10T04:16:52.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:16:52.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:16:52.479Z] Configure a credential helper to remove this warning. See [2021-05-10T04:16:52.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:16:52.479Z] [2021-05-10T04:16:52.479Z] Login Succeeded [2021-05-10T04:16:52.479Z] nexus3.edgexfoundry.org:10002 [2021-05-10T04:16:52.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:16:52.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:16:52.742Z] Configure a credential helper to remove this warning. See [2021-05-10T04:16:52.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:16:52.742Z] [2021-05-10T04:16:52.742Z] Login Succeeded [2021-05-10T04:16:52.742Z] nexus3.edgexfoundry.org:10003 [2021-05-10T04:16:53.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:16:53.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:16:53.006Z] Configure a credential helper to remove this warning. See [2021-05-10T04:16:53.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:16:53.006Z] [2021-05-10T04:16:53.006Z] Login Succeeded [2021-05-10T04:16:53.006Z] nexus3.edgexfoundry.org:10004 [2021-05-10T04:16:53.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:16:53.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:16:53.270Z] Configure a credential helper to remove this warning. See [2021-05-10T04:16:53.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:16:53.270Z] [2021-05-10T04:16:53.270Z] Login Succeeded [2021-05-10T04:16:53.270Z] docker.io [2021-05-10T04:16:53.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T04:16:53.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T04:16:53.533Z] Configure a credential helper to remove this warning. See [2021-05-10T04:16:53.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T04:16:53.533Z] [2021-05-10T04:16:53.533Z] Login Succeeded [2021-05-10T04:16:53.533Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T04:16:53.543Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T04:16:53.747Z] ========================================================= [2021-05-10T04:16:53.747Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T04:16:53.747Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T04:16:54.063Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-10T04:16:54.260Z] Removing intermediate container be7ac47b9055 [2021-05-10T04:16:54.260Z] ---> a0e32f9bf1b5 [2021-05-10T04:16:54.260Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T04:16:54.260Z] ---> Running in 38791fca48c5 [2021-05-10T04:16:54.330Z] Sending build context to Docker daemon 9.179MB [2021-05-10T04:16:54.330Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T04:16:54.330Z] Step 2/8 : FROM ${BASE} [2021-05-10T04:16:54.330Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T04:16:54.330Z] 540db60ca938: Pulling fs layer [2021-05-10T04:16:54.330Z] adcc1eea9eea: Pulling fs layer [2021-05-10T04:16:54.330Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T04:16:54.330Z] 0510c868ecb4: Pulling fs layer [2021-05-10T04:16:54.330Z] afea3b2eda06: Pulling fs layer [2021-05-10T04:16:54.330Z] 7809a108b3ef: Pulling fs layer [2021-05-10T04:16:54.330Z] f706445af74f: Pulling fs layer [2021-05-10T04:16:54.330Z] afea3b2eda06: Waiting [2021-05-10T04:16:54.330Z] 7809a108b3ef: Waiting [2021-05-10T04:16:54.330Z] f706445af74f: Waiting [2021-05-10T04:16:54.330Z] 0510c868ecb4: Waiting [2021-05-10T04:16:54.330Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T04:16:54.330Z] 4c4ab2625f07: Download complete [2021-05-10T04:16:54.330Z] adcc1eea9eea: Download complete [2021-05-10T04:16:54.330Z] afea3b2eda06: Verifying Checksum [2021-05-10T04:16:54.330Z] afea3b2eda06: Download complete [2021-05-10T04:16:54.330Z] 540db60ca938: Verifying Checksum [2021-05-10T04:16:54.330Z] 540db60ca938: Download complete [2021-05-10T04:16:54.330Z] 7809a108b3ef: Verifying Checksum [2021-05-10T04:16:54.330Z] 7809a108b3ef: Download complete [2021-05-10T04:16:54.595Z] 540db60ca938: Pull complete [2021-05-10T04:16:54.859Z] adcc1eea9eea: Pull complete [2021-05-10T04:16:55.123Z] 4c4ab2625f07: Pull complete [2021-05-10T04:16:55.251Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T04:16:56.074Z] f706445af74f: Download complete [2021-05-10T04:16:57.027Z] 0510c868ecb4: Verifying Checksum [2021-05-10T04:16:57.027Z] 0510c868ecb4: Download complete [2021-05-10T04:16:57.222Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T04:16:59.180Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T04:16:59.450Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T04:16:59.719Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T04:16:59.990Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T04:17:00.260Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T04:17:00.530Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T04:17:00.799Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T04:17:02.223Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T04:17:02.368Z] 0510c868ecb4: Pull complete [2021-05-10T04:17:02.368Z] afea3b2eda06: Pull complete [2021-05-10T04:17:02.495Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T04:17:02.495Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T04:17:02.631Z] 7809a108b3ef: Pull complete [2021-05-10T04:17:03.089Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T04:17:03.371Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T04:17:03.644Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T04:17:03.916Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T04:17:03.916Z] OK: 145 MiB in 53 packages [2021-05-10T04:17:05.358Z] Removing intermediate container 38791fca48c5 [2021-05-10T04:17:05.358Z] ---> 09b8cc1a2562 [2021-05-10T04:17:05.358Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-10T04:17:05.639Z] ---> Running in efe6486c5aab [2021-05-10T04:17:06.237Z] Removing intermediate container efe6486c5aab [2021-05-10T04:17:06.237Z] ---> 8cc79791e4e6 [2021-05-10T04:17:06.237Z] Step 7/8 : COPY . . [2021-05-10T04:17:07.671Z] ---> 3c3e93c3e706 [2021-05-10T04:17:07.671Z] Step 8/8 : RUN go mod download [2021-05-10T04:17:07.671Z] ---> Running in d08db389008a [2021-05-10T04:17:10.800Z] f706445af74f: Pull complete [2021-05-10T04:17:10.800Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T04:17:10.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T04:17:10.800Z] ---> b068be0155e3 [2021-05-10T04:17:10.800Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T04:17:10.800Z] ---> Running in 66dc35b26d1b [2021-05-10T04:17:10.800Z] Removing intermediate container 66dc35b26d1b [2021-05-10T04:17:10.800Z] ---> 4aa7e5ba9402 [2021-05-10T04:17:10.800Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T04:17:10.800Z] ---> Running in 8b0fbfd5ef36 [2021-05-10T04:17:11.061Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.51 requires [2021-05-10T04:17:11.061Z] github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.34 (replaced by ./go-mod-bootstrap): reading go-mod-bootstrap/go.mod: open /device-virtual-go/go-mod-bootstrap/go.mod: no such file or directory [2021-05-10T04:17:11.332Z] The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [2021-05-10T04:17:11.376Z] Removing intermediate container 8b0fbfd5ef36 [2021-05-10T04:17:11.376Z] ---> 11aea282ad85 [2021-05-10T04:17:11.376Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T04:17:11.376Z] ---> Running in 4c325d9c402e [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-05-10T04:17:12.040Z] ---> job-cost.sh [2021-05-10T04:17:12.040Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GpC8 [2021-05-10T04:17:12.325Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T04:17:14.246Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T04:17:14.820Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T04:17:15.082Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T04:17:15.344Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T04:17:15.344Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T04:17:15.607Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T04:17:15.877Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T04:17:15.877Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T04:17:16.454Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T04:17:16.717Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T04:17:16.980Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T04:17:16.980Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T04:17:17.243Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T04:17:17.505Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T04:17:17.768Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T04:17:17.768Z] OK: 156 MiB in 53 packages [2021-05-10T04:17:18.717Z] Removing intermediate container 4c325d9c402e [2021-05-10T04:17:18.717Z] ---> 8e5b3258a71f [2021-05-10T04:17:18.717Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-10T04:17:18.717Z] ---> Running in 62e1ffbf59bd [2021-05-10T04:17:18.717Z] Removing intermediate container 62e1ffbf59bd [2021-05-10T04:17:18.717Z] ---> 0d8947284b0b [2021-05-10T04:17:18.717Z] Step 7/8 : COPY . . [2021-05-10T04:17:19.675Z] ---> 53b677355963 [2021-05-10T04:17:19.675Z] Step 8/8 : RUN go mod download [2021-05-10T04:17:19.675Z] ---> Running in db8991fd3151 [2021-05-10T04:17:22.242Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.51 requires [2021-05-10T04:17:22.242Z] github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.34 (replaced by ./go-mod-bootstrap): reading go-mod-bootstrap/go.mod: open /device-virtual-go/go-mod-bootstrap/go.mod: no such file or directory [2021-05-10T04:17:23.191Z] 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-05-10T04:17:23.768Z] ---> job-cost.sh [2021-05-10T04:17:23.769Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wG7J [2021-05-10T04:17:38.722Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T04:17:50.979Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T04:18:05.384Z] lf-activate-venv(): INFO: Adding /tmp/venv-wG7J/bin to PATH [2021-05-10T04:18:05.384Z] INFO: No Stack... [2021-05-10T04:18:05.384Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T04:18:05.384Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T04:18:05.694Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2021-05-10T04:18:05.694Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T04:18:05.771Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] [2021-05-10T04:18:05.780Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] did not exist. Created. [2021-05-10T04:18:05.780Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T04:18:06.119Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T04:18:06.491Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T04:18:06.507Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T04:18:06.682Z] Failed in branch amd64 [2021-05-10T04:19:12.697Z] lf-activate-venv(): INFO: Adding /tmp/venv-GpC8/bin to PATH [2021-05-10T04:19:12.697Z] INFO: No Stack... [2021-05-10T04:19:12.697Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T04:19:12.697Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T04:19:13.053Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2021-05-10T04:19:13.053Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T04:19:13.413Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] [2021-05-10T04:19:13.435Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] did not exist. Created. [2021-05-10T04:19:13.436Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T04:19:13.900Z] /w/workspace/device-virtual-go/2@tmp/durable-d6b87194/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-d6b87194/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T04:19:14.283Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T04:19:14.324Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T04:19:15.150Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T04:19:15.176Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T04:19:15.384Z] 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-05-10T04:19:16.555Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T04:19:16.869Z] ---> package-listing.sh [2021-05-10T04:19:16.869Z] ++ facter osfamily [2021-05-10T04:19:16.869Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T04:19:16.869Z] + OS_FAMILY=redhat [2021-05-10T04:19:16.869Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-199 [2021-05-10T04:19:16.869Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T04:19:16.869Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T04:19:16.869Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T04:19:16.869Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T04:19:16.869Z] + '[' /w/workspace/foundry_device-virtual-go_PR-199 ']' [2021-05-10T04:19:16.869Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T04:19:16.869Z] + case "${OS_FAMILY}" in [2021-05-10T04:19:16.869Z] + rpm -qa [2021-05-10T04:19:16.869Z] + sort [2021-05-10T04:19:22.193Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T04:19:22.193Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T04:19:22.193Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T04:19:22.193Z] + '[' /w/workspace/foundry_device-virtual-go_PR-199 ']' [2021-05-10T04:19:22.193Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-199/archives/ [2021-05-10T04:19:22.193Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-199/archives/ [Pipeline] echo [2021-05-10T04:19:22.208Z] 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-199/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T04:19:22.502Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T04:19:22.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T04:19:22.848Z] [2021-05-10T04:19:22.848Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T04:19:23.249Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T04:19:23.249Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T04:19:23.249Z] df20fa9351a1: Pulling fs layer [2021-05-10T04:19:23.249Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T04:19:23.249Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T04:19:23.249Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T04:19:23.249Z] 93b61091891f: Pulling fs layer [2021-05-10T04:19:23.249Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T04:19:23.249Z] 5e14af77c1be: Pulling fs layer [2021-05-10T04:19:23.249Z] 01666e4c0597: Pulling fs layer [2021-05-10T04:19:23.249Z] aa168da1d23b: Pulling fs layer [2021-05-10T04:19:23.249Z] 46f8f816bc3b: Waiting [2021-05-10T04:19:23.249Z] 5e14af77c1be: Waiting [2021-05-10T04:19:23.249Z] 93b9cdb0e59b: Waiting [2021-05-10T04:19:23.249Z] 93b61091891f: Waiting [2021-05-10T04:19:23.249Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T04:19:23.249Z] 36b3adc4ff6f: Download complete [2021-05-10T04:19:23.249Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T04:19:23.249Z] 46f8f816bc3b: Download complete [2021-05-10T04:19:23.545Z] df20fa9351a1: Download complete [2021-05-10T04:19:23.545Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T04:19:23.545Z] 93b9cdb0e59b: Download complete [2021-05-10T04:19:23.545Z] 5e14af77c1be: Verifying Checksum [2021-05-10T04:19:23.545Z] 5e14af77c1be: Download complete [2021-05-10T04:19:23.545Z] 93b61091891f: Verifying Checksum [2021-05-10T04:19:23.545Z] 93b61091891f: Download complete [2021-05-10T04:19:23.545Z] 01666e4c0597: Verifying Checksum [2021-05-10T04:19:23.545Z] 01666e4c0597: Download complete [2021-05-10T04:19:23.545Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T04:19:23.545Z] 8ad3a11d3b57: Download complete [2021-05-10T04:19:23.824Z] df20fa9351a1: Pull complete [2021-05-10T04:19:24.091Z] 36b3adc4ff6f: Pull complete [2021-05-10T04:19:24.668Z] 8ad3a11d3b57: Pull complete [2021-05-10T04:19:24.936Z] 46f8f816bc3b: Pull complete [2021-05-10T04:19:25.201Z] 93b61091891f: Pull complete [2021-05-10T04:19:25.201Z] 93b9cdb0e59b: Pull complete [2021-05-10T04:19:26.173Z] aa168da1d23b: Verifying Checksum [2021-05-10T04:19:26.173Z] aa168da1d23b: Download complete [2021-05-10T04:19:26.439Z] 5e14af77c1be: Pull complete [2021-05-10T04:19:26.704Z] 01666e4c0597: Pull complete [2021-05-10T04:19:34.901Z] aa168da1d23b: Pull complete [2021-05-10T04:19:34.901Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T04:19:34.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T04:19:34.901Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T04:19:35.035Z] prd-centos7-docker-4c-2g-3930 does not seem to be running inside a container [2021-05-10T04:19:35.088Z] $ 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-199/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-199 -v /w/workspace/foundry_device-virtual-go_PR-199:/w/workspace/foundry_device-virtual-go_PR-199:rw,z -v /w/workspace/foundry_device-virtual-go_PR-199@tmp:/w/workspace/foundry_device-virtual-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T04:19:38.290Z] $ docker top e373d7ef5084e27bffaad784818f58e2ff3f89c18471c76e358ec73d85c3c8a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T04:19:38.702Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T04:19:39.006Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T04:19:39.315Z] + ls /var/log/sa-host [2021-05-10T04:19:39.315Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T04:19:39.315Z] file_magic: OK [2021-05-10T04:19:39.315Z] HZ: Using current value: 100 [2021-05-10T04:19:39.315Z] file_header: OK [2021-05-10T04:19:39.315Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-10T04:19:39.315Z] Statistics: [2021-05-10T04:19:39.315Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T04:19:39.315Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T04:19:39.315Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T04:19:39.315Z] file_magic: OK [2021-05-10T04:19:39.315Z] HZ: Using current value: 100 [2021-05-10T04:19:39.315Z] file_header: OK [2021-05-10T04:19:39.315Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-10T04:19:39.315Z] Statistics: [2021-05-10T04:19:39.315Z] Hnuu...uuuununununu... [2021-05-10T04:19:39.315Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T04:19:40.046Z] provisioning config files... [2021-05-10T04:19:40.062Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-199@tmp/config9216374263562071891tmp [Pipeline] { [Pipeline] echo [2021-05-10T04:19:40.085Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T04:19:40.384Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T04:19:40.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T04:19:40.422Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T04:19:40.722Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T04:19:40.733Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T04:19:41.036Z] ---> sudo-logs.sh [2021-05-10T04:19:41.036Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T04:19:41.098Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T04:19:41.402Z] ---> job-cost.sh [2021-05-10T04:19:41.402Z] lf-activate-venv: SKIPPING [2021-05-10T04:19:41.402Z] DEBUG: total: 0.20999999344348907 [2021-05-10T04:19:41.402Z] INFO: Retrieving Stack Cost... [2021-05-10T04:19:42.349Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T04:19:42.923Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T04:19:42.937Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T04:19:43.238Z] ---> logs-deploy.sh [2021-05-10T04:19:43.238Z] lf-activate-venv: SKIPPING [2021-05-10T04:19:43.238Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-199/2 [2021-05-10T04:19:43.238Z] INFO: archiving workspace using pattern(s): [2021-05-10T04:19:45.162Z] Archives upload complete. [2021-05-10T04:19:45.162Z] INFO: archiving logs to Nexus