cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 9eb04a735ff6c755d3141000f56c9be256ceb7ae+8988443161b762d02568202c1b71a3f56b05d0c9 (5e86877b320aa9419afd5142236ef949067b2fff) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2877692720085283016.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1163102097669856298.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-137/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-137/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5594987089702701713.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1559956986172413990.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-137/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-137/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3668058078249656300.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-118 in /w/workspace/gexfoundry_device-rest-go_PR-137 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-137 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-137@tmp/jenkins-gitclient-ssh7036719528838441898.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8988443161b762d02568202c1b71a3f56b05d0c9 into PR head commit 9eb04a735ff6c755d3141000f56c9be256ceb7ae > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-137@tmp/jenkins-gitclient-ssh4851839444667465799.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 9eb04a735ff6c755d3141000f56c9be256ceb7ae Checking out Revision 9eb04a735ff6c755d3141000f56c9be256ceb7ae (PR-137) > git checkout -f 9eb04a735ff6c755d3141000f56c9be256ceb7ae # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-137@tmp/jenkins-gitclient-ssh8675040386959893569.key > git merge 8988443161b762d02568202c1b71a3f56b05d0c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9eb04a735ff6c755d3141000f56c9be256ceb7ae # timeout=10 Commit message: "fix: update device resource RW permission to read-only" > git rev-list --no-walk 9eb04a735ff6c755d3141000f56c9be256ceb7ae # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-06T07:44:00.119Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-06T07:44:00.213Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-06T07:44:00.242Z] ========================================================= [2021-10-06T07:44:00.242Z] EdgeX Global Pipelines Version Info [2021-10-06T07:44:00.242Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-06T07:44:01.485Z] ------------------- [2021-10-06T07:44:01.485Z] stable info: [2021-10-06T07:44:01.485Z] ------------------- [2021-10-06T07:44:01.485Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-06T07:44:01.485Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-06T07:44:01.485Z] Message: update stable to v1.0.206 [2021-10-06T07:44:02.071Z] ------------------- [2021-10-06T07:44:02.071Z] experimental info: [2021-10-06T07:44:02.071Z] ------------------- [2021-10-06T07:44:02.071Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-06T07:44:02.071Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-06T07:44:02.071Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-06T07:44:02.212Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-10-06T07:44:02.237Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-10-06T07:44:02.261Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-06T07:44:02.284Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-06T07:44:02.307Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-06T07:44:02.330Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-06T07:44:02.353Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-10-06T07:44:02.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-06T07:44:02.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-06T07:44:02.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-06T07:44:02.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-06T07:44:02.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-06T07:44:02.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-10-06T07:44:02.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-06T07:44:02.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-06T07:44:02.558Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-06T07:44:02.582Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-06T07:44:02.605Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-06T07:44:02.628Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-06T07:44:02.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-06T07:44:02.674Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-06T07:44:02.697Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-06T07:44:02.721Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-06T07:44:02.746Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-06T07:44:02.770Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-06T07:44:02.795Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-06T07:44:02.818Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-06T07:44:02.842Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-137 [Pipeline] echo [2021-10-06T07:44:02.866Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-137 [Pipeline] echo [2021-10-06T07:44:02.891Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-137 [Pipeline] echo [2021-10-06T07:44:02.923Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9eb04a735ff6c755d3141000f56c9be256ceb7ae [Pipeline] echo [2021-10-06T07:44:02.948Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9eb04a7 [Pipeline] echo [2021-10-06T07:44:02.972Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T07:44:03.050Z] provisioning config files... [2021-10-06T07:44:03.076Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-137@tmp/config7790114459148058187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T07:44:03.419Z] ---> docker-login.sh [2021-10-06T07:44:03.419Z] nexus3.edgexfoundry.org:10001 [2021-10-06T07:44:03.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T07:44:03.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T07:44:03.687Z] Configure a credential helper to remove this warning. See [2021-10-06T07:44:03.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T07:44:03.687Z] [2021-10-06T07:44:03.687Z] Login Succeeded [2021-10-06T07:44:03.687Z] nexus3.edgexfoundry.org:10002 [2021-10-06T07:44:03.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T07:44:03.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T07:44:03.957Z] Configure a credential helper to remove this warning. See [2021-10-06T07:44:03.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T07:44:03.957Z] [2021-10-06T07:44:03.957Z] Login Succeeded [2021-10-06T07:44:03.957Z] nexus3.edgexfoundry.org:10003 [2021-10-06T07:44:03.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T07:44:03.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T07:44:03.957Z] Configure a credential helper to remove this warning. See [2021-10-06T07:44:03.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T07:44:03.957Z] [2021-10-06T07:44:03.957Z] Login Succeeded [2021-10-06T07:44:03.957Z] nexus3.edgexfoundry.org:10004 [2021-10-06T07:44:04.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T07:44:04.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T07:44:04.223Z] Configure a credential helper to remove this warning. See [2021-10-06T07:44:04.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T07:44:04.223Z] [2021-10-06T07:44:04.223Z] Login Succeeded [2021-10-06T07:44:04.223Z] docker.io [2021-10-06T07:44:04.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T07:44:04.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T07:44:04.488Z] Configure a credential helper to remove this warning. See [2021-10-06T07:44:04.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T07:44:04.488Z] [2021-10-06T07:44:04.488Z] Login Succeeded [2021-10-06T07:44:04.488Z] ---> docker-login.sh ends [Pipeline] } [2021-10-06T07:44:04.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-06T07:44:05.096Z] + git log --format=format:%s -1 9eb04a735ff6c755d3141000f56c9be256ceb7ae [Pipeline] echo [2021-10-06T07:44:05.147Z] GIT_COMMIT: 9eb04a735ff6c755d3141000f56c9be256ceb7ae, Commit Message: fix: update device resource RW permission to read-only [Pipeline] echo [2021-10-06T07:44:05.161Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-06T07:44:06.086Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-06T07:44:06.086Z] [2021-10-06T07:44:06.086Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T07:44:06.439Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-06T07:44:09.786Z] latest: Pulling from edgex-devops/git-semver [2021-10-06T07:44:09.786Z] 31603596830f: Pulling fs layer [2021-10-06T07:44:09.786Z] 04fac38145f0: Pulling fs layer [2021-10-06T07:44:09.786Z] 701f6daf10bf: Pulling fs layer [2021-10-06T07:44:09.786Z] 24f72da36158: Pulling fs layer [2021-10-06T07:44:09.786Z] 24f72da36158: Waiting [2021-10-06T07:44:09.786Z] 04fac38145f0: Verifying Checksum [2021-10-06T07:44:09.786Z] 04fac38145f0: Download complete [2021-10-06T07:44:42.014Z] 24f72da36158: Verifying Checksum [2021-10-06T07:44:42.014Z] 24f72da36158: Download complete [2021-10-06T07:46:18.666Z] 31603596830f: Retrying in 5 seconds [2021-10-06T07:46:18.666Z] 701f6daf10bf: Retrying in 5 seconds [2021-10-06T07:46:18.666Z] 701f6daf10bf: Retrying in 4 seconds [2021-10-06T07:46:18.666Z] 31603596830f: Retrying in 4 seconds [2021-10-06T07:46:18.666Z] 31603596830f: Retrying in 3 seconds [2021-10-06T07:46:18.666Z] 701f6daf10bf: Retrying in 3 seconds [2021-10-06T07:46:18.666Z] 31603596830f: Retrying in 2 seconds [2021-10-06T07:46:18.666Z] 701f6daf10bf: Retrying in 2 seconds [2021-10-06T07:46:18.666Z] 31603596830f: Retrying in 1 second [2021-10-06T07:46:18.666Z] 701f6daf10bf: Retrying in 1 second [2021-10-06T07:46:18.666Z] 31603596830f: Verifying Checksum [2021-10-06T07:46:18.666Z] 31603596830f: Download complete [2021-10-06T07:46:18.666Z] 31603596830f: Pull complete [2021-10-06T07:46:18.666Z] 04fac38145f0: Pull complete [2021-10-06T07:46:18.666Z] 701f6daf10bf: Verifying Checksum [2021-10-06T07:46:18.666Z] 701f6daf10bf: Download complete [2021-10-06T07:46:18.666Z] 701f6daf10bf: Pull complete [2021-10-06T07:46:18.666Z] 24f72da36158: Pull complete [2021-10-06T07:46:18.666Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-06T07:46:18.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-06T07:46:18.666Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-06T07:46:18.768Z] prd-centos7-docker-4c-2g-118 does not seem to be running inside a container [2021-10-06T07:46:18.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-137 -v /w/workspace/gexfoundry_device-rest-go_PR-137:/w/workspace/gexfoundry_device-rest-go_PR-137:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-137@tmp:/w/workspace/gexfoundry_device-rest-go_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-06T07:46:19.466Z] $ docker top d9d792a0c9977a4624b77322042bca6824b41d181e867dc7b2f7cfefe1be1c1c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-06T07:46:19.596Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-06T07:46:19.596Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-06T07:46:19.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-06T07:46:19.718Z] $ docker exec d9d792a0c9977a4624b77322042bca6824b41d181e867dc7b2f7cfefe1be1c1c ssh-agent [2021-10-06T07:46:19.847Z] SSH_AUTH_SOCK=/tmp/ssh-9F9B9IIDcdCe/agent.13 [2021-10-06T07:46:19.847Z] SSH_AGENT_PID=19 [2021-10-06T07:46:19.856Z] Running ssh-add (command line suppressed) [2021-10-06T07:46:19.984Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-137@tmp/private_key_4935326997547822346.key (/w/workspace/gexfoundry_device-rest-go_PR-137@tmp/private_key_4935326997547822346.key) [2021-10-06T07:46:20.004Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-06T07:46:20.319Z] + git tag --points-at HEAD [Pipeline] } [2021-10-06T07:46:20.338Z] $ docker exec --env ******** --env ******** d9d792a0c9977a4624b77322042bca6824b41d181e867dc7b2f7cfefe1be1c1c ssh-agent -k [2021-10-06T07:46:20.467Z] unset SSH_AUTH_SOCK; [2021-10-06T07:46:20.468Z] unset SSH_AGENT_PID; [2021-10-06T07:46:20.468Z] echo Agent pid 19 killed; [2021-10-06T07:46:20.483Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-06T07:46:20.527Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-06T07:46:20.527Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-06T07:46:20.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-06T07:46:20.663Z] $ docker exec d9d792a0c9977a4624b77322042bca6824b41d181e867dc7b2f7cfefe1be1c1c ssh-agent [2021-10-06T07:46:20.787Z] SSH_AUTH_SOCK=/tmp/ssh-PiutTj2yiV7A/agent.50 [2021-10-06T07:46:20.787Z] SSH_AGENT_PID=57 [2021-10-06T07:46:20.795Z] Running ssh-add (command line suppressed) [2021-10-06T07:46:20.900Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-137@tmp/private_key_6714134995660715319.key (/w/workspace/gexfoundry_device-rest-go_PR-137@tmp/private_key_6714134995660715319.key) [2021-10-06T07:46:20.921Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-06T07:46:21.240Z] + git semver init [2021-10-06T07:46:21.240Z] # -> Open(): unable to determine branch for HEAD [2021-10-06T07:46:21.240Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-137/.git [2021-10-06T07:46:21.240Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-137 [2021-10-06T07:46:21.240Z] # $SEMVER_REMOTE_NAME = origin [2021-10-06T07:46:21.240Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-06T07:46:21.240Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-06T07:46:21.240Z] # $SEMVER_BRANCH = PR-137 [2021-10-06T07:46:21.240Z] # $SEMVER_TEMP = /tmp/semver-648171191 [2021-10-06T07:46:21.240Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-10-06T07:46:22.200Z] # '/tmp/semver-648171191' -> '/w/workspace/gexfoundry_device-rest-go_PR-137/.semver' [2021-10-06T07:46:22.200Z] # -> Force: false [2021-10-06T07:46:22.200Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-137/.semver [Pipeline] } [2021-10-06T07:46:22.216Z] $ docker exec --env ******** --env ******** d9d792a0c9977a4624b77322042bca6824b41d181e867dc7b2f7cfefe1be1c1c ssh-agent -k [2021-10-06T07:46:22.323Z] unset SSH_AUTH_SOCK; [2021-10-06T07:46:22.324Z] unset SSH_AGENT_PID; [2021-10-06T07:46:22.324Z] echo Agent pid 57 killed; [2021-10-06T07:46:22.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-06T07:46:22.683Z] + git semver [Pipeline] } [2021-10-06T07:46:22.702Z] $ docker stop --time=1 d9d792a0c9977a4624b77322042bca6824b41d181e867dc7b2f7cfefe1be1c1c [2021-10-06T07:46:23.975Z] $ docker rm -f d9d792a0c9977a4624b77322042bca6824b41d181e867dc7b2f7cfefe1be1c1c [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-06T07:46:24.360Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-06T07:46:24.687Z] Stashed 1 file(s) [Pipeline] echo [2021-10-06T07:46:24.691Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-06T07:46:40.030Z] Still waiting to schedule task [2021-10-06T07:46:40.031Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-118’ [2021-10-06T07:46:40.032Z] Still waiting to schedule task [2021-10-06T07:46:40.033Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-06T07:49:11.588Z] Running on prd-centos7-docker-4c-2g-121 in /w/workspace/gexfoundry_device-rest-go_PR-137 [Pipeline] { [Pipeline] ws [2021-10-06T07:49:11.608Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-10-06T07:49:11.752Z] The recommended git tool is: git [2021-10-06T07:49:14.604Z] using credential edgex-jenkins-ssh [2021-10-06T07:49:14.620Z] Cloning the remote Git repository [2021-10-06T07:49:13.732Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-06T07:49:13.799Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-10-06T07:49:13.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-06T07:49:13.834Z] > git --version # timeout=10 [2021-10-06T07:49:13.841Z] > git --version # 'git version 2.24.4' [2021-10-06T07:49:13.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T07:49:13.868Z] [INFO] Currently running in a labeled security context [2021-10-06T07:49:13.868Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-06T07:49:13.868Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh9054624014706387357.key [2021-10-06T07:49:13.878Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T07:49:16.189Z] Merging remotes/origin/main commit 8988443161b762d02568202c1b71a3f56b05d0c9 into PR head commit 9eb04a735ff6c755d3141000f56c9be256ceb7ae [2021-10-06T07:49:16.287Z] Merge succeeded, producing 9eb04a735ff6c755d3141000f56c9be256ceb7ae [2021-10-06T07:49:16.287Z] Checking out Revision 9eb04a735ff6c755d3141000f56c9be256ceb7ae (PR-137) [2021-10-06T07:49:14.704Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-06T07:49:14.710Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T07:49:14.722Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-06T07:49:14.734Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-06T07:49:14.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T07:49:14.738Z] [INFO] Currently running in a labeled security context [2021-10-06T07:49:14.738Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-06T07:49:14.738Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh6172973759343806470.key [2021-10-06T07:49:14.752Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-06T07:49:15.334Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T07:49:15.342Z] > git checkout -f 9eb04a735ff6c755d3141000f56c9be256ceb7ae # timeout=10 [2021-10-06T07:49:15.375Z] > git remote # timeout=10 [2021-10-06T07:49:15.383Z] > git config --get remote.origin.url # timeout=10 [2021-10-06T07:49:15.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T07:49:15.391Z] [INFO] Currently running in a labeled security context [2021-10-06T07:49:15.391Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-06T07:49:15.391Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh482777985536134827.key [2021-10-06T07:49:15.396Z] > git merge 8988443161b762d02568202c1b71a3f56b05d0c9 # timeout=10 [2021-10-06T07:49:15.407Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-06T07:49:15.434Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T07:49:15.437Z] > git checkout -f 9eb04a735ff6c755d3141000f56c9be256ceb7ae # timeout=10 [2021-10-06T07:49:19.945Z] Commit message: "fix: update device resource RW permission to read-only" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T07:49:20.537Z] provisioning config files... [2021-10-06T07:49:20.557Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config6232427340148816321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T07:49:20.999Z] ---> docker-login.sh [2021-10-06T07:49:21.000Z] nexus3.edgexfoundry.org:10001 [2021-10-06T07:49:21.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T07:49:21.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T07:49:21.269Z] Configure a credential helper to remove this warning. See [2021-10-06T07:49:21.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T07:49:21.269Z] [2021-10-06T07:49:21.269Z] Login Succeeded [2021-10-06T07:49:21.269Z] nexus3.edgexfoundry.org:10002 [2021-10-06T07:49:21.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T07:49:21.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T07:49:21.269Z] Configure a credential helper to remove this warning. See [2021-10-06T07:49:21.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T07:49:21.269Z] [2021-10-06T07:49:21.269Z] Login Succeeded [2021-10-06T07:49:21.269Z] nexus3.edgexfoundry.org:10003 [2021-10-06T07:49:21.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T07:49:21.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T07:49:21.539Z] Configure a credential helper to remove this warning. See [2021-10-06T07:49:21.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T07:49:21.539Z] [2021-10-06T07:49:21.539Z] Login Succeeded [2021-10-06T07:49:21.539Z] nexus3.edgexfoundry.org:10004 [2021-10-06T07:49:21.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T07:49:21.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T07:49:21.539Z] Configure a credential helper to remove this warning. See [2021-10-06T07:49:21.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T07:49:21.539Z] [2021-10-06T07:49:21.539Z] Login Succeeded [2021-10-06T07:49:21.539Z] docker.io [2021-10-06T07:49:21.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T07:49:22.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T07:49:22.081Z] Configure a credential helper to remove this warning. See [2021-10-06T07:49:22.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T07:49:22.081Z] [2021-10-06T07:49:22.081Z] Login Succeeded [2021-10-06T07:49:22.081Z] ---> docker-login.sh ends [Pipeline] } [2021-10-06T07:49:22.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-06T07:49:22.333Z] ========================================================= [2021-10-06T07:49:22.333Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-06T07:49:22.333Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-06T07:49:22.696Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-06T07:49:22.696Z] Sending build context to Docker daemon 119.8kB [2021-10-06T07:49:22.696Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-10-06T07:49:22.696Z] Step 2/12 : FROM ${BASE} AS builder [2021-10-06T07:49:22.696Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-06T07:49:22.696Z] 4e9f2cdf4387: Pulling fs layer [2021-10-06T07:49:22.696Z] 57d31006c564: Pulling fs layer [2021-10-06T07:49:22.696Z] bd5ccded8296: Pulling fs layer [2021-10-06T07:49:22.696Z] 304dd3a0f381: Pulling fs layer [2021-10-06T07:49:22.696Z] d37cda54a23b: Pulling fs layer [2021-10-06T07:49:22.696Z] 38ea18935520: Pulling fs layer [2021-10-06T07:49:22.696Z] ceb1e79740a2: Pulling fs layer [2021-10-06T07:49:22.696Z] b665197a1568: Pulling fs layer [2021-10-06T07:49:22.696Z] 842a00ea3e35: Pulling fs layer [2021-10-06T07:49:22.696Z] 304dd3a0f381: Waiting [2021-10-06T07:49:22.696Z] d37cda54a23b: Waiting [2021-10-06T07:49:22.696Z] 38ea18935520: Waiting [2021-10-06T07:49:22.696Z] ceb1e79740a2: Waiting [2021-10-06T07:49:22.696Z] b665197a1568: Waiting [2021-10-06T07:49:22.696Z] 842a00ea3e35: Waiting [2021-10-06T07:49:22.696Z] bd5ccded8296: Verifying Checksum [2021-10-06T07:49:22.696Z] bd5ccded8296: Download complete [2021-10-06T07:49:22.973Z] 57d31006c564: Verifying Checksum [2021-10-06T07:49:22.973Z] 57d31006c564: Download complete [2021-10-06T07:49:22.973Z] d37cda54a23b: Verifying Checksum [2021-10-06T07:49:22.973Z] d37cda54a23b: Download complete [2021-10-06T07:49:22.973Z] 38ea18935520: Verifying Checksum [2021-10-06T07:49:22.973Z] 38ea18935520: Download complete [2021-10-06T07:49:22.973Z] ceb1e79740a2: Verifying Checksum [2021-10-06T07:49:22.973Z] ceb1e79740a2: Download complete [2021-10-06T07:49:22.973Z] 4e9f2cdf4387: Verifying Checksum [2021-10-06T07:49:22.973Z] 4e9f2cdf4387: Download complete [2021-10-06T07:49:23.240Z] 4e9f2cdf4387: Pull complete [2021-10-06T07:49:23.507Z] 57d31006c564: Pull complete [2021-10-06T07:49:23.507Z] bd5ccded8296: Pull complete [2021-10-06T07:51:15.148Z] b665197a1568: Verifying Checksum [2021-10-06T07:51:15.148Z] b665197a1568: Download complete [2021-10-06T07:53:21.643Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-123 in /w/workspace/gexfoundry_device-rest-go_PR-137 [Pipeline] { [Pipeline] ws [2021-10-06T07:53:21.669Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-10-06T07:53:21.933Z] The recommended git tool is: git [2021-10-06T07:53:28.553Z] using credential edgex-jenkins-ssh [2021-10-06T07:53:28.576Z] Cloning the remote Git repository [2021-10-06T07:53:28.630Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-06T07:53:28.753Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-10-06T07:53:28.926Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-06T07:53:28.927Z] > git --version # timeout=10 [2021-10-06T07:53:28.961Z] > git --version # 'git version 2.17.1' [2021-10-06T07:53:28.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T07:53:29.087Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T07:53:30.938Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-06T07:53:30.960Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T07:53:30.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-06T07:53:31.020Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-06T07:53:31.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T07:53:31.032Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-06T07:53:31.722Z] Merging remotes/origin/main commit 8988443161b762d02568202c1b71a3f56b05d0c9 into PR head commit 9eb04a735ff6c755d3141000f56c9be256ceb7ae [2021-10-06T07:53:31.955Z] Merge succeeded, producing 9eb04a735ff6c755d3141000f56c9be256ceb7ae [2021-10-06T07:53:31.956Z] Checking out Revision 9eb04a735ff6c755d3141000f56c9be256ceb7ae (PR-137) [2021-10-06T07:53:31.741Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T07:53:31.770Z] > git checkout -f 9eb04a735ff6c755d3141000f56c9be256ceb7ae # timeout=10 [2021-10-06T07:53:31.861Z] > git remote # timeout=10 [2021-10-06T07:53:31.879Z] > git config --get remote.origin.url # timeout=10 [2021-10-06T07:53:31.891Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T07:53:31.903Z] > git merge 8988443161b762d02568202c1b71a3f56b05d0c9 # timeout=10 [2021-10-06T07:53:31.930Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-06T07:53:31.961Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T07:53:31.972Z] > git checkout -f 9eb04a735ff6c755d3141000f56c9be256ceb7ae # timeout=10 [2021-10-06T07:53:36.744Z] Commit message: "fix: update device resource RW permission to read-only" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T07:53:37.328Z] provisioning config files... [2021-10-06T07:53:37.374Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config2291934855247870589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T07:53:38.026Z] ---> docker-login.sh [2021-10-06T07:53:38.026Z] nexus3.edgexfoundry.org:10001 [2021-10-06T07:53:39.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T07:53:49.377Z] Error response from daemon: Get https://nexus3.edgexfoundry.org:10001/v2/: net/http: TLS handshake timeout [Pipeline] } [2021-10-06T07:53:49.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T07:53:50.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T07:53:50.461Z] [2021-10-06T07:53:50.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-06T07:53:50.855Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T07:54:06.076Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-06T07:54:06.076Z] 448f6bf000e3: Pulling fs layer [2021-10-06T07:54:06.076Z] f757da607395: Pulling fs layer [2021-10-06T07:54:06.076Z] 05883995daec: Pulling fs layer [2021-10-06T07:54:06.076Z] 8603b9c90790: Pulling fs layer [2021-10-06T07:54:06.076Z] 1560dd03e051: Pulling fs layer [2021-10-06T07:54:06.076Z] 27f5ce0e4adf: Pulling fs layer [2021-10-06T07:54:06.076Z] c2d8d7efcc4b: Pulling fs layer [2021-10-06T07:54:06.076Z] 1560dd03e051: Waiting [2021-10-06T07:54:06.076Z] 27f5ce0e4adf: Waiting [2021-10-06T07:54:06.076Z] c2d8d7efcc4b: Waiting [2021-10-06T07:54:06.076Z] 8603b9c90790: Waiting [2021-10-06T07:55:02.812Z] f757da607395: Verifying Checksum [2021-10-06T07:55:02.812Z] f757da607395: Download complete [2021-10-06T07:55:03.096Z] 8603b9c90790: Verifying Checksum [2021-10-06T07:55:03.096Z] 8603b9c90790: Download complete [2021-10-06T07:56:40.123Z] 05883995daec: Retrying in 5 seconds [2021-10-06T07:56:40.123Z] 448f6bf000e3: Retrying in 5 seconds [2021-10-06T07:56:40.123Z] 05883995daec: Retrying in 4 seconds [2021-10-06T07:56:40.123Z] 448f6bf000e3: Retrying in 4 seconds [2021-10-06T07:56:40.123Z] 05883995daec: Retrying in 3 seconds [2021-10-06T07:56:40.123Z] 448f6bf000e3: Retrying in 3 seconds [2021-10-06T07:56:40.123Z] 448f6bf000e3: Retrying in 2 seconds [2021-10-06T07:56:40.123Z] 05883995daec: Retrying in 2 seconds [2021-10-06T07:56:40.123Z] 05883995daec: Retrying in 1 second [2021-10-06T07:56:40.123Z] 448f6bf000e3: Retrying in 1 second [2021-10-06T07:57:48.356Z] 1560dd03e051: Retrying in 5 seconds [2021-10-06T07:57:48.356Z] 1560dd03e051: Retrying in 4 seconds [2021-10-06T07:57:48.356Z] 1560dd03e051: Retrying in 3 seconds [2021-10-06T07:57:48.356Z] 1560dd03e051: Retrying in 2 seconds [2021-10-06T07:57:48.356Z] 1560dd03e051: Retrying in 1 second [2021-10-06T07:57:48.356Z] 1560dd03e051: Download complete [2021-10-06T07:57:48.356Z] 27f5ce0e4adf: Verifying Checksum [2021-10-06T07:57:48.356Z] 27f5ce0e4adf: Download complete [2021-10-06T07:57:53.846Z] 05883995daec: Verifying Checksum [2021-10-06T07:57:53.846Z] 05883995daec: Download complete [2021-10-06T07:58:20.786Z] 448f6bf000e3: Verifying Checksum [2021-10-06T07:58:20.786Z] 448f6bf000e3: Download complete [2021-10-06T07:58:22.216Z] 304dd3a0f381: Retrying in 5 seconds [2021-10-06T07:58:22.216Z] 842a00ea3e35: Retrying in 5 seconds [2021-10-06T07:58:22.216Z] 304dd3a0f381: Retrying in 4 seconds [2021-10-06T07:58:22.216Z] 842a00ea3e35: Retrying in 4 seconds [2021-10-06T07:58:22.216Z] 304dd3a0f381: Retrying in 3 seconds [2021-10-06T07:58:22.216Z] 842a00ea3e35: Retrying in 3 seconds [2021-10-06T07:58:22.216Z] 842a00ea3e35: Retrying in 2 seconds [2021-10-06T07:58:22.216Z] 304dd3a0f381: Retrying in 2 seconds [2021-10-06T07:58:22.216Z] 842a00ea3e35: Retrying in 1 second [2021-10-06T07:58:22.216Z] 304dd3a0f381: Retrying in 1 second [2021-10-06T07:58:22.834Z] 448f6bf000e3: Pull complete [2021-10-06T07:58:23.453Z] f757da607395: Pull complete [2021-10-06T07:58:24.932Z] 05883995daec: Pull complete [2021-10-06T07:58:25.216Z] 8603b9c90790: Pull complete [2021-10-06T07:58:26.232Z] 1560dd03e051: Pull complete [2021-10-06T07:58:26.514Z] 27f5ce0e4adf: Pull complete [2021-10-06T07:59:43.846Z] 842a00ea3e35: Verifying Checksum [2021-10-06T07:59:43.847Z] 842a00ea3e35: Download complete [2021-10-06T08:00:33.589Z] c2d8d7efcc4b: Retrying in 5 seconds [2021-10-06T08:00:33.590Z] c2d8d7efcc4b: Retrying in 4 seconds [2021-10-06T08:00:33.590Z] c2d8d7efcc4b: Retrying in 3 seconds [2021-10-06T08:00:33.590Z] c2d8d7efcc4b: Retrying in 2 seconds [2021-10-06T08:00:34.204Z] c2d8d7efcc4b: Retrying in 1 second [2021-10-06T08:01:05.474Z] 304dd3a0f381: Retrying in 10 seconds [2021-10-06T08:01:05.474Z] 304dd3a0f381: Retrying in 9 seconds [2021-10-06T08:01:05.474Z] 304dd3a0f381: Retrying in 8 seconds [2021-10-06T08:01:05.474Z] 304dd3a0f381: Retrying in 7 seconds [2021-10-06T08:01:05.474Z] 304dd3a0f381: Retrying in 6 seconds [2021-10-06T08:01:05.474Z] 304dd3a0f381: Retrying in 5 seconds [2021-10-06T08:01:05.474Z] 304dd3a0f381: Retrying in 4 seconds [2021-10-06T08:01:05.474Z] 304dd3a0f381: Retrying in 3 seconds [2021-10-06T08:01:05.474Z] 304dd3a0f381: Retrying in 2 seconds [2021-10-06T08:01:05.474Z] 304dd3a0f381: Retrying in 1 second [2021-10-06T08:02:26.296Z] c2d8d7efcc4b: Verifying Checksum [2021-10-06T08:02:26.296Z] c2d8d7efcc4b: Download complete [2021-10-06T08:02:34.703Z] c2d8d7efcc4b: Pull complete [2021-10-06T08:02:34.703Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-06T08:02:34.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T08:02:34.703Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-06T08:02:35.028Z] prd-ubuntu18.04-docker-arm64-4c-16g-123 does not seem to be running inside a container [2021-10-06T08:02:35.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-06T08:02:39.430Z] $ docker top f274dc1cfc3deae65563b4d9d7b2745b16bb757ce87e84feba5f10891eb7eb07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T08:02:40.987Z] ---> job-cost.sh [2021-10-06T08:02:40.987Z] lf-activate-venv: SKIPPING [2021-10-06T08:02:40.987Z] INFO: No Stack... [2021-10-06T08:02:44.436Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-06T08:02:44.436Z] INFO: Archiving Costs [Pipeline] sh [2021-10-06T08:02:45.160Z] + + cutcat -d, /w/workspace/device-rest-go/4/archives/cost.csv -f6 [2021-10-06T08:02:45.160Z] [Pipeline] lock [2021-10-06T08:02:45.244Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-137-4-stack-cost] [2021-10-06T08:02:45.254Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-137-4-stack-cost] did not exist. Created. [2021-10-06T08:02:45.254Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-137-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-06T08:02:46.009Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-06T08:02:47.265Z] Stashed 1 file(s) [Pipeline] } [2021-10-06T08:02:47.277Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-137-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-06T08:02:47.320Z] $ docker stop --time=1 f274dc1cfc3deae65563b4d9d7b2745b16bb757ce87e84feba5f10891eb7eb07 [2021-10-06T08:02:49.008Z] $ docker rm -f f274dc1cfc3deae65563b4d9d7b2745b16bb757ce87e84feba5f10891eb7eb07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-06T08:02:49.657Z] Failed in branch arm64 [2021-10-06T08:03:27.183Z] 304dd3a0f381: Retrying in 15 seconds [2021-10-06T08:03:27.183Z] 304dd3a0f381: Retrying in 14 seconds [2021-10-06T08:03:27.183Z] 304dd3a0f381: Retrying in 13 seconds [2021-10-06T08:03:27.183Z] 304dd3a0f381: Retrying in 12 seconds [2021-10-06T08:03:27.183Z] 304dd3a0f381: Retrying in 11 seconds [2021-10-06T08:03:27.183Z] 304dd3a0f381: Retrying in 10 seconds [2021-10-06T08:03:27.183Z] 304dd3a0f381: Retrying in 9 seconds [2021-10-06T08:03:27.764Z] 304dd3a0f381: Retrying in 8 seconds [2021-10-06T08:03:28.724Z] 304dd3a0f381: Retrying in 7 seconds [2021-10-06T08:03:29.683Z] 304dd3a0f381: Retrying in 6 seconds [2021-10-06T08:03:30.638Z] 304dd3a0f381: Retrying in 5 seconds [2021-10-06T08:03:32.047Z] 304dd3a0f381: Retrying in 4 seconds [2021-10-06T08:03:32.627Z] 304dd3a0f381: Retrying in 3 seconds [2021-10-06T08:03:34.032Z] 304dd3a0f381: Retrying in 2 seconds [2021-10-06T08:03:34.624Z] 304dd3a0f381: Retrying in 1 second [2021-10-06T08:03:46.972Z] 304dd3a0f381: Retrying in 20 seconds [2021-10-06T08:03:46.972Z] 304dd3a0f381: Retrying in 19 seconds [2021-10-06T08:03:47.932Z] 304dd3a0f381: Retrying in 18 seconds [2021-10-06T08:03:48.894Z] 304dd3a0f381: Retrying in 17 seconds [2021-10-06T08:03:49.850Z] 304dd3a0f381: Retrying in 16 seconds [2021-10-06T08:03:50.810Z] 304dd3a0f381: Retrying in 15 seconds [2021-10-06T08:03:51.769Z] 304dd3a0f381: Retrying in 14 seconds [2021-10-06T08:03:52.726Z] 304dd3a0f381: Retrying in 13 seconds [2021-10-06T08:03:53.697Z] 304dd3a0f381: Retrying in 12 seconds [2021-10-06T08:03:54.659Z] 304dd3a0f381: Retrying in 11 seconds [2021-10-06T08:03:56.070Z] 304dd3a0f381: Retrying in 10 seconds [2021-10-06T08:03:56.657Z] 304dd3a0f381: Retrying in 9 seconds [2021-10-06T08:03:58.075Z] 304dd3a0f381: Retrying in 8 seconds [2021-10-06T08:03:58.658Z] 304dd3a0f381: Retrying in 7 seconds [2021-10-06T08:04:00.064Z] 304dd3a0f381: Retrying in 6 seconds [2021-10-06T08:04:00.648Z] 304dd3a0f381: Retrying in 5 seconds [2021-10-06T08:04:02.055Z] 304dd3a0f381: Retrying in 4 seconds [2021-10-06T08:04:02.643Z] 304dd3a0f381: Retrying in 3 seconds [2021-10-06T08:04:04.054Z] 304dd3a0f381: Retrying in 2 seconds [2021-10-06T08:04:04.654Z] 304dd3a0f381: Retrying in 1 second [2021-10-06T08:07:11.430Z] 304dd3a0f381: Retrying in 25 seconds [2021-10-06T08:07:11.430Z] 304dd3a0f381: Retrying in 24 seconds [2021-10-06T08:07:11.430Z] 304dd3a0f381: Retrying in 23 seconds [2021-10-06T08:07:11.430Z] 304dd3a0f381: Retrying in 22 seconds [2021-10-06T08:07:11.430Z] 304dd3a0f381: Retrying in 21 seconds [2021-10-06T08:07:11.430Z] 304dd3a0f381: Retrying in 20 seconds [2021-10-06T08:07:11.430Z] 304dd3a0f381: Retrying in 19 seconds [2021-10-06T08:07:11.430Z] 304dd3a0f381: Retrying in 18 seconds [2021-10-06T08:07:11.431Z] 304dd3a0f381: Retrying in 17 seconds [2021-10-06T08:07:11.431Z] 304dd3a0f381: Retrying in 16 seconds [2021-10-06T08:07:11.431Z] 304dd3a0f381: Retrying in 15 seconds [2021-10-06T08:07:12.388Z] 304dd3a0f381: Retrying in 14 seconds [2021-10-06T08:07:13.342Z] 304dd3a0f381: Retrying in 13 seconds [2021-10-06T08:07:14.302Z] 304dd3a0f381: Retrying in 12 seconds [2021-10-06T08:07:15.263Z] 304dd3a0f381: Retrying in 11 seconds [2021-10-06T08:07:16.220Z] 304dd3a0f381: Retrying in 10 seconds [2021-10-06T08:07:17.178Z] 304dd3a0f381: Retrying in 9 seconds [2021-10-06T08:07:18.135Z] 304dd3a0f381: Retrying in 8 seconds [2021-10-06T08:07:19.092Z] 304dd3a0f381: Retrying in 7 seconds [2021-10-06T08:07:20.050Z] 304dd3a0f381: Retrying in 6 seconds [2021-10-06T08:07:21.457Z] 304dd3a0f381: Retrying in 5 seconds [2021-10-06T08:07:22.042Z] 304dd3a0f381: Retrying in 4 seconds [2021-10-06T08:07:23.443Z] 304dd3a0f381: Retrying in 3 seconds [2021-10-06T08:07:24.397Z] 304dd3a0f381: Retrying in 2 seconds [2021-10-06T08:07:25.350Z] 304dd3a0f381: Retrying in 1 second [2021-10-06T08:09:47.007Z] 304dd3a0f381: Verifying Checksum [2021-10-06T08:09:47.007Z] 304dd3a0f381: Download complete [2021-10-06T08:09:47.007Z] 304dd3a0f381: Pull complete [2021-10-06T08:09:47.007Z] d37cda54a23b: Pull complete [2021-10-06T08:09:47.007Z] 38ea18935520: Pull complete [2021-10-06T08:09:47.007Z] ceb1e79740a2: Pull complete [2021-10-06T08:09:47.007Z] b665197a1568: Pull complete [2021-10-06T08:09:47.007Z] 842a00ea3e35: Pull complete [2021-10-06T08:09:47.007Z] Digest: sha256:8be23356d7c113ca3b28698ca9a8c0562f3cd483a847db66f47f9eff4f9454b6 [2021-10-06T08:09:47.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-06T08:09:47.007Z] ---> bfa24e8e2367 [2021-10-06T08:09:47.007Z] Step 3/12 : ARG MAKE='make build' [2021-10-06T08:09:47.007Z] ---> Running in 9cbb8a56e30c [2021-10-06T08:09:47.007Z] Removing intermediate container 9cbb8a56e30c [2021-10-06T08:09:47.007Z] ---> cbb2a5d6337c [2021-10-06T08:09:47.007Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-06T08:09:47.007Z] ---> Running in 82f4f88b5b7b [2021-10-06T08:09:47.007Z] Removing intermediate container 82f4f88b5b7b [2021-10-06T08:09:47.007Z] ---> cecaa0c805e9 [2021-10-06T08:09:47.007Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-10-06T08:09:47.007Z] ---> Running in 03d42b4ec01a [2021-10-06T08:09:47.007Z] Removing intermediate container 03d42b4ec01a [2021-10-06T08:09:47.007Z] ---> a97c1894b1f5 [2021-10-06T08:09:47.007Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-06T08:09:47.007Z] ---> Running in ac871e37f0ce [2021-10-06T08:09:47.007Z] Removing intermediate container ac871e37f0ce [2021-10-06T08:09:47.007Z] ---> 4f1ced122647 [2021-10-06T08:09:47.007Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-06T08:09:47.007Z] ---> Running in 328b13c187f1 [2021-10-06T08:09:47.007Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-06T08:09:47.007Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-06T08:09:47.007Z] (1/3) Installing openssh-keygen (8.4_p1-r4) [2021-10-06T08:09:47.007Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-06T08:09:47.007Z] (3/3) Installing openssh-client (8.4_p1-r4) [2021-10-06T08:09:47.007Z] Executing busybox-1.32.1-r6.trigger [2021-10-06T08:09:47.007Z] OK: 223 MiB in 55 packages [2021-10-06T08:09:47.007Z] Removing intermediate container 328b13c187f1 [2021-10-06T08:09:47.007Z] ---> f1efde6b7c98 [2021-10-06T08:09:47.007Z] Step 8/12 : WORKDIR /device-rest-go [2021-10-06T08:09:47.007Z] ---> Running in b802744ffbc6 [2021-10-06T08:09:47.007Z] Removing intermediate container b802744ffbc6 [2021-10-06T08:09:47.007Z] ---> 9fe56f5aba40 [2021-10-06T08:09:47.007Z] Step 9/12 : COPY . . [2021-10-06T08:09:47.007Z] ---> 1f1048328cb4 [2021-10-06T08:09:47.007Z] Step 10/12 : RUN go mod tidy [2021-10-06T08:09:47.007Z] ---> Running in a70e06981440 [2021-10-06T08:09:48.417Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-10-06T08:09:48.417Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-10-06T08:09:48.417Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-06T08:09:48.417Z] go: downloading github.com/spf13/cast v1.4.1 [2021-10-06T08:09:48.417Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-06T08:09:48.417Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-06T08:09:48.689Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-06T08:09:48.689Z] go: downloading github.com/google/uuid v1.2.0 [2021-10-06T08:09:48.689Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-10-06T08:09:48.689Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-10-06T08:09:48.689Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-06T08:09:48.689Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-06T08:09:48.689Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-06T08:09:48.956Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-10-06T08:09:48.956Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-06T08:09:48.956Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-06T08:09:48.956Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-10-06T08:09:48.956Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-06T08:09:48.956Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-06T08:09:49.221Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-10-06T08:09:49.221Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-10-06T08:09:49.221Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-06T08:09:49.221Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-10-06T08:09:49.221Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-10-06T08:09:49.221Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-10-06T08:09:49.221Z] go: downloading golang.org/x/text v0.3.2 [2021-10-06T08:09:49.494Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-06T08:09:49.494Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-10-06T08:09:50.482Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-10-06T08:09:50.482Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-06T08:09:50.482Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-06T08:09:50.482Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-10-06T08:09:50.482Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-06T08:09:50.482Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-10-06T08:09:50.482Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-06T08:09:50.482Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-06T08:09:50.482Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-06T08:09:50.750Z] go: downloading github.com/kr/pretty v0.2.0 [2021-10-06T08:09:50.750Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-06T08:09:50.750Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-06T08:09:50.750Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-06T08:09:50.750Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-06T08:09:50.750Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-06T08:09:50.750Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-06T08:09:51.018Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-06T08:09:51.018Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-10-06T08:09:51.018Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-10-06T08:09:51.018Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-06T08:09:51.018Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-10-06T08:09:51.018Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-10-06T08:09:51.018Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-10-06T08:09:51.018Z] go: downloading github.com/kr/text v0.1.0 [2021-10-06T08:09:51.018Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-06T08:09:51.289Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-06T08:09:51.289Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-06T08:09:51.289Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-06T08:09:51.289Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-06T08:09:51.289Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-06T08:09:51.289Z] go: downloading github.com/pkg/errors v0.8.1 [2021-10-06T08:09:51.289Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-06T08:09:51.289Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-10-06T08:09:51.568Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-10-06T08:09:51.568Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-06T08:09:51.568Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-10-06T08:09:51.568Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-06T08:09:51.568Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-10-06T08:09:51.568Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-10-06T08:09:51.568Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-10-06T08:09:51.568Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-10-06T08:09:51.568Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-10-06T08:09:51.568Z] go: downloading github.com/miekg/dns v1.1.26 [2021-10-06T08:09:51.845Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-10-06T08:09:51.845Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-06T08:09:51.845Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-10-06T08:09:51.845Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-06T08:09:51.845Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-10-06T08:09:57.201Z] Removing intermediate container a70e06981440 [2021-10-06T08:09:57.202Z] ---> 543f27f093bc [2021-10-06T08:09:57.202Z] Step 11/12 : RUN make update [2021-10-06T08:09:57.202Z] ---> Running in f56b9239207f [2021-10-06T08:09:57.202Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-10-06T08:10:02.542Z] Removing intermediate container f56b9239207f [2021-10-06T08:10:02.542Z] ---> e5140891eb1f [2021-10-06T08:10:02.542Z] Step 12/12 : RUN $MAKE [2021-10-06T08:10:02.542Z] ---> Running in aa4bb066a92c [2021-10-06T08:10:02.810Z] noop [2021-10-06T08:10:03.078Z] Removing intermediate container aa4bb066a92c [2021-10-06T08:10:03.078Z] ---> f5b998471f1c [2021-10-06T08:10:03.078Z] Successfully built f5b998471f1c [2021-10-06T08:10:03.078Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T08:10:03.427Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-06T08:10:03.427Z] . [Pipeline] withDockerContainer [2021-10-06T08:10:03.534Z] prd-centos7-docker-4c-2g-121 does not seem to be running inside a container [2021-10-06T08:10:03.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-06T08:10:04.026Z] $ docker top d2e60ae79ce3b7ea7766333619d6cd4d168035ef15cbfa1978a866dea06e09aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-06T08:10:04.469Z] + go version [2021-10-06T08:10:04.469Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-06T08:10:04.486Z] $ docker stop --time=1 d2e60ae79ce3b7ea7766333619d6cd4d168035ef15cbfa1978a866dea06e09aa [2021-10-06T08:10:05.715Z] $ docker rm -f d2e60ae79ce3b7ea7766333619d6cd4d168035ef15cbfa1978a866dea06e09aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T08:10:06.385Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-06T08:10:06.385Z] . [Pipeline] withDockerContainer [2021-10-06T08:10:06.484Z] prd-centos7-docker-4c-2g-121 does not seem to be running inside a container [2021-10-06T08:10:06.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-06T08:10:06.971Z] $ docker top 6871c9d01dd9c4949d198aaa62bc14df940c0fb63d56df46ced310d019010e4e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-06T08:10:07.406Z] + go mod tidy [Pipeline] sh [2021-10-06T08:10:08.002Z] + make test [2021-10-06T08:10:08.002Z] go mod tidy [2021-10-06T08:10:08.002Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-06T08:10:08.587Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-06T08:10:26.856Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-06T08:10:26.856Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 53.8% of statements [2021-10-06T08:10:26.856Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-06T08:10:35.092Z] gofmt -l . [2021-10-06T08:10:35.092Z] [ "`gofmt -l .`" = "" ] [2021-10-06T08:10:35.092Z] ./bin/test-go-mod-tidy.sh [2021-10-06T08:10:35.092Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-06T08:10:35.108Z] $ docker stop --time=1 6871c9d01dd9c4949d198aaa62bc14df940c0fb63d56df46ced310d019010e4e [2021-10-06T08:10:36.586Z] $ docker rm -f 6871c9d01dd9c4949d198aaa62bc14df940c0fb63d56df46ced310d019010e4e [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-06T08:10:37.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-06T08:10:37.332Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-06T08:10:42.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-06T08:10:42.418Z] + ls -al . [2021-10-06T08:10:42.418Z] total 116 [2021-10-06T08:10:42.418Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 6 08:10 . [2021-10-06T08:10:42.418Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 07:49 .. [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 6792 Oct 6 07:49 Attribution.txt [2021-10-06T08:10:42.418Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 07:49 bin [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 7459 Oct 6 07:49 CHANGELOG.md [2021-10-06T08:10:42.418Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 6 07:49 cmd [2021-10-06T08:10:42.418Z] -rw-r--r--. 1 jenkins jenkins 8435 Oct 6 08:10 coverage.out [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 1615 Oct 6 07:49 Dockerfile [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 151 Oct 6 07:49 .dockerignore [2021-10-06T08:10:42.418Z] drwxrwxr-x. 2 jenkins jenkins 76 Oct 6 07:49 driver [2021-10-06T08:10:42.418Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 07:49 .git [2021-10-06T08:10:42.418Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 6 07:49 .github [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 336 Oct 6 07:49 .gitignore [2021-10-06T08:10:42.418Z] -rw-r--r--. 1 jenkins jenkins 271 Oct 6 08:10 go.mod [2021-10-06T08:10:42.418Z] -rw-r--r--. 1 jenkins jenkins 20570 Oct 6 08:10 go.sum [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 6 07:49 GOVERNANCE.md [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 680 Oct 6 07:49 Jenkinsfile [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 6 07:49 LICENSE [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 996 Oct 6 07:49 Makefile [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 620 Oct 6 07:49 OWNERS.md [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 7661 Oct 6 07:49 README.md [2021-10-06T08:10:42.418Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 6 07:49 snap [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 07:46 VERSION [2021-10-06T08:10:42.418Z] -rw-rw-r--. 1 jenkins jenkins 713 Oct 6 07:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-06T08:10:42.933Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=9eb04a735ff6c755d3141000f56c9be256ceb7ae --label arch=amd64 --label version=0.0.0 . [2021-10-06T08:10:42.933Z] Sending build context to Docker daemon 129kB [2021-10-06T08:10:42.933Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-10-06T08:10:42.933Z] Step 2/25 : FROM ${BASE} AS builder [2021-10-06T08:10:42.933Z] ---> f5b998471f1c [2021-10-06T08:10:42.933Z] Step 3/25 : ARG MAKE='make build' [2021-10-06T08:10:42.933Z] ---> Running in 8534dbf59eef [2021-10-06T08:10:42.933Z] Removing intermediate container 8534dbf59eef [2021-10-06T08:10:42.933Z] ---> a15eda70c298 [2021-10-06T08:10:42.933Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-06T08:10:42.933Z] ---> Running in b8d9ff15e62d [2021-10-06T08:10:42.933Z] Removing intermediate container b8d9ff15e62d [2021-10-06T08:10:42.933Z] ---> 854af69d8194 [2021-10-06T08:10:42.933Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-10-06T08:10:43.259Z] ---> Running in d64a7b248bdc [2021-10-06T08:10:43.259Z] Removing intermediate container d64a7b248bdc [2021-10-06T08:10:43.259Z] ---> 4226bc77b602 [2021-10-06T08:10:43.259Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-06T08:10:43.259Z] ---> Running in a1cf1a901648 [2021-10-06T08:10:43.925Z] Removing intermediate container a1cf1a901648 [2021-10-06T08:10:43.925Z] ---> c8a7085020c0 [2021-10-06T08:10:43.925Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-06T08:10:43.925Z] ---> Running in dada1ff1fc7b [2021-10-06T08:10:44.330Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-06T08:10:45.112Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-06T08:10:45.382Z] OK: 223 MiB in 55 packages [2021-10-06T08:10:45.648Z] Removing intermediate container dada1ff1fc7b [2021-10-06T08:10:45.648Z] ---> e665a88f15a6 [2021-10-06T08:10:45.648Z] Step 8/25 : WORKDIR /device-rest-go [2021-10-06T08:10:45.648Z] ---> Running in 10d3107fbc25 [2021-10-06T08:10:45.648Z] Removing intermediate container 10d3107fbc25 [2021-10-06T08:10:45.648Z] ---> 688fe9d5a17c [2021-10-06T08:10:45.648Z] Step 9/25 : COPY . . [2021-10-06T08:10:45.920Z] ---> b937ed960c50 [2021-10-06T08:10:45.920Z] Step 10/25 : RUN go mod tidy [2021-10-06T08:10:45.920Z] ---> Running in f1ff67c85474 [2021-10-06T08:10:46.521Z] Removing intermediate container f1ff67c85474 [2021-10-06T08:10:46.521Z] ---> bcbbecc2e3f1 [2021-10-06T08:10:46.521Z] Step 11/25 : RUN make update [2021-10-06T08:10:46.521Z] ---> Running in 59dd46bda918 [2021-10-06T08:10:46.791Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-10-06T08:10:47.060Z] Removing intermediate container 59dd46bda918 [2021-10-06T08:10:47.060Z] ---> 5723f5e43eea [2021-10-06T08:10:47.060Z] Step 12/25 : RUN $MAKE [2021-10-06T08:10:47.060Z] ---> Running in 987f540f1bbd [2021-10-06T08:10:47.652Z] go mod tidy [2021-10-06T08:10:47.652Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-10-06T08:10:59.994Z] Removing intermediate container 987f540f1bbd [2021-10-06T08:10:59.994Z] ---> 18b051447a57 [2021-10-06T08:10:59.994Z] Step 13/25 : FROM alpine:3.14 [2021-10-06T08:11:12.304Z] 3.14: Pulling from library/alpine [2021-10-06T08:11:12.304Z] a0d0a0d46f8b: Pulling fs layer [2021-10-06T08:11:12.304Z] a0d0a0d46f8b: Verifying Checksum [2021-10-06T08:11:12.304Z] a0d0a0d46f8b: Download complete [2021-10-06T08:11:12.304Z] a0d0a0d46f8b: Pull complete [2021-10-06T08:11:12.304Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-06T08:11:12.304Z] Status: Downloaded newer image for alpine:3.14 [2021-10-06T08:11:12.304Z] ---> 14119a10abf4 [2021-10-06T08:11:12.304Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-06T08:11:12.304Z] ---> Running in c1749f61dfa9 [2021-10-06T08:11:12.304Z] Removing intermediate container c1749f61dfa9 [2021-10-06T08:11:12.304Z] ---> 02743ff4a255 [2021-10-06T08:11:12.304Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-06T08:11:12.304Z] ---> Running in 11a481ed083c [2021-10-06T08:11:12.304Z] Removing intermediate container 11a481ed083c [2021-10-06T08:11:12.304Z] ---> d565300f32cc [2021-10-06T08:11:12.304Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-06T08:11:12.304Z] ---> Running in e0eb577afdcf [2021-10-06T08:11:12.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-06T08:11:12.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-06T08:11:12.304Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-06T08:11:12.304Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-06T08:11:12.304Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-06T08:11:12.304Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-06T08:11:12.304Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-06T08:11:12.304Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-06T08:11:12.304Z] Executing busybox-1.33.1-r3.trigger [2021-10-06T08:11:12.304Z] OK: 8 MiB in 20 packages [2021-10-06T08:11:12.304Z] Removing intermediate container e0eb577afdcf [2021-10-06T08:11:12.304Z] ---> 9b52a6bdafbe [2021-10-06T08:11:12.304Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-10-06T08:11:12.886Z] ---> 22095a7c68b9 [2021-10-06T08:11:12.886Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-06T08:11:12.886Z] ---> 55bb2632d403 [2021-10-06T08:11:12.886Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-06T08:11:12.886Z] ---> cbf590b4ab48 [2021-10-06T08:11:12.886Z] Step 20/25 : EXPOSE 59986 [2021-10-06T08:11:13.150Z] ---> Running in 7a704d51d185 [2021-10-06T08:11:13.150Z] Removing intermediate container 7a704d51d185 [2021-10-06T08:11:13.151Z] ---> c267dbbe4b62 [2021-10-06T08:11:13.151Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-10-06T08:11:13.151Z] ---> Running in 0baa023a01bf [2021-10-06T08:11:13.151Z] Removing intermediate container 0baa023a01bf [2021-10-06T08:11:13.151Z] ---> 722f7332fe7f [2021-10-06T08:11:13.151Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-06T08:11:13.416Z] ---> Running in 568f4413219b [2021-10-06T08:11:13.416Z] Removing intermediate container 568f4413219b [2021-10-06T08:11:13.416Z] ---> 238ce5e9141c [2021-10-06T08:11:13.416Z] Step 23/25 : LABEL arch=amd64 [2021-10-06T08:11:13.416Z] ---> Running in 231524cde253 [2021-10-06T08:11:13.416Z] Removing intermediate container 231524cde253 [2021-10-06T08:11:13.416Z] ---> 217385a470d0 [2021-10-06T08:11:13.416Z] Step 24/25 : LABEL git_sha=9eb04a735ff6c755d3141000f56c9be256ceb7ae [2021-10-06T08:11:13.682Z] ---> Running in 2a5dc2d9d415 [2021-10-06T08:11:13.682Z] Removing intermediate container 2a5dc2d9d415 [2021-10-06T08:11:13.682Z] ---> 7d7d4faf24e7 [2021-10-06T08:11:13.682Z] Step 25/25 : LABEL version=0.0.0 [2021-10-06T08:11:13.682Z] ---> Running in ae4072150e81 [2021-10-06T08:11:13.682Z] Removing intermediate container ae4072150e81 [2021-10-06T08:11:13.682Z] ---> 16f59c80972d [2021-10-06T08:11:13.682Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-06T08:11:13.682Z] Successfully built 16f59c80972d [2021-10-06T08:11:13.682Z] Successfully tagged device-rest: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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T08:11:14.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T08:11:14.492Z] [2021-10-06T08:11:14.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T08:11:14.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T08:11:14.823Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-06T08:11:14.823Z] b4d181a07f80: Pulling fs layer [2021-10-06T08:11:14.823Z] a1111a8f2ec3: Pulling fs layer [2021-10-06T08:11:14.823Z] ed53099fbce6: Pulling fs layer [2021-10-06T08:11:14.823Z] dc539afda2c1: Pulling fs layer [2021-10-06T08:11:14.823Z] 77bc0d833cb6: Pulling fs layer [2021-10-06T08:11:14.823Z] 9065ff56babe: Pulling fs layer [2021-10-06T08:11:14.823Z] d287ab97295c: Pulling fs layer [2021-10-06T08:11:14.823Z] dc539afda2c1: Waiting [2021-10-06T08:11:14.823Z] 77bc0d833cb6: Waiting [2021-10-06T08:11:14.823Z] 9065ff56babe: Waiting [2021-10-06T08:11:14.823Z] d287ab97295c: Waiting [2021-10-06T08:11:47.036Z] a1111a8f2ec3: Verifying Checksum [2021-10-06T08:11:47.036Z] a1111a8f2ec3: Download complete [2021-10-06T08:11:47.036Z] dc539afda2c1: Download complete [2021-10-06T08:13:23.657Z] ed53099fbce6: Verifying Checksum [2021-10-06T08:13:23.657Z] ed53099fbce6: Download complete [2021-10-06T08:13:23.657Z] b4d181a07f80: Retrying in 5 seconds [2021-10-06T08:13:23.657Z] b4d181a07f80: Retrying in 4 seconds [2021-10-06T08:13:23.657Z] b4d181a07f80: Retrying in 3 seconds [2021-10-06T08:13:23.657Z] b4d181a07f80: Retrying in 2 seconds [2021-10-06T08:13:23.657Z] b4d181a07f80: Retrying in 1 second [2021-10-06T08:13:23.657Z] 9065ff56babe: Verifying Checksum [2021-10-06T08:13:23.657Z] 9065ff56babe: Download complete [2021-10-06T08:14:45.293Z] 77bc0d833cb6: Retrying in 5 seconds [2021-10-06T08:14:45.293Z] 77bc0d833cb6: Retrying in 4 seconds [2021-10-06T08:14:45.293Z] 77bc0d833cb6: Retrying in 3 seconds [2021-10-06T08:14:45.293Z] 77bc0d833cb6: Retrying in 2 seconds [2021-10-06T08:14:45.293Z] 77bc0d833cb6: Retrying in 1 second [2021-10-06T08:14:50.642Z] 77bc0d833cb6: Verifying Checksum [2021-10-06T08:14:50.642Z] 77bc0d833cb6: Download complete [2021-10-06T08:15:29.497Z] b4d181a07f80: Retrying in 10 seconds [2021-10-06T08:15:29.497Z] b4d181a07f80: Retrying in 9 seconds [2021-10-06T08:15:29.497Z] b4d181a07f80: Retrying in 8 seconds [2021-10-06T08:15:30.078Z] b4d181a07f80: Retrying in 7 seconds [2021-10-06T08:15:31.036Z] b4d181a07f80: Retrying in 6 seconds [2021-10-06T08:15:31.995Z] b4d181a07f80: Retrying in 5 seconds [2021-10-06T08:15:32.955Z] b4d181a07f80: Retrying in 4 seconds [2021-10-06T08:15:33.914Z] b4d181a07f80: Retrying in 3 seconds [2021-10-06T08:15:35.318Z] b4d181a07f80: Retrying in 2 seconds [2021-10-06T08:15:35.898Z] b4d181a07f80: Retrying in 1 second [2021-10-06T08:15:48.203Z] b4d181a07f80: Retrying in 15 seconds [2021-10-06T08:15:48.203Z] b4d181a07f80: Retrying in 14 seconds [2021-10-06T08:15:49.159Z] b4d181a07f80: Retrying in 13 seconds [2021-10-06T08:15:50.113Z] b4d181a07f80: Retrying in 12 seconds [2021-10-06T08:15:51.066Z] b4d181a07f80: Retrying in 11 seconds [2021-10-06T08:15:52.022Z] b4d181a07f80: Retrying in 10 seconds [2021-10-06T08:15:52.977Z] b4d181a07f80: Retrying in 9 seconds [2021-10-06T08:15:53.938Z] b4d181a07f80: Retrying in 8 seconds [2021-10-06T08:15:55.343Z] b4d181a07f80: Retrying in 7 seconds [2021-10-06T08:15:55.923Z] b4d181a07f80: Retrying in 6 seconds [2021-10-06T08:15:57.327Z] b4d181a07f80: Retrying in 5 seconds [2021-10-06T08:15:57.910Z] b4d181a07f80: Retrying in 4 seconds [2021-10-06T08:15:59.313Z] b4d181a07f80: Retrying in 3 seconds [2021-10-06T08:16:00.271Z] b4d181a07f80: Retrying in 2 seconds [2021-10-06T08:16:01.229Z] b4d181a07f80: Retrying in 1 second [2021-10-06T08:17:09.087Z] b4d181a07f80: Download complete [2021-10-06T08:17:09.087Z] b4d181a07f80: Pull complete [2021-10-06T08:17:09.087Z] a1111a8f2ec3: Pull complete [2021-10-06T08:17:09.087Z] ed53099fbce6: Pull complete [2021-10-06T08:17:09.087Z] dc539afda2c1: Pull complete [2021-10-06T08:17:09.087Z] 77bc0d833cb6: Pull complete [2021-10-06T08:17:09.087Z] 9065ff56babe: Pull complete [2021-10-06T08:18:05.462Z] d287ab97295c: Retrying in 5 seconds [2021-10-06T08:18:05.462Z] d287ab97295c: Retrying in 4 seconds [2021-10-06T08:18:05.462Z] d287ab97295c: Retrying in 3 seconds [2021-10-06T08:18:05.462Z] d287ab97295c: Retrying in 2 seconds [2021-10-06T08:18:05.462Z] d287ab97295c: Retrying in 1 second [2021-10-06T08:18:52.286Z] d287ab97295c: Verifying Checksum [2021-10-06T08:18:52.286Z] d287ab97295c: Download complete [2021-10-06T08:18:52.286Z] d287ab97295c: Pull complete [2021-10-06T08:18:52.286Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-06T08:18:52.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T08:18:52.287Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-06T08:18:52.409Z] prd-centos7-docker-4c-2g-121 does not seem to be running inside a container [2021-10-06T08:18:52.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-06T08:18:54.419Z] $ docker top 8a455057966d5171651b14bd44e10f6e96ec4c16c646a47ea41df00494123b43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T08:18:54.853Z] ---> job-cost.sh [2021-10-06T08:18:54.854Z] lf-activate-venv: SKIPPING [2021-10-06T08:18:54.854Z] INFO: No Stack... [2021-10-06T08:19:16.915Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-06T08:19:16.915Z] INFO: Archiving Costs [Pipeline] sh [2021-10-06T08:19:17.232Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2021-10-06T08:19:17.232Z] + cut -d, -f6 [Pipeline] lock [2021-10-06T08:19:17.269Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-137-4-stack-cost] [2021-10-06T08:19:17.279Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-137-4-stack-cost] did not exist. Created. [2021-10-06T08:19:17.279Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-137-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-06T08:19:17.645Z] /w/workspace/device-rest-go/4@tmp/durable-74163c72/script.sh: 1: /w/workspace/device-rest-go/4@tmp/durable-74163c72/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-06T08:19:17.964Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-06T08:19:17.995Z] Warning: overwriting stash ‘stack-cost’ [2021-10-06T08:19:18.012Z] Stashed 1 file(s) [Pipeline] } [2021-10-06T08:19:18.024Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-137-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-06T08:19:18.049Z] $ docker stop --time=1 8a455057966d5171651b14bd44e10f6e96ec4c16c646a47ea41df00494123b43 [2021-10-06T08:19:19.209Z] $ docker rm -f 8a455057966d5171651b14bd44e10f6e96ec4c16c646a47ea41df00494123b43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-06T08:19:22.080Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-137/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-06T08:19:22.409Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T08:19:23.002Z] ---> package-listing.sh [2021-10-06T08:19:23.002Z] ++ facter osfamily [2021-10-06T08:19:23.002Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-06T08:19:23.269Z] + OS_FAMILY=redhat [2021-10-06T08:19:23.269Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-137 [2021-10-06T08:19:23.269Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-06T08:19:23.269Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-06T08:19:23.269Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-06T08:19:23.269Z] + PACKAGES=/tmp/packages_start.txt [2021-10-06T08:19:23.269Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-137 ']' [2021-10-06T08:19:23.269Z] + PACKAGES=/tmp/packages_end.txt [2021-10-06T08:19:23.269Z] + case "${OS_FAMILY}" in [2021-10-06T08:19:23.269Z] + rpm -qa [2021-10-06T08:19:23.269Z] + sort [2021-10-06T08:19:23.853Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-06T08:19:23.853Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-06T08:19:23.853Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-06T08:19:23.853Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-137 ']' [2021-10-06T08:19:23.853Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-137/archives/ [2021-10-06T08:19:23.853Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-137/archives/ [Pipeline] echo [2021-10-06T08:19:23.871Z] 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/gexfoundry_device-rest-go_PR-137/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-06T08:19:24.169Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-06T08:19:24.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T08:19:24.492Z] [2021-10-06T08:19:24.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T08:19:24.824Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T08:19:24.824Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-06T08:19:24.824Z] b4d181a07f80: Pulling fs layer [2021-10-06T08:19:24.824Z] a1111a8f2ec3: Pulling fs layer [2021-10-06T08:19:24.824Z] ed53099fbce6: Pulling fs layer [2021-10-06T08:19:24.824Z] dc539afda2c1: Pulling fs layer [2021-10-06T08:19:24.824Z] 77bc0d833cb6: Pulling fs layer [2021-10-06T08:19:24.824Z] 9065ff56babe: Pulling fs layer [2021-10-06T08:19:24.824Z] d287ab97295c: Pulling fs layer [2021-10-06T08:19:24.824Z] dc539afda2c1: Waiting [2021-10-06T08:19:24.824Z] 77bc0d833cb6: Waiting [2021-10-06T08:19:24.824Z] 9065ff56babe: Waiting [2021-10-06T08:19:24.824Z] d287ab97295c: Waiting [2021-10-06T08:19:46.880Z] a1111a8f2ec3: Verifying Checksum [2021-10-06T08:19:46.880Z] a1111a8f2ec3: Download complete [2021-10-06T08:19:46.880Z] dc539afda2c1: Verifying Checksum [2021-10-06T08:19:46.880Z] dc539afda2c1: Download complete [2021-10-06T08:19:56.954Z] 77bc0d833cb6: Verifying Checksum [2021-10-06T08:19:56.954Z] 77bc0d833cb6: Download complete [2021-10-06T08:19:56.954Z] 9065ff56babe: Download complete [2021-10-06T08:20:19.029Z] ed53099fbce6: Verifying Checksum [2021-10-06T08:20:19.029Z] ed53099fbce6: Download complete [2021-10-06T08:22:10.709Z] b4d181a07f80: Retrying in 5 seconds [2021-10-06T08:22:10.709Z] b4d181a07f80: Retrying in 4 seconds [2021-10-06T08:22:10.709Z] b4d181a07f80: Retrying in 3 seconds [2021-10-06T08:22:10.709Z] b4d181a07f80: Retrying in 2 seconds [2021-10-06T08:22:10.709Z] b4d181a07f80: Retrying in 1 second [2021-10-06T08:22:20.776Z] b4d181a07f80: Retrying in 10 seconds [2021-10-06T08:22:21.361Z] b4d181a07f80: Retrying in 9 seconds [2021-10-06T08:22:22.767Z] b4d181a07f80: Retrying in 8 seconds [2021-10-06T08:22:23.348Z] b4d181a07f80: Retrying in 7 seconds [2021-10-06T08:22:24.752Z] b4d181a07f80: Retrying in 6 seconds [2021-10-06T08:22:25.709Z] b4d181a07f80: Retrying in 5 seconds [2021-10-06T08:22:26.667Z] b4d181a07f80: Retrying in 4 seconds [2021-10-06T08:22:27.626Z] b4d181a07f80: Retrying in 3 seconds [2021-10-06T08:22:28.586Z] b4d181a07f80: Retrying in 2 seconds [2021-10-06T08:22:29.546Z] b4d181a07f80: Retrying in 1 second [2021-10-06T08:23:37.432Z] b4d181a07f80: Verifying Checksum [2021-10-06T08:23:37.432Z] b4d181a07f80: Download complete [2021-10-06T08:23:38.848Z] b4d181a07f80: Pull complete [2021-10-06T08:23:38.848Z] a1111a8f2ec3: Pull complete [2021-10-06T08:23:39.428Z] ed53099fbce6: Pull complete [2021-10-06T08:23:39.428Z] dc539afda2c1: Pull complete [2021-10-06T08:23:39.696Z] 77bc0d833cb6: Pull complete [2021-10-06T08:23:39.696Z] 9065ff56babe: Pull complete [2021-10-06T08:24:06.387Z] d287ab97295c: Verifying Checksum [2021-10-06T08:24:06.387Z] d287ab97295c: Download complete [2021-10-06T08:24:11.790Z] d287ab97295c: Pull complete [2021-10-06T08:24:11.791Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-06T08:24:11.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T08:24:11.791Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-06T08:24:11.892Z] prd-centos7-docker-4c-2g-118 does not seem to be running inside a container [2021-10-06T08:24:11.948Z] $ 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/gexfoundry_device-rest-go_PR-137/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-137 -v /w/workspace/gexfoundry_device-rest-go_PR-137:/w/workspace/gexfoundry_device-rest-go_PR-137:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-137@tmp:/w/workspace/gexfoundry_device-rest-go_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-06T08:24:14.104Z] $ docker top 9ba167e69bcd3c1447d0aba709cf8c717280e0ccc367f885b654fccd68f45885 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-06T08:24:14.516Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-06T08:24:14.833Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-06T08:24:15.148Z] + ls /var/log/sa-host [2021-10-06T08:24:15.148Z] + sadf -c /var/log/sa-host/sa06 [2021-10-06T08:24:15.148Z] file_magic: OK [2021-10-06T08:24:15.148Z] HZ: Using current value: 100 [2021-10-06T08:24:15.148Z] file_header: OK [2021-10-06T08:24:15.148Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-06T08:24:15.148Z] Statistics: [2021-10-06T08:24:15.148Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-06T08:24:15.148Z] File successfully converted to sysstat format version 12.0.3 [2021-10-06T08:24:15.148Z] + sadf -c /var/log/sa-host/sa30 [2021-10-06T08:24:15.148Z] file_magic: OK [2021-10-06T08:24:15.148Z] HZ: Using current value: 100 [2021-10-06T08:24:15.148Z] file_header: OK [2021-10-06T08:24:15.148Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-06T08:24:15.148Z] Statistics: [2021-10-06T08:24:15.148Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-06T08:24:15.148Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T08:24:16.047Z] provisioning config files... [2021-10-06T08:24:16.067Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-137@tmp/config8523123019585503797tmp [Pipeline] { [Pipeline] echo [2021-10-06T08:24:16.097Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T08:24:16.413Z] ---> create-netrc.sh [Pipeline] } [2021-10-06T08:24:16.427Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-06T08:24:16.931Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-06T08:24:16.948Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T08:24:17.263Z] ---> sudo-logs.sh [2021-10-06T08:24:17.263Z] Archiving 'sudo' log.. [2021-10-06T08:24:17.263Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-118.novalocal: Name or service not known [2021-10-06T08:24:17.263Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-118.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-06T08:24:17.337Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T08:24:17.660Z] ---> job-cost.sh [2021-10-06T08:24:17.660Z] lf-activate-venv: SKIPPING [2021-10-06T08:24:17.660Z] DEBUG: total: 0.05999999865889549 [2021-10-06T08:24:17.660Z] INFO: Retrieving Stack Cost... [2021-10-06T08:24:32.640Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-06T08:24:32.641Z] INFO: Archiving Costs [Pipeline] echo [2021-10-06T08:24:32.662Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T08:24:32.980Z] ---> logs-deploy.sh [2021-10-06T08:24:32.980Z] lf-activate-venv: SKIPPING [2021-10-06T08:24:32.980Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-137/4 [2021-10-06T08:24:32.980Z] INFO: archiving workspace using pattern(s): [2021-10-06T08:24:33.940Z] Archives upload complete. [2021-10-06T08:24:33.940Z] INFO: archiving logs to Nexus