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 5ed0bc6c495197241639c0668bdd50184b82949f+702ee4ef1a6f7523fa240909d56a13b89c8d46ac (502250b153cd5e10fb38e190040b1ae54d95f4e2) 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-ssh7517939216604729648.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-ssh7290683016244135108.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-ssh9178750579769503284.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-ssh3895684325843606266.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-ssh4949003913991239161.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-442 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.3' 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-ssh3243795492264306204.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-ssh6106763517102975586.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 5ed0bc6c495197241639c0668bdd50184b82949f Merge succeeded, producing 5ed0bc6c495197241639c0668bdd50184b82949f Checking out Revision 5ed0bc6c495197241639c0668bdd50184b82949f (PR-208) > git config core.sparsecheckout # timeout=10 > git checkout -f 5ed0bc6c495197241639c0668bdd50184b82949f # 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-ssh6523472252263716404.key > git merge 702ee4ef1a6f7523fa240909d56a13b89c8d46ac # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ed0bc6c495197241639c0668bdd50184b82949f # timeout=10 Commit message: "refactor: Update for new service key names and overides for hypen to underscore" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-17T19:17:10.777Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-17T19:17:10.878Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-17T19:17:10.909Z] ========================================================= [2021-05-17T19:17:10.909Z] EdgeX Global Pipelines Version Info [2021-05-17T19:17:10.909Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 225b20e37c4eb252b79ed5f9d6fcd3c0c3f9721d # timeout=10 [2021-05-17T19:17:12.361Z] ------------------- [2021-05-17T19:17:12.361Z] stable info: [2021-05-17T19:17:12.361Z] ------------------- [2021-05-17T19:17:12.361Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-17T19:17:12.361Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-17T19:17:12.361Z] Message: update stable to v1.0.192 [2021-05-17T19:17:13.324Z] ------------------- [2021-05-17T19:17:13.324Z] experimental info: [2021-05-17T19:17:13.324Z] ------------------- [2021-05-17T19:17:13.324Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-17T19:17:13.324Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-17T19:17:13.324Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-17T19:17:13.468Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-17T19:17:13.491Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-17T19:17:13.516Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-17T19:17:13.539Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-17T19:17:13.562Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-17T19:17:13.584Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-17T19:17:13.607Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-17T19:17:13.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-17T19:17:13.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-17T19:17:13.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-17T19:17:13.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-17T19:17:13.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-17T19:17:13.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-17T19:17:13.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-17T19:17:13.793Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-17T19:17:13.845Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-17T19:17:13.869Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-17T19:17:13.893Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-17T19:17:13.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-17T19:17:13.941Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-17T19:17:13.966Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-17T19:17:13.997Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-17T19:17:14.025Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-17T19:17:14.056Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-17T19:17:14.084Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-17T19:17:14.110Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-17T19:17:14.135Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-208 [Pipeline] echo [2021-05-17T19:17:14.179Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-208 [Pipeline] echo [2021-05-17T19:17:14.213Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-208 [Pipeline] echo [2021-05-17T19:17:14.248Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ed0bc6c495197241639c0668bdd50184b82949f [Pipeline] echo [2021-05-17T19:17:14.273Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ed0bc6 [Pipeline] echo [2021-05-17T19:17:14.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T19:17:14.375Z] provisioning config files... [2021-05-17T19:17:14.397Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-208@tmp/config4427264985915065202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T19:17:14.725Z] ---> docker-login.sh [2021-05-17T19:17:14.725Z] nexus3.edgexfoundry.org:10001 [2021-05-17T19:17:14.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:17:15.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:17:15.254Z] Configure a credential helper to remove this warning. See [2021-05-17T19:17:15.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:17:15.254Z] [2021-05-17T19:17:15.254Z] Login Succeeded [2021-05-17T19:17:15.254Z] nexus3.edgexfoundry.org:10002 [2021-05-17T19:17:15.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:17:15.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:17:15.518Z] Configure a credential helper to remove this warning. See [2021-05-17T19:17:15.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:17:15.518Z] [2021-05-17T19:17:15.518Z] Login Succeeded [2021-05-17T19:17:15.518Z] nexus3.edgexfoundry.org:10003 [2021-05-17T19:17:15.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:17:15.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:17:15.518Z] Configure a credential helper to remove this warning. See [2021-05-17T19:17:15.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:17:15.518Z] [2021-05-17T19:17:15.518Z] Login Succeeded [2021-05-17T19:17:15.518Z] nexus3.edgexfoundry.org:10004 [2021-05-17T19:17:15.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:17:15.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:17:15.781Z] Configure a credential helper to remove this warning. See [2021-05-17T19:17:15.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:17:15.781Z] [2021-05-17T19:17:15.781Z] Login Succeeded [2021-05-17T19:17:15.781Z] docker.io [2021-05-17T19:17:15.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:17:16.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:17:16.357Z] Configure a credential helper to remove this warning. See [2021-05-17T19:17:16.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:17:16.357Z] [2021-05-17T19:17:16.357Z] Login Succeeded [2021-05-17T19:17:16.357Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T19:17:16.366Z] 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-17T19:17:16.890Z] + git log --format=format:%s -1 5ed0bc6c495197241639c0668bdd50184b82949f [Pipeline] echo [2021-05-17T19:17:16.934Z] GIT_COMMIT: 5ed0bc6c495197241639c0668bdd50184b82949f, Commit Message: refactor: Update for new service key names and overides for hypen to underscore [Pipeline] echo [2021-05-17T19:17:16.947Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-17T19:17:17.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T19:17:17.993Z] [2021-05-17T19:17:17.993Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T19:17:18.316Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T19:17:18.317Z] latest: Pulling from edgex-devops/git-semver [2021-05-17T19:17:18.317Z] 31603596830f: Pulling fs layer [2021-05-17T19:17:18.317Z] 54011a49482f: Pulling fs layer [2021-05-17T19:17:18.317Z] a6820b24f6d8: Pulling fs layer [2021-05-17T19:17:18.317Z] f581987b2513: Pulling fs layer [2021-05-17T19:17:18.317Z] f581987b2513: Waiting [2021-05-17T19:17:18.317Z] 54011a49482f: Download complete [2021-05-17T19:17:18.317Z] 31603596830f: Verifying Checksum [2021-05-17T19:17:18.317Z] 31603596830f: Download complete [2021-05-17T19:17:18.584Z] a6820b24f6d8: Verifying Checksum [2021-05-17T19:17:18.584Z] a6820b24f6d8: Download complete [2021-05-17T19:17:18.584Z] f581987b2513: Verifying Checksum [2021-05-17T19:17:18.584Z] f581987b2513: Download complete [2021-05-17T19:17:18.847Z] 31603596830f: Pull complete [2021-05-17T19:17:19.109Z] 54011a49482f: Pull complete [2021-05-17T19:17:20.076Z] a6820b24f6d8: Pull complete [2021-05-17T19:17:20.076Z] f581987b2513: Pull complete [2021-05-17T19:17:20.076Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-17T19:17:20.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T19:17:20.076Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-17T19:17:20.181Z] prd-centos7-docker-4c-2g-442 does not seem to be running inside a container [2021-05-17T19:17:20.231Z] $ 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-17T19:17:22.338Z] $ docker top a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-17T19:17:22.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T19:17:22.583Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T19:17:22.803Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T19:17:22.807Z] $ docker exec a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 ssh-agent [2021-05-17T19:17:22.984Z] SSH_AUTH_SOCK=/tmp/ssh-Btte9o0ktum7/agent.12 [2021-05-17T19:17:22.984Z] SSH_AGENT_PID=18 [2021-05-17T19:17:22.999Z] Running ssh-add (command line suppressed) [2021-05-17T19:17:23.130Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_2685006479730726413.key (/w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_2685006479730726413.key) [2021-05-17T19:17:23.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T19:17:23.491Z] + git tag --points-at HEAD [Pipeline] } [2021-05-17T19:17:23.513Z] $ docker exec --env ******** --env ******** a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 ssh-agent -k [2021-05-17T19:17:23.622Z] unset SSH_AUTH_SOCK; [2021-05-17T19:17:23.623Z] unset SSH_AGENT_PID; [2021-05-17T19:17:23.623Z] echo Agent pid 18 killed; [2021-05-17T19:17:23.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-17T19:17:23.712Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T19:17:23.712Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T19:17:23.882Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T19:17:23.887Z] $ docker exec a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 ssh-agent [2021-05-17T19:17:24.047Z] SSH_AUTH_SOCK=/tmp/ssh-Gh4ZQ5WaIian/agent.46 [2021-05-17T19:17:24.047Z] SSH_AGENT_PID=51 [2021-05-17T19:17:24.056Z] Running ssh-add (command line suppressed) [2021-05-17T19:17:24.174Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_7330481267136995223.key (/w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_7330481267136995223.key) [2021-05-17T19:17:24.225Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T19:17:24.528Z] + git semver init [2021-05-17T19:17:24.528Z] # -> Open(): unable to determine branch for HEAD [2021-05-17T19:17:24.528Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-208/.git [2021-05-17T19:17:24.528Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-208 [2021-05-17T19:17:24.528Z] # $SEMVER_REMOTE_NAME = origin [2021-05-17T19:17:24.528Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-17T19:17:24.528Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-17T19:17:24.528Z] # $SEMVER_BRANCH = PR-208 [2021-05-17T19:17:24.528Z] # $SEMVER_TEMP = /tmp/semver-058472427 [2021-05-17T19:17:24.528Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-17T19:17:25.938Z] # '/tmp/semver-058472427' -> '/w/workspace/foundry_device-virtual-go_PR-208/.semver' [2021-05-17T19:17:25.938Z] # -> Force: false [2021-05-17T19:17:25.938Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-208/.semver [Pipeline] } [2021-05-17T19:17:25.951Z] $ docker exec --env ******** --env ******** a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 ssh-agent -k [2021-05-17T19:17:26.075Z] unset SSH_AUTH_SOCK; [2021-05-17T19:17:26.077Z] unset SSH_AGENT_PID; [2021-05-17T19:17:26.077Z] echo Agent pid 51 killed; [2021-05-17T19:17:26.128Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-17T19:17:26.457Z] + git semver [Pipeline] } [2021-05-17T19:17:26.475Z] $ docker stop --time=1 a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 [2021-05-17T19:17:27.982Z] $ docker rm -f a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-17T19:17:28.405Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-17T19:17:28.761Z] Stashed 1 file(s) [Pipeline] echo [2021-05-17T19:17:28.764Z] [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-17T19:17:44.017Z] Still waiting to schedule task [2021-05-17T19:17:44.017Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-17T19:17:44.021Z] Still waiting to schedule task [2021-05-17T19:17:44.022Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-17T19:19:17.435Z] Running on prd-centos7-docker-4c-2g-444 in /w/workspace/foundry_device-virtual-go_PR-208 [Pipeline] { [Pipeline] ws [2021-05-17T19:19:17.464Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2021-05-17T19:19:18.012Z] Selected Git installation does not exist. Using Default [2021-05-17T19:19:18.012Z] The recommended git tool is: NONE [2021-05-17T19:19:23.947Z] using credential edgex-jenkins-ssh [2021-05-17T19:19:23.967Z] Cloning the remote Git repository [2021-05-17T19:19:24.043Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T19:19:24.168Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2021-05-17T19:19:24.299Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T19:19:24.299Z] > git --version # timeout=10 [2021-05-17T19:19:24.318Z] > git --version # 'git version 2.24.3' [2021-05-17T19:19:24.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T19:19:24.353Z] [INFO] Currently running in a labeled security context [2021-05-17T19:19:24.353Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T19:19:24.353Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh6870871536656637711.key [2021-05-17T19:19:24.390Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T19:19:25.544Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-17T19:19:25.585Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T19:19:25.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-17T19:19:25.663Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T19:19:25.663Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T19:19:25.666Z] [INFO] Currently running in a labeled security context [2021-05-17T19:19:25.667Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T19:19:25.667Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh7297136845660750723.key [2021-05-17T19:19:25.711Z] > 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-17T19:19:26.411Z] Merging remotes/origin/master commit 702ee4ef1a6f7523fa240909d56a13b89c8d46ac into PR head commit 5ed0bc6c495197241639c0668bdd50184b82949f [2021-05-17T19:19:26.808Z] Merge succeeded, producing 5ed0bc6c495197241639c0668bdd50184b82949f [2021-05-17T19:19:26.808Z] Checking out Revision 5ed0bc6c495197241639c0668bdd50184b82949f (PR-208) [2021-05-17T19:19:26.424Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T19:19:26.453Z] > git checkout -f 5ed0bc6c495197241639c0668bdd50184b82949f # timeout=10 [2021-05-17T19:19:26.528Z] > git remote # timeout=10 [2021-05-17T19:19:26.584Z] > git config --get remote.origin.url # timeout=10 [2021-05-17T19:19:26.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T19:19:26.681Z] [INFO] Currently running in a labeled security context [2021-05-17T19:19:26.681Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T19:19:26.681Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh3124436248438523117.key [2021-05-17T19:19:26.716Z] > git merge 702ee4ef1a6f7523fa240909d56a13b89c8d46ac # timeout=10 [2021-05-17T19:19:26.748Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-17T19:19:26.813Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T19:19:26.828Z] > git checkout -f 5ed0bc6c495197241639c0668bdd50184b82949f # timeout=10 [2021-05-17T19:19:31.160Z] Commit message: "refactor: Update for new service key names and overides for hypen to underscore" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T19:19:32.640Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-17T19:19:33.064Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-17T19:19:33.404Z] + sudo service docker restart [2021-05-17T19:19:33.404Z] + true [2021-05-17T19:19:33.404Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T19:19:35.464Z] provisioning config files... [2021-05-17T19:19:35.499Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config8979198605502648007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T19:19:36.020Z] ---> docker-login.sh [2021-05-17T19:19:36.020Z] nexus3.edgexfoundry.org:10001 [2021-05-17T19:19:36.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:19:36.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:19:36.958Z] Configure a credential helper to remove this warning. See [2021-05-17T19:19:36.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:19:36.958Z] [2021-05-17T19:19:36.958Z] Login Succeeded [2021-05-17T19:19:36.958Z] nexus3.edgexfoundry.org:10002 [2021-05-17T19:19:37.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:19:37.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:19:37.260Z] Configure a credential helper to remove this warning. See [2021-05-17T19:19:37.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:19:37.260Z] [2021-05-17T19:19:37.260Z] Login Succeeded [2021-05-17T19:19:37.260Z] nexus3.edgexfoundry.org:10003 [2021-05-17T19:19:37.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:19:37.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:19:37.557Z] Configure a credential helper to remove this warning. See [2021-05-17T19:19:37.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:19:37.557Z] [2021-05-17T19:19:37.557Z] Login Succeeded [2021-05-17T19:19:37.854Z] nexus3.edgexfoundry.org:10004 [2021-05-17T19:19:37.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:19:38.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:19:38.127Z] Configure a credential helper to remove this warning. See [2021-05-17T19:19:38.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:19:38.127Z] [2021-05-17T19:19:38.127Z] Login Succeeded [2021-05-17T19:19:38.127Z] docker.io [2021-05-17T19:19:38.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:19:38.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:19:38.676Z] Configure a credential helper to remove this warning. See [2021-05-17T19:19:38.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:19:38.676Z] [2021-05-17T19:19:38.676Z] Login Succeeded [2021-05-17T19:19:38.676Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T19:19:38.690Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-17T19:19:38.970Z] ========================================================= [2021-05-17T19:19:38.970Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-17T19:19:38.970Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-17T19:19:39.322Z] + 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-17T19:19:39.595Z] Sending build context to Docker daemon 8.599MB [2021-05-17T19:19:39.595Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T19:19:39.595Z] Step 2/8 : FROM ${BASE} [2021-05-17T19:19:39.887Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-17T19:19:39.887Z] 540db60ca938: Pulling fs layer [2021-05-17T19:19:39.887Z] adcc1eea9eea: Pulling fs layer [2021-05-17T19:19:39.887Z] 4c4ab2625f07: Pulling fs layer [2021-05-17T19:19:39.887Z] 0510c868ecb4: Pulling fs layer [2021-05-17T19:19:39.887Z] afea3b2eda06: Pulling fs layer [2021-05-17T19:19:39.887Z] 7809a108b3ef: Pulling fs layer [2021-05-17T19:19:39.887Z] f706445af74f: Pulling fs layer [2021-05-17T19:19:39.887Z] afea3b2eda06: Waiting [2021-05-17T19:19:39.887Z] 7809a108b3ef: Waiting [2021-05-17T19:19:39.887Z] f706445af74f: Waiting [2021-05-17T19:19:39.887Z] 0510c868ecb4: Waiting [2021-05-17T19:19:39.887Z] 4c4ab2625f07: Verifying Checksum [2021-05-17T19:19:39.887Z] 4c4ab2625f07: Download complete [2021-05-17T19:19:39.887Z] adcc1eea9eea: Download complete [2021-05-17T19:19:39.887Z] afea3b2eda06: Verifying Checksum [2021-05-17T19:19:39.887Z] afea3b2eda06: Download complete [2021-05-17T19:19:39.887Z] 540db60ca938: Verifying Checksum [2021-05-17T19:19:39.887Z] 540db60ca938: Download complete [2021-05-17T19:19:39.887Z] 7809a108b3ef: Verifying Checksum [2021-05-17T19:19:39.887Z] 7809a108b3ef: Download complete [2021-05-17T19:19:40.158Z] 540db60ca938: Pull complete [2021-05-17T19:19:40.431Z] adcc1eea9eea: Pull complete [2021-05-17T19:19:40.702Z] 4c4ab2625f07: Pull complete [2021-05-17T19:19:42.659Z] f706445af74f: Verifying Checksum [2021-05-17T19:19:42.659Z] f706445af74f: Download complete [2021-05-17T19:19:43.646Z] 0510c868ecb4: Verifying Checksum [2021-05-17T19:19:43.646Z] 0510c868ecb4: Download complete [2021-05-17T19:19:50.357Z] 0510c868ecb4: Pull complete [2021-05-17T19:19:50.357Z] afea3b2eda06: Pull complete [2021-05-17T19:19:50.357Z] 7809a108b3ef: Pull complete [2021-05-17T19:19:56.987Z] f706445af74f: Pull complete [2021-05-17T19:19:56.987Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-17T19:19:56.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-17T19:19:56.987Z] ---> b068be0155e3 [2021-05-17T19:19:56.987Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-17T19:19:58.385Z] ---> Running in 76d2995c28a8 [2021-05-17T19:19:58.385Z] Removing intermediate container 76d2995c28a8 [2021-05-17T19:19:58.385Z] ---> 350669ddbc07 [2021-05-17T19:19:58.385Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T19:19:58.385Z] ---> Running in 14d093e8d622 [2021-05-17T19:19:59.815Z] Removing intermediate container 14d093e8d622 [2021-05-17T19:19:59.815Z] ---> 0e9d0abfdbd8 [2021-05-17T19:19:59.815Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-17T19:19:59.815Z] ---> Running in 653003c0c852 [2021-05-17T19:20:00.793Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-17T19:20:01.391Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-17T19:20:01.984Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-17T19:20:01.984Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-17T19:20:02.264Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-17T19:20:02.264Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-17T19:20:02.264Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-17T19:20:02.543Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-17T19:20:02.543Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-17T19:20:02.816Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-17T19:20:03.102Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-17T19:20:03.102Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-17T19:20:03.102Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-17T19:20:03.102Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-17T19:20:03.369Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-17T19:20:03.369Z] Executing busybox-1.32.1-r6.trigger [2021-05-17T19:20:03.369Z] OK: 156 MiB in 53 packages [2021-05-17T19:20:04.331Z] Removing intermediate container 653003c0c852 [2021-05-17T19:20:04.331Z] ---> fc7234809bee [2021-05-17T19:20:04.331Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-17T19:20:04.331Z] ---> Running in b8728e9791b9 [2021-05-17T19:20:04.618Z] Removing intermediate container b8728e9791b9 [2021-05-17T19:20:04.618Z] ---> 699e978c6bd5 [2021-05-17T19:20:04.618Z] Step 7/8 : COPY . . [2021-05-17T19:20:05.604Z] ---> 625f5bd4c2b5 [2021-05-17T19:20:05.604Z] Step 8/8 : RUN go mod download [2021-05-17T19:20:05.604Z] ---> Running in 9ff7cb01c3d5 [2021-05-17T19:20:07.557Z] 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-17T19:20:07.831Z] 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-17T19:20:08.826Z] ---> job-cost.sh [2021-05-17T19:20:08.827Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Tjw9 [2021-05-17T19:20:27.048Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-17T19:20:34.854Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-445 in /w/workspace/foundry_device-virtual-go_PR-208 [Pipeline] { [Pipeline] ws [2021-05-17T19:20:34.872Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2021-05-17T19:20:35.247Z] Selected Git installation does not exist. Using Default [2021-05-17T19:20:35.247Z] The recommended git tool is: NONE [2021-05-17T19:20:40.603Z] using credential edgex-jenkins-ssh [2021-05-17T19:20:40.625Z] Cloning the remote Git repository [2021-05-17T19:20:40.689Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T19:20:40.852Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2021-05-17T19:20:40.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T19:20:40.987Z] > git --version # timeout=10 [2021-05-17T19:20:41.029Z] > git --version # 'git version 2.17.1' [2021-05-17T19:20:41.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T19:20:41.150Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T19:20:43.532Z] Merging remotes/origin/master commit 702ee4ef1a6f7523fa240909d56a13b89c8d46ac into PR head commit 5ed0bc6c495197241639c0668bdd50184b82949f [2021-05-17T19:20:43.729Z] Merge succeeded, producing 5ed0bc6c495197241639c0668bdd50184b82949f [2021-05-17T19:20:43.730Z] Checking out Revision 5ed0bc6c495197241639c0668bdd50184b82949f (PR-208) [2021-05-17T19:20:42.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-17T19:20:42.863Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T19:20:42.888Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-17T19:20:42.923Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T19:20:42.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T19:20:42.936Z] > 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-17T19:20:43.556Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T19:20:43.569Z] > git checkout -f 5ed0bc6c495197241639c0668bdd50184b82949f # timeout=10 [2021-05-17T19:20:43.644Z] > git remote # timeout=10 [2021-05-17T19:20:43.661Z] > git config --get remote.origin.url # timeout=10 [2021-05-17T19:20:43.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T19:20:43.700Z] > git merge 702ee4ef1a6f7523fa240909d56a13b89c8d46ac # timeout=10 [2021-05-17T19:20:43.720Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-17T19:20:43.741Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T19:20:43.757Z] > git checkout -f 5ed0bc6c495197241639c0668bdd50184b82949f # timeout=10 [2021-05-17T19:20:47.945Z] Commit message: "refactor: Update for new service key names and overides for hypen to underscore" [2021-05-17T19:20:48.402Z] [2021-05-17T19:20:48.402Z] GitHub has been notified of this commit’s build result [2021-05-17T19:20:48.402Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T19:20:49.433Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-17T19:20:49.901Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-17T19:20:50.237Z] + true [2021-05-17T19:20:50.237Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T19:20:52.911Z] provisioning config files... [2021-05-17T19:20:52.936Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config2469975332216496060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T19:20:53.310Z] ---> docker-login.sh [2021-05-17T19:20:53.310Z] nexus3.edgexfoundry.org:10001 [2021-05-17T19:20:53.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:20:54.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:20:54.517Z] Configure a credential helper to remove this warning. See [2021-05-17T19:20:54.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:20:54.517Z] [2021-05-17T19:20:54.517Z] Login Succeeded [2021-05-17T19:20:54.517Z] nexus3.edgexfoundry.org:10002 [2021-05-17T19:20:54.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:20:55.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:20:55.066Z] Configure a credential helper to remove this warning. See [2021-05-17T19:20:55.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:20:55.066Z] [2021-05-17T19:20:55.066Z] Login Succeeded [2021-05-17T19:20:55.066Z] nexus3.edgexfoundry.org:10003 [2021-05-17T19:20:55.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:20:55.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:20:55.341Z] Configure a credential helper to remove this warning. See [2021-05-17T19:20:55.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:20:55.341Z] [2021-05-17T19:20:55.341Z] Login Succeeded [2021-05-17T19:20:55.341Z] nexus3.edgexfoundry.org:10004 [2021-05-17T19:20:55.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:20:55.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:20:55.938Z] Configure a credential helper to remove this warning. See [2021-05-17T19:20:55.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:20:55.938Z] [2021-05-17T19:20:55.938Z] Login Succeeded [2021-05-17T19:20:55.938Z] docker.io [2021-05-17T19:20:56.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T19:20:56.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T19:20:56.807Z] Configure a credential helper to remove this warning. See [2021-05-17T19:20:56.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T19:20:56.807Z] [2021-05-17T19:20:56.807Z] Login Succeeded [2021-05-17T19:20:56.807Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T19:20:56.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-17T19:20:57.138Z] ========================================================= [2021-05-17T19:20:57.138Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-17T19:20:57.138Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-17T19:20:57.494Z] + 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-17T19:20:58.101Z] Sending build context to Docker daemon 8.598MB [2021-05-17T19:20:58.101Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T19:20:58.101Z] Step 2/8 : FROM ${BASE} [2021-05-17T19:20:58.101Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-17T19:20:58.101Z] 595b0fe564bb: Pulling fs layer [2021-05-17T19:20:58.101Z] 7186ed65a4f7: Pulling fs layer [2021-05-17T19:20:58.101Z] 316046926c0a: Pulling fs layer [2021-05-17T19:20:58.101Z] 4ebd0625c992: Pulling fs layer [2021-05-17T19:20:58.101Z] 207e8628e3a3: Pulling fs layer [2021-05-17T19:20:58.101Z] c791037a9be2: Pulling fs layer [2021-05-17T19:20:58.101Z] ffd874e62e21: Pulling fs layer [2021-05-17T19:20:58.102Z] 4ebd0625c992: Waiting [2021-05-17T19:20:58.102Z] 207e8628e3a3: Waiting [2021-05-17T19:20:58.102Z] ffd874e62e21: Waiting [2021-05-17T19:20:58.102Z] c791037a9be2: Waiting [2021-05-17T19:20:58.102Z] 316046926c0a: Verifying Checksum [2021-05-17T19:20:58.102Z] 316046926c0a: Download complete [2021-05-17T19:20:58.102Z] 7186ed65a4f7: Verifying Checksum [2021-05-17T19:20:58.102Z] 7186ed65a4f7: Download complete [2021-05-17T19:20:58.102Z] 207e8628e3a3: Verifying Checksum [2021-05-17T19:20:58.102Z] 207e8628e3a3: Download complete [2021-05-17T19:20:58.102Z] c791037a9be2: Verifying Checksum [2021-05-17T19:20:58.102Z] c791037a9be2: Download complete [2021-05-17T19:20:58.102Z] 595b0fe564bb: Verifying Checksum [2021-05-17T19:20:58.102Z] 595b0fe564bb: Download complete [2021-05-17T19:20:58.700Z] 595b0fe564bb: Pull complete [2021-05-17T19:20:59.280Z] lf-activate-venv(): INFO: Adding /tmp/venv-Tjw9/bin to PATH [2021-05-17T19:20:59.280Z] INFO: No Stack... [2021-05-17T19:20:59.280Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-17T19:20:59.280Z] INFO: Archiving Costs [Pipeline] sh [2021-05-17T19:20:59.301Z] 7186ed65a4f7: Pull complete [2021-05-17T19:20:59.581Z] 316046926c0a: Pull complete [2021-05-17T19:20:59.610Z] + cat /w/workspace/device-virtual-go/3/archives/cost.csv [2021-05-17T19:20:59.610Z] + cut -d, -f6 [Pipeline] lock [2021-05-17T19:20:59.664Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] [2021-05-17T19:20:59.673Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] did not exist. Created. [2021-05-17T19:20:59.673Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-17T19:21:00.027Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-17T19:21:00.181Z] ffd874e62e21: Verifying Checksum [2021-05-17T19:21:00.181Z] ffd874e62e21: Download complete [2021-05-17T19:21:00.474Z] Stashed 1 file(s) [Pipeline] } [2021-05-17T19:21:00.485Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-17T19:21:00.801Z] Failed in branch amd64 [2021-05-17T19:21:02.155Z] 4ebd0625c992: Verifying Checksum [2021-05-17T19:21:02.155Z] 4ebd0625c992: Download complete [2021-05-17T19:21:12.341Z] 4ebd0625c992: Pull complete [2021-05-17T19:21:12.619Z] 207e8628e3a3: Pull complete [2021-05-17T19:21:12.893Z] c791037a9be2: Pull complete [2021-05-17T19:21:17.211Z] ffd874e62e21: Pull complete [2021-05-17T19:21:17.211Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-17T19:21:17.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-17T19:21:17.211Z] ---> cfc18b08335c [2021-05-17T19:21:17.211Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-17T19:21:19.182Z] ---> Running in a6d6b58b0dfb [2021-05-17T19:21:19.455Z] Removing intermediate container a6d6b58b0dfb [2021-05-17T19:21:19.456Z] ---> f45a53fa504d [2021-05-17T19:21:19.456Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T19:21:20.446Z] ---> Running in f85749e702ea [2021-05-17T19:21:23.083Z] Removing intermediate container f85749e702ea [2021-05-17T19:21:23.083Z] ---> 2eb81fbf8622 [2021-05-17T19:21:23.083Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-17T19:21:23.083Z] ---> Running in d980f422d29c [2021-05-17T19:21:24.064Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-17T19:21:25.033Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-17T19:21:25.623Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-17T19:21:25.893Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-17T19:21:25.894Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-17T19:21:25.894Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-17T19:21:26.166Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-17T19:21:26.166Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-17T19:21:26.437Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-17T19:21:26.708Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-17T19:21:26.708Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-17T19:21:26.980Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-17T19:21:26.980Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-17T19:21:26.980Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-17T19:21:27.255Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-17T19:21:27.255Z] Executing busybox-1.32.1-r6.trigger [2021-05-17T19:21:27.255Z] OK: 145 MiB in 53 packages [2021-05-17T19:21:29.228Z] Removing intermediate container d980f422d29c [2021-05-17T19:21:29.228Z] ---> 3a7931b9b646 [2021-05-17T19:21:29.228Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-17T19:21:29.228Z] ---> Running in e98ed594a961 [2021-05-17T19:21:29.501Z] Removing intermediate container e98ed594a961 [2021-05-17T19:21:29.501Z] ---> 422b260eac61 [2021-05-17T19:21:29.501Z] Step 7/8 : COPY . . [2021-05-17T19:21:31.121Z] ---> 1c5d31fa464d [2021-05-17T19:21:31.121Z] Step 8/8 : RUN go mod download [2021-05-17T19:21:31.121Z] ---> Running in e13b40c7f28b [2021-05-17T19:21:32.551Z] 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-17T19:21:33.151Z] 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-17T19:21:33.951Z] ---> job-cost.sh [2021-05-17T19:21:33.951Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ED5o [2021-05-17T19:22:12.916Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-17T19:23:34.675Z] lf-activate-venv(): INFO: Adding /tmp/venv-ED5o/bin to PATH [2021-05-17T19:23:34.675Z] INFO: No Stack... [2021-05-17T19:23:34.675Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-17T19:23:34.675Z] INFO: Archiving Costs [Pipeline] sh [2021-05-17T19:23:35.016Z] + + catcut /w/workspace/device-virtual-go/3/archives/cost.csv -d, [2021-05-17T19:23:35.016Z] -f6 [Pipeline] lock [2021-05-17T19:23:35.079Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] [2021-05-17T19:23:35.091Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] did not exist. Created. [2021-05-17T19:23:35.091Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-17T19:23:35.470Z] /w/workspace/device-virtual-go/3@tmp/durable-e48d4b60/script.sh: 1: /w/workspace/device-virtual-go/3@tmp/durable-e48d4b60/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-17T19:23:35.814Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-17T19:23:35.836Z] Warning: overwriting stash ‘stack-cost’ [2021-05-17T19:23:36.411Z] Stashed 1 file(s) [Pipeline] } [2021-05-17T19:23:36.430Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-17T19:23:36.672Z] 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-17T19:23:38.096Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T19:23:38.676Z] ---> package-listing.sh [2021-05-17T19:23:38.676Z] ++ facter osfamily [2021-05-17T19:23:38.676Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-17T19:23:38.676Z] + OS_FAMILY=redhat [2021-05-17T19:23:38.676Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-208 [2021-05-17T19:23:38.676Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-17T19:23:38.676Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-17T19:23:38.676Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-17T19:23:38.676Z] + PACKAGES=/tmp/packages_start.txt [2021-05-17T19:23:38.676Z] + '[' /w/workspace/foundry_device-virtual-go_PR-208 ']' [2021-05-17T19:23:38.676Z] + PACKAGES=/tmp/packages_end.txt [2021-05-17T19:23:38.676Z] + case "${OS_FAMILY}" in [2021-05-17T19:23:38.676Z] + rpm -qa [2021-05-17T19:23:38.676Z] + sort [2021-05-17T19:23:42.976Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-17T19:23:42.976Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-17T19:23:42.976Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-17T19:23:42.976Z] + '[' /w/workspace/foundry_device-virtual-go_PR-208 ']' [2021-05-17T19:23:42.976Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-208/archives/ [2021-05-17T19:23:42.976Z] + 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-17T19:23:43.016Z] 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-17T19:23:43.416Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-17T19:23:43.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T19:23:43.727Z] [2021-05-17T19:23:43.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-17T19:23:44.049Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T19:23:44.049Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-17T19:23:44.049Z] df20fa9351a1: Pulling fs layer [2021-05-17T19:23:44.049Z] 36b3adc4ff6f: Pulling fs layer [2021-05-17T19:23:44.049Z] 8ad3a11d3b57: Pulling fs layer [2021-05-17T19:23:44.049Z] 46f8f816bc3b: Pulling fs layer [2021-05-17T19:23:44.049Z] 93b61091891f: Pulling fs layer [2021-05-17T19:23:44.049Z] 93b9cdb0e59b: Pulling fs layer [2021-05-17T19:23:44.049Z] 5e14af77c1be: Pulling fs layer [2021-05-17T19:23:44.049Z] 01666e4c0597: Pulling fs layer [2021-05-17T19:23:44.049Z] aa168da1d23b: Pulling fs layer [2021-05-17T19:23:44.049Z] 93b9cdb0e59b: Waiting [2021-05-17T19:23:44.049Z] 5e14af77c1be: Waiting [2021-05-17T19:23:44.049Z] 01666e4c0597: Waiting [2021-05-17T19:23:44.049Z] 46f8f816bc3b: Waiting [2021-05-17T19:23:44.049Z] 93b61091891f: Waiting [2021-05-17T19:23:44.319Z] 36b3adc4ff6f: Verifying Checksum [2021-05-17T19:23:44.319Z] 36b3adc4ff6f: Download complete [2021-05-17T19:23:44.319Z] df20fa9351a1: Verifying Checksum [2021-05-17T19:23:44.319Z] df20fa9351a1: Download complete [2021-05-17T19:23:44.319Z] 46f8f816bc3b: Verifying Checksum [2021-05-17T19:23:44.319Z] 46f8f816bc3b: Download complete [2021-05-17T19:23:44.319Z] 93b9cdb0e59b: Verifying Checksum [2021-05-17T19:23:44.319Z] 93b9cdb0e59b: Download complete [2021-05-17T19:23:44.319Z] 5e14af77c1be: Verifying Checksum [2021-05-17T19:23:44.319Z] 5e14af77c1be: Download complete [2021-05-17T19:23:44.319Z] 01666e4c0597: Verifying Checksum [2021-05-17T19:23:44.319Z] 01666e4c0597: Download complete [2021-05-17T19:23:44.319Z] 93b61091891f: Verifying Checksum [2021-05-17T19:23:44.319Z] 93b61091891f: Download complete [2021-05-17T19:23:44.583Z] 8ad3a11d3b57: Verifying Checksum [2021-05-17T19:23:44.583Z] 8ad3a11d3b57: Download complete [2021-05-17T19:23:44.583Z] df20fa9351a1: Pull complete [2021-05-17T19:23:44.853Z] 36b3adc4ff6f: Pull complete [2021-05-17T19:23:45.811Z] 8ad3a11d3b57: Pull complete [2021-05-17T19:23:46.076Z] 46f8f816bc3b: Pull complete [2021-05-17T19:23:46.652Z] 93b61091891f: Pull complete [2021-05-17T19:23:46.652Z] aa168da1d23b: Verifying Checksum [2021-05-17T19:23:46.652Z] aa168da1d23b: Download complete [2021-05-17T19:23:46.652Z] 93b9cdb0e59b: Pull complete [2021-05-17T19:23:46.652Z] 5e14af77c1be: Pull complete [2021-05-17T19:23:46.914Z] 01666e4c0597: Pull complete [2021-05-17T19:23:55.127Z] aa168da1d23b: Pull complete [2021-05-17T19:23:55.127Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-17T19:23:55.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T19:23:55.127Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-17T19:23:55.351Z] prd-centos7-docker-4c-2g-442 does not seem to be running inside a container [2021-05-17T19:23:55.410Z] $ 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-17T19:23:57.831Z] $ docker top e8d749131243507fb245aa31d505910394fc2571c5e2c29acd987375f6244b3f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T19:23:58.292Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-17T19:23:58.594Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-17T19:23:58.902Z] + ls /var/log/sa-host [2021-05-17T19:23:58.902Z] + sadf -c /var/log/sa-host/sa17 [2021-05-17T19:23:58.902Z] file_magic: OK [2021-05-17T19:23:58.902Z] HZ: Using current value: 100 [2021-05-17T19:23:58.902Z] file_header: OK [2021-05-17T19:23:58.902Z] 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-17T19:23:58.902Z] Statistics: [2021-05-17T19:23:58.902Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-17T19:23:58.902Z] File successfully converted to sysstat format version 12.2.1 [2021-05-17T19:23:58.902Z] + sadf -c /var/log/sa-host/sa23 [2021-05-17T19:23:58.902Z] file_magic: OK [2021-05-17T19:23:58.902Z] HZ: Using current value: 100 [2021-05-17T19:23:58.902Z] file_header: OK [2021-05-17T19:23:58.902Z] 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-17T19:23:58.902Z] Statistics: [2021-05-17T19:23:58.902Z] Hnuu...uuuununununu... [2021-05-17T19:23:58.902Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T19:23:59.116Z] provisioning config files... [2021-05-17T19:23:59.131Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-208@tmp/config8516670569083476164tmp [Pipeline] { [Pipeline] echo [2021-05-17T19:23:59.158Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T19:23:59.463Z] ---> create-netrc.sh [Pipeline] } [2021-05-17T19:23:59.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-17T19:23:59.503Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T19:23:59.812Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-17T19:23:59.825Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T19:24:00.136Z] ---> sudo-logs.sh [2021-05-17T19:24:00.136Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-17T19:24:00.221Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T19:24:00.526Z] ---> job-cost.sh [2021-05-17T19:24:00.526Z] lf-activate-venv: SKIPPING [2021-05-17T19:24:00.526Z] DEBUG: total: 0.20999999344348907 [2021-05-17T19:24:00.526Z] INFO: Retrieving Stack Cost... [2021-05-17T19:24:01.478Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-17T19:24:02.055Z] INFO: Archiving Costs [Pipeline] echo [2021-05-17T19:24:02.071Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T19:24:02.377Z] ---> logs-deploy.sh [2021-05-17T19:24:02.377Z] lf-activate-venv: SKIPPING [2021-05-17T19:24:02.377Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-208/3 [2021-05-17T19:24:02.377Z] INFO: archiving workspace using pattern(s): [2021-05-17T19:24:04.309Z] Archives upload complete. [2021-05-17T19:24:04.309Z] INFO: archiving logs to Nexus