Pull request #208 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 e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8+702ee4ef1a6f7523fa240909d56a13b89c8d46ac (bedcacfef2c1b9fbe3beb770afb4e815a25568b5) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5623844571777878304.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6623864936084708771.key > 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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-208/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-208/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6365109784059928569.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4543316890728933626.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-208/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-208/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8027632370046318633.key > 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: device-virtual 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 ‘prd-centos7-blackbox-4c-2g-189’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-309’ is offline ‘prd-centos7-docker-4c-2g-6142’ is offline ‘prd-centos7-docker-4c-2g-6204’ is offline Running on prd-centos7-docker-4c-2g-6235 in /w/workspace/foundry_device-virtual-go_PR-208 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-208 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-208@tmp/jenkins-gitclient-ssh4116181502722616316.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-208@tmp/jenkins-gitclient-ssh2968379250908404964.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 702ee4ef1a6f7523fa240909d56a13b89c8d46ac into PR head commit e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 Merge succeeded, producing e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 Checking out Revision e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 (PR-208) > git config core.sparsecheckout # timeout=10 > git checkout -f e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-208@tmp/jenkins-gitclient-ssh4997055157644334556.key > git merge 702ee4ef1a6f7523fa240909d56a13b89c8d46ac # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 # timeout=10 Commit message: "refactor: Moved go mod tidy in dockerfile" > git rev-list --no-walk f085b26772a2357bc4aa6a24ec6b4e499d3cc459 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-18T16:49:36.142Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-18T16:49:36.247Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-18T16:49:36.280Z] ========================================================= [2021-05-18T16:49:36.280Z] EdgeX Global Pipelines Version Info [2021-05-18T16:49:36.280Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-18T16:49:37.797Z] ------------------- [2021-05-18T16:49:37.798Z] stable info: [2021-05-18T16:49:37.798Z] ------------------- [2021-05-18T16:49:37.798Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-18T16:49:37.798Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-18T16:49:37.798Z] Message: update stable to v1.0.192 [2021-05-18T16:49:38.374Z] ------------------- [2021-05-18T16:49:38.375Z] experimental info: [2021-05-18T16:49:38.375Z] ------------------- [2021-05-18T16:49:38.375Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-18T16:49:38.375Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-18T16:49:38.375Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-18T16:49:38.496Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-18T16:49:38.520Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-18T16:49:38.543Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-18T16:49:38.566Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-18T16:49:38.591Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-18T16:49:38.615Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-18T16:49:38.639Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-18T16:49:38.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-18T16:49:38.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-18T16:49:38.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-18T16:49:38.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-18T16:49:38.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-18T16:49:38.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-18T16:49:38.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-18T16:49:38.842Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-18T16:49:38.865Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-18T16:49:38.887Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-18T16:49:38.910Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-18T16:49:38.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-18T16:49:38.956Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-18T16:49:38.980Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-18T16:49:39.006Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-18T16:49:39.062Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-18T16:49:39.088Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-18T16:49:39.127Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-18T16:49:39.150Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-18T16:49:39.173Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-208 [Pipeline] echo [2021-05-18T16:49:39.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-208 [Pipeline] echo [2021-05-18T16:49:39.218Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-208 [Pipeline] echo [2021-05-18T16:49:39.241Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 [Pipeline] echo [2021-05-18T16:49:39.263Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5c72d3 [Pipeline] echo [2021-05-18T16:49:39.286Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T16:49:39.374Z] provisioning config files... [2021-05-18T16:49:39.395Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-208@tmp/config260939894572209791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T16:49:39.725Z] ---> docker-login.sh [2021-05-18T16:49:39.725Z] nexus3.edgexfoundry.org:10001 [2021-05-18T16:49:39.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:49:39.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:49:39.989Z] Configure a credential helper to remove this warning. See [2021-05-18T16:49:39.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:49:39.989Z] [2021-05-18T16:49:39.989Z] Login Succeeded [2021-05-18T16:49:39.989Z] nexus3.edgexfoundry.org:10002 [2021-05-18T16:49:39.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:49:39.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:49:39.989Z] Configure a credential helper to remove this warning. See [2021-05-18T16:49:39.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:49:39.989Z] [2021-05-18T16:49:39.989Z] Login Succeeded [2021-05-18T16:49:39.989Z] nexus3.edgexfoundry.org:10003 [2021-05-18T16:49:40.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:49:40.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:49:40.251Z] Configure a credential helper to remove this warning. See [2021-05-18T16:49:40.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:49:40.251Z] [2021-05-18T16:49:40.251Z] Login Succeeded [2021-05-18T16:49:40.251Z] nexus3.edgexfoundry.org:10004 [2021-05-18T16:49:40.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:49:40.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:49:40.251Z] Configure a credential helper to remove this warning. See [2021-05-18T16:49:40.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:49:40.251Z] [2021-05-18T16:49:40.251Z] Login Succeeded [2021-05-18T16:49:40.251Z] docker.io [2021-05-18T16:49:40.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:49:40.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:49:40.781Z] Configure a credential helper to remove this warning. See [2021-05-18T16:49:40.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:49:40.781Z] [2021-05-18T16:49:40.781Z] Login Succeeded [2021-05-18T16:49:40.781Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T16:49:40.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T16:49:41.332Z] + git log --format=format:%s -1 e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 [Pipeline] echo [2021-05-18T16:49:41.368Z] GIT_COMMIT: e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8, Commit Message: refactor: Moved go mod tidy in dockerfile [Pipeline] echo [2021-05-18T16:49:41.384Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-18T16:49:41.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T16:49:41.988Z] [2021-05-18T16:49:41.988Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T16:49:42.320Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T16:49:42.320Z] latest: Pulling from edgex-devops/git-semver [2021-05-18T16:49:42.320Z] 31603596830f: Pulling fs layer [2021-05-18T16:49:42.320Z] 54011a49482f: Pulling fs layer [2021-05-18T16:49:42.320Z] a6820b24f6d8: Pulling fs layer [2021-05-18T16:49:42.320Z] f581987b2513: Pulling fs layer [2021-05-18T16:49:42.320Z] f581987b2513: Waiting [2021-05-18T16:49:42.320Z] 54011a49482f: Verifying Checksum [2021-05-18T16:49:42.320Z] 54011a49482f: Download complete [2021-05-18T16:49:42.320Z] 31603596830f: Verifying Checksum [2021-05-18T16:49:42.320Z] 31603596830f: Download complete [2021-05-18T16:49:42.583Z] f581987b2513: Verifying Checksum [2021-05-18T16:49:42.583Z] f581987b2513: Download complete [2021-05-18T16:49:42.583Z] a6820b24f6d8: Verifying Checksum [2021-05-18T16:49:42.583Z] a6820b24f6d8: Download complete [2021-05-18T16:49:42.583Z] 31603596830f: Pull complete [2021-05-18T16:49:42.844Z] 54011a49482f: Pull complete [2021-05-18T16:49:43.418Z] a6820b24f6d8: Pull complete [2021-05-18T16:49:43.418Z] f581987b2513: Pull complete [2021-05-18T16:49:43.418Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-18T16:49:43.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T16:49:43.418Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-18T16:49:43.510Z] prd-centos7-docker-4c-2g-6235 does not seem to be running inside a container [2021-05-18T16:49:43.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-208 -v /w/workspace/foundry_device-virtual-go_PR-208:/w/workspace/foundry_device-virtual-go_PR-208:rw,z -v /w/workspace/foundry_device-virtual-go_PR-208@tmp:/w/workspace/foundry_device-virtual-go_PR-208@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:10004/edgex-devops/git-semver:latest cat [2021-05-18T16:49:44.802Z] $ docker top dc05dc0e43ecdc446e60a28e61543ad84b17749b202cd9d86ddd21c705971b88 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T16:49:44.936Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T16:49:44.936Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T16:49:45.050Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T16:49:45.055Z] $ docker exec dc05dc0e43ecdc446e60a28e61543ad84b17749b202cd9d86ddd21c705971b88 ssh-agent [2021-05-18T16:49:45.168Z] SSH_AUTH_SOCK=/tmp/ssh-Xh6HGahXTV1R/agent.14 [2021-05-18T16:49:45.168Z] SSH_AGENT_PID=20 [2021-05-18T16:49:45.176Z] Running ssh-add (command line suppressed) [2021-05-18T16:49:45.279Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_3753116624848491725.key (/w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_3753116624848491725.key) [2021-05-18T16:49:45.293Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T16:49:45.602Z] + git tag --points-at HEAD [Pipeline] } [2021-05-18T16:49:45.619Z] $ docker exec --env ******** --env ******** dc05dc0e43ecdc446e60a28e61543ad84b17749b202cd9d86ddd21c705971b88 ssh-agent -k [2021-05-18T16:49:45.716Z] unset SSH_AUTH_SOCK; [2021-05-18T16:49:45.717Z] unset SSH_AGENT_PID; [2021-05-18T16:49:45.717Z] echo Agent pid 20 killed; [2021-05-18T16:49:45.728Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-18T16:49:45.777Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T16:49:45.777Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T16:49:45.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T16:49:45.901Z] $ docker exec dc05dc0e43ecdc446e60a28e61543ad84b17749b202cd9d86ddd21c705971b88 ssh-agent [2021-05-18T16:49:46.012Z] SSH_AUTH_SOCK=/tmp/ssh-AMI5207zSqru/agent.53 [2021-05-18T16:49:46.012Z] SSH_AGENT_PID=60 [2021-05-18T16:49:46.018Z] Running ssh-add (command line suppressed) [2021-05-18T16:49:46.118Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_8271843359142028705.key (/w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_8271843359142028705.key) [2021-05-18T16:49:46.131Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T16:49:46.430Z] + git semver init [2021-05-18T16:49:46.430Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T16:49:46.430Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-208/.git [2021-05-18T16:49:46.431Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-208 [2021-05-18T16:49:46.431Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T16:49:46.431Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T16:49:46.431Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T16:49:46.431Z] # $SEMVER_BRANCH = PR-208 [2021-05-18T16:49:46.431Z] # $SEMVER_TEMP = /tmp/semver-273610318 [2021-05-18T16:49:46.431Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-18T16:49:47.387Z] # '/tmp/semver-273610318' -> '/w/workspace/foundry_device-virtual-go_PR-208/.semver' [2021-05-18T16:49:47.387Z] # -> Force: false [2021-05-18T16:49:47.387Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-208/.semver [Pipeline] } [2021-05-18T16:49:47.400Z] $ docker exec --env ******** --env ******** dc05dc0e43ecdc446e60a28e61543ad84b17749b202cd9d86ddd21c705971b88 ssh-agent -k [2021-05-18T16:49:47.494Z] unset SSH_AUTH_SOCK; [2021-05-18T16:49:47.494Z] unset SSH_AGENT_PID; [2021-05-18T16:49:47.494Z] echo Agent pid 60 killed; [2021-05-18T16:49:47.504Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T16:49:47.869Z] + git semver [Pipeline] } [2021-05-18T16:49:47.889Z] $ docker stop --time=1 dc05dc0e43ecdc446e60a28e61543ad84b17749b202cd9d86ddd21c705971b88 [2021-05-18T16:49:49.266Z] $ docker rm -f dc05dc0e43ecdc446e60a28e61543ad84b17749b202cd9d86ddd21c705971b88 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T16:49:49.638Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-18T16:49:49.926Z] Stashed 1 file(s) [Pipeline] echo [2021-05-18T16:49:49.931Z] [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-18T16:50:05.293Z] Still waiting to schedule task [2021-05-18T16:50:05.293Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-18T16:50:05.296Z] Still waiting to schedule task [2021-05-18T16:50:05.297Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-18T16:51:02.190Z] Running on prd-centos7-docker-4c-2g-6296 in /w/workspace/foundry_device-virtual-go_PR-208 [Pipeline] { [Pipeline] ws [2021-05-18T16:51:02.207Z] Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout [2021-05-18T16:51:02.305Z] Selected Git installation does not exist. Using Default [2021-05-18T16:51:02.306Z] The recommended git tool is: NONE [2021-05-18T16:51:04.705Z] using credential edgex-jenkins-ssh [2021-05-18T16:51:04.721Z] Cloning the remote Git repository [2021-05-18T16:51:04.748Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-18T16:51:04.876Z] > git init /w/workspace/device-virtual-go/5 # timeout=10 [2021-05-18T16:51:04.921Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-18T16:51:04.921Z] > git --version # timeout=10 [2021-05-18T16:51:04.932Z] > git --version # 'git version 2.24.4' [2021-05-18T16:51:04.932Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T16:51:04.963Z] [INFO] Currently running in a labeled security context [2021-05-18T16:51:04.964Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-18T16:51:04.964Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/5@tmp/jenkins-gitclient-ssh1563248939664238064.key [2021-05-18T16:51:04.984Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T16:51:06.329Z] Merging remotes/origin/master commit 702ee4ef1a6f7523fa240909d56a13b89c8d46ac into PR head commit e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 [2021-05-18T16:51:06.427Z] Merge succeeded, producing e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 [2021-05-18T16:51:06.427Z] Checking out Revision e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 (PR-208) [2021-05-18T16:51:05.827Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-18T16:51:05.838Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T16:51:05.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-18T16:51:05.865Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-18T16:51:05.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T16:51:05.867Z] [INFO] Currently running in a labeled security context [2021-05-18T16:51:05.867Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-18T16:51:05.867Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/5@tmp/jenkins-gitclient-ssh4685663781426457942.key [2021-05-18T16:51:05.878Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-18T16:51:06.339Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T16:51:06.351Z] > git checkout -f e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 # timeout=10 [2021-05-18T16:51:06.388Z] > git remote # timeout=10 [2021-05-18T16:51:06.394Z] > git config --get remote.origin.url # timeout=10 [2021-05-18T16:51:06.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T16:51:06.401Z] [INFO] Currently running in a labeled security context [2021-05-18T16:51:06.401Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-18T16:51:06.401Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/5@tmp/jenkins-gitclient-ssh7154357825378600308.key [2021-05-18T16:51:06.406Z] > git merge 702ee4ef1a6f7523fa240909d56a13b89c8d46ac # timeout=10 [2021-05-18T16:51:06.419Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-18T16:51:06.440Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T16:51:06.452Z] > git checkout -f e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 # timeout=10 [2021-05-18T16:51:10.063Z] Commit message: "refactor: Moved go mod tidy in dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T16:51:11.167Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-18T16:51:11.492Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-18T16:51:11.793Z] + true [2021-05-18T16:51:11.794Z] + sudo service docker restart [2021-05-18T16:51:11.794Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T16:51:30.010Z] provisioning config files... [2021-05-18T16:51:30.027Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config2138165722292402785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T16:51:30.387Z] ---> docker-login.sh [2021-05-18T16:51:30.387Z] nexus3.edgexfoundry.org:10001 [2021-05-18T16:51:30.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:51:30.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:51:30.651Z] Configure a credential helper to remove this warning. See [2021-05-18T16:51:30.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:51:30.651Z] [2021-05-18T16:51:30.651Z] Login Succeeded [2021-05-18T16:51:30.651Z] nexus3.edgexfoundry.org:10002 [2021-05-18T16:51:30.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:51:30.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:51:30.651Z] Configure a credential helper to remove this warning. See [2021-05-18T16:51:30.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:51:30.651Z] [2021-05-18T16:51:30.651Z] Login Succeeded [2021-05-18T16:51:30.651Z] nexus3.edgexfoundry.org:10003 [2021-05-18T16:51:30.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:51:30.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:51:30.913Z] Configure a credential helper to remove this warning. See [2021-05-18T16:51:30.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:51:30.913Z] [2021-05-18T16:51:30.913Z] Login Succeeded [2021-05-18T16:51:30.913Z] nexus3.edgexfoundry.org:10004 [2021-05-18T16:51:30.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:51:31.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:51:31.177Z] Configure a credential helper to remove this warning. See [2021-05-18T16:51:31.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:51:31.177Z] [2021-05-18T16:51:31.177Z] Login Succeeded [2021-05-18T16:51:31.177Z] docker.io [2021-05-18T16:51:31.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T16:51:31.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T16:51:31.439Z] Configure a credential helper to remove this warning. See [2021-05-18T16:51:31.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T16:51:31.439Z] [2021-05-18T16:51:31.439Z] Login Succeeded [2021-05-18T16:51:31.439Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T16:51:31.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-18T16:51:31.627Z] ========================================================= [2021-05-18T16:51:31.627Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-18T16:51:31.627Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-18T16:51:31.956Z] + 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-18T16:51:31.956Z] Sending build context to Docker daemon 8.604MB [2021-05-18T16:51:31.956Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T16:51:31.956Z] Step 2/8 : FROM ${BASE} [2021-05-18T16:51:32.226Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-18T16:51:32.226Z] 540db60ca938: Pulling fs layer [2021-05-18T16:51:32.226Z] adcc1eea9eea: Pulling fs layer [2021-05-18T16:51:32.226Z] 4c4ab2625f07: Pulling fs layer [2021-05-18T16:51:32.226Z] 0510c868ecb4: Pulling fs layer [2021-05-18T16:51:32.226Z] afea3b2eda06: Pulling fs layer [2021-05-18T16:51:32.226Z] 7809a108b3ef: Pulling fs layer [2021-05-18T16:51:32.226Z] f706445af74f: Pulling fs layer [2021-05-18T16:51:32.226Z] 0510c868ecb4: Waiting [2021-05-18T16:51:32.226Z] afea3b2eda06: Waiting [2021-05-18T16:51:32.226Z] 7809a108b3ef: Waiting [2021-05-18T16:51:32.226Z] f706445af74f: Waiting [2021-05-18T16:51:32.226Z] 4c4ab2625f07: Verifying Checksum [2021-05-18T16:51:32.226Z] 4c4ab2625f07: Download complete [2021-05-18T16:51:32.226Z] adcc1eea9eea: Verifying Checksum [2021-05-18T16:51:32.226Z] adcc1eea9eea: Download complete [2021-05-18T16:51:32.226Z] afea3b2eda06: Verifying Checksum [2021-05-18T16:51:32.226Z] afea3b2eda06: Download complete [2021-05-18T16:51:32.226Z] 7809a108b3ef: Verifying Checksum [2021-05-18T16:51:32.226Z] 7809a108b3ef: Download complete [2021-05-18T16:51:32.226Z] 540db60ca938: Verifying Checksum [2021-05-18T16:51:32.226Z] 540db60ca938: Download complete [2021-05-18T16:51:32.489Z] 540db60ca938: Pull complete [2021-05-18T16:51:32.751Z] adcc1eea9eea: Pull complete [2021-05-18T16:51:32.751Z] 4c4ab2625f07: Pull complete [2021-05-18T16:51:33.699Z] f706445af74f: Verifying Checksum [2021-05-18T16:51:33.699Z] f706445af74f: Download complete [2021-05-18T16:51:33.960Z] 0510c868ecb4: Download complete [2021-05-18T16:51:38.184Z] 0510c868ecb4: Pull complete [2021-05-18T16:51:38.184Z] afea3b2eda06: Pull complete [2021-05-18T16:51:38.184Z] 7809a108b3ef: Pull complete [2021-05-18T16:51:39.584Z] f706445af74f: Pull complete [2021-05-18T16:51:39.584Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-18T16:51:39.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-18T16:51:39.584Z] ---> b068be0155e3 [2021-05-18T16:51:39.584Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-18T16:51:43.822Z] ---> Running in e8b14c522111 [2021-05-18T16:51:43.822Z] Removing intermediate container e8b14c522111 [2021-05-18T16:51:43.822Z] ---> 71ae1ff31c95 [2021-05-18T16:51:43.822Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T16:51:43.822Z] ---> Running in db6830caf76d [2021-05-18T16:51:44.097Z] Removing intermediate container db6830caf76d [2021-05-18T16:51:44.097Z] ---> 27899f3c076d [2021-05-18T16:51:44.097Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-18T16:51:44.097Z] ---> Running in fd0e7b01f325 [2021-05-18T16:51:44.366Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-18T16:51:45.316Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-18T16:51:45.578Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-18T16:51:45.843Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-18T16:51:45.843Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-18T16:51:45.843Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-18T16:51:46.103Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-18T16:51:46.103Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-18T16:51:46.103Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-18T16:51:46.366Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-18T16:51:46.633Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-18T16:51:46.633Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-18T16:51:46.898Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-18T16:51:46.898Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-18T16:51:46.898Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-18T16:51:47.165Z] Executing busybox-1.32.1-r6.trigger [2021-05-18T16:51:47.165Z] OK: 156 MiB in 53 packages [2021-05-18T16:51:47.438Z] Removing intermediate container fd0e7b01f325 [2021-05-18T16:51:47.438Z] ---> a50aab35d542 [2021-05-18T16:51:47.438Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-18T16:51:47.438Z] ---> Running in 2823ae88433e [2021-05-18T16:51:47.714Z] Removing intermediate container 2823ae88433e [2021-05-18T16:51:47.714Z] ---> 9ce482c893c8 [2021-05-18T16:51:47.714Z] Step 7/8 : COPY . . [2021-05-18T16:51:47.977Z] ---> 326ada407744 [2021-05-18T16:51:47.977Z] Step 8/8 : RUN go mod download [2021-05-18T16:51:48.247Z] ---> Running in e9b51702a67b [2021-05-18T16:51:48.823Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.58 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2021-05-18T16:51:49.087Z] 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-18T16:51:49.980Z] ---> job-cost.sh [2021-05-18T16:51:49.980Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tnYQ [2021-05-18T16:52:00.016Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-18T16:52:14.958Z] lf-activate-venv(): INFO: Adding /tmp/venv-tnYQ/bin to PATH [2021-05-18T16:52:14.958Z] INFO: No Stack... [2021-05-18T16:52:14.958Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-18T16:52:14.958Z] INFO: Archiving Costs [Pipeline] sh [2021-05-18T16:52:15.264Z] + cat /w/workspace/device-virtual-go/5/archives/cost.csv [2021-05-18T16:52:15.264Z] + cut -d, -f6 [Pipeline] lock [2021-05-18T16:52:15.298Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-208-5-stack-cost] [2021-05-18T16:52:15.313Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-208-5-stack-cost] did not exist. Created. [2021-05-18T16:52:15.313Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-208-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T16:52:15.640Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-18T16:52:15.877Z] Stashed 1 file(s) [Pipeline] } [2021-05-18T16:52:15.887Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-208-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-18T16:52:16.130Z] Failed in branch amd64 [2021-05-18T19:01:47.401Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14772 in /w/workspace/foundry_device-virtual-go_PR-208 [Pipeline] { [Pipeline] ws [2021-05-18T19:01:47.437Z] Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout [2021-05-18T19:01:47.698Z] Selected Git installation does not exist. Using Default [2021-05-18T19:01:47.698Z] The recommended git tool is: NONE [2021-05-18T19:01:54.611Z] using credential edgex-jenkins-ssh [2021-05-18T19:01:54.634Z] Cloning the remote Git repository [2021-05-18T19:01:54.749Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-18T19:01:54.909Z] > git init /w/workspace/device-virtual-go/5 # timeout=10 [2021-05-18T19:01:55.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-18T19:01:55.015Z] > git --version # timeout=10 [2021-05-18T19:01:55.040Z] > git --version # 'git version 2.17.1' [2021-05-18T19:01:55.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T19:01:55.115Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T19:01:57.815Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-18T19:01:57.836Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T19:01:57.867Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-18T19:01:57.906Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-18T19:01:57.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T19:01:57.918Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-18T19:01:58.530Z] Merging remotes/origin/master commit 702ee4ef1a6f7523fa240909d56a13b89c8d46ac into PR head commit e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 [2021-05-18T19:01:58.737Z] Merge succeeded, producing e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 [2021-05-18T19:01:58.738Z] Checking out Revision e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 (PR-208) [2021-05-18T19:01:58.558Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T19:01:58.571Z] > git checkout -f e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 # timeout=10 [2021-05-18T19:01:58.649Z] > git remote # timeout=10 [2021-05-18T19:01:58.667Z] > git config --get remote.origin.url # timeout=10 [2021-05-18T19:01:58.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T19:01:58.694Z] > git merge 702ee4ef1a6f7523fa240909d56a13b89c8d46ac # timeout=10 [2021-05-18T19:01:58.716Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-18T19:01:58.744Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T19:01:58.754Z] > git checkout -f e5c72d3d1df8e55c1271cfe1eb7953859d2fdab8 # timeout=10 [2021-05-18T19:02:02.985Z] Commit message: "refactor: Moved go mod tidy in dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T19:02:04.324Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-18T19:02:04.832Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-18T19:02:05.185Z] + sudo service docker restart [2021-05-18T19:02:05.185Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T19:02:23.577Z] provisioning config files... [2021-05-18T19:02:23.605Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config3712954922752419265tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:02:24.005Z] ---> docker-login.sh [2021-05-18T19:02:24.006Z] nexus3.edgexfoundry.org:10001 [2021-05-18T19:02:25.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T19:02:25.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T19:02:25.275Z] Configure a credential helper to remove this warning. See [2021-05-18T19:02:25.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T19:02:25.275Z] [2021-05-18T19:02:25.275Z] Login Succeeded [2021-05-18T19:02:25.275Z] nexus3.edgexfoundry.org:10002 [2021-05-18T19:02:25.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T19:02:26.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T19:02:26.148Z] Configure a credential helper to remove this warning. See [2021-05-18T19:02:26.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T19:02:26.148Z] [2021-05-18T19:02:26.148Z] Login Succeeded [2021-05-18T19:02:26.148Z] nexus3.edgexfoundry.org:10003 [2021-05-18T19:02:26.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T19:02:26.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T19:02:26.698Z] Configure a credential helper to remove this warning. See [2021-05-18T19:02:26.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T19:02:26.698Z] [2021-05-18T19:02:26.698Z] Login Succeeded [2021-05-18T19:02:26.698Z] nexus3.edgexfoundry.org:10004 [2021-05-18T19:02:26.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T19:02:27.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T19:02:27.247Z] Configure a credential helper to remove this warning. See [2021-05-18T19:02:27.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T19:02:27.247Z] [2021-05-18T19:02:27.247Z] Login Succeeded [2021-05-18T19:02:27.247Z] docker.io [2021-05-18T19:02:27.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T19:02:28.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T19:02:28.125Z] Configure a credential helper to remove this warning. See [2021-05-18T19:02:28.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T19:02:28.125Z] [2021-05-18T19:02:28.125Z] Login Succeeded [2021-05-18T19:02:28.126Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T19:02:28.143Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-18T19:02:28.465Z] ========================================================= [2021-05-18T19:02:28.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-18T19:02:28.466Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-18T19:02:28.811Z] + 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-18T19:02:29.418Z] Sending build context to Docker daemon 8.603MB [2021-05-18T19:02:29.418Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T19:02:29.418Z] Step 2/8 : FROM ${BASE} [2021-05-18T19:02:29.418Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-18T19:02:29.418Z] 595b0fe564bb: Pulling fs layer [2021-05-18T19:02:29.418Z] 7186ed65a4f7: Pulling fs layer [2021-05-18T19:02:29.418Z] 316046926c0a: Pulling fs layer [2021-05-18T19:02:29.418Z] 4ebd0625c992: Pulling fs layer [2021-05-18T19:02:29.418Z] 207e8628e3a3: Pulling fs layer [2021-05-18T19:02:29.418Z] c791037a9be2: Pulling fs layer [2021-05-18T19:02:29.418Z] ffd874e62e21: Pulling fs layer [2021-05-18T19:02:29.418Z] 4ebd0625c992: Waiting [2021-05-18T19:02:29.418Z] 207e8628e3a3: Waiting [2021-05-18T19:02:29.418Z] c791037a9be2: Waiting [2021-05-18T19:02:29.418Z] ffd874e62e21: Waiting [2021-05-18T19:02:29.693Z] 316046926c0a: Verifying Checksum [2021-05-18T19:02:29.693Z] 316046926c0a: Download complete [2021-05-18T19:02:29.693Z] 7186ed65a4f7: Verifying Checksum [2021-05-18T19:02:29.693Z] 7186ed65a4f7: Download complete [2021-05-18T19:02:29.693Z] 207e8628e3a3: Download complete [2021-05-18T19:02:29.693Z] c791037a9be2: Verifying Checksum [2021-05-18T19:02:29.693Z] c791037a9be2: Download complete [2021-05-18T19:02:29.693Z] 595b0fe564bb: Download complete [2021-05-18T19:02:30.293Z] 595b0fe564bb: Pull complete [2021-05-18T19:02:30.911Z] 7186ed65a4f7: Pull complete [2021-05-18T19:02:31.508Z] 316046926c0a: Pull complete [2021-05-18T19:02:32.493Z] ffd874e62e21: Verifying Checksum [2021-05-18T19:02:32.493Z] ffd874e62e21: Download complete [2021-05-18T19:02:35.878Z] 4ebd0625c992: Verifying Checksum [2021-05-18T19:02:35.878Z] 4ebd0625c992: Download complete [2021-05-18T19:02:46.050Z] 4ebd0625c992: Pull complete [2021-05-18T19:02:46.050Z] 207e8628e3a3: Pull complete [2021-05-18T19:02:46.323Z] c791037a9be2: Pull complete [2021-05-18T19:02:51.036Z] ffd874e62e21: Pull complete [2021-05-18T19:02:51.036Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-18T19:02:51.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-18T19:02:51.036Z] ---> cfc18b08335c [2021-05-18T19:02:51.036Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-18T19:02:51.656Z] ---> Running in 1975763f4aed [2021-05-18T19:02:51.928Z] Removing intermediate container 1975763f4aed [2021-05-18T19:02:51.928Z] ---> afacab68a354 [2021-05-18T19:02:51.928Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T19:02:52.199Z] ---> Running in 104029fc521f [2021-05-18T19:02:54.828Z] Removing intermediate container 104029fc521f [2021-05-18T19:02:54.828Z] ---> 3621180500f1 [2021-05-18T19:02:54.828Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-18T19:02:54.828Z] ---> Running in 8648008dc7ad [2021-05-18T19:02:55.808Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-18T19:02:56.784Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-18T19:02:57.771Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-18T19:02:57.771Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-18T19:02:57.771Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-18T19:02:58.046Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-18T19:02:58.046Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-18T19:02:58.338Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-18T19:02:58.338Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-18T19:02:58.937Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-18T19:02:58.937Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-18T19:02:58.937Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-18T19:02:58.937Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-18T19:02:59.210Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-18T19:02:59.210Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-18T19:02:59.210Z] Executing busybox-1.32.1-r6.trigger [2021-05-18T19:02:59.484Z] OK: 145 MiB in 53 packages [2021-05-18T19:03:00.939Z] Removing intermediate container 8648008dc7ad [2021-05-18T19:03:00.939Z] ---> 3758946dab6e [2021-05-18T19:03:00.939Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-18T19:03:00.939Z] ---> Running in 6edb6f931737 [2021-05-18T19:03:01.540Z] Removing intermediate container 6edb6f931737 [2021-05-18T19:03:01.540Z] ---> 545b9f709d44 [2021-05-18T19:03:01.540Z] Step 7/8 : COPY . . [2021-05-18T19:03:03.016Z] ---> 0d9d6fa02e9f [2021-05-18T19:03:03.017Z] Step 8/8 : RUN go mod download [2021-05-18T19:03:03.295Z] ---> Running in 38a62bedc2c6 [2021-05-18T19:03:05.927Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.58 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2021-05-18T19:03:05.927Z] 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-05-18T19:03:06.733Z] ---> job-cost.sh [2021-05-18T19:03:06.734Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4yP1 [2021-05-18T19:03:53.699Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-18T19:06:00.566Z] lf-activate-venv(): INFO: Adding /tmp/venv-4yP1/bin to PATH [2021-05-18T19:06:00.566Z] INFO: No Stack... [2021-05-18T19:06:00.566Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-18T19:06:00.566Z] INFO: Archiving Costs [Pipeline] sh [2021-05-18T19:06:00.914Z] + cat /w/workspace/device-virtual-go/5/archives/cost.csv [2021-05-18T19:06:00.914Z] + cut -d, -f6 [Pipeline] lock [2021-05-18T19:06:00.980Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-208-5-stack-cost] [2021-05-18T19:06:01.014Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-208-5-stack-cost] did not exist. Created. [2021-05-18T19:06:01.015Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-208-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T19:06:01.395Z] /w/workspace/device-virtual-go/5@tmp/durable-a8991e0b/script.sh: 1: /w/workspace/device-virtual-go/5@tmp/durable-a8991e0b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-18T19:06:01.747Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-18T19:06:01.772Z] Warning: overwriting stash ‘stack-cost’ [2021-05-18T19:06:02.430Z] Stashed 1 file(s) [Pipeline] } [2021-05-18T19:06:02.449Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-208-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-18T19:06:02.657Z] 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-18T19:06:04.331Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:06:04.939Z] ---> package-listing.sh [2021-05-18T19:06:04.939Z] ++ facter osfamily [2021-05-18T19:06:04.939Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-18T19:06:05.204Z] + OS_FAMILY=redhat [2021-05-18T19:06:05.204Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-208 [2021-05-18T19:06:05.204Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-18T19:06:05.204Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-18T19:06:05.204Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-18T19:06:05.204Z] + PACKAGES=/tmp/packages_start.txt [2021-05-18T19:06:05.204Z] + '[' /w/workspace/foundry_device-virtual-go_PR-208 ']' [2021-05-18T19:06:05.204Z] + PACKAGES=/tmp/packages_end.txt [2021-05-18T19:06:05.204Z] + case "${OS_FAMILY}" in [2021-05-18T19:06:05.204Z] + sort [2021-05-18T19:06:05.204Z] + rpm -qa [2021-05-18T19:06:05.781Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-18T19:06:05.781Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-18T19:06:05.781Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-18T19:06:06.043Z] + '[' /w/workspace/foundry_device-virtual-go_PR-208 ']' [2021-05-18T19:06:06.043Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-208/archives/ [2021-05-18T19:06:06.043Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-208/archives/ [Pipeline] echo [2021-05-18T19:06:06.056Z] 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-208/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-18T19:06:06.352Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-18T19:06:06.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T19:06:06.921Z] [2021-05-18T19:06:06.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-18T19:06:07.240Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T19:06:07.240Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-18T19:06:07.240Z] df20fa9351a1: Pulling fs layer [2021-05-18T19:06:07.241Z] 36b3adc4ff6f: Pulling fs layer [2021-05-18T19:06:07.241Z] 8ad3a11d3b57: Pulling fs layer [2021-05-18T19:06:07.241Z] 46f8f816bc3b: Pulling fs layer [2021-05-18T19:06:07.241Z] 93b61091891f: Pulling fs layer [2021-05-18T19:06:07.241Z] 93b9cdb0e59b: Pulling fs layer [2021-05-18T19:06:07.241Z] 5e14af77c1be: Pulling fs layer [2021-05-18T19:06:07.241Z] 01666e4c0597: Pulling fs layer [2021-05-18T19:06:07.241Z] aa168da1d23b: Pulling fs layer [2021-05-18T19:06:07.241Z] 93b9cdb0e59b: Waiting [2021-05-18T19:06:07.241Z] 5e14af77c1be: Waiting [2021-05-18T19:06:07.241Z] 01666e4c0597: Waiting [2021-05-18T19:06:07.241Z] aa168da1d23b: Waiting [2021-05-18T19:06:07.241Z] 46f8f816bc3b: Waiting [2021-05-18T19:06:07.241Z] 93b61091891f: Waiting [2021-05-18T19:06:07.241Z] 36b3adc4ff6f: Verifying Checksum [2021-05-18T19:06:07.241Z] 36b3adc4ff6f: Download complete [2021-05-18T19:06:07.241Z] 46f8f816bc3b: Verifying Checksum [2021-05-18T19:06:07.241Z] 46f8f816bc3b: Download complete [2021-05-18T19:06:07.503Z] df20fa9351a1: Verifying Checksum [2021-05-18T19:06:07.503Z] df20fa9351a1: Download complete [2021-05-18T19:06:07.503Z] 93b9cdb0e59b: Verifying Checksum [2021-05-18T19:06:07.503Z] 93b9cdb0e59b: Download complete [2021-05-18T19:06:07.503Z] 5e14af77c1be: Verifying Checksum [2021-05-18T19:06:07.503Z] 5e14af77c1be: Download complete [2021-05-18T19:06:07.503Z] 01666e4c0597: Verifying Checksum [2021-05-18T19:06:07.503Z] 01666e4c0597: Download complete [2021-05-18T19:06:07.503Z] 8ad3a11d3b57: Verifying Checksum [2021-05-18T19:06:07.503Z] 8ad3a11d3b57: Download complete [2021-05-18T19:06:07.771Z] df20fa9351a1: Pull complete [2021-05-18T19:06:07.771Z] 93b61091891f: Download complete [2021-05-18T19:06:07.771Z] 36b3adc4ff6f: Pull complete [2021-05-18T19:06:08.355Z] 8ad3a11d3b57: Pull complete [2021-05-18T19:06:08.615Z] 46f8f816bc3b: Pull complete [2021-05-18T19:06:08.874Z] 93b61091891f: Pull complete [2021-05-18T19:06:09.137Z] aa168da1d23b: Verifying Checksum [2021-05-18T19:06:09.137Z] aa168da1d23b: Download complete [2021-05-18T19:06:09.137Z] 93b9cdb0e59b: Pull complete [2021-05-18T19:06:09.405Z] 5e14af77c1be: Pull complete [2021-05-18T19:06:09.405Z] 01666e4c0597: Pull complete [2021-05-18T19:06:14.752Z] aa168da1d23b: Pull complete [2021-05-18T19:06:15.019Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-18T19:06:15.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T19:06:15.019Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-18T19:06:15.108Z] prd-centos7-docker-4c-2g-6235 does not seem to be running inside a container [2021-05-18T19:06:15.146Z] $ 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-208/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-208 -v /w/workspace/foundry_device-virtual-go_PR-208:/w/workspace/foundry_device-virtual-go_PR-208:rw,z -v /w/workspace/foundry_device-virtual-go_PR-208@tmp:/w/workspace/foundry_device-virtual-go_PR-208@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-18T19:06:25.482Z] $ docker top 95d0b891eb7019c3a599f2f31e194a6739b8231247bb80b1256ae7c1ac7ecedf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T19:06:25.852Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-18T19:06:26.153Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-18T19:06:26.450Z] + ls /var/log/sa-host [2021-05-18T19:06:26.450Z] + sadf -c /var/log/sa-host/sa05 [2021-05-18T19:06:26.450Z] file_magic: OK [2021-05-18T19:06:26.450Z] HZ: Using current value: 100 [2021-05-18T19:06:26.450Z] file_header: OK [2021-05-18T19:06:26.450Z] 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-18T19:06:26.450Z] Statistics: [2021-05-18T19:06:26.450Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-18T19:06:26.450Z] File successfully converted to sysstat format version 12.2.1 [2021-05-18T19:06:26.450Z] + sadf -c /var/log/sa-host/sa18 [2021-05-18T19:06:26.450Z] file_magic: OK [2021-05-18T19:06:26.450Z] HZ: Using current value: 100 [2021-05-18T19:06:26.450Z] file_header: OK [2021-05-18T19:06:26.450Z] 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-18T19:06:26.450Z] Statistics: [2021-05-18T19:06:26.451Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-18T19:06:26.451Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T19:06:26.651Z] provisioning config files... [2021-05-18T19:06:26.662Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-208@tmp/config4773625237701332265tmp [Pipeline] { [Pipeline] echo [2021-05-18T19:06:26.687Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:06:26.996Z] ---> create-netrc.sh [Pipeline] } [2021-05-18T19:06:27.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-18T19:06:27.032Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:06:27.337Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-18T19:06:27.354Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:06:27.657Z] ---> sudo-logs.sh [2021-05-18T19:06:27.657Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-18T19:06:27.694Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:06:27.994Z] ---> job-cost.sh [2021-05-18T19:06:27.994Z] lf-activate-venv: SKIPPING [2021-05-18T19:06:27.994Z] DEBUG: total: 0.18000000715255737 [2021-05-18T19:06:27.994Z] INFO: Retrieving Stack Cost... [2021-05-18T19:06:28.939Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-18T19:06:29.511Z] INFO: Archiving Costs [Pipeline] echo [2021-05-18T19:06:29.525Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T19:06:29.831Z] ---> logs-deploy.sh [2021-05-18T19:06:29.831Z] lf-activate-venv: SKIPPING [2021-05-18T19:06:29.831Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-208/5 [2021-05-18T19:06:29.831Z] INFO: archiving workspace using pattern(s): [2021-05-18T19:06:30.797Z] Archives upload complete. [2021-05-18T19:06:30.797Z] INFO: archiving logs to Nexus