Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0fd3dd5c17be6628a04066761c2d01667d7a6867+c475c2f4568a77e7de241284990901c927f62505 (dfd2776c1091a88bcbc535d43f7c0d6529675b22) 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-ssh6632357512872495145.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-ssh1761461316807880769.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-sdk-go/branches/PR-926/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-sdk-go/branches/PR-926/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh861171307601734469.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-ssh1684604249749704920.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-sdk-go/branches/PR-926/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-sdk-go/branches/PR-926/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4557970971976404022.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-157 in /w/workspace/dgexfoundry_device-sdk-go_PR-926 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-926 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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/dgexfoundry_device-sdk-go_PR-926@tmp/jenkins-gitclient-ssh9099354650242491317.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c475c2f4568a77e7de241284990901c927f62505 into PR head commit 0fd3dd5c17be6628a04066761c2d01667d7a6867 Merge succeeded, producing a8166170e6310c4086ebb997721ae852b9d3ad86 Checking out Revision a8166170e6310c4086ebb997721ae852b9d3ad86 (PR-926) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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/dgexfoundry_device-sdk-go_PR-926@tmp/jenkins-gitclient-ssh2362749449246080873.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/926/head:refs/remotes/origin/PR-926 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fd3dd5c17be6628a04066761c2d01667d7a6867 # 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/dgexfoundry_device-sdk-go_PR-926@tmp/jenkins-gitclient-ssh2971451765829654916.key > git merge c475c2f4568a77e7de241284990901c927f62505 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a8166170e6310c4086ebb997721ae852b9d3ad86 # timeout=10 Commit message: "Merge commit 'c475c2f4568a77e7de241284990901c927f62505' into HEAD" > git rev-list --no-walk 0fd3dd5c17be6628a04066761c2d01667d7a6867 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-14T22:41:50.064Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-14T22:41:50.154Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-14T22:41:50.184Z] ========================================================= [2021-05-14T22:41:50.184Z] EdgeX Global Pipelines Version Info [2021-05-14T22:41:50.184Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-14T22:41:51.663Z] ------------------- [2021-05-14T22:41:51.663Z] stable info: [2021-05-14T22:41:51.663Z] ------------------- [2021-05-14T22:41:51.663Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-14T22:41:51.663Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T22:41:51.663Z] Message: update stable to v1.0.192 [2021-05-14T22:41:52.610Z] ------------------- [2021-05-14T22:41:52.611Z] experimental info: [2021-05-14T22:41:52.611Z] ------------------- [2021-05-14T22:41:52.611Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-14T22:41:52.611Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T22:41:52.611Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-14T22:41:52.738Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-14T22:41:52.779Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-14T22:41:52.803Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-14T22:41:52.825Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-14T22:41:52.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-14T22:41:52.888Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-14T22:41:52.910Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-14T22:41:52.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-14T22:41:52.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-14T22:41:52.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-14T22:41:53.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-14T22:41:53.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-14T22:41:53.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-14T22:41:53.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-14T22:41:53.128Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-14T22:41:53.155Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T22:41:53.178Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T22:41:53.217Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T22:41:53.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-14T22:41:53.265Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-14T22:41:53.288Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-14T22:41:53.326Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-14T22:41:53.350Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-14T22:41:53.374Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-14T22:41:53.397Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-14T22:41:53.434Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-14T22:41:53.457Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-926 [Pipeline] echo [2021-05-14T22:41:53.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-926 [Pipeline] echo [2021-05-14T22:41:53.508Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-926 [Pipeline] echo [2021-05-14T22:41:53.546Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8166170e6310c4086ebb997721ae852b9d3ad86 [Pipeline] echo [2021-05-14T22:41:53.569Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a816617 [Pipeline] echo [2021-05-14T22:41:53.592Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T22:41:53.689Z] provisioning config files... [2021-05-14T22:41:53.706Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/config5658126332867163108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T22:41:54.101Z] ---> docker-login.sh [2021-05-14T22:41:54.101Z] nexus3.edgexfoundry.org:10001 [2021-05-14T22:41:54.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:41:54.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:41:54.632Z] Configure a credential helper to remove this warning. See [2021-05-14T22:41:54.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:41:54.632Z] [2021-05-14T22:41:54.632Z] Login Succeeded [2021-05-14T22:41:54.632Z] nexus3.edgexfoundry.org:10002 [2021-05-14T22:41:54.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:41:54.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:41:54.894Z] Configure a credential helper to remove this warning. See [2021-05-14T22:41:54.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:41:54.894Z] [2021-05-14T22:41:54.894Z] Login Succeeded [2021-05-14T22:41:54.894Z] nexus3.edgexfoundry.org:10003 [2021-05-14T22:41:54.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:41:54.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:41:54.894Z] Configure a credential helper to remove this warning. See [2021-05-14T22:41:54.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:41:54.894Z] [2021-05-14T22:41:54.894Z] Login Succeeded [2021-05-14T22:41:54.894Z] nexus3.edgexfoundry.org:10004 [2021-05-14T22:41:55.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:41:55.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:41:55.157Z] Configure a credential helper to remove this warning. See [2021-05-14T22:41:55.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:41:55.157Z] [2021-05-14T22:41:55.157Z] Login Succeeded [2021-05-14T22:41:55.157Z] docker.io [2021-05-14T22:41:55.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:41:55.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:41:55.732Z] Configure a credential helper to remove this warning. See [2021-05-14T22:41:55.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:41:55.732Z] [2021-05-14T22:41:55.732Z] Login Succeeded [2021-05-14T22:41:55.732Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T22:41:55.743Z] 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-14T22:41:56.329Z] + git log --format=format:%s -1 a8166170e6310c4086ebb997721ae852b9d3ad86 [Pipeline] echo [2021-05-14T22:41:56.376Z] GIT_COMMIT: a8166170e6310c4086ebb997721ae852b9d3ad86, Commit Message: Merge commit 'c475c2f4568a77e7de241284990901c927f62505' into HEAD [Pipeline] echo [2021-05-14T22:41:56.393Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-14T22:41:57.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T22:41:57.482Z] [2021-05-14T22:41:57.482Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T22:41:57.798Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T22:41:57.798Z] latest: Pulling from edgex-devops/git-semver [2021-05-14T22:41:57.798Z] 31603596830f: Pulling fs layer [2021-05-14T22:41:57.798Z] 54011a49482f: Pulling fs layer [2021-05-14T22:41:57.798Z] a6820b24f6d8: Pulling fs layer [2021-05-14T22:41:57.798Z] f581987b2513: Pulling fs layer [2021-05-14T22:41:57.798Z] f581987b2513: Waiting [2021-05-14T22:41:57.798Z] 54011a49482f: Verifying Checksum [2021-05-14T22:41:57.798Z] 54011a49482f: Download complete [2021-05-14T22:41:57.798Z] 31603596830f: Verifying Checksum [2021-05-14T22:41:57.798Z] 31603596830f: Download complete [2021-05-14T22:41:58.063Z] f581987b2513: Verifying Checksum [2021-05-14T22:41:58.063Z] f581987b2513: Download complete [2021-05-14T22:41:58.063Z] a6820b24f6d8: Verifying Checksum [2021-05-14T22:41:58.063Z] a6820b24f6d8: Download complete [2021-05-14T22:41:58.325Z] 31603596830f: Pull complete [2021-05-14T22:41:58.325Z] 54011a49482f: Pull complete [2021-05-14T22:41:59.285Z] a6820b24f6d8: Pull complete [2021-05-14T22:41:59.548Z] f581987b2513: Pull complete [2021-05-14T22:41:59.548Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-14T22:41:59.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T22:41:59.548Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-14T22:41:59.651Z] prd-centos7-docker-4c-2g-157 does not seem to be running inside a container [2021-05-14T22:41:59.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-926 -v /w/workspace/dgexfoundry_device-sdk-go_PR-926:/w/workspace/dgexfoundry_device-sdk-go_PR-926:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-926@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-14T22:42:01.562Z] $ docker top e643948de8f15ef585ff5477e79767620b51d8ee994db96ee42bd40e33f5c6ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T22:42:01.812Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T22:42:01.812Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T22:42:02.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T22:42:02.092Z] $ docker exec e643948de8f15ef585ff5477e79767620b51d8ee994db96ee42bd40e33f5c6ee ssh-agent [2021-05-14T22:42:02.277Z] SSH_AUTH_SOCK=/tmp/ssh-NDFyggnlzG0F/agent.11 [2021-05-14T22:42:02.277Z] SSH_AGENT_PID=16 [2021-05-14T22:42:02.291Z] Running ssh-add (command line suppressed) [2021-05-14T22:42:02.417Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/private_key_7192154392263430028.key (/w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/private_key_7192154392263430028.key) [2021-05-14T22:42:02.474Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T22:42:02.777Z] + git tag --points-at HEAD [Pipeline] } [2021-05-14T22:42:02.793Z] $ docker exec --env ******** --env ******** e643948de8f15ef585ff5477e79767620b51d8ee994db96ee42bd40e33f5c6ee ssh-agent -k [2021-05-14T22:42:02.911Z] unset SSH_AUTH_SOCK; [2021-05-14T22:42:02.911Z] unset SSH_AGENT_PID; [2021-05-14T22:42:02.911Z] echo Agent pid 16 killed; [2021-05-14T22:42:02.964Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-14T22:42:03.009Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T22:42:03.009Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T22:42:03.176Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T22:42:03.177Z] $ docker exec e643948de8f15ef585ff5477e79767620b51d8ee994db96ee42bd40e33f5c6ee ssh-agent [2021-05-14T22:42:03.344Z] SSH_AUTH_SOCK=/tmp/ssh-rZKAzK1aLbtW/agent.46 [2021-05-14T22:42:03.344Z] SSH_AGENT_PID=51 [2021-05-14T22:42:03.350Z] Running ssh-add (command line suppressed) [2021-05-14T22:42:03.467Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/private_key_3434889226854982223.key (/w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/private_key_3434889226854982223.key) [2021-05-14T22:42:03.524Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T22:42:03.837Z] + git semver init [2021-05-14T22:42:03.837Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T22:42:03.837Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-926/.git [2021-05-14T22:42:03.837Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-926 [2021-05-14T22:42:03.837Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T22:42:03.837Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T22:42:03.837Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T22:42:03.837Z] # $SEMVER_BRANCH = PR-926 [2021-05-14T22:42:03.837Z] # $SEMVER_TEMP = /tmp/semver-266028518 [2021-05-14T22:42:03.837Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-14T22:42:05.237Z] # '/tmp/semver-266028518' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-926/.semver' [2021-05-14T22:42:05.237Z] # -> Force: false [2021-05-14T22:42:05.237Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-926/.semver [Pipeline] } [2021-05-14T22:42:05.247Z] $ docker exec --env ******** --env ******** e643948de8f15ef585ff5477e79767620b51d8ee994db96ee42bd40e33f5c6ee ssh-agent -k [2021-05-14T22:42:05.387Z] unset SSH_AUTH_SOCK; [2021-05-14T22:42:05.388Z] unset SSH_AGENT_PID; [2021-05-14T22:42:05.388Z] echo Agent pid 51 killed; [2021-05-14T22:42:05.471Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T22:42:05.811Z] + git semver [Pipeline] } [2021-05-14T22:42:05.828Z] $ docker stop --time=1 e643948de8f15ef585ff5477e79767620b51d8ee994db96ee42bd40e33f5c6ee [2021-05-14T22:42:07.704Z] $ docker rm -f e643948de8f15ef585ff5477e79767620b51d8ee994db96ee42bd40e33f5c6ee [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T22:42:08.117Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-14T22:42:08.442Z] Stashed 1 file(s) [Pipeline] echo [2021-05-14T22:42:08.446Z] [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-14T22:42:23.740Z] Still waiting to schedule task [2021-05-14T22:42:23.741Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-157’ [2021-05-14T22:42:23.744Z] Still waiting to schedule task [2021-05-14T22:42:23.744Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-14T22:44:19.468Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-158 in /w/workspace/dgexfoundry_device-sdk-go_PR-926 [Pipeline] { [Pipeline] ws [2021-05-14T22:44:19.489Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-14T22:44:19.696Z] Selected Git installation does not exist. Using Default [2021-05-14T22:44:19.696Z] The recommended git tool is: NONE [2021-05-14T22:44:24.932Z] using credential edgex-jenkins-ssh [2021-05-14T22:44:24.958Z] Cloning the remote Git repository [2021-05-14T22:44:25.011Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T22:44:25.121Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-14T22:44:25.188Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T22:44:25.189Z] > git --version # timeout=10 [2021-05-14T22:44:25.265Z] > git --version # 'git version 2.17.1' [2021-05-14T22:44:25.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T22:44:25.408Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T22:44:26.635Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-14T22:44:26.668Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T22:44:26.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-14T22:44:26.728Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T22:44:26.729Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T22:44:26.744Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/926/head:refs/remotes/origin/PR-926 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-14T22:44:27.334Z] Merging remotes/origin/master commit c475c2f4568a77e7de241284990901c927f62505 into PR head commit 0fd3dd5c17be6628a04066761c2d01667d7a6867 [2021-05-14T22:44:27.608Z] Merge succeeded, producing 13f46a301c6d910f1ea3ceca62f5060e428a93fd [2021-05-14T22:44:27.609Z] Checking out Revision 13f46a301c6d910f1ea3ceca62f5060e428a93fd (PR-926) [2021-05-14T22:44:27.354Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T22:44:27.371Z] > git checkout -f 0fd3dd5c17be6628a04066761c2d01667d7a6867 # timeout=10 [2021-05-14T22:44:27.470Z] > git remote # timeout=10 [2021-05-14T22:44:27.488Z] > git config --get remote.origin.url # timeout=10 [2021-05-14T22:44:27.501Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T22:44:27.512Z] > git merge c475c2f4568a77e7de241284990901c927f62505 # timeout=10 [2021-05-14T22:44:27.595Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-14T22:44:27.615Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T22:44:27.630Z] > git checkout -f 13f46a301c6d910f1ea3ceca62f5060e428a93fd # timeout=10 [2021-05-14T22:44:31.913Z] Commit message: "Merge commit 'c475c2f4568a77e7de241284990901c927f62505' into HEAD" [2021-05-14T22:44:31.923Z] > git rev-list --no-walk 0fd3dd5c17be6628a04066761c2d01667d7a6867 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T22:44:33.671Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-14T22:44:34.090Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T22:44:34.437Z] + true [2021-05-14T22:44:34.437Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T22:44:37.108Z] provisioning config files... [2021-05-14T22:44:37.134Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7213727004798999438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T22:44:37.510Z] ---> docker-login.sh [2021-05-14T22:44:37.510Z] nexus3.edgexfoundry.org:10001 [2021-05-14T22:44:38.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:44:38.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:44:38.775Z] Configure a credential helper to remove this warning. See [2021-05-14T22:44:38.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:44:38.775Z] [2021-05-14T22:44:38.775Z] Login Succeeded [2021-05-14T22:44:38.775Z] nexus3.edgexfoundry.org:10002 [2021-05-14T22:44:39.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:44:39.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:44:39.322Z] Configure a credential helper to remove this warning. See [2021-05-14T22:44:39.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:44:39.322Z] [2021-05-14T22:44:39.322Z] Login Succeeded [2021-05-14T22:44:39.322Z] nexus3.edgexfoundry.org:10003 [2021-05-14T22:44:39.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:44:39.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:44:39.872Z] Configure a credential helper to remove this warning. See [2021-05-14T22:44:39.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:44:39.872Z] [2021-05-14T22:44:39.872Z] Login Succeeded [2021-05-14T22:44:39.872Z] nexus3.edgexfoundry.org:10004 [2021-05-14T22:44:40.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:44:40.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:44:40.428Z] Configure a credential helper to remove this warning. See [2021-05-14T22:44:40.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:44:40.428Z] [2021-05-14T22:44:40.428Z] Login Succeeded [2021-05-14T22:44:40.428Z] docker.io [2021-05-14T22:44:40.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:44:41.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:44:41.298Z] Configure a credential helper to remove this warning. See [2021-05-14T22:44:41.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:44:41.298Z] [2021-05-14T22:44:41.298Z] Login Succeeded [2021-05-14T22:44:41.298Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T22:44:41.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T22:44:41.928Z] ========================================================= [2021-05-14T22:44:41.928Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-14T22:44:41.928Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T22:44:42.271Z] + 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-14T22:44:42.878Z] Sending build context to Docker daemon 2.595MB [2021-05-14T22:44:42.878Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T22:44:42.878Z] Step 2/8 : FROM ${BASE} [2021-05-14T22:44:42.878Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-14T22:44:42.878Z] 595b0fe564bb: Pulling fs layer [2021-05-14T22:44:42.878Z] 7186ed65a4f7: Pulling fs layer [2021-05-14T22:44:42.878Z] 316046926c0a: Pulling fs layer [2021-05-14T22:44:42.878Z] 4ebd0625c992: Pulling fs layer [2021-05-14T22:44:42.878Z] 207e8628e3a3: Pulling fs layer [2021-05-14T22:44:42.878Z] c791037a9be2: Pulling fs layer [2021-05-14T22:44:42.878Z] ffd874e62e21: Pulling fs layer [2021-05-14T22:44:42.878Z] 4ebd0625c992: Waiting [2021-05-14T22:44:42.878Z] 207e8628e3a3: Waiting [2021-05-14T22:44:42.878Z] c791037a9be2: Waiting [2021-05-14T22:44:42.878Z] ffd874e62e21: Waiting [2021-05-14T22:44:42.878Z] 7186ed65a4f7: Verifying Checksum [2021-05-14T22:44:42.878Z] 7186ed65a4f7: Download complete [2021-05-14T22:44:42.878Z] 316046926c0a: Verifying Checksum [2021-05-14T22:44:42.878Z] 316046926c0a: Download complete [2021-05-14T22:44:42.878Z] 207e8628e3a3: Download complete [2021-05-14T22:44:42.878Z] c791037a9be2: Verifying Checksum [2021-05-14T22:44:42.878Z] c791037a9be2: Download complete [2021-05-14T22:44:42.878Z] 595b0fe564bb: Verifying Checksum [2021-05-14T22:44:42.878Z] 595b0fe564bb: Download complete [2021-05-14T22:44:43.477Z] 595b0fe564bb: Pull complete [2021-05-14T22:44:44.084Z] 7186ed65a4f7: Pull complete [2021-05-14T22:44:44.684Z] 316046926c0a: Pull complete [2021-05-14T22:44:45.291Z] ffd874e62e21: Verifying Checksum [2021-05-14T22:44:45.291Z] ffd874e62e21: Download complete [2021-05-14T22:44:46.273Z] 4ebd0625c992: Verifying Checksum [2021-05-14T22:44:46.273Z] 4ebd0625c992: Download complete [2021-05-14T22:44:58.686Z] 4ebd0625c992: Pull complete [2021-05-14T22:44:58.686Z] 207e8628e3a3: Pull complete [2021-05-14T22:44:58.686Z] c791037a9be2: Pull complete [2021-05-14T22:45:01.311Z] ffd874e62e21: Pull complete [2021-05-14T22:45:01.311Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-14T22:45:01.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-14T22:45:01.311Z] ---> cfc18b08335c [2021-05-14T22:45:01.311Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T22:45:04.001Z] ---> Running in cd0887fea8a3 [2021-05-14T22:45:04.272Z] Removing intermediate container cd0887fea8a3 [2021-05-14T22:45:04.272Z] ---> f3c88f571e6f [2021-05-14T22:45:04.272Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T22:45:04.545Z] ---> Running in 1316971c9e46 [2021-05-14T22:45:07.176Z] Removing intermediate container 1316971c9e46 [2021-05-14T22:45:07.176Z] ---> 3ab61711f55d [2021-05-14T22:45:07.176Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-14T22:45:07.176Z] ---> Running in d0c8fc88fa11 [2021-05-14T22:45:08.155Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-14T22:45:09.141Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T22:45:10.135Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-14T22:45:10.135Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-14T22:45:10.135Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-14T22:45:10.135Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-14T22:45:10.409Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-14T22:45:10.409Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-14T22:45:10.683Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T22:45:10.683Z] OK: 139 MiB in 46 packages [2021-05-14T22:45:11.363Z] Running on prd-centos7-docker-4c-2g-159 in /w/workspace/dgexfoundry_device-sdk-go_PR-926 [Pipeline] { [Pipeline] ws [2021-05-14T22:45:11.383Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-14T22:45:11.499Z] Selected Git installation does not exist. Using Default [2021-05-14T22:45:11.499Z] The recommended git tool is: NONE [2021-05-14T22:45:12.124Z] Removing intermediate container d0c8fc88fa11 [2021-05-14T22:45:12.124Z] ---> ae0234bdfb9b [2021-05-14T22:45:12.124Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-14T22:45:12.124Z] ---> Running in 229a8471a58b [2021-05-14T22:45:12.723Z] Removing intermediate container 229a8471a58b [2021-05-14T22:45:12.723Z] ---> b3577bbbf418 [2021-05-14T22:45:12.723Z] Step 7/8 : COPY . . [2021-05-14T22:45:14.161Z] ---> 761c3c5613ef [2021-05-14T22:45:14.161Z] Step 8/8 : RUN go mod download [2021-05-14T22:45:14.161Z] ---> Running in 911ce1fbd4c5 [2021-05-14T22:45:14.330Z] using credential edgex-jenkins-ssh [2021-05-14T22:45:14.345Z] Cloning the remote Git repository [2021-05-14T22:45:14.371Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T22:45:14.443Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-14T22:45:14.521Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T22:45:14.521Z] > git --version # timeout=10 [2021-05-14T22:45:14.528Z] > git --version # 'git version 2.24.3' [2021-05-14T22:45:14.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T22:45:14.557Z] [INFO] Currently running in a labeled security context [2021-05-14T22:45:14.557Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T22:45:14.557Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh7843790275123818964.key [2021-05-14T22:45:14.584Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T22:45:15.872Z] Merging remotes/origin/master commit c475c2f4568a77e7de241284990901c927f62505 into PR head commit 0fd3dd5c17be6628a04066761c2d01667d7a6867 [2021-05-14T22:45:15.994Z] Merge succeeded, producing b52e0f43678db63070086a6970ba1f05f3443929 [2021-05-14T22:45:15.994Z] Checking out Revision b52e0f43678db63070086a6970ba1f05f3443929 (PR-926) [2021-05-14T22:45:15.364Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-14T22:45:15.369Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T22:45:15.379Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-14T22:45:15.393Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T22:45:15.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T22:45:15.394Z] [INFO] Currently running in a labeled security context [2021-05-14T22:45:15.394Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T22:45:15.394Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh5785285764640029604.key [2021-05-14T22:45:15.402Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/926/head:refs/remotes/origin/PR-926 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-14T22:45:15.882Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T22:45:15.886Z] > git checkout -f 0fd3dd5c17be6628a04066761c2d01667d7a6867 # timeout=10 [2021-05-14T22:45:15.934Z] > git remote # timeout=10 [2021-05-14T22:45:15.939Z] > git config --get remote.origin.url # timeout=10 [2021-05-14T22:45:15.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T22:45:15.947Z] [INFO] Currently running in a labeled security context [2021-05-14T22:45:15.947Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T22:45:15.947Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh6634317588918912542.key [2021-05-14T22:45:15.953Z] > git merge c475c2f4568a77e7de241284990901c927f62505 # timeout=10 [2021-05-14T22:45:15.988Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-14T22:45:15.999Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T22:45:16.004Z] > git checkout -f b52e0f43678db63070086a6970ba1f05f3443929 # timeout=10 [2021-05-14T22:45:18.490Z] go: github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.52 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory [2021-05-14T22:45:18.765Z] 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-14T22:45:19.657Z] Commit message: "Merge commit 'c475c2f4568a77e7de241284990901c927f62505' into HEAD" [2021-05-14T22:45:19.668Z] > git rev-list --no-walk 0fd3dd5c17be6628a04066761c2d01667d7a6867 # timeout=10 [2021-05-14T22:45:19.722Z] ---> job-cost.sh [2021-05-14T22:45:19.722Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oi97 [2021-05-14T22:45:20.089Z] [2021-05-14T22:45:20.089Z] GitHub has been notified of this commit’s build result [2021-05-14T22:45:20.089Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T22:45:20.815Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-14T22:45:21.147Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T22:45:21.449Z] + sudo service docker restart [2021-05-14T22:45:21.449Z] + true [2021-05-14T22:45:21.449Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T22:45:22.435Z] provisioning config files... [2021-05-14T22:45:22.449Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1812953030546151688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T22:45:22.781Z] ---> docker-login.sh [2021-05-14T22:45:22.781Z] nexus3.edgexfoundry.org:10001 [2021-05-14T22:45:23.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:45:23.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:45:23.048Z] Configure a credential helper to remove this warning. See [2021-05-14T22:45:23.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:45:23.048Z] [2021-05-14T22:45:23.048Z] Login Succeeded [2021-05-14T22:45:23.048Z] nexus3.edgexfoundry.org:10002 [2021-05-14T22:45:23.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:45:23.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:45:23.313Z] Configure a credential helper to remove this warning. See [2021-05-14T22:45:23.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:45:23.313Z] [2021-05-14T22:45:23.313Z] Login Succeeded [2021-05-14T22:45:23.313Z] nexus3.edgexfoundry.org:10003 [2021-05-14T22:45:23.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:45:23.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:45:23.576Z] Configure a credential helper to remove this warning. See [2021-05-14T22:45:23.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:45:23.576Z] [2021-05-14T22:45:23.576Z] Login Succeeded [2021-05-14T22:45:23.576Z] nexus3.edgexfoundry.org:10004 [2021-05-14T22:45:23.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:45:23.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:45:23.576Z] Configure a credential helper to remove this warning. See [2021-05-14T22:45:23.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:45:23.576Z] [2021-05-14T22:45:23.576Z] Login Succeeded [2021-05-14T22:45:23.576Z] docker.io [2021-05-14T22:45:23.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T22:45:24.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T22:45:24.103Z] Configure a credential helper to remove this warning. See [2021-05-14T22:45:24.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T22:45:24.103Z] [2021-05-14T22:45:24.103Z] Login Succeeded [2021-05-14T22:45:24.103Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T22:45:24.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T22:45:24.303Z] ========================================================= [2021-05-14T22:45:24.304Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-14T22:45:24.304Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T22:45:24.618Z] + 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-14T22:45:24.618Z] Sending build context to Docker daemon 2.591MB [2021-05-14T22:45:24.618Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T22:45:24.618Z] Step 2/8 : FROM ${BASE} [2021-05-14T22:45:24.885Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-14T22:45:24.885Z] 540db60ca938: Pulling fs layer [2021-05-14T22:45:24.885Z] adcc1eea9eea: Pulling fs layer [2021-05-14T22:45:24.885Z] 4c4ab2625f07: Pulling fs layer [2021-05-14T22:45:24.885Z] 0510c868ecb4: Pulling fs layer [2021-05-14T22:45:24.885Z] afea3b2eda06: Pulling fs layer [2021-05-14T22:45:24.885Z] 7809a108b3ef: Pulling fs layer [2021-05-14T22:45:24.885Z] f706445af74f: Pulling fs layer [2021-05-14T22:45:24.885Z] afea3b2eda06: Waiting [2021-05-14T22:45:24.885Z] 7809a108b3ef: Waiting [2021-05-14T22:45:24.885Z] f706445af74f: Waiting [2021-05-14T22:45:24.885Z] 0510c868ecb4: Waiting [2021-05-14T22:45:24.885Z] 4c4ab2625f07: Verifying Checksum [2021-05-14T22:45:24.885Z] 4c4ab2625f07: Download complete [2021-05-14T22:45:24.885Z] adcc1eea9eea: Verifying Checksum [2021-05-14T22:45:24.885Z] adcc1eea9eea: Download complete [2021-05-14T22:45:24.885Z] afea3b2eda06: Verifying Checksum [2021-05-14T22:45:24.885Z] afea3b2eda06: Download complete [2021-05-14T22:45:24.885Z] 7809a108b3ef: Verifying Checksum [2021-05-14T22:45:24.885Z] 7809a108b3ef: Download complete [2021-05-14T22:45:24.885Z] 540db60ca938: Verifying Checksum [2021-05-14T22:45:24.885Z] 540db60ca938: Download complete [2021-05-14T22:45:25.152Z] 540db60ca938: Pull complete [2021-05-14T22:45:25.417Z] adcc1eea9eea: Pull complete [2021-05-14T22:45:25.681Z] 4c4ab2625f07: Pull complete [2021-05-14T22:45:26.643Z] f706445af74f: Verifying Checksum [2021-05-14T22:45:26.643Z] f706445af74f: Download complete [2021-05-14T22:45:26.905Z] 0510c868ecb4: Download complete [2021-05-14T22:45:32.236Z] 0510c868ecb4: Pull complete [2021-05-14T22:45:32.236Z] afea3b2eda06: Pull complete [2021-05-14T22:45:32.236Z] 7809a108b3ef: Pull complete [2021-05-14T22:45:37.560Z] f706445af74f: Pull complete [2021-05-14T22:45:37.560Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-14T22:45:37.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-14T22:45:37.560Z] ---> b068be0155e3 [2021-05-14T22:45:37.560Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T22:45:37.831Z] ---> Running in 2944ea80e267 [2021-05-14T22:45:38.096Z] Removing intermediate container 2944ea80e267 [2021-05-14T22:45:38.096Z] ---> c1b7141affe4 [2021-05-14T22:45:38.096Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T22:45:38.365Z] ---> Running in 35822461b47e [2021-05-14T22:45:39.765Z] Removing intermediate container 35822461b47e [2021-05-14T22:45:39.765Z] ---> 7479ca88e9f4 [2021-05-14T22:45:39.765Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-14T22:45:39.765Z] ---> Running in 064e2371944a [2021-05-14T22:45:40.347Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T22:45:40.925Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T22:45:41.503Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-14T22:45:41.766Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-14T22:45:41.766Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-14T22:45:41.766Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-14T22:45:42.031Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-14T22:45:42.031Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-14T22:45:42.031Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T22:45:42.031Z] OK: 150 MiB in 46 packages [2021-05-14T22:45:42.609Z] Removing intermediate container 064e2371944a [2021-05-14T22:45:42.609Z] ---> 3a4fd18abd48 [2021-05-14T22:45:42.609Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-14T22:45:42.872Z] ---> Running in 87dcd4e76cdf [2021-05-14T22:45:42.872Z] Removing intermediate container 87dcd4e76cdf [2021-05-14T22:45:42.872Z] ---> 456bc0be77ab [2021-05-14T22:45:42.872Z] Step 7/8 : COPY . . [2021-05-14T22:45:44.270Z] ---> 00e866c78b9b [2021-05-14T22:45:44.270Z] Step 8/8 : RUN go mod download [2021-05-14T22:45:44.270Z] ---> Running in 334cc743f451 [2021-05-14T22:45:46.207Z] go: github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.52 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory [2021-05-14T22:45:46.788Z] 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-14T22:45:47.736Z] ---> job-cost.sh [2021-05-14T22:45:47.736Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-C5dq [2021-05-14T22:45:58.695Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T22:46:02.683Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T22:46:29.345Z] lf-activate-venv(): INFO: Adding /tmp/venv-C5dq/bin to PATH [2021-05-14T22:46:29.345Z] INFO: No Stack... [2021-05-14T22:46:29.921Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T22:46:30.497Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T22:46:30.815Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-14T22:46:30.815Z] + cut -d, -f6 [Pipeline] lock [2021-05-14T22:46:30.860Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-926-2-stack-cost] [2021-05-14T22:46:30.869Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-926-2-stack-cost] did not exist. Created. [2021-05-14T22:46:30.869Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-926-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T22:46:31.200Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-14T22:46:31.575Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T22:46:31.589Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-926-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-14T22:46:31.863Z] Failed in branch amd64 [2021-05-14T22:47:20.438Z] lf-activate-venv(): INFO: Adding /tmp/venv-oi97/bin to PATH [2021-05-14T22:47:20.438Z] INFO: No Stack... [2021-05-14T22:47:20.438Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-14T22:47:20.438Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T22:47:20.786Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-14T22:47:20.786Z] [Pipeline] lock [2021-05-14T22:47:20.846Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-926-2-stack-cost] [2021-05-14T22:47:20.855Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-926-2-stack-cost] did not exist. Created. [2021-05-14T22:47:20.855Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-926-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T22:47:21.222Z] /w/workspace/device-sdk-go/2@tmp/durable-82d8f51c/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-82d8f51c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-14T22:47:21.563Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-14T22:47:21.595Z] Warning: overwriting stash ‘stack-cost’ [2021-05-14T22:47:22.196Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T22:47:22.206Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-926-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-14T22:47:22.479Z] 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-14T22:47:24.313Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T22:47:24.898Z] ---> package-listing.sh [2021-05-14T22:47:24.898Z] ++ facter osfamily [2021-05-14T22:47:24.898Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-14T22:47:24.898Z] + OS_FAMILY=redhat [2021-05-14T22:47:24.898Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-926 [2021-05-14T22:47:24.898Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-14T22:47:24.898Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-14T22:47:24.898Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-14T22:47:24.898Z] + PACKAGES=/tmp/packages_start.txt [2021-05-14T22:47:24.898Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-926 ']' [2021-05-14T22:47:24.898Z] + PACKAGES=/tmp/packages_end.txt [2021-05-14T22:47:24.898Z] + case "${OS_FAMILY}" in [2021-05-14T22:47:24.898Z] + rpm -qa [2021-05-14T22:47:24.898Z] + sort [2021-05-14T22:47:30.298Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-14T22:47:30.298Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-14T22:47:30.298Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-14T22:47:30.298Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-926 ']' [2021-05-14T22:47:30.298Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-926/archives/ [2021-05-14T22:47:30.298Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-926/archives/ [Pipeline] echo [2021-05-14T22:47:30.314Z] 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/dgexfoundry_device-sdk-go_PR-926/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-14T22:47:30.611Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-14T22:47:30.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T22:47:30.930Z] [2021-05-14T22:47:30.930Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-14T22:47:31.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T22:47:31.251Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-14T22:47:31.251Z] df20fa9351a1: Pulling fs layer [2021-05-14T22:47:31.251Z] 36b3adc4ff6f: Pulling fs layer [2021-05-14T22:47:31.251Z] 8ad3a11d3b57: Pulling fs layer [2021-05-14T22:47:31.251Z] 46f8f816bc3b: Pulling fs layer [2021-05-14T22:47:31.251Z] 93b61091891f: Pulling fs layer [2021-05-14T22:47:31.251Z] 93b9cdb0e59b: Pulling fs layer [2021-05-14T22:47:31.251Z] 5e14af77c1be: Pulling fs layer [2021-05-14T22:47:31.251Z] 01666e4c0597: Pulling fs layer [2021-05-14T22:47:31.251Z] aa168da1d23b: Pulling fs layer [2021-05-14T22:47:31.251Z] 46f8f816bc3b: Waiting [2021-05-14T22:47:31.251Z] 93b61091891f: Waiting [2021-05-14T22:47:31.251Z] 93b9cdb0e59b: Waiting [2021-05-14T22:47:31.251Z] 5e14af77c1be: Waiting [2021-05-14T22:47:31.251Z] 01666e4c0597: Waiting [2021-05-14T22:47:31.251Z] aa168da1d23b: Waiting [2021-05-14T22:47:31.251Z] 36b3adc4ff6f: Download complete [2021-05-14T22:47:31.251Z] 46f8f816bc3b: Download complete [2021-05-14T22:47:31.520Z] df20fa9351a1: Verifying Checksum [2021-05-14T22:47:31.520Z] df20fa9351a1: Download complete [2021-05-14T22:47:31.520Z] 93b9cdb0e59b: Verifying Checksum [2021-05-14T22:47:31.520Z] 93b9cdb0e59b: Download complete [2021-05-14T22:47:31.520Z] 93b61091891f: Verifying Checksum [2021-05-14T22:47:31.520Z] 93b61091891f: Download complete [2021-05-14T22:47:31.520Z] 5e14af77c1be: Verifying Checksum [2021-05-14T22:47:31.520Z] 5e14af77c1be: Download complete [2021-05-14T22:47:31.520Z] 01666e4c0597: Verifying Checksum [2021-05-14T22:47:31.520Z] 01666e4c0597: Download complete [2021-05-14T22:47:31.783Z] df20fa9351a1: Pull complete [2021-05-14T22:47:31.783Z] 8ad3a11d3b57: Verifying Checksum [2021-05-14T22:47:31.783Z] 8ad3a11d3b57: Download complete [2021-05-14T22:47:32.048Z] 36b3adc4ff6f: Pull complete [2021-05-14T22:47:33.014Z] 8ad3a11d3b57: Pull complete [2021-05-14T22:47:33.014Z] 46f8f816bc3b: Pull complete [2021-05-14T22:47:33.598Z] 93b61091891f: Pull complete [2021-05-14T22:47:33.863Z] 93b9cdb0e59b: Pull complete [2021-05-14T22:47:33.863Z] aa168da1d23b: Verifying Checksum [2021-05-14T22:47:33.863Z] aa168da1d23b: Download complete [2021-05-14T22:47:34.127Z] 5e14af77c1be: Pull complete [2021-05-14T22:47:34.127Z] 01666e4c0597: Pull complete [2021-05-14T22:47:42.321Z] aa168da1d23b: Pull complete [2021-05-14T22:47:42.321Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-14T22:47:42.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T22:47:42.321Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-14T22:47:42.506Z] prd-centos7-docker-4c-2g-157 does not seem to be running inside a container [2021-05-14T22:47:42.558Z] $ 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/dgexfoundry_device-sdk-go_PR-926/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-926 -v /w/workspace/dgexfoundry_device-sdk-go_PR-926:/w/workspace/dgexfoundry_device-sdk-go_PR-926:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-926@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-14T22:47:45.865Z] $ docker top f806f5cb9a6f5e6add34ecd4dfc1cec3dd5580ca2bbab96e0aba39813ea3f588 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T22:47:46.290Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-14T22:47:46.595Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-14T22:47:46.903Z] + ls /var/log/sa-host [2021-05-14T22:47:46.904Z] + sadf -c /var/log/sa-host/sa14 [2021-05-14T22:47:46.904Z] file_magic: OK [2021-05-14T22:47:46.904Z] HZ: Using current value: 100 [2021-05-14T22:47:46.904Z] file_header: OK [2021-05-14T22:47:46.904Z] 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-14T22:47:46.904Z] Statistics: [2021-05-14T22:47:46.904Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-14T22:47:46.904Z] File successfully converted to sysstat format version 12.2.1 [2021-05-14T22:47:46.904Z] + sadf -c /var/log/sa-host/sa23 [2021-05-14T22:47:46.904Z] file_magic: OK [2021-05-14T22:47:46.904Z] HZ: Using current value: 100 [2021-05-14T22:47:46.904Z] file_header: OK [2021-05-14T22:47:46.904Z] 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-14T22:47:46.904Z] Statistics: [2021-05-14T22:47:46.904Z] Hnuu...uuuununununu... [2021-05-14T22:47:46.904Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T22:47:47.520Z] provisioning config files... [2021-05-14T22:47:47.535Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-926@tmp/config6808127685861082799tmp [Pipeline] { [Pipeline] echo [2021-05-14T22:47:47.559Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T22:47:47.859Z] ---> create-netrc.sh [Pipeline] } [2021-05-14T22:47:47.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-14T22:47:47.895Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T22:47:48.199Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-14T22:47:48.212Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T22:47:48.517Z] ---> sudo-logs.sh [2021-05-14T22:47:48.518Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-14T22:47:48.596Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T22:47:48.902Z] ---> job-cost.sh [2021-05-14T22:47:48.902Z] lf-activate-venv: SKIPPING [2021-05-14T22:47:48.902Z] DEBUG: total: 0.20999999344348907 [2021-05-14T22:47:48.902Z] INFO: Retrieving Stack Cost... [2021-05-14T22:47:49.851Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T22:47:50.435Z] INFO: Archiving Costs [Pipeline] echo [2021-05-14T22:47:50.451Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T22:47:50.752Z] ---> logs-deploy.sh [2021-05-14T22:47:50.753Z] lf-activate-venv: SKIPPING [2021-05-14T22:47:50.753Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-926/2 [2021-05-14T22:47:50.753Z] INFO: archiving workspace using pattern(s): [2021-05-14T22:47:52.678Z] Archives upload complete. [2021-05-14T22:47:52.679Z] INFO: archiving logs to Nexus