Pull request #58 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5430346cbf96296d96669002b3f00041d9af7d07+d1bfd12592bfcc37ebda2d741922e4b068f28a62 (af516aa2d511d80e186e5f09f8676bf697ca6859) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-58/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-58/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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-rest-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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-12215’ is offline; ‘prd-centos7-docker-4c-2g-12217’ is offline; ‘prd-centos7-docker-8c-8g-12216’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11550’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-12219 in /w/workspace/dgexfoundry_device-rest-go_PR-58 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-58 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d1bfd12592bfcc37ebda2d741922e4b068f28a62 into PR head commit 5430346cbf96296d96669002b3f00041d9af7d07 Merge succeeded, producing 5430346cbf96296d96669002b3f00041d9af7d07 Checking out Revision 5430346cbf96296d96669002b3f00041d9af7d07 (PR-58) > git config core.sparsecheckout # timeout=10 > git checkout -f 5430346cbf96296d96669002b3f00041d9af7d07 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5430346cbf96296d96669002b3f00041d9af7d07 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-16T06:28:08.086Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-16T06:28:08.439Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-16T06:28:08.648Z] ========================================================= [2020-11-16T06:28:08.648Z] EdgeX Global Pipelines Version Info [2020-11-16T06:28:08.648Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:28:10.210Z] ------------------- [2020-11-16T06:28:10.210Z] stable info: [2020-11-16T06:28:10.210Z] ------------------- [2020-11-16T06:28:10.210Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T06:28:10.210Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-16T06:28:10.210Z] Message: update stable to v1.0.162 [2020-11-16T06:28:11.159Z] ------------------- [2020-11-16T06:28:11.159Z] experimental info: [2020-11-16T06:28:11.159Z] ------------------- [2020-11-16T06:28:11.159Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T06:28:11.159Z] Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b [2020-11-16T06:28:11.159Z] Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-16T06:28:11.695Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-11-16T06:28:11.865Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-11-16T06:28:12.014Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-16T06:28:12.139Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-16T06:28:12.265Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-16T06:28:12.443Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-16T06:28:12.562Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-16T06:28:12.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-16T06:28:12.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-16T06:28:12.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-16T06:28:13.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-16T06:28:13.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-11-16T06:28:13.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-16T06:28:13.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-16T06:28:14.049Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T06:28:14.181Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T06:28:14.316Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T06:28:14.440Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T06:28:14.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-16T06:28:14.702Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-16T06:28:14.826Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-16T06:28:14.957Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-16T06:28:15.083Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-16T06:28:15.210Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-16T06:28:15.555Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-16T06:28:15.674Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-16T06:28:15.797Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-58 [Pipeline] echo [2020-11-16T06:28:15.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-58 [Pipeline] echo [2020-11-16T06:28:16.073Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-58 [Pipeline] echo [2020-11-16T06:28:16.217Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5430346cbf96296d96669002b3f00041d9af7d07 [Pipeline] echo [2020-11-16T06:28:16.336Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5430346 [Pipeline] echo [2020-11-16T06:28:16.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T06:28:16.718Z] provisioning config files... [2020-11-16T06:28:16.770Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-58@tmp/config7616508371716035771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:28:17.214Z] ---> docker-login.sh [2020-11-16T06:28:17.214Z] nexus3.edgexfoundry.org:10001 [2020-11-16T06:28:17.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:28:17.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:28:17.746Z] Configure a credential helper to remove this warning. See [2020-11-16T06:28:17.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:28:17.746Z] [2020-11-16T06:28:17.746Z] Login Succeeded [2020-11-16T06:28:17.746Z] nexus3.edgexfoundry.org:10002 [2020-11-16T06:28:17.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:28:17.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:28:17.746Z] Configure a credential helper to remove this warning. See [2020-11-16T06:28:17.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:28:17.746Z] [2020-11-16T06:28:17.746Z] Login Succeeded [2020-11-16T06:28:17.746Z] nexus3.edgexfoundry.org:10003 [2020-11-16T06:28:18.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:28:18.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:28:18.010Z] Configure a credential helper to remove this warning. See [2020-11-16T06:28:18.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:28:18.010Z] [2020-11-16T06:28:18.010Z] Login Succeeded [2020-11-16T06:28:18.010Z] nexus3.edgexfoundry.org:10004 [2020-11-16T06:28:18.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:28:18.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:28:18.281Z] Configure a credential helper to remove this warning. See [2020-11-16T06:28:18.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:28:18.281Z] [2020-11-16T06:28:18.281Z] Login Succeeded [2020-11-16T06:28:18.281Z] docker.io [2020-11-16T06:28:18.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:28:18.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:28:18.545Z] Configure a credential helper to remove this warning. See [2020-11-16T06:28:18.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:28:18.545Z] [2020-11-16T06:28:18.545Z] Login Succeeded [2020-11-16T06:28:18.545Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T06:28:18.569Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T06:28:19.581Z] + git log --format=format:%s -1 5430346cbf96296d96669002b3f00041d9af7d07 [Pipeline] echo [2020-11-16T06:28:19.678Z] GIT_COMMIT: 5430346cbf96296d96669002b3f00041d9af7d07, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo [2020-11-16T06:28:19.750Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:28:20.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T06:28:20.402Z] [2020-11-16T06:28:20.402Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:28:20.788Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T06:28:20.788Z] latest: Pulling from edgex-devops/git-semver [2020-11-16T06:28:20.788Z] 31603596830f: Pulling fs layer [2020-11-16T06:28:20.788Z] 2a8b12db71e7: Pulling fs layer [2020-11-16T06:28:20.788Z] 6ca5941a6612: Pulling fs layer [2020-11-16T06:28:20.788Z] ecc8261a40a4: Pulling fs layer [2020-11-16T06:28:20.788Z] ecc8261a40a4: Waiting [2020-11-16T06:28:20.788Z] 2a8b12db71e7: Verifying Checksum [2020-11-16T06:28:20.788Z] 2a8b12db71e7: Download complete [2020-11-16T06:28:21.052Z] 31603596830f: Verifying Checksum [2020-11-16T06:28:21.052Z] 31603596830f: Download complete [2020-11-16T06:28:21.052Z] ecc8261a40a4: Verifying Checksum [2020-11-16T06:28:21.052Z] ecc8261a40a4: Download complete [2020-11-16T06:28:21.052Z] 6ca5941a6612: Verifying Checksum [2020-11-16T06:28:21.052Z] 6ca5941a6612: Download complete [2020-11-16T06:28:21.317Z] 31603596830f: Pull complete [2020-11-16T06:28:21.581Z] 2a8b12db71e7: Pull complete [2020-11-16T06:28:22.164Z] 6ca5941a6612: Pull complete [2020-11-16T06:28:22.745Z] ecc8261a40a4: Pull complete [2020-11-16T06:28:22.745Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-16T06:28:22.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T06:28:22.745Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-16T06:28:22.895Z] prd-centos7-docker-4c-2g-12219 does not seem to be running inside a container [2020-11-16T06:28:22.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-58 -v /w/workspace/dgexfoundry_device-rest-go_PR-58:/w/workspace/dgexfoundry_device-rest-go_PR-58:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-58@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-58@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T06:28:25.308Z] $ docker top ebad9cdfe6d171119c9b70085ca8d1431d3c0f74179c86338f5260c99b6a5f95 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T06:28:25.728Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T06:28:25.728Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T06:28:25.945Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T06:28:25.952Z] $ docker exec ebad9cdfe6d171119c9b70085ca8d1431d3c0f74179c86338f5260c99b6a5f95 ssh-agent [2020-11-16T06:28:26.109Z] SSH_AUTH_SOCK=/tmp/ssh-p6qLHHcF6v4X/agent.11 [2020-11-16T06:28:26.109Z] SSH_AGENT_PID=17 [2020-11-16T06:28:26.123Z] Running ssh-add (command line suppressed) [2020-11-16T06:28:26.249Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-58@tmp/private_key_7223279816735364716.key (/w/workspace/dgexfoundry_device-rest-go_PR-58@tmp/private_key_7223279816735364716.key) [2020-11-16T06:28:26.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T06:28:26.701Z] + git tag --points-at HEAD [Pipeline] } [2020-11-16T06:28:26.734Z] $ docker exec --env ******** --env ******** ebad9cdfe6d171119c9b70085ca8d1431d3c0f74179c86338f5260c99b6a5f95 ssh-agent -k [2020-11-16T06:28:26.853Z] unset SSH_AUTH_SOCK; [2020-11-16T06:28:26.853Z] unset SSH_AGENT_PID; [2020-11-16T06:28:26.853Z] echo Agent pid 17 killed; [2020-11-16T06:28:26.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-16T06:28:27.102Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T06:28:27.102Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T06:28:27.284Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T06:28:27.295Z] $ docker exec ebad9cdfe6d171119c9b70085ca8d1431d3c0f74179c86338f5260c99b6a5f95 ssh-agent [2020-11-16T06:28:27.463Z] SSH_AUTH_SOCK=/tmp/ssh-T0Rp1Afnq1tw/agent.47 [2020-11-16T06:28:27.463Z] SSH_AGENT_PID=52 [2020-11-16T06:28:27.472Z] Running ssh-add (command line suppressed) [2020-11-16T06:28:27.602Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-58@tmp/private_key_8256402812531156672.key (/w/workspace/dgexfoundry_device-rest-go_PR-58@tmp/private_key_8256402812531156672.key) [2020-11-16T06:28:27.654Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T06:28:28.037Z] + git semver init [2020-11-16T06:28:28.038Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T06:28:28.038Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-58/.git [2020-11-16T06:28:28.038Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-58 [2020-11-16T06:28:28.038Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T06:28:28.038Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T06:28:28.038Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T06:28:28.038Z] # $SEMVER_BRANCH = PR-58 [2020-11-16T06:28:28.038Z] # $SEMVER_TEMP = /tmp/semver-447495368 [2020-11-16T06:28:28.038Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-11-16T06:28:29.486Z] # '/tmp/semver-447495368' -> '/w/workspace/dgexfoundry_device-rest-go_PR-58/.semver' [2020-11-16T06:28:29.486Z] # -> Force: false [2020-11-16T06:28:29.486Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-58/.semver [Pipeline] } [2020-11-16T06:28:29.517Z] $ docker exec --env ******** --env ******** ebad9cdfe6d171119c9b70085ca8d1431d3c0f74179c86338f5260c99b6a5f95 ssh-agent -k [2020-11-16T06:28:29.631Z] unset SSH_AUTH_SOCK; [2020-11-16T06:28:29.632Z] unset SSH_AGENT_PID; [2020-11-16T06:28:29.632Z] echo Agent pid 52 killed; [2020-11-16T06:28:29.684Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T06:28:30.229Z] + git semver [Pipeline] } [2020-11-16T06:28:30.264Z] $ docker stop --time=1 ebad9cdfe6d171119c9b70085ca8d1431d3c0f74179c86338f5260c99b6a5f95 [2020-11-16T06:28:31.698Z] $ docker rm -f ebad9cdfe6d171119c9b70085ca8d1431d3c0f74179c86338f5260c99b6a5f95 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T06:28:32.221Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-16T06:28:32.719Z] Stashed 1 file(s) [Pipeline] echo [2020-11-16T06:28:32.739Z] [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 [2020-11-16T06:28:48.682Z] Still waiting to schedule task [2020-11-16T06:28:48.683Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-11-16T06:28:48.712Z] Still waiting to schedule task [2020-11-16T06:28:48.712Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-11-16T06:30:05.718Z] Running on prd-centos7-docker-4c-2g-12226 in /w/workspace/dgexfoundry_device-rest-go_PR-58 [Pipeline] { [Pipeline] ws [2020-11-16T06:30:05.838Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-11-16T06:30:09.785Z] using credential edgex-jenkins-ssh [2020-11-16T06:30:09.837Z] Cloning the remote Git repository [2020-11-16T06:30:09.860Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-16T06:30:09.934Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-11-16T06:30:09.991Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-16T06:30:09.991Z] > git --version # timeout=10 [2020-11-16T06:30:09.997Z] > git --version # 'git version 2.16.5' [2020-11-16T06:30:09.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:30:10.025Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:30:11.389Z] Merging remotes/origin/master commit d1bfd12592bfcc37ebda2d741922e4b068f28a62 into PR head commit 5430346cbf96296d96669002b3f00041d9af7d07 [2020-11-16T06:30:11.470Z] Merge succeeded, producing 5430346cbf96296d96669002b3f00041d9af7d07 [2020-11-16T06:30:11.471Z] Checking out Revision 5430346cbf96296d96669002b3f00041d9af7d07 (PR-58) [2020-11-16T06:30:10.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-16T06:30:10.911Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:30:10.924Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-16T06:30:10.938Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-16T06:30:10.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:30:10.943Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T06:30:11.394Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:30:11.400Z] > git checkout -f 5430346cbf96296d96669002b3f00041d9af7d07 # timeout=10 [2020-11-16T06:30:11.433Z] > git remote # timeout=10 [2020-11-16T06:30:11.441Z] > git config --get remote.origin.url # timeout=10 [2020-11-16T06:30:11.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:30:11.451Z] > git merge d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 [2020-11-16T06:30:11.461Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-16T06:30:11.470Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:30:11.475Z] > git checkout -f 5430346cbf96296d96669002b3f00041d9af7d07 # timeout=10 [2020-11-16T06:30:15.144Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" [2020-11-16T06:30:15.168Z] > git --version # timeout=10 [2020-11-16T06:30:15.172Z] > git --version # 'git version 2.16.5' [2020-11-16T06:30:15.176Z] fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T06:30:16.067Z] provisioning config files... [2020-11-16T06:30:16.096Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3134476346193018776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:30:16.922Z] ---> docker-login.sh [2020-11-16T06:30:16.922Z] nexus3.edgexfoundry.org:10001 [2020-11-16T06:30:17.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:30:17.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:30:17.187Z] Configure a credential helper to remove this warning. See [2020-11-16T06:30:17.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:30:17.187Z] [2020-11-16T06:30:17.187Z] Login Succeeded [2020-11-16T06:30:17.187Z] nexus3.edgexfoundry.org:10002 [2020-11-16T06:30:17.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:30:17.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:30:17.451Z] Configure a credential helper to remove this warning. See [2020-11-16T06:30:17.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:30:17.451Z] [2020-11-16T06:30:17.451Z] Login Succeeded [2020-11-16T06:30:17.451Z] nexus3.edgexfoundry.org:10003 [2020-11-16T06:30:17.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:30:17.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:30:17.715Z] Configure a credential helper to remove this warning. See [2020-11-16T06:30:17.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:30:17.715Z] [2020-11-16T06:30:17.715Z] Login Succeeded [2020-11-16T06:30:17.715Z] nexus3.edgexfoundry.org:10004 [2020-11-16T06:30:17.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:30:17.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:30:17.715Z] Configure a credential helper to remove this warning. See [2020-11-16T06:30:17.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:30:17.715Z] [2020-11-16T06:30:17.715Z] Login Succeeded [2020-11-16T06:30:17.715Z] docker.io [2020-11-16T06:30:17.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:30:18.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:30:18.243Z] Configure a credential helper to remove this warning. See [2020-11-16T06:30:18.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:30:18.243Z] [2020-11-16T06:30:18.243Z] Login Succeeded [2020-11-16T06:30:18.243Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T06:30:18.296Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T06:30:18.937Z] ========================================================= [2020-11-16T06:30:18.937Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-16T06:30:18.937Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:30:19.349Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-11-16T06:30:19.349Z] Sending build context to Docker daemon 79.87kB [2020-11-16T06:30:19.615Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-16T06:30:19.615Z] Step 2/10 : FROM ${BASE} [2020-11-16T06:30:19.615Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-16T06:30:19.615Z] df20fa9351a1: Pulling fs layer [2020-11-16T06:30:19.615Z] ed8968b2872e: Pulling fs layer [2020-11-16T06:30:19.615Z] a92cc7c5fd73: Pulling fs layer [2020-11-16T06:30:19.615Z] e871e8e8d7a9: Pulling fs layer [2020-11-16T06:30:19.615Z] e73272ec9a57: Pulling fs layer [2020-11-16T06:30:19.615Z] 1e910a182e73: Pulling fs layer [2020-11-16T06:30:19.615Z] 4e634b169226: Pulling fs layer [2020-11-16T06:30:19.615Z] e73272ec9a57: Waiting [2020-11-16T06:30:19.615Z] 1e910a182e73: Waiting [2020-11-16T06:30:19.615Z] 4e634b169226: Waiting [2020-11-16T06:30:19.615Z] e871e8e8d7a9: Waiting [2020-11-16T06:30:19.615Z] a92cc7c5fd73: Verifying Checksum [2020-11-16T06:30:19.615Z] a92cc7c5fd73: Download complete [2020-11-16T06:30:19.615Z] ed8968b2872e: Verifying Checksum [2020-11-16T06:30:19.615Z] ed8968b2872e: Download complete [2020-11-16T06:30:19.615Z] e73272ec9a57: Verifying Checksum [2020-11-16T06:30:19.615Z] e73272ec9a57: Download complete [2020-11-16T06:30:19.615Z] 1e910a182e73: Verifying Checksum [2020-11-16T06:30:19.615Z] 1e910a182e73: Download complete [2020-11-16T06:30:19.615Z] df20fa9351a1: Verifying Checksum [2020-11-16T06:30:19.615Z] df20fa9351a1: Download complete [2020-11-16T06:30:19.883Z] df20fa9351a1: Pull complete [2020-11-16T06:30:20.146Z] ed8968b2872e: Pull complete [2020-11-16T06:30:20.146Z] a92cc7c5fd73: Pull complete [2020-11-16T06:30:21.545Z] 4e634b169226: Verifying Checksum [2020-11-16T06:30:21.545Z] 4e634b169226: Download complete [2020-11-16T06:30:22.496Z] e871e8e8d7a9: Verifying Checksum [2020-11-16T06:30:22.496Z] e871e8e8d7a9: Download complete [2020-11-16T06:30:27.835Z] e871e8e8d7a9: Pull complete [2020-11-16T06:30:27.835Z] e73272ec9a57: Pull complete [2020-11-16T06:30:27.835Z] 1e910a182e73: Pull complete [2020-11-16T06:30:37.925Z] 4e634b169226: Pull complete [2020-11-16T06:30:37.925Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-16T06:30:37.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-16T06:30:37.925Z] ---> f7629b54cfaa [2020-11-16T06:30:37.925Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-16T06:30:37.925Z] ---> Running in 18d9f3b5fff6 [2020-11-16T06:30:37.925Z] Removing intermediate container 18d9f3b5fff6 [2020-11-16T06:30:37.925Z] ---> e114c819034a [2020-11-16T06:30:37.925Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T06:30:37.925Z] ---> Running in b7e7bfe7e74d [2020-11-16T06:30:37.925Z] Removing intermediate container b7e7bfe7e74d [2020-11-16T06:30:37.925Z] ---> e6dce7f3c3cd [2020-11-16T06:30:37.925Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-16T06:30:37.925Z] ---> Running in a3d1c43f53c7 [2020-11-16T06:30:37.925Z] Removing intermediate container a3d1c43f53c7 [2020-11-16T06:30:37.925Z] ---> 865b273d27d4 [2020-11-16T06:30:37.925Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T06:30:37.925Z] ---> Running in acd9f3f376eb [2020-11-16T06:30:38.880Z] Removing intermediate container acd9f3f376eb [2020-11-16T06:30:38.880Z] ---> 5bafe98d2c10 [2020-11-16T06:30:38.880Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T06:30:38.880Z] ---> Running in a2ed5931b27c [2020-11-16T06:30:39.467Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T06:30:40.055Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T06:30:41.010Z] OK: 166 MiB in 39 packages [2020-11-16T06:30:41.274Z] Removing intermediate container a2ed5931b27c [2020-11-16T06:30:41.274Z] ---> 8615718dc3e9 [2020-11-16T06:30:41.274Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-16T06:30:41.274Z] ---> Running in 82cd9fb0b567 [2020-11-16T06:30:41.554Z] Removing intermediate container 82cd9fb0b567 [2020-11-16T06:30:41.554Z] ---> ee3c12eb671d [2020-11-16T06:30:41.554Z] Step 9/10 : COPY . . [2020-11-16T06:30:41.554Z] ---> 994c5ee20cec [2020-11-16T06:30:41.554Z] Step 10/10 : RUN go mod download [2020-11-16T06:30:41.821Z] ---> Running in d2e49aa46d53 [2020-11-16T06:31:03.898Z] Removing intermediate container d2e49aa46d53 [2020-11-16T06:31:03.898Z] ---> 604d4ac0f88c [2020-11-16T06:31:03.898Z] Successfully built 604d4ac0f88c [2020-11-16T06:31:03.898Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:31:04.251Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T06:31:04.251Z] . [Pipeline] withDockerContainer [2020-11-16T06:31:04.386Z] prd-centos7-docker-4c-2g-12226 does not seem to be running inside a container [2020-11-16T06:31:04.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat [2020-11-16T06:31:05.254Z] $ docker top 9ea2afbd3d1479fc1fecc10c9d0f88a7cbd21742c880bd411c57ceaf353adfc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T06:31:05.962Z] + go version [2020-11-16T06:31:05.962Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-16T06:31:06.002Z] $ docker stop --time=1 9ea2afbd3d1479fc1fecc10c9d0f88a7cbd21742c880bd411c57ceaf353adfc4 [2020-11-16T06:31:07.390Z] $ docker rm -f 9ea2afbd3d1479fc1fecc10c9d0f88a7cbd21742c880bd411c57ceaf353adfc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:31:08.542Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T06:31:08.543Z] . [Pipeline] withDockerContainer [2020-11-16T06:31:08.664Z] prd-centos7-docker-4c-2g-12226 does not seem to be running inside a container [2020-11-16T06:31:08.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat [2020-11-16T06:31:09.385Z] $ docker top a8f76451d2ac6e62e3876adbd66fe1e078e80a5399eb46bfa1ac594ce2860423 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T06:31:09.916Z] + make test [2020-11-16T06:31:09.916Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-16T06:31:10.497Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-16T06:31:22.915Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-16T06:31:22.915Z] ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 56.3% of statements [2020-11-16T06:31:22.915Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T06:31:24.323Z] gofmt -l . [2020-11-16T06:31:24.323Z] [ "`gofmt -l .`" = "" ] [2020-11-16T06:31:24.323Z] ./bin/test-go-mod-tidy.sh [2020-11-16T06:31:24.587Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-11-16T06:31:24.879Z] $ docker stop --time=1 a8f76451d2ac6e62e3876adbd66fe1e078e80a5399eb46bfa1ac594ce2860423 [2020-11-16T06:31:27.291Z] $ docker rm -f a8f76451d2ac6e62e3876adbd66fe1e078e80a5399eb46bfa1ac594ce2860423 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T06:31:28.048Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T06:31:28.367Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-16T06:31:29.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T06:31:30.241Z] + ls -al . [2020-11-16T06:31:30.241Z] total 96 [2020-11-16T06:31:30.241Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 16 06:31 . [2020-11-16T06:31:30.241Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 16 06:30 .. [2020-11-16T06:31:30.241Z] -rw-rw-r--. 1 jenkins jenkins 5294 Nov 16 06:30 Attribution.txt [2020-11-16T06:31:30.241Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 16 06:30 bin [2020-11-16T06:31:30.241Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 06:30 cmd [2020-11-16T06:31:30.241Z] -rw-r--r--. 1 jenkins jenkins 9369 Nov 16 06:31 coverage.out [2020-11-16T06:31:30.241Z] -rw-rw-r--. 1 jenkins jenkins 1519 Nov 16 06:30 Dockerfile [2020-11-16T06:31:30.241Z] -rw-rw-r--. 1 jenkins jenkins 989 Nov 16 06:30 Dockerfile.build [2020-11-16T06:31:30.241Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 16 06:30 .dockerignore [2020-11-16T06:31:30.241Z] drwxrwxr-x. 2 jenkins jenkins 93 Nov 16 06:31 driver [2020-11-16T06:31:30.241Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 16 06:30 .git [2020-11-16T06:31:30.241Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 16 06:30 .github [2020-11-16T06:31:30.241Z] -rw-rw-r--. 1 jenkins jenkins 339 Nov 16 06:30 .gitignore [2020-11-16T06:31:30.241Z] -rw-r--r--. 1 jenkins jenkins 267 Nov 16 06:31 go.mod [2020-11-16T06:31:30.241Z] -rw-r--r--. 1 jenkins jenkins 13790 Nov 16 06:31 go.sum [2020-11-16T06:31:30.241Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 16 06:30 Jenkinsfile [2020-11-16T06:31:30.241Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 06:30 LICENSE [2020-11-16T06:31:30.241Z] -rw-rw-r--. 1 jenkins jenkins 951 Nov 16 06:30 Makefile [2020-11-16T06:31:30.241Z] -rw-rw-r--. 1 jenkins jenkins 5917 Nov 16 06:30 README.md [2020-11-16T06:31:30.241Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 16 06:30 snap [2020-11-16T06:31:30.241Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 16 06:28 VERSION [2020-11-16T06:31:30.241Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 16 06:30 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:31:30.586Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=5430346cbf96296d96669002b3f00041d9af7d07 --label arch=amd64 --label version=0.0.0 . [2020-11-16T06:31:30.586Z] Sending build context to Docker daemon 91.65kB [2020-11-16T06:31:30.586Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-16T06:31:30.586Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-16T06:31:30.586Z] ---> 604d4ac0f88c [2020-11-16T06:31:30.586Z] Step 3/25 : ARG MAKE='make build' [2020-11-16T06:31:30.853Z] ---> Running in 225a2fd36429 [2020-11-16T06:31:30.853Z] Removing intermediate container 225a2fd36429 [2020-11-16T06:31:30.853Z] ---> fa53a7ce0f8c [2020-11-16T06:31:30.853Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-16T06:31:31.118Z] ---> Running in e073ae47fc27 [2020-11-16T06:31:31.118Z] Removing intermediate container e073ae47fc27 [2020-11-16T06:31:31.118Z] ---> f51a7d2cea96 [2020-11-16T06:31:31.118Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T06:31:31.118Z] ---> Running in 3f367c23c92a [2020-11-16T06:31:31.382Z] Removing intermediate container 3f367c23c92a [2020-11-16T06:31:31.382Z] ---> 3071a8caaa84 [2020-11-16T06:31:31.382Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T06:31:31.382Z] ---> Running in 81548c32fe54 [2020-11-16T06:31:31.808Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12228 in /w/workspace/dgexfoundry_device-rest-go_PR-58 [Pipeline] { [Pipeline] ws [2020-11-16T06:31:31.938Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-11-16T06:31:32.341Z] Removing intermediate container 81548c32fe54 [2020-11-16T06:31:32.341Z] ---> ecdf5b43333e [2020-11-16T06:31:32.341Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T06:31:32.341Z] ---> Running in a9a7fdee66a6 [2020-11-16T06:31:32.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T06:31:33.501Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T06:31:34.078Z] OK: 166 MiB in 39 packages [2020-11-16T06:31:35.011Z] Removing intermediate container a9a7fdee66a6 [2020-11-16T06:31:35.011Z] ---> 50b606340cb0 [2020-11-16T06:31:35.011Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-16T06:31:35.011Z] ---> Running in dcd792805a05 [2020-11-16T06:31:35.011Z] Removing intermediate container dcd792805a05 [2020-11-16T06:31:35.011Z] ---> aed4f79d7ca9 [2020-11-16T06:31:35.011Z] Step 9/25 : COPY go.mod . [2020-11-16T06:31:35.011Z] ---> c3f9dca034fa [2020-11-16T06:31:35.011Z] Step 10/25 : COPY Makefile . [2020-11-16T06:31:35.011Z] ---> 790ad68403fc [2020-11-16T06:31:35.011Z] Step 11/25 : RUN make update [2020-11-16T06:31:35.011Z] ---> Running in 13b082059f19 [2020-11-16T06:31:35.601Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-16T06:31:36.182Z] Removing intermediate container 13b082059f19 [2020-11-16T06:31:36.182Z] ---> f36740666601 [2020-11-16T06:31:36.182Z] Step 12/25 : COPY . . [2020-11-16T06:31:36.448Z] ---> d8d0e310fa7e [2020-11-16T06:31:36.448Z] Step 13/25 : RUN $MAKE [2020-11-16T06:31:36.448Z] ---> Running in 9fec5d71e021 [2020-11-16T06:31:37.030Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-11-16T06:31:38.480Z] using credential edgex-jenkins-ssh [2020-11-16T06:31:38.542Z] Cloning the remote Git repository [2020-11-16T06:31:38.607Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-16T06:31:38.725Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-11-16T06:31:38.804Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-16T06:31:38.805Z] > git --version # timeout=10 [2020-11-16T06:31:38.827Z] > git --version # 'git version 2.17.1' [2020-11-16T06:31:38.829Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:31:38.914Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:31:40.636Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-16T06:31:40.664Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T06:31:40.705Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-16T06:31:40.761Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-16T06:31:40.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:31:40.778Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T06:31:41.231Z] Merging remotes/origin/master commit d1bfd12592bfcc37ebda2d741922e4b068f28a62 into PR head commit 5430346cbf96296d96669002b3f00041d9af7d07 [2020-11-16T06:31:41.511Z] Merge succeeded, producing 5430346cbf96296d96669002b3f00041d9af7d07 [2020-11-16T06:31:41.512Z] Checking out Revision 5430346cbf96296d96669002b3f00041d9af7d07 (PR-58) [2020-11-16T06:31:41.259Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:31:41.280Z] > git checkout -f 5430346cbf96296d96669002b3f00041d9af7d07 # timeout=10 [2020-11-16T06:31:41.368Z] > git remote # timeout=10 [2020-11-16T06:31:41.390Z] > git config --get remote.origin.url # timeout=10 [2020-11-16T06:31:41.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T06:31:41.420Z] > git merge d1bfd12592bfcc37ebda2d741922e4b068f28a62 # timeout=10 [2020-11-16T06:31:41.451Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-16T06:31:41.531Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T06:31:41.551Z] > git checkout -f 5430346cbf96296d96669002b3f00041d9af7d07 # timeout=10 [2020-11-16T06:31:46.134Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" [2020-11-16T06:31:46.196Z] > git --version # timeout=10 [2020-11-16T06:31:46.207Z] > git --version # 'git version 2.17.1' [2020-11-16T06:31:46.228Z] fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T06:31:47.175Z] provisioning config files... [2020-11-16T06:31:47.220Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2324771746169036776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:31:48.346Z] ---> docker-login.sh [2020-11-16T06:31:48.346Z] nexus3.edgexfoundry.org:10001 [2020-11-16T06:31:48.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:31:49.370Z] Removing intermediate container 9fec5d71e021 [2020-11-16T06:31:49.370Z] ---> c1baef7cd700 [2020-11-16T06:31:49.370Z] Step 14/25 : FROM alpine:latest [2020-11-16T06:31:49.370Z] latest: Pulling from library/alpine [2020-11-16T06:31:49.370Z] 188c0c94c7c5: Pulling fs layer [2020-11-16T06:31:49.370Z] 188c0c94c7c5: Verifying Checksum [2020-11-16T06:31:49.370Z] 188c0c94c7c5: Download complete [2020-11-16T06:31:49.370Z] 188c0c94c7c5: Pull complete [2020-11-16T06:31:49.370Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-16T06:31:49.370Z] Status: Downloaded newer image for alpine:latest [2020-11-16T06:31:49.370Z] ---> d6e46aa2470d [2020-11-16T06:31:49.370Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-16T06:31:49.370Z] ---> Running in 110a12eb3b59 [2020-11-16T06:31:49.370Z] Removing intermediate container 110a12eb3b59 [2020-11-16T06:31:49.370Z] ---> 6a5b13e47515 [2020-11-16T06:31:49.370Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-16T06:31:49.370Z] ---> Running in 6e49e8f1aa7f [2020-11-16T06:31:49.370Z] Removing intermediate container 6e49e8f1aa7f [2020-11-16T06:31:49.370Z] ---> a4908a1bcc9a [2020-11-16T06:31:49.370Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-16T06:31:49.370Z] ---> b96bfc0737fb [2020-11-16T06:31:49.370Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-16T06:31:49.370Z] ---> 2b52dfd9ff1f [2020-11-16T06:31:49.370Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-16T06:31:49.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:31:49.560Z] Configure a credential helper to remove this warning. See [2020-11-16T06:31:49.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:31:49.560Z] [2020-11-16T06:31:49.560Z] Login Succeeded [2020-11-16T06:31:49.560Z] nexus3.edgexfoundry.org:10002 [2020-11-16T06:31:49.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:31:49.954Z] ---> 06f8fff63403 [2020-11-16T06:31:49.954Z] Step 20/25 : EXPOSE 49986 [2020-11-16T06:31:49.954Z] ---> Running in 8e664b0bfac4 [2020-11-16T06:31:49.954Z] Removing intermediate container 8e664b0bfac4 [2020-11-16T06:31:49.954Z] ---> ae349cc5bc86 [2020-11-16T06:31:49.954Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-16T06:31:49.954Z] ---> Running in 80e442f198ba [2020-11-16T06:31:50.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:31:50.114Z] Configure a credential helper to remove this warning. See [2020-11-16T06:31:50.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:31:50.114Z] [2020-11-16T06:31:50.114Z] Login Succeeded [2020-11-16T06:31:50.114Z] nexus3.edgexfoundry.org:10003 [2020-11-16T06:31:50.217Z] Removing intermediate container 80e442f198ba [2020-11-16T06:31:50.217Z] ---> 60de5d65091f [2020-11-16T06:31:50.217Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-16T06:31:50.217Z] ---> Running in 49f04ec0a11c [2020-11-16T06:31:50.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:31:50.487Z] Removing intermediate container 49f04ec0a11c [2020-11-16T06:31:50.488Z] ---> cfb44c85ea6f [2020-11-16T06:31:50.488Z] Step 23/25 : LABEL arch=amd64 [2020-11-16T06:31:50.488Z] ---> Running in 8a91b552182f [2020-11-16T06:31:50.488Z] Removing intermediate container 8a91b552182f [2020-11-16T06:31:50.488Z] ---> ec81cbba84d0 [2020-11-16T06:31:50.488Z] Step 24/25 : LABEL git_sha=5430346cbf96296d96669002b3f00041d9af7d07 [2020-11-16T06:31:50.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:31:50.666Z] Configure a credential helper to remove this warning. See [2020-11-16T06:31:50.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:31:50.666Z] [2020-11-16T06:31:50.666Z] Login Succeeded [2020-11-16T06:31:50.666Z] nexus3.edgexfoundry.org:10004 [2020-11-16T06:31:50.751Z] ---> Running in 768c587d1439 [2020-11-16T06:31:50.751Z] Removing intermediate container 768c587d1439 [2020-11-16T06:31:50.751Z] ---> 7d730fdddc65 [2020-11-16T06:31:50.751Z] Step 25/25 : LABEL version=0.0.0 [2020-11-16T06:31:50.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T06:31:51.016Z] ---> Running in 8513799e1d10 [2020-11-16T06:31:51.016Z] Removing intermediate container 8513799e1d10 [2020-11-16T06:31:51.016Z] ---> 388c62367053 [2020-11-16T06:31:51.016Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T06:31:51.016Z] Successfully built 388c62367053 [2020-11-16T06:31:51.016Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [2020-11-16T06:31:51.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:31:51.225Z] Configure a credential helper to remove this warning. See [2020-11-16T06:31:51.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:31:51.225Z] [2020-11-16T06:31:51.225Z] Login Succeeded [2020-11-16T06:31:51.225Z] docker.io [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2020-11-16T06:31:51.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [2020-11-16T06:31:52.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T06:31:52.109Z] Configure a credential helper to remove this warning. See [2020-11-16T06:31:52.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T06:31:52.109Z] [2020-11-16T06:31:52.109Z] Login Succeeded [2020-11-16T06:31:52.109Z] ---> docker-login.sh ends [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } [2020-11-16T06:31:52.321Z] Deleting 1 temporary files [Pipeline] // ws [Pipeline] // wrap [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // withEnv [Pipeline] } [Pipeline] unstash [Pipeline] // stage [Pipeline] } [Pipeline] echo [2020-11-16T06:31:53.086Z] ========================================================= [2020-11-16T06:31:53.086Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-16T06:31:53.086Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:31:53.550Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-11-16T06:31:53.550Z] Sending build context to Docker daemon 79.87kB [2020-11-16T06:31:53.836Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-16T06:31:53.836Z] Step 2/10 : FROM ${BASE} [2020-11-16T06:31:53.836Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-16T06:31:53.836Z] b538f80385f9: Pulling fs layer [2020-11-16T06:31:53.836Z] 74f711af9a0d: Pulling fs layer [2020-11-16T06:31:53.836Z] 99f96fe45779: Pulling fs layer [2020-11-16T06:31:53.836Z] 8529a6b9a6be: Pulling fs layer [2020-11-16T06:31:53.836Z] 45590311c82a: Pulling fs layer [2020-11-16T06:31:53.836Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-16T06:31:53.836Z] 209524e5b208: Pulling fs layer [2020-11-16T06:31:53.836Z] 45590311c82a: Waiting [2020-11-16T06:31:53.836Z] 69ca0ff8b7b3: Waiting [2020-11-16T06:31:53.836Z] 209524e5b208: Waiting [2020-11-16T06:31:53.836Z] 8529a6b9a6be: Waiting [2020-11-16T06:31:54.115Z] 99f96fe45779: Verifying Checksum [2020-11-16T06:31:54.115Z] 99f96fe45779: Download complete [2020-11-16T06:31:54.115Z] 74f711af9a0d: Download complete [2020-11-16T06:31:54.115Z] 45590311c82a: Verifying Checksum [2020-11-16T06:31:54.115Z] 45590311c82a: Download complete [2020-11-16T06:31:54.402Z] 69ca0ff8b7b3: Download complete [2020-11-16T06:31:54.402Z] b538f80385f9: Verifying Checksum [2020-11-16T06:31:54.402Z] b538f80385f9: Download complete [2020-11-16T06:31:55.406Z] b538f80385f9: Pull complete [2020-11-16T06:31:56.022Z] 74f711af9a0d: Pull complete [2020-11-16T06:31:56.630Z] 99f96fe45779: Pull complete [2020-11-16T06:31:56.909Z] 209524e5b208: Verifying Checksum [2020-11-16T06:31:56.909Z] 209524e5b208: Download complete [2020-11-16T06:31:58.358Z] 8529a6b9a6be: Verifying Checksum [2020-11-16T06:31:58.358Z] 8529a6b9a6be: Download complete [2020-11-16T06:32:08.632Z] 8529a6b9a6be: Pull complete [2020-11-16T06:32:08.633Z] 45590311c82a: Pull complete [2020-11-16T06:32:08.907Z] 69ca0ff8b7b3: Pull complete [2020-11-16T06:32:13.239Z] 209524e5b208: Pull complete [2020-11-16T06:32:13.239Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-16T06:32:13.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-16T06:32:13.239Z] ---> 5bddaf1c2fca [2020-11-16T06:32:13.239Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-16T06:32:15.886Z] ---> Running in 02f557d77d79 [2020-11-16T06:32:15.886Z] Removing intermediate container 02f557d77d79 [2020-11-16T06:32:15.886Z] ---> c53e9cf9c152 [2020-11-16T06:32:15.886Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T06:32:16.160Z] ---> Running in 6afa6e5fe1d4 [2020-11-16T06:32:16.440Z] Removing intermediate container 6afa6e5fe1d4 [2020-11-16T06:32:16.440Z] ---> 74bf756bbfcf [2020-11-16T06:32:16.440Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-16T06:32:16.720Z] ---> Running in 5e99d3557bea [2020-11-16T06:32:16.995Z] Removing intermediate container 5e99d3557bea [2020-11-16T06:32:16.995Z] ---> 16b0a2efd521 [2020-11-16T06:32:16.995Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T06:32:17.270Z] ---> Running in 9f206e7c3f1f [2020-11-16T06:32:19.900Z] Removing intermediate container 9f206e7c3f1f [2020-11-16T06:32:19.900Z] ---> 0ad7f354fcea [2020-11-16T06:32:19.900Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T06:32:19.900Z] ---> Running in 6a45da085a8c [2020-11-16T06:32:21.334Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T06:32:22.327Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T06:32:24.305Z] OK: 142 MiB in 39 packages [2020-11-16T06:32:25.289Z] Removing intermediate container 6a45da085a8c [2020-11-16T06:32:25.289Z] ---> 292674df818e [2020-11-16T06:32:25.289Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-16T06:32:25.289Z] ---> Running in ccf14969b075 [2020-11-16T06:32:25.884Z] Removing intermediate container ccf14969b075 [2020-11-16T06:32:25.884Z] ---> 64dee627a38b [2020-11-16T06:32:25.884Z] Step 9/10 : COPY . . [2020-11-16T06:32:26.502Z] ---> f22265b415f0 [2020-11-16T06:32:26.502Z] Step 10/10 : RUN go mod download [2020-11-16T06:32:26.785Z] ---> Running in 36480b1fbfad [2020-11-16T06:32:48.952Z] Removing intermediate container 36480b1fbfad [2020-11-16T06:32:48.952Z] ---> 3484dd5a9b3a [2020-11-16T06:32:48.952Z] Successfully built 3484dd5a9b3a [2020-11-16T06:32:48.952Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:32:49.331Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T06:32:49.331Z] . [Pipeline] withDockerContainer [2020-11-16T06:32:49.631Z] prd-ubuntu18.04-docker-arm64-4c-16g-12228 does not seem to be running inside a container [2020-11-16T06:32:49.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2020-11-16T06:32:51.591Z] $ docker top 769453e15c0e7bcdad44f187b339e2edbcdc68fd49c7c2ecd61e7b3e378fe564 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T06:32:53.094Z] + go version [2020-11-16T06:32:53.094Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-16T06:32:53.141Z] $ docker stop --time=1 769453e15c0e7bcdad44f187b339e2edbcdc68fd49c7c2ecd61e7b3e378fe564 [2020-11-16T06:32:55.080Z] $ docker rm -f 769453e15c0e7bcdad44f187b339e2edbcdc68fd49c7c2ecd61e7b3e378fe564 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:32:56.351Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T06:32:56.351Z] . [Pipeline] withDockerContainer [2020-11-16T06:32:56.653Z] prd-ubuntu18.04-docker-arm64-4c-16g-12228 does not seem to be running inside a container [2020-11-16T06:32:56.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2020-11-16T06:32:58.656Z] $ docker top 0032476248b1434d178419a9b7d64a2447a1671b5fa48e889c13b2532b3a174f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T06:33:00.111Z] + make test [2020-11-16T06:33:00.112Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-16T06:33:01.113Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-16T06:33:33.798Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-16T06:33:34.395Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 56.3% of statements [2020-11-16T06:33:34.673Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T06:33:42.995Z] gofmt -l . [2020-11-16T06:33:42.995Z] [ "`gofmt -l .`" = "" ] [2020-11-16T06:33:42.995Z] ./bin/test-go-mod-tidy.sh [2020-11-16T06:33:42.995Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-11-16T06:33:43.038Z] $ docker stop --time=1 0032476248b1434d178419a9b7d64a2447a1671b5fa48e889c13b2532b3a174f [2020-11-16T06:33:45.229Z] $ docker rm -f 0032476248b1434d178419a9b7d64a2447a1671b5fa48e889c13b2532b3a174f [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T06:33:46.161Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T06:33:46.200Z] Warning: overwriting stash ‘coverage-report’ [2020-11-16T06:33:46.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T06:33:47.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T06:33:48.326Z] + ls -al . [2020-11-16T06:33:48.326Z] total 124 [2020-11-16T06:33:48.326Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 06:33 . [2020-11-16T06:33:48.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 06:31 .. [2020-11-16T06:33:48.326Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 16 06:31 .dockerignore [2020-11-16T06:33:48.326Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 06:31 .git [2020-11-16T06:33:48.326Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:31 .github [2020-11-16T06:33:48.326Z] -rw-rw-r-- 1 jenkins jenkins 339 Nov 16 06:31 .gitignore [2020-11-16T06:33:48.326Z] -rw-rw-r-- 1 jenkins jenkins 5294 Nov 16 06:31 Attribution.txt [2020-11-16T06:33:48.326Z] -rw-rw-r-- 1 jenkins jenkins 1519 Nov 16 06:31 Dockerfile [2020-11-16T06:33:48.326Z] -rw-rw-r-- 1 jenkins jenkins 989 Nov 16 06:31 Dockerfile.build [2020-11-16T06:33:48.326Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 16 06:31 Jenkinsfile [2020-11-16T06:33:48.326Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 06:31 LICENSE [2020-11-16T06:33:48.326Z] -rw-rw-r-- 1 jenkins jenkins 951 Nov 16 06:31 Makefile [2020-11-16T06:33:48.326Z] -rw-rw-r-- 1 jenkins jenkins 5917 Nov 16 06:31 README.md [2020-11-16T06:33:48.326Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 16 06:28 VERSION [2020-11-16T06:33:48.326Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:31 bin [2020-11-16T06:33:48.326Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 06:31 cmd [2020-11-16T06:33:48.326Z] -rw-r--r-- 1 jenkins jenkins 9369 Nov 16 06:33 coverage.out [2020-11-16T06:33:48.326Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:33 driver [2020-11-16T06:33:48.326Z] -rw-r--r-- 1 jenkins jenkins 267 Nov 16 06:33 go.mod [2020-11-16T06:33:48.326Z] -rw-r--r-- 1 jenkins jenkins 13790 Nov 16 06:33 go.sum [2020-11-16T06:33:48.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 06:31 snap [2020-11-16T06:33:48.326Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 16 06:31 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:33:48.731Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5430346cbf96296d96669002b3f00041d9af7d07 --label arch=arm64 --label version=0.0.0 . [2020-11-16T06:33:48.731Z] Sending build context to Docker daemon 91.65kB [2020-11-16T06:33:49.025Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-16T06:33:49.025Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-16T06:33:49.025Z] ---> 3484dd5a9b3a [2020-11-16T06:33:49.025Z] Step 3/25 : ARG MAKE='make build' [2020-11-16T06:33:49.301Z] ---> Running in d7d7343e90ec [2020-11-16T06:33:49.907Z] Removing intermediate container d7d7343e90ec [2020-11-16T06:33:49.907Z] ---> fdfdebc9a09c [2020-11-16T06:33:49.907Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-16T06:33:49.907Z] ---> Running in e22372c888e6 [2020-11-16T06:33:50.185Z] Removing intermediate container e22372c888e6 [2020-11-16T06:33:50.185Z] ---> c714a12f2026 [2020-11-16T06:33:50.185Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T06:33:50.458Z] ---> Running in 461ff0802e57 [2020-11-16T06:33:50.732Z] Removing intermediate container 461ff0802e57 [2020-11-16T06:33:50.732Z] ---> 38966f9e0052 [2020-11-16T06:33:50.732Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T06:33:51.011Z] ---> Running in 9c153dbcb09b [2020-11-16T06:33:53.632Z] Removing intermediate container 9c153dbcb09b [2020-11-16T06:33:53.632Z] ---> 4f507e36f56b [2020-11-16T06:33:53.632Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T06:33:53.632Z] ---> Running in 94551f36b9b9 [2020-11-16T06:33:55.062Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T06:33:56.043Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T06:33:56.639Z] OK: 142 MiB in 39 packages [2020-11-16T06:33:57.619Z] Removing intermediate container 94551f36b9b9 [2020-11-16T06:33:57.619Z] ---> 50cde5784cb7 [2020-11-16T06:33:57.619Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-16T06:33:57.893Z] ---> Running in 6a57eabd9e07 [2020-11-16T06:33:58.169Z] Removing intermediate container 6a57eabd9e07 [2020-11-16T06:33:58.169Z] ---> 3210f4e8226b [2020-11-16T06:33:58.169Z] Step 9/25 : COPY go.mod . [2020-11-16T06:33:59.149Z] ---> c3be64ffad35 [2020-11-16T06:33:59.149Z] Step 10/25 : COPY Makefile . [2020-11-16T06:33:59.743Z] ---> 3592ac94f082 [2020-11-16T06:33:59.743Z] Step 11/25 : RUN make update [2020-11-16T06:33:59.743Z] ---> Running in 1fa035a3c97e [2020-11-16T06:34:01.183Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-16T06:34:02.621Z] Removing intermediate container 1fa035a3c97e [2020-11-16T06:34:02.621Z] ---> 6cd1323725b6 [2020-11-16T06:34:02.621Z] Step 12/25 : COPY . . [2020-11-16T06:34:03.221Z] ---> 790b6b4317b4 [2020-11-16T06:34:03.221Z] Step 13/25 : RUN $MAKE [2020-11-16T06:34:03.221Z] ---> Running in bd610488dd88 [2020-11-16T06:34:04.661Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-11-16T06:34:31.542Z] Removing intermediate container bd610488dd88 [2020-11-16T06:34:31.542Z] ---> b27ab3c74aaf [2020-11-16T06:34:31.542Z] Step 14/25 : FROM alpine:latest [2020-11-16T06:34:31.813Z] latest: Pulling from library/alpine [2020-11-16T06:34:32.085Z] 5f621e34cdf4: Pulling fs layer [2020-11-16T06:34:32.358Z] 5f621e34cdf4: Verifying Checksum [2020-11-16T06:34:32.358Z] 5f621e34cdf4: Download complete [2020-11-16T06:34:32.957Z] 5f621e34cdf4: Pull complete [2020-11-16T06:34:32.957Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-16T06:34:32.957Z] Status: Downloaded newer image for alpine:latest [2020-11-16T06:34:32.957Z] ---> 2e77e061c27f [2020-11-16T06:34:32.957Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-16T06:34:32.957Z] ---> Running in 6b9e470a6380 [2020-11-16T06:34:33.555Z] Removing intermediate container 6b9e470a6380 [2020-11-16T06:34:33.556Z] ---> e96104f4cdfd [2020-11-16T06:34:33.556Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-16T06:34:33.556Z] ---> Running in 03774b138dc0 [2020-11-16T06:34:34.153Z] Removing intermediate container 03774b138dc0 [2020-11-16T06:34:34.153Z] ---> f5bb7ad3a197 [2020-11-16T06:34:34.153Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-16T06:34:34.747Z] ---> 7d1cea8b2ecf [2020-11-16T06:34:34.747Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-16T06:34:35.344Z] ---> 11aeda709fd4 [2020-11-16T06:34:35.344Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-16T06:34:36.774Z] ---> 83545c273486 [2020-11-16T06:34:36.774Z] Step 20/25 : EXPOSE 49986 [2020-11-16T06:34:36.774Z] ---> Running in c4ba556571c7 [2020-11-16T06:34:37.050Z] Removing intermediate container c4ba556571c7 [2020-11-16T06:34:37.050Z] ---> 5d34b2d570b6 [2020-11-16T06:34:37.050Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-16T06:34:37.328Z] ---> Running in 3884977d34ea [2020-11-16T06:34:37.601Z] Removing intermediate container 3884977d34ea [2020-11-16T06:34:37.601Z] ---> 7ccc954222d2 [2020-11-16T06:34:37.601Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-16T06:34:37.876Z] ---> Running in a205e17fd659 [2020-11-16T06:34:38.151Z] Removing intermediate container a205e17fd659 [2020-11-16T06:34:38.151Z] ---> 59d64d79cb38 [2020-11-16T06:34:38.151Z] Step 23/25 : LABEL arch=arm64 [2020-11-16T06:34:38.425Z] ---> Running in 413edaea2a69 [2020-11-16T06:34:38.697Z] Removing intermediate container 413edaea2a69 [2020-11-16T06:34:38.697Z] ---> ad6c87fb6e4e [2020-11-16T06:34:38.697Z] Step 24/25 : LABEL git_sha=5430346cbf96296d96669002b3f00041d9af7d07 [2020-11-16T06:34:38.970Z] ---> Running in 47db17a72dae [2020-11-16T06:34:39.260Z] Removing intermediate container 47db17a72dae [2020-11-16T06:34:39.260Z] ---> a88a025a76eb [2020-11-16T06:34:39.260Z] Step 25/25 : LABEL version=0.0.0 [2020-11-16T06:34:39.536Z] ---> Running in b780ae98d886 [2020-11-16T06:34:39.809Z] Removing intermediate container b780ae98d886 [2020-11-16T06:34:39.809Z] ---> d616d2495f39 [2020-11-16T06:34:39.809Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T06:34:39.809Z] Successfully built d616d2495f39 [2020-11-16T06:34:39.809Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-16T06:34:42.736Z] provisioning config files... [2020-11-16T06:34:42.754Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-58@tmp/config5817385872927100957tmp [Pipeline] { [Pipeline] sh [2020-11-16T06:34:43.184Z] + set +x [2020-11-16T06:34:43.184Z] + curl -s https://codecov.io/bash [2020-11-16T06:34:43.184Z] + bash -s -- [2020-11-16T06:34:43.447Z] [2020-11-16T06:34:43.447Z] _____ _ [2020-11-16T06:34:43.447Z] / ____| | | [2020-11-16T06:34:43.447Z] | | ___ __| | ___ ___ _____ __ [2020-11-16T06:34:43.447Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-16T06:34:43.447Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-16T06:34:43.447Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-16T06:34:43.447Z] Bash-20201106-81372f2 [2020-11-16T06:34:43.447Z] [2020-11-16T06:34:43.447Z] [2020-11-16T06:34:43.447Z] ==> Jenkins CI detected. [2020-11-16T06:34:43.447Z] project root: . [2020-11-16T06:34:43.447Z] --> token set from env [2020-11-16T06:34:43.447Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-16T06:34:43.447Z] ==> Running gcov in . (disable via -X gcov) [2020-11-16T06:34:43.447Z] ==> Python coveragepy not found [2020-11-16T06:34:43.447Z] ==> Searching for coverage reports in: [2020-11-16T06:34:43.447Z] + . [2020-11-16T06:34:43.447Z] -> Found 1 reports [2020-11-16T06:34:43.447Z] ==> Detecting git/mercurial file structure [2020-11-16T06:34:43.447Z] ==> Reading reports [2020-11-16T06:34:43.447Z] + ./coverage.out bytes=9369 [2020-11-16T06:34:43.447Z] ==> Appending adjustments [2020-11-16T06:34:43.447Z] https://docs.codecov.io/docs/fixing-reports [2020-11-16T06:34:43.447Z] + Found adjustments [2020-11-16T06:34:43.447Z] ==> Gzipping contents [2020-11-16T06:34:43.447Z] ==> Uploading reports [2020-11-16T06:34:43.447Z] url: https://codecov.io [2020-11-16T06:34:43.447Z] query: branch=PR-58&commit=5430346cbf96296d96669002b3f00041d9af7d07&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-58%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=58&job=&cmd_args= [2020-11-16T06:34:43.447Z] -> Pinging Codecov [2020-11-16T06:34:43.447Z] https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-58&commit=5430346cbf96296d96669002b3f00041d9af7d07&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-58%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=58&job=&cmd_args= [2020-11-16T06:34:44.038Z] -> Uploading to [2020-11-16T06:34:44.038Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-16/4E5D53B4F1F92C436F7061BF334D961C/5430346cbf96296d96669002b3f00041d9af7d07/120fac10-8821-4b09-a2ea-2d4d74e0fe86.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201116T063443Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=673f29998f56a614606449c41a79cd37e8b6e4a27229fbe521d155f03626fc22 [2020-11-16T06:34:44.038Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-16T06:34:44.038Z] Dload Upload Total Spent Left Speed [2020-11-16T06:34:44.307Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1695 0 0 100 1695 0 4697 --:--:-- --:--:-- --:--:-- 4708 [2020-11-16T06:34:44.571Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/5430346cbf96296d96669002b3f00041d9af7d07 [Pipeline] } [2020-11-16T06:34:44.599Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:34:48.393Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:34:49.012Z] ---> package-listing.sh [2020-11-16T06:34:49.012Z] ++ facter osfamily [2020-11-16T06:34:49.012Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-16T06:34:49.012Z] + OS_FAMILY=redhat [2020-11-16T06:34:49.012Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-58 [2020-11-16T06:34:49.012Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-16T06:34:49.012Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-16T06:34:49.012Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-16T06:34:49.012Z] + PACKAGES=/tmp/packages_start.txt [2020-11-16T06:34:49.012Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-58 ']' [2020-11-16T06:34:49.012Z] + PACKAGES=/tmp/packages_end.txt [2020-11-16T06:34:49.012Z] + case "${OS_FAMILY}" in [2020-11-16T06:34:49.012Z] + rpm -qa [2020-11-16T06:34:49.012Z] + sort [2020-11-16T06:34:53.249Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-16T06:34:53.249Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-16T06:34:53.249Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-16T06:34:53.249Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-58 ']' [2020-11-16T06:34:53.249Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-58/archives/ [2020-11-16T06:34:53.249Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-58/archives/ [Pipeline] echo [2020-11-16T06:34:53.285Z] 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-rest-go_PR-58/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-16T06:34:53.599Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:34:53.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T06:34:53.938Z] [2020-11-16T06:34:53.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-16T06:34:54.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T06:34:54.335Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-16T06:34:54.335Z] df20fa9351a1: Pulling fs layer [2020-11-16T06:34:54.335Z] 36b3adc4ff6f: Pulling fs layer [2020-11-16T06:34:54.335Z] 8ad3a11d3b57: Pulling fs layer [2020-11-16T06:34:54.335Z] 46f8f816bc3b: Pulling fs layer [2020-11-16T06:34:54.335Z] 93b61091891f: Pulling fs layer [2020-11-16T06:34:54.335Z] 93b9cdb0e59b: Pulling fs layer [2020-11-16T06:34:54.335Z] 5e14af77c1be: Pulling fs layer [2020-11-16T06:34:54.335Z] 01666e4c0597: Pulling fs layer [2020-11-16T06:34:54.335Z] aa168da1d23b: Pulling fs layer [2020-11-16T06:34:54.335Z] 93b9cdb0e59b: Waiting [2020-11-16T06:34:54.335Z] 5e14af77c1be: Waiting [2020-11-16T06:34:54.335Z] 93b61091891f: Waiting [2020-11-16T06:34:54.335Z] 46f8f816bc3b: Waiting [2020-11-16T06:34:54.335Z] 01666e4c0597: Waiting [2020-11-16T06:34:54.335Z] aa168da1d23b: Waiting [2020-11-16T06:34:54.335Z] 36b3adc4ff6f: Download complete [2020-11-16T06:34:54.600Z] 46f8f816bc3b: Download complete [2020-11-16T06:34:54.600Z] 93b61091891f: Verifying Checksum [2020-11-16T06:34:54.600Z] 93b61091891f: Download complete [2020-11-16T06:34:54.600Z] 93b9cdb0e59b: Verifying Checksum [2020-11-16T06:34:54.600Z] 93b9cdb0e59b: Download complete [2020-11-16T06:34:54.600Z] 5e14af77c1be: Verifying Checksum [2020-11-16T06:34:54.600Z] 5e14af77c1be: Download complete [2020-11-16T06:34:54.600Z] 01666e4c0597: Verifying Checksum [2020-11-16T06:34:54.600Z] 01666e4c0597: Download complete [2020-11-16T06:34:54.600Z] 8ad3a11d3b57: Verifying Checksum [2020-11-16T06:34:54.600Z] 8ad3a11d3b57: Download complete [2020-11-16T06:34:54.868Z] df20fa9351a1: Verifying Checksum [2020-11-16T06:34:54.868Z] df20fa9351a1: Download complete [2020-11-16T06:34:55.137Z] df20fa9351a1: Pull complete [2020-11-16T06:34:55.404Z] 36b3adc4ff6f: Pull complete [2020-11-16T06:34:55.989Z] 8ad3a11d3b57: Pull complete [2020-11-16T06:34:56.574Z] 46f8f816bc3b: Pull complete [2020-11-16T06:34:56.843Z] aa168da1d23b: Verifying Checksum [2020-11-16T06:34:56.843Z] aa168da1d23b: Download complete [2020-11-16T06:34:57.107Z] 93b61091891f: Pull complete [2020-11-16T06:34:57.107Z] 93b9cdb0e59b: Pull complete [2020-11-16T06:34:57.107Z] 5e14af77c1be: Pull complete [2020-11-16T06:34:57.377Z] 01666e4c0597: Pull complete [2020-11-16T06:35:05.597Z] aa168da1d23b: Pull complete [2020-11-16T06:35:05.597Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-16T06:35:05.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T06:35:05.597Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-16T06:35:05.859Z] prd-centos7-docker-4c-2g-12219 does not seem to be running inside a container [2020-11-16T06:35:05.914Z] $ 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-rest-go_PR-58/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-rest-go_PR-58 -v /w/workspace/dgexfoundry_device-rest-go_PR-58:/w/workspace/dgexfoundry_device-rest-go_PR-58:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-58@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-58@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-16T06:35:10.273Z] $ docker top 440415130bdb47f3b7cf2714b033e823029cfb0ddde34a8b0c36cd49b656684f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T06:35:10.885Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-16T06:35:11.213Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-16T06:35:11.538Z] + ls /var/log/sa-host [2020-11-16T06:35:11.538Z] + sadf -c /var/log/sa-host/sa05 [2020-11-16T06:35:11.538Z] file_magic: OK [2020-11-16T06:35:11.538Z] HZ: Using current value: 100 [2020-11-16T06:35:11.538Z] file_header: OK [2020-11-16T06:35:11.538Z] 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 [2020-11-16T06:35:11.538Z] Statistics: [2020-11-16T06:35:11.538Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T06:35:11.538Z] File successfully converted to sysstat format version 12.2.1 [2020-11-16T06:35:11.538Z] + sadf -c /var/log/sa-host/sa16 [2020-11-16T06:35:11.538Z] file_magic: OK [2020-11-16T06:35:11.538Z] HZ: Using current value: 100 [2020-11-16T06:35:11.538Z] file_header: OK [2020-11-16T06:35:11.538Z] 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 [2020-11-16T06:35:11.538Z] Statistics: [2020-11-16T06:35:11.538Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T06:35:11.538Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-16T06:35:11.846Z] provisioning config files... [2020-11-16T06:35:11.863Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-58@tmp/config2987555688793100075tmp [Pipeline] { [Pipeline] echo [2020-11-16T06:35:12.004Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:35:12.349Z] ---> create-netrc.sh [Pipeline] } [2020-11-16T06:35:12.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-16T06:35:12.526Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:35:12.866Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-16T06:35:12.898Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:35:13.234Z] ---> sudo-logs.sh [2020-11-16T06:35:13.234Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-16T06:35:13.266Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:35:13.606Z] ---> job-cost.sh [2020-11-16T06:35:13.607Z] lf-activate-venv: SKIPPING [2020-11-16T06:35:13.607Z] INFO: No Stack... [2020-11-16T06:35:14.558Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-16T06:35:15.134Z] INFO: Archiving Costs [Pipeline] echo [2020-11-16T06:35:15.171Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T06:35:15.550Z] ---> logs-deploy.sh [2020-11-16T06:35:15.550Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-58/1 [2020-11-16T06:35:15.550Z] INFO: archiving workspace using pattern(s): [2020-11-16T06:35:17.475Z] Archives upload complete. [2020-11-16T06:35:17.475Z] INFO: archiving logs to Nexus