Pull request #57 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/device-rest-go Loading trusted files from base branch master at 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 rather than 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 Obtained Jenkinsfile from 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 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-57/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-57/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-11627 in /w/workspace/dgexfoundry_device-rest-go_PR-57 [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-57 # 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 Merging remotes/origin/master commit 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 into PR head commit 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 Merge succeeded, producing 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 Checking out Revision 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 (PR-57) > 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/57/head:refs/remotes/origin/PR-57 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 # 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 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 # timeout=10 Commit message: "fix(snap): Update snap versioning logic" 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-09T16:48:25.742Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-09T16:48:26.150Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-09T16:48:26.418Z] ========================================================= [2020-11-09T16:48:26.418Z] EdgeX Global Pipelines Version Info [2020-11-09T16:48:26.418Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-09T16:48:28.095Z] ------------------- [2020-11-09T16:48:28.095Z] stable info: [2020-11-09T16:48:28.095Z] ------------------- [2020-11-09T16:48:28.095Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-09T16:48:28.095Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-09T16:48:28.095Z] Message: update stable to v1.0.162 [2020-11-09T16:48:29.045Z] ------------------- [2020-11-09T16:48:29.045Z] experimental info: [2020-11-09T16:48:29.045Z] ------------------- [2020-11-09T16:48:29.045Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-09T16:48:29.045Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-09T16:48:29.045Z] Message: update experimental to v1.0.162 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-09T16:48:29.709Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-11-09T16:48:29.866Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-11-09T16:48:30.038Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-09T16:48:30.275Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-09T16:48:30.412Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-09T16:48:30.570Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-09T16:48:30.717Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-09T16:48:30.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-09T16:48:30.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-09T16:48:31.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-09T16:48:31.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-09T16:48:31.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-11-09T16:48:31.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-09T16:48:31.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-09T16:48:31.852Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-09T16:48:31.982Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-09T16:48:32.115Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-09T16:48:32.241Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-09T16:48:32.372Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-09T16:48:32.545Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-09T16:48:32.705Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-09T16:48:32.831Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-09T16:48:32.958Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-09T16:48:33.087Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-09T16:48:33.225Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-09T16:48:33.366Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-09T16:48:33.507Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-57 [Pipeline] echo [2020-11-09T16:48:33.644Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-57 [Pipeline] echo [2020-11-09T16:48:33.779Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-57 [Pipeline] echo [2020-11-09T16:48:33.916Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 [Pipeline] echo [2020-11-09T16:48:34.053Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25c89ca [Pipeline] echo [2020-11-09T16:48:34.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-09T16:48:34.459Z] provisioning config files... [2020-11-09T16:48:34.488Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-57@tmp/config2502036032133193304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-09T16:48:34.931Z] ---> docker-login.sh [2020-11-09T16:48:34.931Z] nexus3.edgexfoundry.org:10001 [2020-11-09T16:48:35.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:48:35.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:48:35.456Z] Configure a credential helper to remove this warning. See [2020-11-09T16:48:35.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:48:35.456Z] [2020-11-09T16:48:35.456Z] Login Succeeded [2020-11-09T16:48:35.456Z] nexus3.edgexfoundry.org:10002 [2020-11-09T16:48:35.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:48:35.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:48:35.456Z] Configure a credential helper to remove this warning. See [2020-11-09T16:48:35.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:48:35.456Z] [2020-11-09T16:48:35.456Z] Login Succeeded [2020-11-09T16:48:35.456Z] nexus3.edgexfoundry.org:10003 [2020-11-09T16:48:35.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:48:35.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:48:35.721Z] Configure a credential helper to remove this warning. See [2020-11-09T16:48:35.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:48:35.721Z] [2020-11-09T16:48:35.721Z] Login Succeeded [2020-11-09T16:48:35.721Z] nexus3.edgexfoundry.org:10004 [2020-11-09T16:48:35.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:48:35.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:48:35.984Z] Configure a credential helper to remove this warning. See [2020-11-09T16:48:35.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:48:35.984Z] [2020-11-09T16:48:35.984Z] Login Succeeded [2020-11-09T16:48:35.984Z] docker.io [2020-11-09T16:48:35.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:48:36.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:48:36.246Z] Configure a credential helper to remove this warning. See [2020-11-09T16:48:36.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:48:36.246Z] [2020-11-09T16:48:36.246Z] Login Succeeded [2020-11-09T16:48:36.246Z] ---> docker-login.sh ends [Pipeline] } [2020-11-09T16:48:36.273Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-09T16:48:37.337Z] + git log --format=format:%s -1 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 [Pipeline] echo [2020-11-09T16:48:37.418Z] GIT_COMMIT: 25c89cabf416d2bac17a3e59a931a2fdea64d6d2, Commit Message: fix(snap): Update snap versioning logic [Pipeline] echo [2020-11-09T16:48:37.494Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-09T16:48:38.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-09T16:48:38.475Z] [2020-11-09T16:48:38.475Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-09T16:48:38.863Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-09T16:48:38.863Z] latest: Pulling from edgex-devops/git-semver [2020-11-09T16:48:38.863Z] 31603596830f: Pulling fs layer [2020-11-09T16:48:38.863Z] 2a8b12db71e7: Pulling fs layer [2020-11-09T16:48:38.863Z] 6ca5941a6612: Pulling fs layer [2020-11-09T16:48:38.863Z] ecc8261a40a4: Pulling fs layer [2020-11-09T16:48:38.863Z] ecc8261a40a4: Waiting [2020-11-09T16:48:38.863Z] 2a8b12db71e7: Verifying Checksum [2020-11-09T16:48:38.863Z] 2a8b12db71e7: Download complete [2020-11-09T16:48:39.125Z] 31603596830f: Verifying Checksum [2020-11-09T16:48:39.125Z] 31603596830f: Download complete [2020-11-09T16:48:39.125Z] ecc8261a40a4: Verifying Checksum [2020-11-09T16:48:39.125Z] ecc8261a40a4: Download complete [2020-11-09T16:48:39.125Z] 6ca5941a6612: Verifying Checksum [2020-11-09T16:48:39.125Z] 6ca5941a6612: Download complete [2020-11-09T16:48:39.390Z] 31603596830f: Pull complete [2020-11-09T16:48:39.390Z] 2a8b12db71e7: Pull complete [2020-11-09T16:48:40.342Z] 6ca5941a6612: Pull complete [2020-11-09T16:48:40.606Z] ecc8261a40a4: Pull complete [2020-11-09T16:48:40.606Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-09T16:48:40.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-09T16:48:40.606Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-09T16:48:40.723Z] prd-centos7-docker-4c-2g-11627 does not seem to be running inside a container [2020-11-09T16:48:40.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-57 -v /w/workspace/dgexfoundry_device-rest-go_PR-57:/w/workspace/dgexfoundry_device-rest-go_PR-57:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-57@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-57@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-09T16:48:42.985Z] $ docker top 315850853d4fe68da469b5c9993d20630862646aae735ef0ce62ce625a886f6d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-09T16:48:43.421Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-09T16:48:43.421Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-09T16:48:43.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-09T16:48:43.630Z] $ docker exec 315850853d4fe68da469b5c9993d20630862646aae735ef0ce62ce625a886f6d ssh-agent [2020-11-09T16:48:43.787Z] SSH_AUTH_SOCK=/tmp/ssh-W3bs9izu72hx/agent.12 [2020-11-09T16:48:43.787Z] SSH_AGENT_PID=17 [2020-11-09T16:48:43.798Z] Running ssh-add (command line suppressed) [2020-11-09T16:48:43.911Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-57@tmp/private_key_4832201944926231705.key (/w/workspace/dgexfoundry_device-rest-go_PR-57@tmp/private_key_4832201944926231705.key) [2020-11-09T16:48:43.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-09T16:48:44.360Z] + git tag --points-at HEAD [Pipeline] } [2020-11-09T16:48:44.382Z] $ docker exec --env ******** --env ******** 315850853d4fe68da469b5c9993d20630862646aae735ef0ce62ce625a886f6d ssh-agent -k [2020-11-09T16:48:44.487Z] unset SSH_AUTH_SOCK; [2020-11-09T16:48:44.487Z] unset SSH_AGENT_PID; [2020-11-09T16:48:44.487Z] echo Agent pid 17 killed; [2020-11-09T16:48:44.542Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-09T16:48:44.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-09T16:48:44.741Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-09T16:48:44.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-09T16:48:44.898Z] $ docker exec 315850853d4fe68da469b5c9993d20630862646aae735ef0ce62ce625a886f6d ssh-agent [2020-11-09T16:48:45.053Z] SSH_AUTH_SOCK=/tmp/ssh-07wrcscmSCQh/agent.46 [2020-11-09T16:48:45.053Z] SSH_AGENT_PID=52 [2020-11-09T16:48:45.059Z] Running ssh-add (command line suppressed) [2020-11-09T16:48:45.179Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-57@tmp/private_key_4965344873168950790.key (/w/workspace/dgexfoundry_device-rest-go_PR-57@tmp/private_key_4965344873168950790.key) [2020-11-09T16:48:45.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-09T16:48:45.616Z] + git semver init [2020-11-09T16:48:45.616Z] # -> Open(): unable to determine branch for HEAD [2020-11-09T16:48:45.616Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-57/.git [2020-11-09T16:48:45.616Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-57 [2020-11-09T16:48:45.616Z] # $SEMVER_REMOTE_NAME = origin [2020-11-09T16:48:45.616Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-09T16:48:45.616Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-09T16:48:45.616Z] # $SEMVER_BRANCH = PR-57 [2020-11-09T16:48:45.616Z] # $SEMVER_TEMP = /tmp/semver-138614288 [2020-11-09T16:48:45.616Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-11-09T16:48:46.567Z] # '/tmp/semver-138614288' -> '/w/workspace/dgexfoundry_device-rest-go_PR-57/.semver' [2020-11-09T16:48:46.567Z] # -> Force: false [2020-11-09T16:48:46.567Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-57/.semver [Pipeline] } [2020-11-09T16:48:46.586Z] $ docker exec --env ******** --env ******** 315850853d4fe68da469b5c9993d20630862646aae735ef0ce62ce625a886f6d ssh-agent -k [2020-11-09T16:48:46.696Z] unset SSH_AUTH_SOCK; [2020-11-09T16:48:46.697Z] unset SSH_AGENT_PID; [2020-11-09T16:48:46.697Z] echo Agent pid 52 killed; [2020-11-09T16:48:46.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-09T16:48:47.407Z] + git semver [Pipeline] } [2020-11-09T16:48:47.436Z] $ docker stop --time=1 315850853d4fe68da469b5c9993d20630862646aae735ef0ce62ce625a886f6d [2020-11-09T16:48:48.822Z] $ docker rm -f 315850853d4fe68da469b5c9993d20630862646aae735ef0ce62ce625a886f6d [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-09T16:48:49.364Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-09T16:48:49.854Z] Stashed 1 file(s) [Pipeline] echo [2020-11-09T16:48:49.879Z] [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-09T16:49:06.140Z] Still waiting to schedule task [2020-11-09T16:49:06.140Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-11627’ [2020-11-09T16:49:06.178Z] Still waiting to schedule task [2020-11-09T16:49:06.178Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-11-09T16:50:51.468Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-11628 in /w/workspace/dgexfoundry_device-rest-go_PR-57 [Pipeline] { [Pipeline] ws [2020-11-09T16:50:51.562Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-11-09T16:50:56.454Z] using credential edgex-jenkins-ssh [2020-11-09T16:50:56.511Z] Cloning the remote Git repository [2020-11-09T16:50:56.563Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-09T16:50:56.667Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-11-09T16:50:56.742Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-09T16:50:56.743Z] > git --version # timeout=10 [2020-11-09T16:50:56.761Z] > git --version # 'git version 2.17.1' [2020-11-09T16:50:56.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-09T16:50:56.814Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-09T16:50:59.033Z] Merging remotes/origin/master commit 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 into PR head commit 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 [2020-11-09T16:50:58.377Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-09T16:50:58.400Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-09T16:50:58.425Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-09T16:50:58.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-09T16:50:58.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-09T16:50:58.469Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/57/head:refs/remotes/origin/PR-57 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-09T16:50:59.056Z] > git config core.sparsecheckout # timeout=10 [2020-11-09T16:50:59.073Z] > git checkout -f 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 # timeout=10 [2020-11-09T16:50:59.202Z] > git remote # timeout=10 [2020-11-09T16:50:59.359Z] Merge succeeded, producing 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 [2020-11-09T16:50:59.360Z] Checking out Revision 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 (PR-57) [2020-11-09T16:50:59.223Z] > git config --get remote.origin.url # timeout=10 [2020-11-09T16:50:59.248Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-09T16:50:59.261Z] > git merge 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 [2020-11-09T16:50:59.331Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-09T16:50:59.368Z] > git config core.sparsecheckout # timeout=10 [2020-11-09T16:50:59.383Z] > git checkout -f 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 # timeout=10 [2020-11-09T16:51:03.510Z] Commit message: "fix(snap): Update snap versioning logic" [2020-11-09T16:51:03.630Z] > git --version # timeout=10 [2020-11-09T16:51:03.640Z] > git --version # 'git version 2.17.1' [2020-11-09T16:51:03.649Z] fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-09T16:51:04.582Z] provisioning config files... [2020-11-09T16:51:04.624Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2044543607716682158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-09T16:51:05.751Z] ---> docker-login.sh [2020-11-09T16:51:05.751Z] nexus3.edgexfoundry.org:10001 [2020-11-09T16:51:06.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:51:07.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:51:07.017Z] Configure a credential helper to remove this warning. See [2020-11-09T16:51:07.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:51:07.017Z] [2020-11-09T16:51:07.017Z] Login Succeeded [2020-11-09T16:51:07.017Z] nexus3.edgexfoundry.org:10002 [2020-11-09T16:51:07.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:51:07.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:51:07.576Z] Configure a credential helper to remove this warning. See [2020-11-09T16:51:07.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:51:07.576Z] [2020-11-09T16:51:07.576Z] Login Succeeded [2020-11-09T16:51:07.576Z] nexus3.edgexfoundry.org:10003 [2020-11-09T16:51:07.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:51:08.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:51:08.126Z] Configure a credential helper to remove this warning. See [2020-11-09T16:51:08.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:51:08.126Z] [2020-11-09T16:51:08.126Z] Login Succeeded [2020-11-09T16:51:08.126Z] nexus3.edgexfoundry.org:10004 [2020-11-09T16:51:08.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:51:08.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:51:08.676Z] Configure a credential helper to remove this warning. See [2020-11-09T16:51:08.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:51:08.676Z] [2020-11-09T16:51:08.676Z] Login Succeeded [2020-11-09T16:51:08.676Z] docker.io [2020-11-09T16:51:09.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:51:09.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:51:09.552Z] Configure a credential helper to remove this warning. See [2020-11-09T16:51:09.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:51:09.552Z] [2020-11-09T16:51:09.552Z] Login Succeeded [2020-11-09T16:51:09.552Z] ---> docker-login.sh ends [Pipeline] } [2020-11-09T16:51:09.642Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-09T16:51:10.257Z] ========================================================= [2020-11-09T16:51:10.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-09T16:51:10.257Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-09T16:51:10.733Z] + 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-09T16:51:10.733Z] Sending build context to Docker daemon 79.87kB [2020-11-09T16:51:11.007Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-09T16:51:11.007Z] Step 2/10 : FROM ${BASE} [2020-11-09T16:51:11.281Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-09T16:51:11.281Z] b538f80385f9: Pulling fs layer [2020-11-09T16:51:11.281Z] 74f711af9a0d: Pulling fs layer [2020-11-09T16:51:11.281Z] 99f96fe45779: Pulling fs layer [2020-11-09T16:51:11.281Z] 8529a6b9a6be: Pulling fs layer [2020-11-09T16:51:11.281Z] 45590311c82a: Pulling fs layer [2020-11-09T16:51:11.281Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-09T16:51:11.281Z] 209524e5b208: Pulling fs layer [2020-11-09T16:51:11.281Z] 45590311c82a: Waiting [2020-11-09T16:51:11.281Z] 69ca0ff8b7b3: Waiting [2020-11-09T16:51:11.281Z] 209524e5b208: Waiting [2020-11-09T16:51:11.281Z] 8529a6b9a6be: Waiting [2020-11-09T16:51:11.281Z] 99f96fe45779: Verifying Checksum [2020-11-09T16:51:11.281Z] 99f96fe45779: Download complete [2020-11-09T16:51:11.281Z] 74f711af9a0d: Download complete [2020-11-09T16:51:11.281Z] 45590311c82a: Verifying Checksum [2020-11-09T16:51:11.281Z] 45590311c82a: Download complete [2020-11-09T16:51:11.558Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-09T16:51:11.558Z] 69ca0ff8b7b3: Download complete [2020-11-09T16:51:11.558Z] b538f80385f9: Verifying Checksum [2020-11-09T16:51:11.558Z] b538f80385f9: Download complete [2020-11-09T16:51:12.545Z] b538f80385f9: Pull complete [2020-11-09T16:51:13.169Z] 74f711af9a0d: Pull complete [2020-11-09T16:51:13.446Z] 99f96fe45779: Pull complete [2020-11-09T16:51:14.442Z] 209524e5b208: Verifying Checksum [2020-11-09T16:51:14.442Z] 209524e5b208: Download complete [2020-11-09T16:51:15.882Z] 8529a6b9a6be: Verifying Checksum [2020-11-09T16:51:15.882Z] 8529a6b9a6be: Download complete [2020-11-09T16:51:28.291Z] 8529a6b9a6be: Pull complete [2020-11-09T16:51:28.291Z] 45590311c82a: Pull complete [2020-11-09T16:51:28.291Z] 69ca0ff8b7b3: Pull complete [2020-11-09T16:51:30.926Z] 209524e5b208: Pull complete [2020-11-09T16:51:30.926Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-09T16:51:30.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-09T16:51:30.926Z] ---> 5bddaf1c2fca [2020-11-09T16:51:30.926Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-09T16:51:33.566Z] ---> Running in fd611a7d0800 [2020-11-09T16:51:33.840Z] Removing intermediate container fd611a7d0800 [2020-11-09T16:51:33.841Z] ---> 0b480ff95f3b [2020-11-09T16:51:33.841Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-09T16:51:33.841Z] ---> Running in 4c5791ecd10c [2020-11-09T16:51:34.439Z] Removing intermediate container 4c5791ecd10c [2020-11-09T16:51:34.439Z] ---> d59e45dea0db [2020-11-09T16:51:34.439Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-09T16:51:34.439Z] ---> Running in 09da9eead771 [2020-11-09T16:51:35.035Z] Removing intermediate container 09da9eead771 [2020-11-09T16:51:35.035Z] ---> 5700141a95dd [2020-11-09T16:51:35.035Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-09T16:51:35.035Z] ---> Running in d9d42828afb2 [2020-11-09T16:51:38.431Z] Removing intermediate container d9d42828afb2 [2020-11-09T16:51:38.431Z] ---> 9677c1066714 [2020-11-09T16:51:38.431Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-09T16:51:38.431Z] ---> Running in e63f2a5f9b6f [2020-11-09T16:51:39.877Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-09T16:51:40.855Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-09T16:51:41.455Z] OK: 142 MiB in 39 packages [2020-11-09T16:51:42.919Z] Removing intermediate container e63f2a5f9b6f [2020-11-09T16:51:42.919Z] ---> 6fdf67b89328 [2020-11-09T16:51:42.919Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-09T16:51:42.919Z] ---> Running in 2c2431411dde [2020-11-09T16:51:43.517Z] Removing intermediate container 2c2431411dde [2020-11-09T16:51:43.517Z] ---> 0ebfbf44265a [2020-11-09T16:51:43.517Z] Step 9/10 : COPY . . [2020-11-09T16:51:44.509Z] ---> 37971e495147 [2020-11-09T16:51:44.509Z] Step 10/10 : RUN go mod download [2020-11-09T16:51:44.509Z] ---> Running in 0226abae2644 [2020-11-09T16:51:45.565Z] Running on prd-centos7-docker-4c-2g-11629 in /w/workspace/dgexfoundry_device-rest-go_PR-57 [Pipeline] { [Pipeline] ws [2020-11-09T16:51:45.662Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-11-09T16:51:48.677Z] using credential edgex-jenkins-ssh [2020-11-09T16:51:48.751Z] Cloning the remote Git repository [2020-11-09T16:51:48.778Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-11-09T16:51:48.851Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-11-09T16:51:48.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-09T16:51:48.903Z] > git --version # timeout=10 [2020-11-09T16:51:48.912Z] > git --version # 'git version 2.16.5' [2020-11-09T16:51:48.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-09T16:51:48.940Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-09T16:51:51.500Z] Merging remotes/origin/master commit 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 into PR head commit 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 [2020-11-09T16:51:51.581Z] Merge succeeded, producing 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 [2020-11-09T16:51:51.581Z] Checking out Revision 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 (PR-57) [2020-11-09T16:51:50.909Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-09T16:51:50.917Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-09T16:51:50.928Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-11-09T16:51:50.941Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-11-09T16:51:50.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-09T16:51:50.946Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/57/head:refs/remotes/origin/PR-57 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-09T16:51:51.507Z] > git config core.sparsecheckout # timeout=10 [2020-11-09T16:51:51.512Z] > git checkout -f 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 # timeout=10 [2020-11-09T16:51:51.544Z] > git remote # timeout=10 [2020-11-09T16:51:51.550Z] > git config --get remote.origin.url # timeout=10 [2020-11-09T16:51:51.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-09T16:51:51.564Z] > git merge 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 [2020-11-09T16:51:51.573Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-09T16:51:51.582Z] > git config core.sparsecheckout # timeout=10 [2020-11-09T16:51:51.585Z] > git checkout -f 25c89cabf416d2bac17a3e59a931a2fdea64d6d2 # timeout=10 [2020-11-09T16:51:55.291Z] Commit message: "fix(snap): Update snap versioning logic" [2020-11-09T16:51:55.314Z] > git --version # timeout=10 [2020-11-09T16:51:55.319Z] > git --version # 'git version 2.16.5' [2020-11-09T16:51:55.326Z] fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-09T16:51:56.190Z] provisioning config files... [2020-11-09T16:51:56.218Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5764308426077637128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-09T16:51:56.968Z] ---> docker-login.sh [2020-11-09T16:51:56.968Z] nexus3.edgexfoundry.org:10001 [2020-11-09T16:51:57.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:51:57.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:51:57.494Z] Configure a credential helper to remove this warning. See [2020-11-09T16:51:57.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:51:57.494Z] [2020-11-09T16:51:57.494Z] Login Succeeded [2020-11-09T16:51:57.494Z] nexus3.edgexfoundry.org:10002 [2020-11-09T16:51:57.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:51:57.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:51:57.494Z] Configure a credential helper to remove this warning. See [2020-11-09T16:51:57.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:51:57.494Z] [2020-11-09T16:51:57.494Z] Login Succeeded [2020-11-09T16:51:57.494Z] nexus3.edgexfoundry.org:10003 [2020-11-09T16:51:57.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:51:57.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:51:57.758Z] Configure a credential helper to remove this warning. See [2020-11-09T16:51:57.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:51:57.758Z] [2020-11-09T16:51:57.758Z] Login Succeeded [2020-11-09T16:51:57.758Z] nexus3.edgexfoundry.org:10004 [2020-11-09T16:51:58.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:51:58.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:51:58.020Z] Configure a credential helper to remove this warning. See [2020-11-09T16:51:58.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:51:58.020Z] [2020-11-09T16:51:58.020Z] Login Succeeded [2020-11-09T16:51:58.020Z] docker.io [2020-11-09T16:51:58.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-09T16:51:58.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-09T16:51:58.284Z] Configure a credential helper to remove this warning. See [2020-11-09T16:51:58.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-09T16:51:58.284Z] [2020-11-09T16:51:58.284Z] Login Succeeded [2020-11-09T16:51:58.284Z] ---> docker-login.sh ends [Pipeline] } [2020-11-09T16:51:58.345Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-09T16:51:58.898Z] ========================================================= [2020-11-09T16:51:58.898Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-09T16:51:58.898Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-09T16:51:59.274Z] + 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-09T16:51:59.274Z] Sending build context to Docker daemon 79.87kB [2020-11-09T16:51:59.274Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-09T16:51:59.274Z] Step 2/10 : FROM ${BASE} [2020-11-09T16:51:59.537Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-09T16:51:59.537Z] df20fa9351a1: Pulling fs layer [2020-11-09T16:51:59.537Z] ed8968b2872e: Pulling fs layer [2020-11-09T16:51:59.537Z] a92cc7c5fd73: Pulling fs layer [2020-11-09T16:51:59.537Z] e871e8e8d7a9: Pulling fs layer [2020-11-09T16:51:59.537Z] e73272ec9a57: Pulling fs layer [2020-11-09T16:51:59.537Z] 1e910a182e73: Pulling fs layer [2020-11-09T16:51:59.537Z] 4e634b169226: Pulling fs layer [2020-11-09T16:51:59.538Z] e73272ec9a57: Waiting [2020-11-09T16:51:59.538Z] 1e910a182e73: Waiting [2020-11-09T16:51:59.538Z] 4e634b169226: Waiting [2020-11-09T16:51:59.538Z] e871e8e8d7a9: Waiting [2020-11-09T16:51:59.538Z] a92cc7c5fd73: Verifying Checksum [2020-11-09T16:51:59.538Z] a92cc7c5fd73: Download complete [2020-11-09T16:51:59.538Z] ed8968b2872e: Verifying Checksum [2020-11-09T16:51:59.538Z] ed8968b2872e: Download complete [2020-11-09T16:51:59.538Z] e73272ec9a57: Verifying Checksum [2020-11-09T16:51:59.538Z] e73272ec9a57: Download complete [2020-11-09T16:51:59.538Z] df20fa9351a1: Download complete [2020-11-09T16:51:59.538Z] 1e910a182e73: Verifying Checksum [2020-11-09T16:51:59.538Z] 1e910a182e73: Download complete [2020-11-09T16:51:59.802Z] df20fa9351a1: Pull complete [2020-11-09T16:52:00.066Z] ed8968b2872e: Pull complete [2020-11-09T16:52:00.066Z] a92cc7c5fd73: Pull complete [2020-11-09T16:52:02.016Z] 4e634b169226: Verifying Checksum [2020-11-09T16:52:02.016Z] 4e634b169226: Download complete [2020-11-09T16:52:02.281Z] e871e8e8d7a9: Verifying Checksum [2020-11-09T16:52:02.281Z] e871e8e8d7a9: Download complete [2020-11-09T16:52:06.737Z] Removing intermediate container 0226abae2644 [2020-11-09T16:52:06.737Z] ---> c4340f1f7d93 [2020-11-09T16:52:06.737Z] Successfully built c4340f1f7d93 [2020-11-09T16:52:06.737Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-09T16:52:07.120Z] + docker inspect -f . ci-base-image-arm64 [2020-11-09T16:52:07.120Z] . [Pipeline] withDockerContainer [2020-11-09T16:52:07.425Z] prd-ubuntu18.04-docker-arm64-4c-16g-11628 does not seem to be running inside a container [2020-11-09T16:52:07.510Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-09T16:52:07.615Z] e871e8e8d7a9: Pull complete [2020-11-09T16:52:07.880Z] e73272ec9a57: Pull complete [2020-11-09T16:52:08.145Z] 1e910a182e73: Pull complete [2020-11-09T16:52:09.442Z] $ docker top ced1140655104ea48f58c2886abf74c08daff8d1bc5773de665c8b4709bc4355 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-09T16:52:10.967Z] + go version [2020-11-09T16:52:10.967Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-09T16:52:11.002Z] $ docker stop --time=1 ced1140655104ea48f58c2886abf74c08daff8d1bc5773de665c8b4709bc4355 [2020-11-09T16:52:12.974Z] $ docker rm -f ced1140655104ea48f58c2886abf74c08daff8d1bc5773de665c8b4709bc4355 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-11-09T16:52:13.495Z] 4e634b169226: Pull complete [2020-11-09T16:52:13.496Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-09T16:52:13.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-09T16:52:13.496Z] ---> f7629b54cfaa [2020-11-09T16:52:13.496Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-09T16:52:13.496Z] ---> Running in d69ba44ba8e9 [Pipeline] } [Pipeline] // stage [Pipeline] stage [2020-11-09T16:52:13.763Z] Removing intermediate container d69ba44ba8e9 [2020-11-09T16:52:13.763Z] ---> c56fc83274a7 [2020-11-09T16:52:13.763Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-09T16:52:13.763Z] ---> Running in f138e14a8684 [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-09T16:52:14.027Z] Removing intermediate container f138e14a8684 [2020-11-09T16:52:14.027Z] ---> c3036bd006b8 [2020-11-09T16:52:14.027Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-09T16:52:14.027Z] ---> Running in ff1a78d0811e [2020-11-09T16:52:14.293Z] Removing intermediate container ff1a78d0811e [2020-11-09T16:52:14.293Z] ---> 3854c6a5677a [2020-11-09T16:52:14.293Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-09T16:52:14.293Z] ---> Running in e13fdb5c63b1 [2020-11-09T16:52:14.333Z] + docker inspect -f . ci-base-image-arm64 [2020-11-09T16:52:14.333Z] . [Pipeline] withDockerContainer [2020-11-09T16:52:14.623Z] prd-ubuntu18.04-docker-arm64-4c-16g-11628 does not seem to be running inside a container [2020-11-09T16:52:14.715Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-09T16:52:15.698Z] Removing intermediate container e13fdb5c63b1 [2020-11-09T16:52:15.698Z] ---> 5bf6dbc582db [2020-11-09T16:52:15.698Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-09T16:52:15.698Z] ---> Running in f4a73f9a4c90 [2020-11-09T16:52:16.276Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-09T16:52:16.577Z] $ docker top f49ce9bde29cb1630358213070e847bfd4edba7124313361996b373ffd21943b -eo pid,comm [2020-11-09T16:52:16.859Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh [2020-11-09T16:52:17.441Z] OK: 166 MiB in 39 packages [2020-11-09T16:52:17.708Z] Removing intermediate container f4a73f9a4c90 [2020-11-09T16:52:17.708Z] ---> dd1c4238fb4a [2020-11-09T16:52:17.708Z] Step 8/10 : WORKDIR /device-rest-go [2020-11-09T16:52:17.708Z] ---> Running in a9fb4747ace4 [2020-11-09T16:52:17.971Z] Removing intermediate container a9fb4747ace4 [2020-11-09T16:52:17.971Z] ---> f1c0853c204f [2020-11-09T16:52:17.971Z] Step 9/10 : COPY . . [2020-11-09T16:52:18.096Z] + make test [2020-11-09T16:52:18.096Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-09T16:52:18.235Z] ---> 537b71d6c8db [2020-11-09T16:52:18.235Z] Step 10/10 : RUN go mod download [2020-11-09T16:52:18.235Z] ---> Running in 325cb7f50748 [2020-11-09T16:52:19.088Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-09T16:52:40.264Z] Removing intermediate container 325cb7f50748 [2020-11-09T16:52:40.264Z] ---> afb97ade73d5 [2020-11-09T16:52:40.264Z] Successfully built afb97ade73d5 [2020-11-09T16:52:40.264Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-09T16:52:40.631Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-09T16:52:40.631Z] . [Pipeline] withDockerContainer [2020-11-09T16:52:40.770Z] prd-centos7-docker-4c-2g-11629 does not seem to be running inside a container [2020-11-09T16:52:40.822Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2020-11-09T16:52:41.606Z] $ docker top f4a63a67c4d89fd3990db7467a906bdcbb58424ccf60324597d89b0312fe6880 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-09T16:52:42.194Z] + go version [2020-11-09T16:52:42.194Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-09T16:52:42.231Z] $ docker stop --time=1 f4a63a67c4d89fd3990db7467a906bdcbb58424ccf60324597d89b0312fe6880 [2020-11-09T16:52:43.624Z] $ docker rm -f f4a63a67c4d89fd3990db7467a906bdcbb58424ccf60324597d89b0312fe6880 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-09T16:52:44.964Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-09T16:52:44.964Z] . [Pipeline] withDockerContainer [2020-11-09T16:52:45.093Z] prd-centos7-docker-4c-2g-11629 does not seem to be running inside a container [2020-11-09T16:52:45.150Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2020-11-09T16:52:45.850Z] $ docker top 85c4181c5428a6696b92d106fcf705ddda6081bdd2d0594eed3604e3cfc32b9c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-09T16:52:46.524Z] + make test [2020-11-09T16:52:46.524Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-11-09T16:52:47.134Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-11-09T16:52:51.514Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-09T16:52:51.514Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 56.3% of statements [2020-11-09T16:52:51.789Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-09T16:52:59.542Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-11-09T16:52:59.542Z] ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 56.3% of statements [2020-11-09T16:52:59.542Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-09T16:53:00.113Z] gofmt -l . [2020-11-09T16:53:00.113Z] [ "`gofmt -l .`" = "" ] [2020-11-09T16:53:00.113Z] ./bin/test-go-mod-tidy.sh [2020-11-09T16:53:00.113Z] ./bin/test-attribution-txt.sh [2020-11-09T16:53:00.127Z] gofmt -l . [2020-11-09T16:53:00.127Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-11-09T16:53:00.158Z] $ docker stop --time=1 f49ce9bde29cb1630358213070e847bfd4edba7124313361996b373ffd21943b [2020-11-09T16:53:00.390Z] ./bin/test-go-mod-tidy.sh [2020-11-09T16:53:00.652Z] ./bin/test-attribution-txt.sh [2020-11-09T16:53:02.544Z] $ docker rm -f f49ce9bde29cb1630358213070e847bfd4edba7124313361996b373ffd21943b [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2020-11-09T16:53:03.265Z] $ docker stop --time=1 85c4181c5428a6696b92d106fcf705ddda6081bdd2d0594eed3604e3cfc32b9c [2020-11-09T16:53:03.513Z] + sudo chown -R jenkins:jenkins . [2020-11-09T16:53:05.946Z] $ docker rm -f 85c4181c5428a6696b92d106fcf705ddda6081bdd2d0594eed3604e3cfc32b9c [Pipeline] // withDockerContainer [Pipeline] stash [Pipeline] sh [2020-11-09T16:53:06.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-09T16:53:06.750Z] Warning: overwriting stash ‘coverage-report’ [2020-11-09T16:53:07.058Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2020-11-09T16:53:07.233Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-09T16:53:11.228Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-09T16:53:11.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-09T16:53:11.564Z] + ls -al . [2020-11-09T16:53:11.564Z] total 96 [2020-11-09T16:53:11.564Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 9 16:53 . [2020-11-09T16:53:11.564Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 9 16:51 .. [2020-11-09T16:53:11.564Z] -rw-rw-r--. 1 jenkins jenkins 5294 Nov 9 16:51 Attribution.txt [2020-11-09T16:53:11.564Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 9 16:51 bin [2020-11-09T16:53:11.564Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 9 16:51 cmd [2020-11-09T16:53:11.564Z] -rw-r--r--. 1 jenkins jenkins 9369 Nov 9 16:52 coverage.out [2020-11-09T16:53:11.564Z] -rw-rw-r--. 1 jenkins jenkins 1519 Nov 9 16:51 Dockerfile [2020-11-09T16:53:11.564Z] -rw-rw-r--. 1 jenkins jenkins 989 Nov 9 16:51 Dockerfile.build [2020-11-09T16:53:11.564Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 9 16:51 .dockerignore [2020-11-09T16:53:11.564Z] drwxrwxr-x. 2 jenkins jenkins 93 Nov 9 16:52 driver [2020-11-09T16:53:11.564Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 9 16:51 .git [2020-11-09T16:53:11.564Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 9 16:51 .github [2020-11-09T16:53:11.564Z] -rw-rw-r--. 1 jenkins jenkins 339 Nov 9 16:51 .gitignore [2020-11-09T16:53:11.564Z] -rw-r--r--. 1 jenkins jenkins 273 Nov 9 16:53 go.mod [2020-11-09T16:53:11.564Z] -rw-r--r--. 1 jenkins jenkins 14105 Nov 9 16:53 go.sum [2020-11-09T16:53:11.564Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 9 16:51 Jenkinsfile [2020-11-09T16:53:11.564Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 9 16:51 LICENSE [2020-11-09T16:53:11.564Z] -rw-rw-r--. 1 jenkins jenkins 951 Nov 9 16:51 Makefile [2020-11-09T16:53:11.564Z] -rw-rw-r--. 1 jenkins jenkins 5917 Nov 9 16:51 README.md [2020-11-09T16:53:11.564Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 9 16:51 snap [2020-11-09T16:53:11.564Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 9 16:48 VERSION [2020-11-09T16:53:11.564Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 9 16:51 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-09T16:53:11.845Z] + ls -al . [2020-11-09T16:53:11.845Z] total 124 [2020-11-09T16:53:11.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 16:52 . [2020-11-09T16:53:11.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 16:50 .. [2020-11-09T16:53:11.845Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 16:50 .dockerignore [2020-11-09T16:53:11.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 16:51 .git [2020-11-09T16:53:11.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 16:50 .github [2020-11-09T16:53:11.845Z] -rw-rw-r-- 1 jenkins jenkins 339 Nov 9 16:50 .gitignore [2020-11-09T16:53:11.845Z] -rw-rw-r-- 1 jenkins jenkins 5294 Nov 9 16:50 Attribution.txt [2020-11-09T16:53:11.845Z] -rw-rw-r-- 1 jenkins jenkins 1519 Nov 9 16:50 Dockerfile [2020-11-09T16:53:11.845Z] -rw-rw-r-- 1 jenkins jenkins 989 Nov 9 16:50 Dockerfile.build [2020-11-09T16:53:11.845Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 16:50 Jenkinsfile [2020-11-09T16:53:11.845Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 16:50 LICENSE [2020-11-09T16:53:11.845Z] -rw-rw-r-- 1 jenkins jenkins 951 Nov 9 16:50 Makefile [2020-11-09T16:53:11.845Z] -rw-rw-r-- 1 jenkins jenkins 5917 Nov 9 16:50 README.md [2020-11-09T16:53:11.845Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 16:48 VERSION [2020-11-09T16:53:11.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 16:50 bin [2020-11-09T16:53:11.845Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 16:50 cmd [2020-11-09T16:53:11.845Z] -rw-r--r-- 1 jenkins jenkins 9369 Nov 9 16:52 coverage.out [2020-11-09T16:53:11.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 16:52 driver [2020-11-09T16:53:11.845Z] -rw-r--r-- 1 jenkins jenkins 273 Nov 9 16:52 go.mod [2020-11-09T16:53:11.845Z] -rw-r--r-- 1 jenkins jenkins 14105 Nov 9 16:52 go.sum [2020-11-09T16:53:11.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 16:50 snap [2020-11-09T16:53:11.845Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 16:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-09T16:53:11.984Z] + 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=25c89cabf416d2bac17a3e59a931a2fdea64d6d2 --label arch=amd64 --label version=0.0.0 . [2020-11-09T16:53:11.984Z] Sending build context to Docker daemon 91.65kB [2020-11-09T16:53:12.246Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-09T16:53:12.246Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-09T16:53:12.246Z] ---> afb97ade73d5 [2020-11-09T16:53:12.246Z] Step 3/25 : ARG MAKE='make build' [2020-11-09T16:53:12.246Z] ---> Running in 3547ac308649 [2020-11-09T16:53:12.246Z] Removing intermediate container 3547ac308649 [2020-11-09T16:53:12.246Z] ---> e98c5ec0cb2b [2020-11-09T16:53:12.246Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-09T16:53:12.323Z] + 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=25c89cabf416d2bac17a3e59a931a2fdea64d6d2 --label arch=arm64 --label version=0.0.0 . [2020-11-09T16:53:12.323Z] Sending build context to Docker daemon 91.65kB [2020-11-09T16:53:12.508Z] ---> Running in f586be4bd5c5 [2020-11-09T16:53:12.508Z] Removing intermediate container f586be4bd5c5 [2020-11-09T16:53:12.508Z] ---> 62df503ea385 [2020-11-09T16:53:12.508Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-09T16:53:12.616Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-11-09T16:53:12.617Z] Step 2/25 : FROM ${BASE} AS builder [2020-11-09T16:53:12.617Z] ---> c4340f1f7d93 [2020-11-09T16:53:12.617Z] Step 3/25 : ARG MAKE='make build' [2020-11-09T16:53:12.782Z] ---> Running in 1f509e869ec2 [2020-11-09T16:53:12.782Z] Removing intermediate container 1f509e869ec2 [2020-11-09T16:53:12.782Z] ---> eb920911f9d7 [2020-11-09T16:53:12.782Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-09T16:53:12.782Z] ---> Running in 571f63ad4c30 [2020-11-09T16:53:12.908Z] ---> Running in 5a73ca5d0424 [2020-11-09T16:53:13.508Z] Removing intermediate container 5a73ca5d0424 [2020-11-09T16:53:13.508Z] ---> 8677392f7c0c [2020-11-09T16:53:13.508Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-11-09T16:53:13.508Z] ---> Running in 0f6af1e42afa [2020-11-09T16:53:14.107Z] Removing intermediate container 0f6af1e42afa [2020-11-09T16:53:14.107Z] ---> b33638de7314 [2020-11-09T16:53:14.107Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-11-09T16:53:14.107Z] ---> Running in b272d84d8130 [2020-11-09T16:53:14.179Z] Removing intermediate container 571f63ad4c30 [2020-11-09T16:53:14.179Z] ---> bb6b3e371d6d [2020-11-09T16:53:14.179Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-09T16:53:14.179Z] ---> Running in 90717b2a41fa [2020-11-09T16:53:14.445Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-09T16:53:14.718Z] Removing intermediate container b272d84d8130 [2020-11-09T16:53:14.718Z] ---> 73a79b24c3a3 [2020-11-09T16:53:14.718Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-09T16:53:14.718Z] ---> Running in 5d825025aa39 [2020-11-09T16:53:15.021Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-09T16:53:15.593Z] OK: 166 MiB in 39 packages [2020-11-09T16:53:15.871Z] Removing intermediate container 90717b2a41fa [2020-11-09T16:53:15.871Z] ---> be0ec6189602 [2020-11-09T16:53:15.871Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-09T16:53:15.871Z] ---> Running in 09e7da7e56d7 [2020-11-09T16:53:16.135Z] Removing intermediate container 09e7da7e56d7 [2020-11-09T16:53:16.135Z] ---> 2904c5d1274c [2020-11-09T16:53:16.135Z] Step 9/25 : COPY go.mod . [2020-11-09T16:53:16.403Z] ---> 823d75ea6842 [2020-11-09T16:53:16.403Z] Step 10/25 : COPY Makefile . [2020-11-09T16:53:16.668Z] ---> 69325d002ec7 [2020-11-09T16:53:16.668Z] Step 11/25 : RUN make update [2020-11-09T16:53:16.668Z] ---> Running in c4f2c174e698 [2020-11-09T16:53:16.944Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-09T16:53:17.347Z] Removing intermediate container 5d825025aa39 [2020-11-09T16:53:17.347Z] ---> 6593958149d9 [2020-11-09T16:53:17.347Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-09T16:53:17.528Z] Removing intermediate container c4f2c174e698 [2020-11-09T16:53:17.528Z] ---> fc63a82dd810 [2020-11-09T16:53:17.528Z] Step 12/25 : COPY . . [2020-11-09T16:53:17.624Z] ---> Running in 5e4d210fbfc0 [2020-11-09T16:53:17.801Z] ---> edd99dca19fa [2020-11-09T16:53:17.801Z] Step 13/25 : RUN $MAKE [2020-11-09T16:53:17.801Z] ---> Running in a7cc8c3364a3 [2020-11-09T16:53:18.382Z] 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-09T16:53:19.069Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-09T16:53:19.666Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-09T16:53:20.270Z] OK: 142 MiB in 39 packages [2020-11-09T16:53:21.704Z] Removing intermediate container 5e4d210fbfc0 [2020-11-09T16:53:21.704Z] ---> f910805c4bf4 [2020-11-09T16:53:21.704Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-11-09T16:53:21.704Z] ---> Running in 3d8dd49ca879 [2020-11-09T16:53:22.300Z] Removing intermediate container 3d8dd49ca879 [2020-11-09T16:53:22.300Z] ---> d0a9781ca2b4 [2020-11-09T16:53:22.300Z] Step 9/25 : COPY go.mod . [2020-11-09T16:53:22.896Z] ---> 5ecbdddcfb26 [2020-11-09T16:53:22.896Z] Step 10/25 : COPY Makefile . [2020-11-09T16:53:23.498Z] ---> 23a30f197e70 [2020-11-09T16:53:23.498Z] Step 11/25 : RUN make update [2020-11-09T16:53:23.772Z] ---> Running in 444bfde182ea [2020-11-09T16:53:25.196Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-09T16:53:26.643Z] Removing intermediate container 444bfde182ea [2020-11-09T16:53:26.643Z] ---> bd5045498476 [2020-11-09T16:53:26.643Z] Step 12/25 : COPY . . [2020-11-09T16:53:27.238Z] ---> 73727cd63a31 [2020-11-09T16:53:27.238Z] Step 13/25 : RUN $MAKE [2020-11-09T16:53:27.238Z] ---> Running in a812b3625652 [2020-11-09T16:53:28.677Z] 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-09T16:53:30.766Z] Removing intermediate container a7cc8c3364a3 [2020-11-09T16:53:30.766Z] ---> 529ddbd4410e [2020-11-09T16:53:30.766Z] Step 14/25 : FROM alpine:latest [2020-11-09T16:53:30.766Z] latest: Pulling from library/alpine [2020-11-09T16:53:30.766Z] 188c0c94c7c5: Pulling fs layer [2020-11-09T16:53:30.766Z] 188c0c94c7c5: Verifying Checksum [2020-11-09T16:53:30.766Z] 188c0c94c7c5: Download complete [2020-11-09T16:53:30.766Z] 188c0c94c7c5: Pull complete [2020-11-09T16:53:30.766Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-09T16:53:30.766Z] Status: Downloaded newer image for alpine:latest [2020-11-09T16:53:30.766Z] ---> d6e46aa2470d [2020-11-09T16:53:30.766Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-09T16:53:30.766Z] ---> Running in bda972dc4db0 [2020-11-09T16:53:30.766Z] Removing intermediate container bda972dc4db0 [2020-11-09T16:53:30.766Z] ---> be986f0ba41f [2020-11-09T16:53:30.766Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-09T16:53:30.766Z] ---> Running in 2a5d8d4ee44e [2020-11-09T16:53:30.766Z] Removing intermediate container 2a5d8d4ee44e [2020-11-09T16:53:30.766Z] ---> a12cba746883 [2020-11-09T16:53:30.766Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-09T16:53:30.766Z] ---> d7c2ab4d50e7 [2020-11-09T16:53:30.766Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-09T16:53:30.766Z] ---> b0558bc266c4 [2020-11-09T16:53:30.766Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-09T16:53:31.344Z] ---> b21e9de879e2 [2020-11-09T16:53:31.345Z] Step 20/25 : EXPOSE 49986 [2020-11-09T16:53:31.345Z] ---> Running in ef498c65c02c [2020-11-09T16:53:31.609Z] Removing intermediate container ef498c65c02c [2020-11-09T16:53:31.609Z] ---> ae8eba85b4a7 [2020-11-09T16:53:31.609Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-09T16:53:31.609Z] ---> Running in 783b6634a6fe [2020-11-09T16:53:31.871Z] Removing intermediate container 783b6634a6fe [2020-11-09T16:53:31.871Z] ---> 89cf2831ff58 [2020-11-09T16:53:31.871Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-09T16:53:31.871Z] ---> Running in 5afb361e838c [2020-11-09T16:53:32.133Z] Removing intermediate container 5afb361e838c [2020-11-09T16:53:32.133Z] ---> d818445570b6 [2020-11-09T16:53:32.133Z] Step 23/25 : LABEL arch=amd64 [2020-11-09T16:53:32.133Z] ---> Running in 1b92a7713b68 [2020-11-09T16:53:32.133Z] Removing intermediate container 1b92a7713b68 [2020-11-09T16:53:32.133Z] ---> f1ee84c5b88b [2020-11-09T16:53:32.133Z] Step 24/25 : LABEL git_sha=25c89cabf416d2bac17a3e59a931a2fdea64d6d2 [2020-11-09T16:53:32.396Z] ---> Running in 9f81ad7c30cf [2020-11-09T16:53:32.396Z] Removing intermediate container 9f81ad7c30cf [2020-11-09T16:53:32.396Z] ---> af31ccdf0ca4 [2020-11-09T16:53:32.396Z] Step 25/25 : LABEL version=0.0.0 [2020-11-09T16:53:32.660Z] ---> Running in 4679ff384a55 [2020-11-09T16:53:32.660Z] Removing intermediate container 4679ff384a55 [2020-11-09T16:53:32.660Z] ---> d31de457943a [2020-11-09T16:53:32.660Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-09T16:53:32.660Z] Successfully built d31de457943a [2020-11-09T16:53:32.660Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-09T16:53:55.560Z] Removing intermediate container a812b3625652 [2020-11-09T16:53:55.560Z] ---> abb5f3885dc7 [2020-11-09T16:53:55.560Z] Step 14/25 : FROM alpine:latest [2020-11-09T16:53:55.560Z] latest: Pulling from library/alpine [2020-11-09T16:53:55.560Z] 5f621e34cdf4: Pulling fs layer [2020-11-09T16:53:55.560Z] 5f621e34cdf4: Download complete [2020-11-09T16:53:56.153Z] 5f621e34cdf4: Pull complete [2020-11-09T16:53:56.153Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-09T16:53:56.153Z] Status: Downloaded newer image for alpine:latest [2020-11-09T16:53:56.153Z] ---> 2e77e061c27f [2020-11-09T16:53:56.153Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-09T16:53:56.426Z] ---> Running in 7867fd9ec7a9 [2020-11-09T16:53:56.703Z] Removing intermediate container 7867fd9ec7a9 [2020-11-09T16:53:56.703Z] ---> db3d7d24bb44 [2020-11-09T16:53:56.703Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-11-09T16:53:56.977Z] ---> Running in 02436a2e13f7 [2020-11-09T16:53:57.875Z] Removing intermediate container 02436a2e13f7 [2020-11-09T16:53:57.875Z] ---> 4755c8a575fe [2020-11-09T16:53:57.875Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-11-09T16:53:58.147Z] ---> 983b58e0b4e1 [2020-11-09T16:53:58.147Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-11-09T16:53:58.744Z] ---> 29ad0e57f252 [2020-11-09T16:53:58.744Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-11-09T16:54:00.191Z] ---> 0fbecb5da448 [2020-11-09T16:54:00.191Z] Step 20/25 : EXPOSE 49986 [2020-11-09T16:54:00.191Z] ---> Running in 96f8cf90e1e5 [2020-11-09T16:54:00.781Z] Removing intermediate container 96f8cf90e1e5 [2020-11-09T16:54:00.781Z] ---> ef47158036a2 [2020-11-09T16:54:00.781Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-11-09T16:54:00.781Z] ---> Running in 0ddfccbb4866 [2020-11-09T16:54:01.374Z] Removing intermediate container 0ddfccbb4866 [2020-11-09T16:54:01.374Z] ---> 646ee7450b7f [2020-11-09T16:54:01.374Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-09T16:54:01.374Z] ---> Running in d383fee14873 [2020-11-09T16:54:01.973Z] Removing intermediate container d383fee14873 [2020-11-09T16:54:01.973Z] ---> 6cb73cc09244 [2020-11-09T16:54:01.973Z] Step 23/25 : LABEL arch=arm64 [2020-11-09T16:54:01.973Z] ---> Running in 204b9e348718 [2020-11-09T16:54:02.570Z] Removing intermediate container 204b9e348718 [2020-11-09T16:54:02.570Z] ---> 9ed1015dcf9b [2020-11-09T16:54:02.570Z] Step 24/25 : LABEL git_sha=25c89cabf416d2bac17a3e59a931a2fdea64d6d2 [2020-11-09T16:54:02.570Z] ---> Running in a2aff8f0b044 [2020-11-09T16:54:03.169Z] Removing intermediate container a2aff8f0b044 [2020-11-09T16:54:03.169Z] ---> ec01f37247ec [2020-11-09T16:54:03.169Z] Step 25/25 : LABEL version=0.0.0 [2020-11-09T16:54:03.169Z] ---> Running in eae1565e3016 [2020-11-09T16:54:03.764Z] Removing intermediate container eae1565e3016 [2020-11-09T16:54:03.764Z] ---> 2d730d567134 [2020-11-09T16:54:03.764Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-09T16:54:03.764Z] Successfully built 2d730d567134 [2020-11-09T16:54:03.764Z] 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-09T16:54:06.081Z] provisioning config files... [2020-11-09T16:54:06.090Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-57@tmp/config6959284317098318547tmp [Pipeline] { [Pipeline] sh [2020-11-09T16:54:06.516Z] + set +x [2020-11-09T16:54:06.516Z] + curl -s https://codecov.io/bash [2020-11-09T16:54:06.516Z] + bash -s -- [2020-11-09T16:54:06.779Z] [2020-11-09T16:54:06.779Z] _____ _ [2020-11-09T16:54:06.779Z] / ____| | | [2020-11-09T16:54:06.779Z] | | ___ __| | ___ ___ _____ __ [2020-11-09T16:54:06.779Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-09T16:54:06.779Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-09T16:54:06.779Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-09T16:54:06.779Z] Bash-20201106-81372f2 [2020-11-09T16:54:06.779Z] [2020-11-09T16:54:06.779Z] [2020-11-09T16:54:06.779Z] ==> Jenkins CI detected. [2020-11-09T16:54:06.779Z] project root: . [2020-11-09T16:54:06.779Z] --> token set from env [2020-11-09T16:54:06.779Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-09T16:54:06.779Z] ==> Running gcov in . (disable via -X gcov) [2020-11-09T16:54:06.779Z] ==> Python coveragepy not found [2020-11-09T16:54:06.779Z] ==> Searching for coverage reports in: [2020-11-09T16:54:06.779Z] + . [2020-11-09T16:54:06.779Z] -> Found 1 reports [2020-11-09T16:54:06.779Z] ==> Detecting git/mercurial file structure [2020-11-09T16:54:06.779Z] ==> Reading reports [2020-11-09T16:54:06.779Z] + ./coverage.out bytes=9369 [2020-11-09T16:54:06.779Z] ==> Appending adjustments [2020-11-09T16:54:06.779Z] https://docs.codecov.io/docs/fixing-reports [2020-11-09T16:54:06.779Z] + Found adjustments [2020-11-09T16:54:06.779Z] ==> Gzipping contents [2020-11-09T16:54:06.779Z] ==> Uploading reports [2020-11-09T16:54:06.779Z] url: https://codecov.io [2020-11-09T16:54:06.779Z] query: branch=PR-57&commit=25c89cabf416d2bac17a3e59a931a2fdea64d6d2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-57%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=57&job=&cmd_args= [2020-11-09T16:54:07.040Z] -> Pinging Codecov [2020-11-09T16:54:07.040Z] https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-57&commit=25c89cabf416d2bac17a3e59a931a2fdea64d6d2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-57%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=57&job=&cmd_args= [2020-11-09T16:54:07.304Z] -> Uploading to [2020-11-09T16:54:07.304Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-09/4E5D53B4F1F92C436F7061BF334D961C/25c89cabf416d2bac17a3e59a931a2fdea64d6d2/25b01988-bbda-471b-ade1-b834f061956e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201109T165407Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e96c678dedcadff27d47a0254f88c7e0512c1825aa0aea1b0473fa17ee55b040 [2020-11-09T16:54:07.304Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-09T16:54:07.304Z] Dload Upload Total Spent Left Speed [2020-11-09T16:54:07.878Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1695 0 0 100 1695 0 4381 --:--:-- --:--:-- --:--:-- 4391 [2020-11-09T16:54:07.878Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/25c89cabf416d2bac17a3e59a931a2fdea64d6d2 [Pipeline] } [2020-11-09T16:54:07.912Z] 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-09T16:54:12.526Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-09T16:54:13.131Z] ---> package-listing.sh [2020-11-09T16:54:13.131Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-09T16:54:13.131Z] ++ facter osfamily [2020-11-09T16:54:13.131Z] + OS_FAMILY=redhat [2020-11-09T16:54:13.131Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-57 [2020-11-09T16:54:13.131Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-09T16:54:13.131Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-09T16:54:13.131Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-09T16:54:13.131Z] + PACKAGES=/tmp/packages_start.txt [2020-11-09T16:54:13.131Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-57 ']' [2020-11-09T16:54:13.131Z] + PACKAGES=/tmp/packages_end.txt [2020-11-09T16:54:13.131Z] + case "${OS_FAMILY}" in [2020-11-09T16:54:13.131Z] + rpm -qa [2020-11-09T16:54:13.131Z] + sort [2020-11-09T16:54:17.365Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-09T16:54:17.365Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-09T16:54:17.365Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-09T16:54:17.365Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-57 ']' [2020-11-09T16:54:17.365Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-57/archives/ [2020-11-09T16:54:17.365Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-57/archives/ [Pipeline] echo [2020-11-09T16:54:17.398Z] 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-57/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-09T16:54:17.721Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-09T16:54:18.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-09T16:54:18.073Z] [2020-11-09T16:54:18.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-09T16:54:18.491Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-09T16:54:18.491Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-09T16:54:18.491Z] df20fa9351a1: Pulling fs layer [2020-11-09T16:54:18.491Z] 36b3adc4ff6f: Pulling fs layer [2020-11-09T16:54:18.491Z] 8ad3a11d3b57: Pulling fs layer [2020-11-09T16:54:18.491Z] 46f8f816bc3b: Pulling fs layer [2020-11-09T16:54:18.491Z] 93b61091891f: Pulling fs layer [2020-11-09T16:54:18.491Z] 93b9cdb0e59b: Pulling fs layer [2020-11-09T16:54:18.491Z] 5e14af77c1be: Pulling fs layer [2020-11-09T16:54:18.491Z] 01666e4c0597: Pulling fs layer [2020-11-09T16:54:18.491Z] aa168da1d23b: Pulling fs layer [2020-11-09T16:54:18.491Z] 93b61091891f: Waiting [2020-11-09T16:54:18.491Z] 93b9cdb0e59b: Waiting [2020-11-09T16:54:18.491Z] 5e14af77c1be: Waiting [2020-11-09T16:54:18.491Z] 01666e4c0597: Waiting [2020-11-09T16:54:18.491Z] aa168da1d23b: Waiting [2020-11-09T16:54:18.491Z] 46f8f816bc3b: Waiting [2020-11-09T16:54:18.491Z] 36b3adc4ff6f: Verifying Checksum [2020-11-09T16:54:18.491Z] 36b3adc4ff6f: Download complete [2020-11-09T16:54:18.491Z] 46f8f816bc3b: Verifying Checksum [2020-11-09T16:54:18.491Z] 46f8f816bc3b: Download complete [2020-11-09T16:54:18.761Z] df20fa9351a1: Verifying Checksum [2020-11-09T16:54:18.761Z] df20fa9351a1: Download complete [2020-11-09T16:54:18.761Z] 93b9cdb0e59b: Download complete [2020-11-09T16:54:18.761Z] 5e14af77c1be: Verifying Checksum [2020-11-09T16:54:18.761Z] 5e14af77c1be: Download complete [2020-11-09T16:54:18.761Z] 93b61091891f: Verifying Checksum [2020-11-09T16:54:18.761Z] 93b61091891f: Download complete [2020-11-09T16:54:18.761Z] 01666e4c0597: Verifying Checksum [2020-11-09T16:54:18.761Z] 01666e4c0597: Download complete [2020-11-09T16:54:18.761Z] 8ad3a11d3b57: Verifying Checksum [2020-11-09T16:54:18.761Z] 8ad3a11d3b57: Download complete [2020-11-09T16:54:19.024Z] df20fa9351a1: Pull complete [2020-11-09T16:54:19.288Z] 36b3adc4ff6f: Pull complete [2020-11-09T16:54:20.248Z] 8ad3a11d3b57: Pull complete [2020-11-09T16:54:20.248Z] 46f8f816bc3b: Pull complete [2020-11-09T16:54:20.511Z] 93b61091891f: Pull complete [2020-11-09T16:54:20.774Z] 93b9cdb0e59b: Pull complete [2020-11-09T16:54:20.774Z] 5e14af77c1be: Pull complete [2020-11-09T16:54:21.041Z] aa168da1d23b: Verifying Checksum [2020-11-09T16:54:21.041Z] aa168da1d23b: Download complete [2020-11-09T16:54:21.041Z] 01666e4c0597: Pull complete [2020-11-09T16:54:27.667Z] aa168da1d23b: Pull complete [2020-11-09T16:54:27.667Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-09T16:54:27.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-09T16:54:27.667Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-09T16:54:27.845Z] prd-centos7-docker-4c-2g-11627 does not seem to be running inside a container [2020-11-09T16:54:27.887Z] $ 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-57/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-57 -v /w/workspace/dgexfoundry_device-rest-go_PR-57:/w/workspace/dgexfoundry_device-rest-go_PR-57:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-57@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-09T16:54:31.656Z] $ docker top 7e668c74889de2c01865fde6b35b7d167e860f5d761af6600dfcc3baae74ac09 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-09T16:54:32.255Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-09T16:54:32.578Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-09T16:54:32.894Z] + ls /var/log/sa-host [2020-11-09T16:54:32.894Z] + sadf -c /var/log/sa-host/sa05 [2020-11-09T16:54:32.894Z] file_magic: OK [2020-11-09T16:54:32.894Z] HZ: Using current value: 100 [2020-11-09T16:54:32.894Z] file_header: OK [2020-11-09T16:54:32.894Z] 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-09T16:54:32.894Z] Statistics: [2020-11-09T16:54:32.894Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-09T16:54:32.894Z] File successfully converted to sysstat format version 12.2.1 [2020-11-09T16:54:32.894Z] + sadf -c /var/log/sa-host/sa09 [2020-11-09T16:54:32.894Z] file_magic: OK [2020-11-09T16:54:32.894Z] HZ: Using current value: 100 [2020-11-09T16:54:32.894Z] file_header: OK [2020-11-09T16:54:32.894Z] 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-09T16:54:32.894Z] Statistics: [2020-11-09T16:54:32.894Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-09T16:54:32.894Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-09T16:54:33.179Z] provisioning config files... [2020-11-09T16:54:33.195Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-57@tmp/config1389256183680760357tmp [Pipeline] { [Pipeline] echo [2020-11-09T16:54:33.327Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-09T16:54:33.666Z] ---> create-netrc.sh [Pipeline] } [2020-11-09T16:54:33.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-09T16:54:33.877Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-09T16:54:34.217Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-09T16:54:34.249Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-09T16:54:34.588Z] ---> sudo-logs.sh [2020-11-09T16:54:34.589Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-09T16:54:34.881Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-09T16:54:35.219Z] ---> job-cost.sh [2020-11-09T16:54:35.219Z] lf-activate-venv: SKIPPING [2020-11-09T16:54:35.219Z] INFO: No Stack... [2020-11-09T16:54:36.167Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-09T16:54:36.740Z] INFO: Archiving Costs [Pipeline] echo [2020-11-09T16:54:36.779Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-09T16:54:37.120Z] ---> logs-deploy.sh [2020-11-09T16:54:37.120Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-57/1 [2020-11-09T16:54:37.120Z] INFO: archiving workspace using pattern(s): [2020-11-09T16:54:39.042Z] Archives upload complete. [2020-11-09T16:54:39.042Z] INFO: archiving logs to Nexus