Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8988443161b762d02568202c1b71a3f56b05d0c9 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-ssh3159973447997792991.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-ssh2531971315998767905.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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7345769971813789491.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-ssh2026037991739410405.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5103064351973983393.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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1885 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh7294571838972381088.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8988443161b762d02568202c1b71a3f56b05d0c9 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 8988443161b762d02568202c1b71a3f56b05d0c9 # timeout=10 Commit message: "Merge pull request #135 from lenny-intel/pr-template" > git rev-list --no-walk 394630684c4f2c5fa0b05acfafc8d275cc2ae64c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-05T05:42:53.374Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-05T05:42:53.470Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-05T05:42:53.499Z] ========================================================= [2021-10-05T05:42:53.499Z] EdgeX Global Pipelines Version Info [2021-10-05T05:42:53.499Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-05T05:42:54.738Z] ------------------- [2021-10-05T05:42:54.738Z] stable info: [2021-10-05T05:42:54.738Z] ------------------- [2021-10-05T05:42:54.738Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T05:42:54.738Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T05:42:54.738Z] Message: update stable to v1.0.206 [2021-10-05T05:42:55.346Z] ------------------- [2021-10-05T05:42:55.346Z] experimental info: [2021-10-05T05:42:55.346Z] ------------------- [2021-10-05T05:42:55.346Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T05:42:55.346Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T05:42:55.346Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-05T05:42:55.469Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-10-05T05:42:55.493Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-10-05T05:42:55.521Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-05T05:42:55.546Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-05T05:42:55.569Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-05T05:42:55.593Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-05T05:42:55.618Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-10-05T05:42:55.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-05T05:42:55.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-05T05:42:55.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-05T05:42:55.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-05T05:42:55.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-05T05:42:55.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-10-05T05:42:55.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-05T05:42:55.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-05T05:42:55.851Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-05T05:42:55.877Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-05T05:42:55.903Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T05:42:55.931Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T05:42:55.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-05T05:42:55.988Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-05T05:42:56.015Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-05T05:42:56.047Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-05T05:42:56.073Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-05T05:42:56.099Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-05T05:42:56.125Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-05T05:42:56.151Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-05T05:42:56.174Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-05T05:42:56.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-05T05:42:56.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-05T05:42:56.248Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8988443161b762d02568202c1b71a3f56b05d0c9 [Pipeline] echo [2021-10-05T05:42:56.271Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8988443 [Pipeline] echo [2021-10-05T05:42:56.294Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T05:42:56.364Z] provisioning config files... [2021-10-05T05:42:56.384Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2042358918868551153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T05:42:56.715Z] ---> docker-login.sh [2021-10-05T05:42:56.715Z] nexus3.edgexfoundry.org:10001 [2021-10-05T05:42:56.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:42:56.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:42:56.983Z] Configure a credential helper to remove this warning. See [2021-10-05T05:42:56.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:42:56.983Z] [2021-10-05T05:42:56.983Z] Login Succeeded [2021-10-05T05:42:56.983Z] nexus3.edgexfoundry.org:10002 [2021-10-05T05:42:56.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:42:56.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:42:56.983Z] Configure a credential helper to remove this warning. See [2021-10-05T05:42:56.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:42:56.983Z] [2021-10-05T05:42:56.983Z] Login Succeeded [2021-10-05T05:42:56.983Z] nexus3.edgexfoundry.org:10003 [2021-10-05T05:42:57.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:42:57.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:42:57.249Z] Configure a credential helper to remove this warning. See [2021-10-05T05:42:57.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:42:57.249Z] [2021-10-05T05:42:57.249Z] Login Succeeded [2021-10-05T05:42:57.249Z] nexus3.edgexfoundry.org:10004 [2021-10-05T05:42:57.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:42:57.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:42:57.249Z] Configure a credential helper to remove this warning. See [2021-10-05T05:42:57.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:42:57.249Z] [2021-10-05T05:42:57.249Z] Login Succeeded [2021-10-05T05:42:57.249Z] docker.io [2021-10-05T05:42:57.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:42:57.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:42:57.781Z] Configure a credential helper to remove this warning. See [2021-10-05T05:42:57.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:42:57.781Z] [2021-10-05T05:42:57.781Z] Login Succeeded [2021-10-05T05:42:57.781Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T05:42:57.793Z] 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-05T05:42:58.298Z] + git log --format=format:%s -1 8988443161b762d02568202c1b71a3f56b05d0c9 [Pipeline] echo [2021-10-05T05:42:58.351Z] GIT_COMMIT: 8988443161b762d02568202c1b71a3f56b05d0c9, Commit Message: Merge pull request #135 from lenny-intel/pr-template [Pipeline] echo [2021-10-05T05:42:58.365Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:42:58.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T05:42:58.925Z] [2021-10-05T05:42:58.925Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:42:59.260Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T05:42:59.260Z] latest: Pulling from edgex-devops/git-semver [2021-10-05T05:42:59.260Z] 31603596830f: Pulling fs layer [2021-10-05T05:42:59.260Z] 04fac38145f0: Pulling fs layer [2021-10-05T05:42:59.260Z] 701f6daf10bf: Pulling fs layer [2021-10-05T05:42:59.260Z] 24f72da36158: Pulling fs layer [2021-10-05T05:42:59.260Z] 24f72da36158: Waiting [2021-10-05T05:42:59.260Z] 04fac38145f0: Verifying Checksum [2021-10-05T05:42:59.260Z] 04fac38145f0: Download complete [2021-10-05T05:42:59.528Z] 31603596830f: Verifying Checksum [2021-10-05T05:42:59.528Z] 31603596830f: Download complete [2021-10-05T05:42:59.528Z] 24f72da36158: Verifying Checksum [2021-10-05T05:42:59.528Z] 24f72da36158: Download complete [2021-10-05T05:42:59.528Z] 701f6daf10bf: Verifying Checksum [2021-10-05T05:42:59.528Z] 701f6daf10bf: Download complete [2021-10-05T05:42:59.528Z] 31603596830f: Pull complete [2021-10-05T05:42:59.794Z] 04fac38145f0: Pull complete [2021-10-05T05:43:00.390Z] 701f6daf10bf: Pull complete [2021-10-05T05:43:00.656Z] 24f72da36158: Pull complete [2021-10-05T05:43:00.656Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-05T05:43:00.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T05:43:00.656Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-05T05:43:00.750Z] prd-centos7-docker-4c-2g-1885 does not seem to be running inside a container [2021-10-05T05:43:00.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-05T05:43:01.596Z] $ docker top 87521572bc1a5084a07faf063e76df33390545ff3b7a2c53cabdfe22aca37827 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-05T05:43:01.738Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T05:43:01.738Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T05:43:01.889Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T05:43:01.893Z] $ docker exec 87521572bc1a5084a07faf063e76df33390545ff3b7a2c53cabdfe22aca37827 ssh-agent [2021-10-05T05:43:02.017Z] SSH_AUTH_SOCK=/tmp/ssh-F85ty9t5d8bt/agent.13 [2021-10-05T05:43:02.017Z] SSH_AGENT_PID=20 [2021-10-05T05:43:02.029Z] Running ssh-add (command line suppressed) [2021-10-05T05:43:02.125Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5987559969842220737.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5987559969842220737.key) [2021-10-05T05:43:02.145Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T05:43:02.459Z] + git tag --points-at HEAD [Pipeline] } [2021-10-05T05:43:02.480Z] $ docker exec --env ******** --env ******** 87521572bc1a5084a07faf063e76df33390545ff3b7a2c53cabdfe22aca37827 ssh-agent -k [2021-10-05T05:43:02.566Z] unset SSH_AUTH_SOCK; [2021-10-05T05:43:02.567Z] unset SSH_AGENT_PID; [2021-10-05T05:43:02.567Z] echo Agent pid 20 killed; [2021-10-05T05:43:02.582Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-05T05:43:02.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T05:43:02.627Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T05:43:02.746Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T05:43:02.749Z] $ docker exec 87521572bc1a5084a07faf063e76df33390545ff3b7a2c53cabdfe22aca37827 ssh-agent [2021-10-05T05:43:02.862Z] SSH_AUTH_SOCK=/tmp/ssh-kwOfEQe2ouiw/agent.55 [2021-10-05T05:43:02.862Z] SSH_AGENT_PID=61 [2021-10-05T05:43:02.871Z] Running ssh-add (command line suppressed) [2021-10-05T05:43:02.974Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3901188922197774494.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3901188922197774494.key) [2021-10-05T05:43:02.994Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T05:43:03.332Z] + git semver init [2021-10-05T05:43:03.333Z] # -> Open(): unable to determine branch for HEAD [2021-10-05T05:43:03.333Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-05T05:43:03.333Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-05T05:43:03.333Z] # $SEMVER_REMOTE_NAME = origin [2021-10-05T05:43:03.333Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-05T05:43:03.333Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-05T05:43:03.333Z] # $SEMVER_BRANCH = main [2021-10-05T05:43:03.333Z] # $SEMVER_TEMP = /tmp/semver-819256311 [2021-10-05T05:43:03.333Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-10-05T05:43:04.303Z] # '/tmp/semver-819256311' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-10-05T05:43:04.303Z] # -> Force: false [2021-10-05T05:43:04.303Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-10-05T05:43:04.319Z] $ docker exec --env ******** --env ******** 87521572bc1a5084a07faf063e76df33390545ff3b7a2c53cabdfe22aca37827 ssh-agent -k [2021-10-05T05:43:04.411Z] unset SSH_AUTH_SOCK; [2021-10-05T05:43:04.411Z] unset SSH_AGENT_PID; [2021-10-05T05:43:04.411Z] echo Agent pid 61 killed; [2021-10-05T05:43:04.426Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-05T05:43:04.791Z] + git semver [Pipeline] } [2021-10-05T05:43:04.809Z] $ docker stop --time=1 87521572bc1a5084a07faf063e76df33390545ff3b7a2c53cabdfe22aca37827 [2021-10-05T05:43:06.060Z] $ docker rm -f 87521572bc1a5084a07faf063e76df33390545ff3b7a2c53cabdfe22aca37827 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T05:43:06.436Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-05T05:43:06.755Z] Stashed 1 file(s) [Pipeline] echo [2021-10-05T05:43:06.758Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.8 [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-05T05:43:22.004Z] Still waiting to schedule task [2021-10-05T05:43:22.004Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-05T05:43:22.006Z] Still waiting to schedule task [2021-10-05T05:43:22.007Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1884’ is offline [2021-10-05T05:45:55.697Z] Running on prd-centos7-docker-4c-2g-1919 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-10-05T05:45:55.716Z] Running in /w/workspace/device-rest-go/9 [Pipeline] { [Pipeline] checkout [2021-10-05T05:45:55.847Z] The recommended git tool is: git [2021-10-05T05:45:58.638Z] using credential edgex-jenkins-ssh [2021-10-05T05:45:58.657Z] Cloning the remote Git repository [2021-10-05T05:45:58.100Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-05T05:45:58.177Z] > git init /w/workspace/device-rest-go/9 # timeout=10 [2021-10-05T05:45:58.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-05T05:45:58.219Z] > git --version # timeout=10 [2021-10-05T05:45:58.232Z] > git --version # 'git version 2.24.4' [2021-10-05T05:45:58.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T05:45:58.308Z] [INFO] Currently running in a labeled security context [2021-10-05T05:45:58.309Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-05T05:45:58.309Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/9@tmp/jenkins-gitclient-ssh8659611124532089664.key [2021-10-05T05:45:58.327Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T05:45:59.824Z] Avoid second fetch [2021-10-05T05:45:59.825Z] Checking out Revision 8988443161b762d02568202c1b71a3f56b05d0c9 (main) [2021-10-05T05:45:59.215Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-05T05:45:59.231Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T05:45:59.254Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T05:45:59.269Z] > git checkout -f 8988443161b762d02568202c1b71a3f56b05d0c9 # timeout=10 [2021-10-05T05:46:03.605Z] Commit message: "Merge pull request #135 from lenny-intel/pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T05:46:04.140Z] provisioning config files... [2021-10-05T05:46:04.162Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/9@tmp/config1393294340510193823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T05:46:04.601Z] ---> docker-login.sh [2021-10-05T05:46:04.601Z] nexus3.edgexfoundry.org:10001 [2021-10-05T05:46:04.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:46:04.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:46:04.881Z] Configure a credential helper to remove this warning. See [2021-10-05T05:46:04.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:46:04.881Z] [2021-10-05T05:46:04.881Z] Login Succeeded [2021-10-05T05:46:04.881Z] nexus3.edgexfoundry.org:10002 [2021-10-05T05:46:04.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:46:04.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:46:04.881Z] Configure a credential helper to remove this warning. See [2021-10-05T05:46:04.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:46:04.881Z] [2021-10-05T05:46:04.881Z] Login Succeeded [2021-10-05T05:46:04.881Z] nexus3.edgexfoundry.org:10003 [2021-10-05T05:46:04.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:46:05.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:46:05.146Z] Configure a credential helper to remove this warning. See [2021-10-05T05:46:05.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:46:05.146Z] [2021-10-05T05:46:05.146Z] Login Succeeded [2021-10-05T05:46:05.146Z] nexus3.edgexfoundry.org:10004 [2021-10-05T05:46:05.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:46:05.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:46:05.146Z] Configure a credential helper to remove this warning. See [2021-10-05T05:46:05.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:46:05.146Z] [2021-10-05T05:46:05.146Z] Login Succeeded [2021-10-05T05:46:05.146Z] docker.io [2021-10-05T05:46:05.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:46:05.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:46:05.727Z] Configure a credential helper to remove this warning. See [2021-10-05T05:46:05.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:46:05.727Z] [2021-10-05T05:46:05.727Z] Login Succeeded [2021-10-05T05:46:05.727Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T05:46:05.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-05T05:46:05.949Z] ========================================================= [2021-10-05T05:46:05.949Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-05T05:46:05.949Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:46:06.286Z] + 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-05T05:46:06.286Z] Sending build context to Docker daemon 119.8kB [2021-10-05T05:46:06.286Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T05:46:06.286Z] Step 2/12 : FROM ${BASE} AS builder [2021-10-05T05:46:06.286Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-05T05:46:06.286Z] 540db60ca938: Pulling fs layer [2021-10-05T05:46:06.286Z] adcc1eea9eea: Pulling fs layer [2021-10-05T05:46:06.286Z] 4c4ab2625f07: Pulling fs layer [2021-10-05T05:46:06.286Z] db62176df00c: Pulling fs layer [2021-10-05T05:46:06.286Z] 3b30891b0d05: Pulling fs layer [2021-10-05T05:46:06.286Z] 06b49ca38bd5: Pulling fs layer [2021-10-05T05:46:06.286Z] c788192a36de: Pulling fs layer [2021-10-05T05:46:06.286Z] a77e37c0d609: Pulling fs layer [2021-10-05T05:46:06.286Z] c3185cebc471: Pulling fs layer [2021-10-05T05:46:06.286Z] db62176df00c: Waiting [2021-10-05T05:46:06.286Z] 3b30891b0d05: Waiting [2021-10-05T05:46:06.286Z] 06b49ca38bd5: Waiting [2021-10-05T05:46:06.286Z] c788192a36de: Waiting [2021-10-05T05:46:06.286Z] a77e37c0d609: Waiting [2021-10-05T05:46:06.286Z] c3185cebc471: Waiting [2021-10-05T05:46:06.286Z] 4c4ab2625f07: Verifying Checksum [2021-10-05T05:46:06.286Z] 4c4ab2625f07: Download complete [2021-10-05T05:46:06.286Z] adcc1eea9eea: Verifying Checksum [2021-10-05T05:46:06.286Z] adcc1eea9eea: Download complete [2021-10-05T05:46:06.556Z] 3b30891b0d05: Verifying Checksum [2021-10-05T05:46:06.556Z] 3b30891b0d05: Download complete [2021-10-05T05:46:06.556Z] 06b49ca38bd5: Verifying Checksum [2021-10-05T05:46:06.556Z] 06b49ca38bd5: Download complete [2021-10-05T05:46:06.556Z] c788192a36de: Verifying Checksum [2021-10-05T05:46:06.556Z] c788192a36de: Download complete [2021-10-05T05:46:06.556Z] 540db60ca938: Verifying Checksum [2021-10-05T05:46:06.556Z] 540db60ca938: Download complete [2021-10-05T05:46:06.556Z] 540db60ca938: Pull complete [2021-10-05T05:46:06.823Z] adcc1eea9eea: Pull complete [2021-10-05T05:46:06.823Z] 4c4ab2625f07: Pull complete [2021-10-05T05:46:07.089Z] a77e37c0d609: Verifying Checksum [2021-10-05T05:46:07.089Z] a77e37c0d609: Download complete [2021-10-05T05:46:08.061Z] c3185cebc471: Verifying Checksum [2021-10-05T05:46:08.061Z] c3185cebc471: Download complete [2021-10-05T05:46:08.340Z] db62176df00c: Verifying Checksum [2021-10-05T05:46:08.340Z] db62176df00c: Download complete [2021-10-05T05:46:12.637Z] db62176df00c: Pull complete [2021-10-05T05:46:12.637Z] 3b30891b0d05: Pull complete [2021-10-05T05:46:12.637Z] 06b49ca38bd5: Pull complete [2021-10-05T05:46:12.637Z] c788192a36de: Pull complete [2021-10-05T05:46:12.637Z] a77e37c0d609: Pull complete [2021-10-05T05:46:14.608Z] c3185cebc471: Pull complete [2021-10-05T05:46:14.608Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-10-05T05:46:14.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-05T05:46:14.608Z] ---> 031687cdd783 [2021-10-05T05:46:14.608Z] Step 3/12 : ARG MAKE='make build' [2021-10-05T05:46:16.553Z] ---> Running in 7cf4ae64251e [2021-10-05T05:46:16.553Z] Removing intermediate container 7cf4ae64251e [2021-10-05T05:46:16.553Z] ---> be52474c933f [2021-10-05T05:46:16.553Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-05T05:46:16.821Z] ---> Running in 71d5a2cd2de6 [2021-10-05T05:46:16.821Z] Removing intermediate container 71d5a2cd2de6 [2021-10-05T05:46:16.821Z] ---> 77361a115899 [2021-10-05T05:46:16.821Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-10-05T05:46:16.821Z] ---> Running in dec04a18983a [2021-10-05T05:46:16.821Z] Removing intermediate container dec04a18983a [2021-10-05T05:46:16.821Z] ---> e2a956dfbcb5 [2021-10-05T05:46:16.821Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T05:46:16.821Z] ---> Running in 7c62458252a1 [2021-10-05T05:46:17.409Z] Removing intermediate container 7c62458252a1 [2021-10-05T05:46:17.410Z] ---> 247d15d3d38a [2021-10-05T05:46:17.410Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-05T05:46:17.410Z] ---> Running in ddf7be920052 [2021-10-05T05:46:17.677Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-05T05:46:18.634Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-05T05:46:18.900Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-10-05T05:46:18.900Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-05T05:46:19.169Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-10-05T05:46:19.169Z] Executing busybox-1.32.1-r6.trigger [2021-10-05T05:46:19.169Z] OK: 223 MiB in 55 packages [2021-10-05T05:46:19.436Z] Removing intermediate container ddf7be920052 [2021-10-05T05:46:19.436Z] ---> 743b49985d97 [2021-10-05T05:46:19.436Z] Step 8/12 : WORKDIR /device-rest-go [2021-10-05T05:46:19.436Z] ---> Running in 272e6d847330 [2021-10-05T05:46:19.711Z] Removing intermediate container 272e6d847330 [2021-10-05T05:46:19.711Z] ---> 11aeb521c6f6 [2021-10-05T05:46:19.711Z] Step 9/12 : COPY . . [2021-10-05T05:46:19.711Z] ---> a674ed68a8c5 [2021-10-05T05:46:19.711Z] Step 10/12 : RUN go mod tidy [2021-10-05T05:46:19.711Z] ---> Running in 688a3f037d97 [2021-10-05T05:46:20.671Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-10-05T05:46:20.671Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-10-05T05:46:20.671Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-05T05:46:20.671Z] go: downloading github.com/spf13/cast v1.4.1 [2021-10-05T05:46:20.671Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-05T05:46:20.936Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-05T05:46:20.936Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-05T05:46:20.936Z] go: downloading github.com/google/uuid v1.2.0 [2021-10-05T05:46:20.936Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-10-05T05:46:20.936Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-10-05T05:46:20.936Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-05T05:46:20.936Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-05T05:46:20.936Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-05T05:46:20.936Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-10-05T05:46:20.936Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-05T05:46:20.936Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-05T05:46:20.936Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-10-05T05:46:21.213Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-05T05:46:21.213Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-05T05:46:21.213Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-10-05T05:46:21.213Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-10-05T05:46:21.213Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-10-05T05:46:21.213Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-10-05T05:46:21.213Z] go: downloading golang.org/x/text v0.3.2 [2021-10-05T05:46:21.480Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-05T05:46:21.480Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-10-05T05:46:22.071Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-10-05T05:46:22.071Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-05T05:46:22.071Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-10-05T05:46:22.071Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-05T05:46:22.071Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-05T05:46:22.071Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-05T05:46:22.071Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-10-05T05:46:22.071Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-10-05T05:46:22.337Z] go: downloading github.com/kr/pretty v0.2.0 [2021-10-05T05:46:22.337Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-05T05:46:22.337Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-05T05:46:22.337Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-05T05:46:22.337Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-05T05:46:22.337Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-05T05:46:22.337Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-05T05:46:22.337Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-05T05:46:22.337Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-05T05:46:22.337Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-05T05:46:22.337Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-05T05:46:22.337Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-10-05T05:46:22.337Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-10-05T05:46:22.608Z] go: downloading github.com/kr/text v0.1.0 [2021-10-05T05:46:22.608Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-05T05:46:22.608Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-10-05T05:46:22.608Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-10-05T05:46:22.608Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-10-05T05:46:22.608Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-05T05:46:22.608Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-05T05:46:22.608Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-05T05:46:22.608Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-05T05:46:22.608Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-05T05:46:22.608Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-05T05:46:22.608Z] go: downloading github.com/pkg/errors v0.8.1 [2021-10-05T05:46:22.608Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-05T05:46:22.875Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-10-05T05:46:22.875Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-10-05T05:46:22.875Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-05T05:46:22.875Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-10-05T05:46:22.875Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-05T05:46:22.875Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-10-05T05:46:22.875Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-10-05T05:46:22.875Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-10-05T05:46:22.875Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-10-05T05:46:22.875Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-10-05T05:46:22.875Z] go: downloading github.com/miekg/dns v1.1.26 [2021-10-05T05:46:22.875Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-10-05T05:46:22.875Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-05T05:46:22.875Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-10-05T05:46:22.875Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-05T05:46:22.875Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-10-05T05:46:27.129Z] Removing intermediate container 688a3f037d97 [2021-10-05T05:46:27.129Z] ---> a3f53eb5c2e7 [2021-10-05T05:46:27.129Z] Step 11/12 : RUN make update [2021-10-05T05:46:27.129Z] ---> Running in 92a5cfcc5777 [2021-10-05T05:46:27.129Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-10-05T05:46:29.706Z] Removing intermediate container 92a5cfcc5777 [2021-10-05T05:46:29.706Z] ---> 4572069004de [2021-10-05T05:46:29.706Z] Step 12/12 : RUN $MAKE [2021-10-05T05:46:29.706Z] ---> Running in 24f8cd3d4b37 [2021-10-05T05:46:29.706Z] noop [2021-10-05T05:46:29.971Z] Removing intermediate container 24f8cd3d4b37 [2021-10-05T05:46:29.971Z] ---> 5d7ce178c570 [2021-10-05T05:46:29.971Z] Successfully built 5d7ce178c570 [2021-10-05T05:46:29.971Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:46:30.304Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-05T05:46:30.304Z] . [Pipeline] withDockerContainer [2021-10-05T05:46:30.401Z] prd-centos7-docker-4c-2g-1919 does not seem to be running inside a container [2021-10-05T05:46:30.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-05T05:46:30.845Z] $ docker top 7632b173b4610fbac13c8973adfbfe99e4f7d5b2b15f7f264f4a53913f17b952 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T05:46:31.250Z] + go version [2021-10-05T05:46:31.250Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-10-05T05:46:31.268Z] $ docker stop --time=1 7632b173b4610fbac13c8973adfbfe99e4f7d5b2b15f7f264f4a53913f17b952 [2021-10-05T05:46:32.459Z] $ docker rm -f 7632b173b4610fbac13c8973adfbfe99e4f7d5b2b15f7f264f4a53913f17b952 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:46:33.027Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-05T05:46:33.027Z] . [Pipeline] withDockerContainer [2021-10-05T05:46:33.109Z] prd-centos7-docker-4c-2g-1919 does not seem to be running inside a container [2021-10-05T05:46:33.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-05T05:46:33.519Z] $ docker top a3c4180e88eaa0e6d73efd33206989b420e64c9e6cfd1e11d949788aa0298f78 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-05T05:46:33.930Z] + go mod tidy [Pipeline] sh [2021-10-05T05:46:34.512Z] + make test [2021-10-05T05:46:34.512Z] go mod tidy [2021-10-05T05:46:34.512Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-05T05:46:35.111Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-05T05:46:50.146Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-05T05:46:50.727Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements [2021-10-05T05:46:50.727Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-05T05:46:57.431Z] gofmt -l . [2021-10-05T05:46:57.431Z] [ "`gofmt -l .`" = "" ] [2021-10-05T05:46:57.431Z] ./bin/test-go-mod-tidy.sh [2021-10-05T05:46:57.431Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-05T05:46:57.712Z] $ docker stop --time=1 a3c4180e88eaa0e6d73efd33206989b420e64c9e6cfd1e11d949788aa0298f78 [2021-10-05T05:46:59.167Z] $ docker rm -f a3c4180e88eaa0e6d73efd33206989b420e64c9e6cfd1e11d949788aa0298f78 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T05:46:59.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-05T05:46:59.824Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-05T05:47:00.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-05T05:47:01.257Z] + ls -al . [2021-10-05T05:47:01.257Z] total 116 [2021-10-05T05:47:01.257Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 5 05:46 . [2021-10-05T05:47:01.257Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 05:45 .. [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 6792 Oct 5 05:45 Attribution.txt [2021-10-05T05:47:01.257Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 05:45 bin [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 7459 Oct 5 05:45 CHANGELOG.md [2021-10-05T05:47:01.257Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 5 05:45 cmd [2021-10-05T05:47:01.257Z] -rw-r--r--. 1 jenkins jenkins 8435 Oct 5 05:46 coverage.out [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 1615 Oct 5 05:45 Dockerfile [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 151 Oct 5 05:45 .dockerignore [2021-10-05T05:47:01.257Z] drwxrwxr-x. 2 jenkins jenkins 76 Oct 5 05:45 driver [2021-10-05T05:47:01.257Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 5 05:46 .git [2021-10-05T05:47:01.257Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 5 05:45 .github [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 336 Oct 5 05:45 .gitignore [2021-10-05T05:47:01.257Z] -rw-r--r--. 1 jenkins jenkins 271 Oct 5 05:46 go.mod [2021-10-05T05:47:01.257Z] -rw-r--r--. 1 jenkins jenkins 20570 Oct 5 05:46 go.sum [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 5 05:45 GOVERNANCE.md [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 680 Oct 5 05:45 Jenkinsfile [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 5 05:45 LICENSE [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 996 Oct 5 05:45 Makefile [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 620 Oct 5 05:45 OWNERS.md [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 7661 Oct 5 05:45 README.md [2021-10-05T05:47:01.257Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 5 05:45 snap [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 11 Oct 5 05:43 VERSION [2021-10-05T05:47:01.257Z] -rw-rw-r--. 1 jenkins jenkins 713 Oct 5 05:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:47:01.589Z] + 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=8988443161b762d02568202c1b71a3f56b05d0c9 --label arch=amd64 --label version=2.0.1-dev.8 . [2021-10-05T05:47:01.589Z] Sending build context to Docker daemon 129kB [2021-10-05T05:47:01.589Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T05:47:01.589Z] Step 2/25 : FROM ${BASE} AS builder [2021-10-05T05:47:01.589Z] ---> 5d7ce178c570 [2021-10-05T05:47:01.589Z] Step 3/25 : ARG MAKE='make build' [2021-10-05T05:47:01.589Z] ---> Running in 8ad64de4387d [2021-10-05T05:47:01.589Z] Removing intermediate container 8ad64de4387d [2021-10-05T05:47:01.589Z] ---> eb5a6f8b8c3c [2021-10-05T05:47:01.589Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-05T05:47:01.589Z] ---> Running in ed4f5adc7109 [2021-10-05T05:47:01.858Z] Removing intermediate container ed4f5adc7109 [2021-10-05T05:47:01.858Z] ---> 168bde683d5f [2021-10-05T05:47:01.858Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-10-05T05:47:01.858Z] ---> Running in f940b2288c2b [2021-10-05T05:47:01.858Z] Removing intermediate container f940b2288c2b [2021-10-05T05:47:01.858Z] ---> fa3012f7883d [2021-10-05T05:47:01.858Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T05:47:01.858Z] ---> Running in 9e3ae04180b1 [2021-10-05T05:47:02.457Z] Removing intermediate container 9e3ae04180b1 [2021-10-05T05:47:02.457Z] ---> a1d59e8bb2af [2021-10-05T05:47:02.457Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-05T05:47:02.457Z] ---> Running in 34425eb8cde4 [2021-10-05T05:47:02.725Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-05T05:47:03.306Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-05T05:47:03.572Z] OK: 223 MiB in 55 packages [2021-10-05T05:47:03.840Z] Removing intermediate container 34425eb8cde4 [2021-10-05T05:47:03.840Z] ---> e75acc312293 [2021-10-05T05:47:03.840Z] Step 8/25 : WORKDIR /device-rest-go [2021-10-05T05:47:03.840Z] ---> Running in 006ab8aee388 [2021-10-05T05:47:04.105Z] Removing intermediate container 006ab8aee388 [2021-10-05T05:47:04.105Z] ---> b634f0eb23fe [2021-10-05T05:47:04.105Z] Step 9/25 : COPY . . [2021-10-05T05:47:04.105Z] ---> a45ceaa570ab [2021-10-05T05:47:04.105Z] Step 10/25 : RUN go mod tidy [2021-10-05T05:47:04.105Z] ---> Running in 2af0acee21e6 [2021-10-05T05:47:04.687Z] Removing intermediate container 2af0acee21e6 [2021-10-05T05:47:04.687Z] ---> cdd144ea49ca [2021-10-05T05:47:04.687Z] Step 11/25 : RUN make update [2021-10-05T05:47:04.957Z] ---> Running in b745f6c86a09 [2021-10-05T05:47:05.223Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-10-05T05:47:05.223Z] Removing intermediate container b745f6c86a09 [2021-10-05T05:47:05.223Z] ---> 66a19b6f19dd [2021-10-05T05:47:05.223Z] Step 12/25 : RUN $MAKE [2021-10-05T05:47:05.488Z] ---> Running in be6857e708e7 [2021-10-05T05:47:05.752Z] go mod tidy [2021-10-05T05:47:05.752Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.8" -o cmd/device-rest ./cmd [2021-10-05T05:47:18.139Z] Removing intermediate container be6857e708e7 [2021-10-05T05:47:18.139Z] ---> 181c7be65046 [2021-10-05T05:47:18.139Z] Step 13/25 : FROM alpine:3.14 [2021-10-05T05:47:18.139Z] 3.14: Pulling from library/alpine [2021-10-05T05:47:18.139Z] a0d0a0d46f8b: Pulling fs layer [2021-10-05T05:47:18.409Z] a0d0a0d46f8b: Verifying Checksum [2021-10-05T05:47:18.409Z] a0d0a0d46f8b: Download complete [2021-10-05T05:47:18.677Z] a0d0a0d46f8b: Pull complete [2021-10-05T05:47:18.677Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-05T05:47:18.677Z] Status: Downloaded newer image for alpine:3.14 [2021-10-05T05:47:18.677Z] ---> 14119a10abf4 [2021-10-05T05:47:18.677Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-05T05:47:18.677Z] ---> Running in 03a781838c53 [2021-10-05T05:47:18.677Z] Removing intermediate container 03a781838c53 [2021-10-05T05:47:18.677Z] ---> 2e18181eefb9 [2021-10-05T05:47:18.677Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-05T05:47:18.677Z] ---> Running in b6eb24767f22 [2021-10-05T05:47:18.943Z] Removing intermediate container b6eb24767f22 [2021-10-05T05:47:18.943Z] ---> 51ea4413aa36 [2021-10-05T05:47:18.943Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-05T05:47:18.943Z] ---> Running in 22fc80940e31 [2021-10-05T05:47:19.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-05T05:47:19.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-05T05:47:19.478Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-05T05:47:19.478Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-05T05:47:19.478Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-05T05:47:19.478Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-05T05:47:19.478Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-05T05:47:19.478Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-05T05:47:19.478Z] Executing busybox-1.33.1-r3.trigger [2021-10-05T05:47:19.478Z] OK: 8 MiB in 20 packages [2021-10-05T05:47:19.743Z] Removing intermediate container 22fc80940e31 [2021-10-05T05:47:19.743Z] ---> e11c169c4dc5 [2021-10-05T05:47:19.743Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-10-05T05:47:20.008Z] ---> 3292af9a02f1 [2021-10-05T05:47:20.008Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-05T05:47:20.280Z] ---> 9a20a5d124b9 [2021-10-05T05:47:20.280Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-05T05:47:20.280Z] ---> 3316b8ff33fa [2021-10-05T05:47:20.280Z] Step 20/25 : EXPOSE 59986 [2021-10-05T05:47:20.280Z] ---> Running in 0ea3c00434cc [2021-10-05T05:47:20.554Z] Removing intermediate container 0ea3c00434cc [2021-10-05T05:47:20.554Z] ---> 4c6dd56d9cad [2021-10-05T05:47:20.554Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-10-05T05:47:20.554Z] ---> Running in 33c0a0e98fb4 [2021-10-05T05:47:20.554Z] Removing intermediate container 33c0a0e98fb4 [2021-10-05T05:47:20.554Z] ---> 930a17b4de16 [2021-10-05T05:47:20.554Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-05T05:47:20.554Z] ---> Running in fa0923e75f41 [2021-10-05T05:47:20.554Z] Removing intermediate container fa0923e75f41 [2021-10-05T05:47:20.554Z] ---> c07ad40056d8 [2021-10-05T05:47:20.554Z] Step 23/25 : LABEL arch=amd64 [2021-10-05T05:47:20.828Z] ---> Running in 0fe49cd0ed03 [2021-10-05T05:47:20.828Z] Removing intermediate container 0fe49cd0ed03 [2021-10-05T05:47:20.828Z] ---> 91b7d41c6f73 [2021-10-05T05:47:20.828Z] Step 24/25 : LABEL git_sha=8988443161b762d02568202c1b71a3f56b05d0c9 [2021-10-05T05:47:20.828Z] ---> Running in 6e3bd9710947 [2021-10-05T05:47:20.828Z] Removing intermediate container 6e3bd9710947 [2021-10-05T05:47:20.828Z] ---> f5648cb9866f [2021-10-05T05:47:20.828Z] Step 25/25 : LABEL version=2.0.1-dev.8 [2021-10-05T05:47:20.828Z] ---> Running in 814a99db1464 [2021-10-05T05:47:21.094Z] Removing intermediate container 814a99db1464 [2021-10-05T05:47:21.094Z] ---> 852a5f2d84e8 [2021-10-05T05:47:21.094Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-05T05:47:21.094Z] Successfully built 852a5f2d84e8 [2021-10-05T05:47:21.094Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T05:47:21.337Z] provisioning config files... [2021-10-05T05:47:21.358Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/9@tmp/config1225600168029243973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T05:47:21.685Z] ---> docker-login.sh [2021-10-05T05:47:21.685Z] nexus3.edgexfoundry.org:10001 [2021-10-05T05:47:21.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:47:21.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:47:21.685Z] Configure a credential helper to remove this warning. See [2021-10-05T05:47:21.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:47:21.685Z] [2021-10-05T05:47:21.685Z] Login Succeeded [2021-10-05T05:47:21.685Z] nexus3.edgexfoundry.org:10002 [2021-10-05T05:47:21.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:47:21.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:47:21.950Z] Configure a credential helper to remove this warning. See [2021-10-05T05:47:21.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:47:21.950Z] [2021-10-05T05:47:21.950Z] Login Succeeded [2021-10-05T05:47:21.950Z] nexus3.edgexfoundry.org:10003 [2021-10-05T05:47:21.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:47:21.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:47:21.950Z] Configure a credential helper to remove this warning. See [2021-10-05T05:47:21.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:47:21.950Z] [2021-10-05T05:47:21.950Z] Login Succeeded [2021-10-05T05:47:21.950Z] nexus3.edgexfoundry.org:10004 [2021-10-05T05:47:22.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:47:22.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:47:22.215Z] Configure a credential helper to remove this warning. See [2021-10-05T05:47:22.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:47:22.215Z] [2021-10-05T05:47:22.215Z] Login Succeeded [2021-10-05T05:47:22.215Z] docker.io [2021-10-05T05:47:22.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:47:22.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:47:22.480Z] Configure a credential helper to remove this warning. See [2021-10-05T05:47:22.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:47:22.480Z] [2021-10-05T05:47:22.480Z] Login Succeeded [2021-10-05T05:47:22.480Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T05:47:22.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-05T05:47:22.557Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-10-05T05:47:22.557Z] 8988443161b762d02568202c1b71a3f56b05d0c9 [2021-10-05T05:47:22.557Z] latest [2021-10-05T05:47:22.557Z] 2.0.1-dev.8 [2021-10-05T05:47:22.557Z] 8988443161b762d02568202c1b71a3f56b05d0c9-2.0.1-dev.8 [2021-10-05T05:47:22.557Z] main [2021-10-05T05:47:22.557Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:47:22.913Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8988443161b762d02568202c1b71a3f56b05d0c9 [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:47:23.229Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:8988443161b762d02568202c1b71a3f56b05d0c9 [2021-10-05T05:47:23.229Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-05T05:47:23.229Z] 5792e775b221: Preparing [2021-10-05T05:47:23.229Z] 4731332ad1bc: Preparing [2021-10-05T05:47:23.229Z] fb37f33526a3: Preparing [2021-10-05T05:47:23.229Z] cee42f048f03: Preparing [2021-10-05T05:47:23.229Z] e2eb06d8af82: Preparing [2021-10-05T05:47:23.229Z] e2eb06d8af82: Layer already exists [2021-10-05T05:47:23.497Z] 5792e775b221: Pushed [2021-10-05T05:47:23.497Z] 4731332ad1bc: Pushed [2021-10-05T05:47:23.497Z] cee42f048f03: Pushed [2021-10-05T05:47:24.903Z] fb37f33526a3: Pushed [2021-10-05T05:47:24.903Z] 8988443161b762d02568202c1b71a3f56b05d0c9: digest: sha256:3406065f2a7b17e2b29d5241db8e972857272f3acd9643c68860f6c2a98a4c4e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:47:25.223Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:47:25.536Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-10-05T05:47:25.536Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-05T05:47:25.536Z] 5792e775b221: Preparing [2021-10-05T05:47:25.536Z] 4731332ad1bc: Preparing [2021-10-05T05:47:25.536Z] fb37f33526a3: Preparing [2021-10-05T05:47:25.536Z] cee42f048f03: Preparing [2021-10-05T05:47:25.536Z] e2eb06d8af82: Preparing [2021-10-05T05:47:25.536Z] fb37f33526a3: Layer already exists [2021-10-05T05:47:25.536Z] cee42f048f03: Layer already exists [2021-10-05T05:47:25.536Z] 4731332ad1bc: Layer already exists [2021-10-05T05:47:25.536Z] 5792e775b221: Layer already exists [2021-10-05T05:47:25.536Z] e2eb06d8af82: Layer already exists [2021-10-05T05:47:25.536Z] latest: digest: sha256:3406065f2a7b17e2b29d5241db8e972857272f3acd9643c68860f6c2a98a4c4e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:47:25.853Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:47:26.162Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.8 [2021-10-05T05:47:26.163Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-05T05:47:26.163Z] 5792e775b221: Preparing [2021-10-05T05:47:26.163Z] 4731332ad1bc: Preparing [2021-10-05T05:47:26.163Z] fb37f33526a3: Preparing [2021-10-05T05:47:26.163Z] cee42f048f03: Preparing [2021-10-05T05:47:26.163Z] e2eb06d8af82: Preparing [2021-10-05T05:47:26.163Z] cee42f048f03: Layer already exists [2021-10-05T05:47:26.163Z] e2eb06d8af82: Layer already exists [2021-10-05T05:47:26.163Z] fb37f33526a3: Layer already exists [2021-10-05T05:47:26.163Z] 4731332ad1bc: Layer already exists [2021-10-05T05:47:26.163Z] 5792e775b221: Layer already exists [2021-10-05T05:47:26.163Z] 2.0.1-dev.8: digest: sha256:3406065f2a7b17e2b29d5241db8e972857272f3acd9643c68860f6c2a98a4c4e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:47:26.481Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8988443161b762d02568202c1b71a3f56b05d0c9-2.0.1-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:47:26.789Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:8988443161b762d02568202c1b71a3f56b05d0c9-2.0.1-dev.8 [2021-10-05T05:47:26.789Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-05T05:47:26.789Z] 5792e775b221: Preparing [2021-10-05T05:47:26.789Z] 4731332ad1bc: Preparing [2021-10-05T05:47:26.789Z] fb37f33526a3: Preparing [2021-10-05T05:47:26.789Z] cee42f048f03: Preparing [2021-10-05T05:47:26.789Z] e2eb06d8af82: Preparing [2021-10-05T05:47:26.789Z] e2eb06d8af82: Layer already exists [2021-10-05T05:47:26.789Z] 5792e775b221: Layer already exists [2021-10-05T05:47:26.789Z] fb37f33526a3: Layer already exists [2021-10-05T05:47:26.789Z] cee42f048f03: Layer already exists [2021-10-05T05:47:26.789Z] 4731332ad1bc: Layer already exists [2021-10-05T05:47:26.789Z] 8988443161b762d02568202c1b71a3f56b05d0c9-2.0.1-dev.8: digest: sha256:3406065f2a7b17e2b29d5241db8e972857272f3acd9643c68860f6c2a98a4c4e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:47:27.110Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:47:27.425Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-10-05T05:47:27.425Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-05T05:47:27.425Z] 5792e775b221: Preparing [2021-10-05T05:47:27.425Z] 4731332ad1bc: Preparing [2021-10-05T05:47:27.425Z] fb37f33526a3: Preparing [2021-10-05T05:47:27.425Z] cee42f048f03: Preparing [2021-10-05T05:47:27.425Z] e2eb06d8af82: Preparing [2021-10-05T05:47:27.425Z] e2eb06d8af82: Layer already exists [2021-10-05T05:47:27.425Z] 4731332ad1bc: Layer already exists [2021-10-05T05:47:27.425Z] cee42f048f03: Layer already exists [2021-10-05T05:47:27.425Z] 5792e775b221: Layer already exists [2021-10-05T05:47:27.425Z] fb37f33526a3: Layer already exists [2021-10-05T05:47:27.425Z] main: digest: sha256:3406065f2a7b17e2b29d5241db8e972857272f3acd9643c68860f6c2a98a4c4e size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-05T05:47:27.485Z] ===================================================== [Pipeline] echo [2021-10-05T05:47:27.502Z] taggedImages: [2021-10-05T05:47:27.502Z] - nexus3.edgexfoundry.org:10004/device-rest:8988443161b762d02568202c1b71a3f56b05d0c9 [2021-10-05T05:47:27.502Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-10-05T05:47:27.502Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.8 [2021-10-05T05:47:27.502Z] - nexus3.edgexfoundry.org:10004/device-rest:8988443161b762d02568202c1b71a3f56b05d0c9-2.0.1-dev.8 [2021-10-05T05:47:27.502Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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-05T05:47:28.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T05:47:28.144Z] [2021-10-05T05:47:28.144Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:47:28.472Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T05:47:28.472Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T05:47:28.472Z] b4d181a07f80: Pulling fs layer [2021-10-05T05:47:28.472Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T05:47:28.472Z] ed53099fbce6: Pulling fs layer [2021-10-05T05:47:28.472Z] dc539afda2c1: Pulling fs layer [2021-10-05T05:47:28.472Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T05:47:28.472Z] 9065ff56babe: Pulling fs layer [2021-10-05T05:47:28.472Z] d287ab97295c: Pulling fs layer [2021-10-05T05:47:28.472Z] dc539afda2c1: Waiting [2021-10-05T05:47:28.472Z] 77bc0d833cb6: Waiting [2021-10-05T05:47:28.472Z] 9065ff56babe: Waiting [2021-10-05T05:47:28.472Z] d287ab97295c: Waiting [2021-10-05T05:47:28.740Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T05:47:28.740Z] a1111a8f2ec3: Download complete [2021-10-05T05:47:28.740Z] dc539afda2c1: Verifying Checksum [2021-10-05T05:47:28.740Z] dc539afda2c1: Download complete [2021-10-05T05:47:28.740Z] ed53099fbce6: Verifying Checksum [2021-10-05T05:47:28.740Z] ed53099fbce6: Download complete [2021-10-05T05:47:28.740Z] 9065ff56babe: Verifying Checksum [2021-10-05T05:47:28.740Z] 9065ff56babe: Download complete [2021-10-05T05:47:28.740Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T05:47:29.008Z] b4d181a07f80: Verifying Checksum [2021-10-05T05:47:29.008Z] b4d181a07f80: Download complete [2021-10-05T05:47:29.972Z] d287ab97295c: Verifying Checksum [2021-10-05T05:47:29.972Z] d287ab97295c: Download complete [2021-10-05T05:47:30.562Z] b4d181a07f80: Pull complete [2021-10-05T05:47:30.833Z] a1111a8f2ec3: Pull complete [2021-10-05T05:47:31.099Z] ed53099fbce6: Pull complete [2021-10-05T05:47:31.366Z] dc539afda2c1: Pull complete [2021-10-05T05:47:31.632Z] 77bc0d833cb6: Pull complete [2021-10-05T05:47:31.632Z] 9065ff56babe: Pull complete [2021-10-05T05:47:37.030Z] d287ab97295c: Pull complete [2021-10-05T05:47:37.030Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T05:47:37.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T05:47:37.030Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T05:47:37.114Z] prd-centos7-docker-4c-2g-1919 does not seem to be running inside a container [2021-10-05T05:47:37.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/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-05T05:47:39.945Z] $ docker top 23865b4088463d13c4002b25f1f09b9dbd8d0f2ae73f0b1d55e3b63a177e9e06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T05:47:40.409Z] ---> job-cost.sh [2021-10-05T05:47:40.409Z] lf-activate-venv: SKIPPING [2021-10-05T05:47:40.409Z] INFO: No Stack... [2021-10-05T05:47:45.755Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T05:47:45.755Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T05:47:46.072Z] + cut -d, -f6 [2021-10-05T05:47:46.072Z] + cat /w/workspace/device-rest-go/9/archives/cost.csv [Pipeline] lock [2021-10-05T05:47:46.111Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-9-stack-cost] [2021-10-05T05:47:46.122Z] Resource [jenkins-edgexfoundry-device-rest-go-main-9-stack-cost] did not exist. Created. [2021-10-05T05:47:46.122Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T05:47:46.461Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-05T05:47:46.495Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T05:47:46.504Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-9-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T05:47:46.529Z] $ docker stop --time=1 23865b4088463d13c4002b25f1f09b9dbd8d0f2ae73f0b1d55e3b63a177e9e06 [2021-10-05T05:47:47.681Z] $ docker rm -f 23865b4088463d13c4002b25f1f09b9dbd8d0f2ae73f0b1d55e3b63a177e9e06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-05T05:57:46.659Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2048 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-10-05T05:57:46.690Z] Running in /w/workspace/device-rest-go/9 [Pipeline] { [Pipeline] checkout [2021-10-05T05:57:46.985Z] The recommended git tool is: git [2021-10-05T05:57:55.135Z] using credential edgex-jenkins-ssh [2021-10-05T05:57:55.155Z] Cloning the remote Git repository [2021-10-05T05:57:55.228Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-05T05:57:55.363Z] > git init /w/workspace/device-rest-go/9 # timeout=10 [2021-10-05T05:57:55.479Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-05T05:57:55.480Z] > git --version # timeout=10 [2021-10-05T05:57:55.496Z] > git --version # 'git version 2.17.1' [2021-10-05T05:57:55.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T05:57:55.598Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T05:57:57.409Z] Avoid second fetch [2021-10-05T05:57:57.409Z] Checking out Revision 8988443161b762d02568202c1b71a3f56b05d0c9 (main) [2021-10-05T05:57:57.351Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-05T05:57:57.383Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T05:57:57.440Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T05:57:57.457Z] > git checkout -f 8988443161b762d02568202c1b71a3f56b05d0c9 # timeout=10 [2021-10-05T05:58:02.195Z] Commit message: "Merge pull request #135 from lenny-intel/pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T05:58:02.601Z] provisioning config files... [2021-10-05T05:58:02.639Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/9@tmp/config3539467388936045629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T05:58:03.324Z] ---> docker-login.sh [2021-10-05T05:58:03.324Z] nexus3.edgexfoundry.org:10001 [2021-10-05T05:58:04.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:58:04.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:58:04.976Z] Configure a credential helper to remove this warning. See [2021-10-05T05:58:04.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:58:04.976Z] [2021-10-05T05:58:04.976Z] Login Succeeded [2021-10-05T05:58:04.976Z] nexus3.edgexfoundry.org:10002 [2021-10-05T05:58:05.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:58:05.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:58:05.604Z] Configure a credential helper to remove this warning. See [2021-10-05T05:58:05.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:58:05.604Z] [2021-10-05T05:58:05.604Z] Login Succeeded [2021-10-05T05:58:05.604Z] nexus3.edgexfoundry.org:10003 [2021-10-05T05:58:06.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:58:06.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:58:06.229Z] Configure a credential helper to remove this warning. See [2021-10-05T05:58:06.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:58:06.230Z] [2021-10-05T05:58:06.230Z] Login Succeeded [2021-10-05T05:58:06.230Z] nexus3.edgexfoundry.org:10004 [2021-10-05T05:58:06.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:58:06.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:58:06.854Z] Configure a credential helper to remove this warning. See [2021-10-05T05:58:06.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:58:06.854Z] [2021-10-05T05:58:06.854Z] Login Succeeded [2021-10-05T05:58:07.143Z] docker.io [2021-10-05T05:58:07.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T05:58:08.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T05:58:08.062Z] Configure a credential helper to remove this warning. See [2021-10-05T05:58:08.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T05:58:08.062Z] [2021-10-05T05:58:08.062Z] Login Succeeded [2021-10-05T05:58:08.062Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T05:58:08.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-05T05:58:08.788Z] ========================================================= [2021-10-05T05:58:08.788Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-05T05:58:08.789Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:58:09.216Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-05T05:58:09.216Z] Sending build context to Docker daemon 119.8kB [2021-10-05T05:58:09.838Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T05:58:09.838Z] Step 2/12 : FROM ${BASE} AS builder [2021-10-05T05:58:09.838Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-05T05:58:09.838Z] 595b0fe564bb: Pulling fs layer [2021-10-05T05:58:09.838Z] 24495759ef45: Pulling fs layer [2021-10-05T05:58:09.838Z] d148012ef14d: Pulling fs layer [2021-10-05T05:58:09.838Z] e90a11edd702: Pulling fs layer [2021-10-05T05:58:09.838Z] d77568369979: Pulling fs layer [2021-10-05T05:58:09.838Z] fc1c9f9a7f3b: Pulling fs layer [2021-10-05T05:58:09.838Z] 170f2ba95c9a: Pulling fs layer [2021-10-05T05:58:09.838Z] 97ac5df62f85: Pulling fs layer [2021-10-05T05:58:09.838Z] e90a11edd702: Waiting [2021-10-05T05:58:09.838Z] d77568369979: Waiting [2021-10-05T05:58:09.838Z] fc1c9f9a7f3b: Waiting [2021-10-05T05:58:09.838Z] 170f2ba95c9a: Waiting [2021-10-05T05:58:09.838Z] 97ac5df62f85: Waiting [2021-10-05T05:58:09.838Z] d148012ef14d: Verifying Checksum [2021-10-05T05:58:09.838Z] d148012ef14d: Download complete [2021-10-05T05:58:10.127Z] 24495759ef45: Download complete [2021-10-05T05:58:10.127Z] d77568369979: Verifying Checksum [2021-10-05T05:58:10.127Z] d77568369979: Download complete [2021-10-05T05:58:10.127Z] 595b0fe564bb: Verifying Checksum [2021-10-05T05:58:10.127Z] 595b0fe564bb: Download complete [2021-10-05T05:58:10.127Z] fc1c9f9a7f3b: Download complete [2021-10-05T05:58:10.127Z] 170f2ba95c9a: Download complete [2021-10-05T05:58:10.763Z] 595b0fe564bb: Pull complete [2021-10-05T05:58:11.388Z] 24495759ef45: Pull complete [2021-10-05T05:58:12.033Z] d148012ef14d: Pull complete [2021-10-05T05:58:14.093Z] e90a11edd702: Verifying Checksum [2021-10-05T05:58:14.093Z] e90a11edd702: Download complete [2021-10-05T05:58:14.093Z] 97ac5df62f85: Verifying Checksum [2021-10-05T05:58:14.093Z] 97ac5df62f85: Download complete [2021-10-05T05:58:24.406Z] e90a11edd702: Pull complete [2021-10-05T05:58:24.406Z] d77568369979: Pull complete [2021-10-05T05:58:25.025Z] fc1c9f9a7f3b: Pull complete [2021-10-05T05:58:25.309Z] 170f2ba95c9a: Pull complete [2021-10-05T05:58:30.827Z] 97ac5df62f85: Pull complete [2021-10-05T05:58:30.827Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-10-05T05:58:30.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-05T05:58:30.827Z] ---> 04bc70af865f [2021-10-05T05:58:30.827Z] Step 3/12 : ARG MAKE='make build' [2021-10-05T05:58:36.344Z] ---> Running in d05347285b25 [2021-10-05T05:58:36.344Z] Removing intermediate container d05347285b25 [2021-10-05T05:58:36.344Z] ---> d77d09e57ab6 [2021-10-05T05:58:36.344Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-05T05:58:36.344Z] ---> Running in 08889dd96e32 [2021-10-05T05:58:36.633Z] Removing intermediate container 08889dd96e32 [2021-10-05T05:58:36.633Z] ---> c241dc92e081 [2021-10-05T05:58:36.633Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-10-05T05:58:36.918Z] ---> Running in ea9a77b81c01 [2021-10-05T05:58:37.220Z] Removing intermediate container ea9a77b81c01 [2021-10-05T05:58:37.220Z] ---> ecdefd08576b [2021-10-05T05:58:37.220Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T05:58:37.505Z] ---> Running in b2b9ed9b7eec [2021-10-05T05:58:40.195Z] Removing intermediate container b2b9ed9b7eec [2021-10-05T05:58:40.195Z] ---> 460fc2597acd [2021-10-05T05:58:40.195Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-05T05:58:40.195Z] ---> Running in 093ecf2482ca [2021-10-05T05:58:41.217Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-05T05:58:42.239Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-05T05:58:43.261Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-10-05T05:58:43.261Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-05T05:58:43.261Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-10-05T05:58:43.595Z] Executing busybox-1.32.1-r6.trigger [2021-10-05T05:58:43.595Z] OK: 222 MiB in 55 packages [2021-10-05T05:58:45.083Z] Removing intermediate container 093ecf2482ca [2021-10-05T05:58:45.083Z] ---> 4c2903b20023 [2021-10-05T05:58:45.083Z] Step 8/12 : WORKDIR /device-rest-go [2021-10-05T05:58:45.083Z] ---> Running in cf878e6b3a6c [2021-10-05T05:58:45.701Z] Removing intermediate container cf878e6b3a6c [2021-10-05T05:58:45.701Z] ---> 6369fe2b7c6f [2021-10-05T05:58:45.701Z] Step 9/12 : COPY . . [2021-10-05T05:58:46.330Z] ---> 38e08ca469b7 [2021-10-05T05:58:46.330Z] Step 10/12 : RUN go mod tidy [2021-10-05T05:58:46.612Z] ---> Running in 5dd3fd2856f5 [2021-10-05T05:58:49.281Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-10-05T05:58:49.281Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-10-05T05:58:49.281Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-05T05:58:49.281Z] go: downloading github.com/spf13/cast v1.4.1 [2021-10-05T05:58:49.281Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-05T05:58:49.281Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-05T05:58:49.565Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-05T05:58:49.565Z] go: downloading github.com/google/uuid v1.2.0 [2021-10-05T05:58:49.565Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-10-05T05:58:49.565Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-10-05T05:58:49.853Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-05T05:58:49.853Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-05T05:58:49.853Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-05T05:58:49.853Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-10-05T05:58:49.853Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-05T05:58:49.853Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-05T05:58:49.853Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-10-05T05:58:49.853Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-05T05:58:49.853Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-05T05:58:49.853Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-10-05T05:58:50.137Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-10-05T05:58:50.137Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-10-05T05:58:50.137Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-10-05T05:58:50.137Z] go: downloading golang.org/x/text v0.3.2 [2021-10-05T05:58:50.137Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-05T05:58:50.137Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-10-05T05:58:53.594Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-10-05T05:58:53.594Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-05T05:58:53.594Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-10-05T05:58:53.594Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-05T05:58:53.594Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-05T05:58:53.594Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-05T05:58:53.594Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-10-05T05:58:53.594Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-05T05:58:53.594Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-05T05:58:53.594Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-05T05:58:53.594Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-05T05:58:53.594Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-05T05:58:53.594Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-10-05T05:58:53.594Z] go: downloading github.com/kr/pretty v0.2.0 [2021-10-05T05:58:53.594Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-05T05:58:53.880Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-05T05:58:53.881Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-05T05:58:53.881Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-05T05:58:53.881Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-05T05:58:53.881Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-10-05T05:58:53.881Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-10-05T05:58:53.881Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-05T05:58:54.167Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-10-05T05:58:54.167Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-10-05T05:58:54.167Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-10-05T05:58:54.167Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-05T05:58:54.449Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-05T05:58:54.449Z] go: downloading github.com/kr/text v0.1.0 [2021-10-05T05:58:54.449Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-05T05:58:54.449Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-05T05:58:54.449Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-05T05:58:54.449Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-05T05:58:54.449Z] go: downloading github.com/pkg/errors v0.8.1 [2021-10-05T05:58:54.449Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-05T05:58:54.737Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-10-05T05:58:54.738Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-10-05T05:58:54.738Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-05T05:58:54.738Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-10-05T05:58:54.738Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-05T05:58:54.738Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-10-05T05:58:54.738Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-10-05T05:58:54.738Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-10-05T05:58:54.738Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-10-05T05:58:54.738Z] go: downloading github.com/miekg/dns v1.1.26 [2021-10-05T05:58:55.022Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-10-05T05:58:55.022Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-10-05T05:58:55.022Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-05T05:58:55.022Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-05T05:58:55.022Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-10-05T05:58:55.310Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-10-05T05:59:10.572Z] Removing intermediate container 5dd3fd2856f5 [2021-10-05T05:59:10.572Z] ---> 3d903f4229e5 [2021-10-05T05:59:10.572Z] Step 11/12 : RUN make update [2021-10-05T05:59:10.572Z] ---> Running in 309193347f63 [2021-10-05T05:59:10.572Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-10-05T05:59:17.400Z] Removing intermediate container 309193347f63 [2021-10-05T05:59:17.400Z] ---> b1973a328507 [2021-10-05T05:59:17.400Z] Step 12/12 : RUN $MAKE [2021-10-05T05:59:17.400Z] ---> Running in 89aa4a11e764 [2021-10-05T05:59:18.418Z] noop [2021-10-05T05:59:19.426Z] Removing intermediate container 89aa4a11e764 [2021-10-05T05:59:19.426Z] ---> 6d6286ff6446 [2021-10-05T05:59:19.426Z] Successfully built 6d6286ff6446 [2021-10-05T05:59:19.426Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:59:19.807Z] + docker inspect -f . ci-base-image-arm64 [2021-10-05T05:59:19.807Z] . [Pipeline] withDockerContainer [2021-10-05T05:59:20.127Z] prd-ubuntu18.04-docker-arm64-4c-16g-2048 does not seem to be running inside a container [2021-10-05T05:59:20.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-05T05:59:21.955Z] $ docker top 432fd1a2d89074565c0c2a4dbe0ff819c6aee995ec530b75d21780395ae0ef53 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T05:59:23.052Z] + go version [2021-10-05T05:59:23.052Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-10-05T05:59:23.078Z] $ docker stop --time=1 432fd1a2d89074565c0c2a4dbe0ff819c6aee995ec530b75d21780395ae0ef53 [2021-10-05T05:59:24.988Z] $ docker rm -f 432fd1a2d89074565c0c2a4dbe0ff819c6aee995ec530b75d21780395ae0ef53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T05:59:25.864Z] + docker inspect -f . ci-base-image-arm64 [2021-10-05T05:59:25.864Z] . [Pipeline] withDockerContainer [2021-10-05T05:59:26.184Z] prd-ubuntu18.04-docker-arm64-4c-16g-2048 does not seem to be running inside a container [2021-10-05T05:59:26.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-05T05:59:28.069Z] $ docker top 924ff38e91607060997eb4fbedd4d223cac6666078458fa16c58d71d7832d914 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-05T05:59:29.138Z] + go mod tidy [Pipeline] sh [2021-10-05T05:59:30.466Z] + make test [2021-10-05T05:59:30.466Z] go mod tidy [2021-10-05T05:59:31.084Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-05T05:59:32.122Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-05T06:00:28.929Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-05T06:00:28.929Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 53.8% of statements [2021-10-05T06:00:29.213Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-05T06:00:56.214Z] gofmt -l . [2021-10-05T06:00:56.214Z] [ "`gofmt -l .`" = "" ] [2021-10-05T06:00:56.214Z] ./bin/test-go-mod-tidy.sh [2021-10-05T06:00:56.827Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-05T06:00:58.319Z] $ docker stop --time=1 924ff38e91607060997eb4fbedd4d223cac6666078458fa16c58d71d7832d914 [2021-10-05T06:01:00.193Z] $ docker rm -f 924ff38e91607060997eb4fbedd4d223cac6666078458fa16c58d71d7832d914 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T06:01:01.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-05T06:01:01.147Z] Warning: overwriting stash ‘coverage-report’ [2021-10-05T06:01:01.848Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-05T06:01:02.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-05T06:01:02.905Z] + ls -al . [2021-10-05T06:01:02.905Z] total 144 [2021-10-05T06:01:02.905Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 06:00 . [2021-10-05T06:01:02.905Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 05:57 .. [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 5 05:57 .dockerignore [2021-10-05T06:01:02.905Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 05:58 .git [2021-10-05T06:01:02.905Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 05:57 .github [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 336 Oct 5 05:57 .gitignore [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 6792 Oct 5 05:57 Attribution.txt [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 7459 Oct 5 05:57 CHANGELOG.md [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 1615 Oct 5 05:57 Dockerfile [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 05:57 GOVERNANCE.md [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 5 05:57 Jenkinsfile [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 5 05:57 LICENSE [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 996 Oct 5 05:57 Makefile [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 5 05:57 OWNERS.md [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 7661 Oct 5 05:57 README.md [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 5 05:43 VERSION [2021-10-05T06:01:02.905Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 05:57 bin [2021-10-05T06:01:02.905Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 05:57 cmd [2021-10-05T06:01:02.905Z] -rw-r--r-- 1 jenkins jenkins 8435 Oct 5 06:00 coverage.out [2021-10-05T06:01:02.905Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 05:57 driver [2021-10-05T06:01:02.905Z] -rw-r--r-- 1 jenkins jenkins 271 Oct 5 06:00 go.mod [2021-10-05T06:01:02.905Z] -rw-r--r-- 1 jenkins jenkins 20570 Oct 5 05:59 go.sum [2021-10-05T06:01:02.905Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 05:57 snap [2021-10-05T06:01:02.905Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 5 05:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:01:03.282Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8988443161b762d02568202c1b71a3f56b05d0c9 --label arch=arm64 --label version=2.0.1-dev.8 . [2021-10-05T06:01:03.282Z] Sending build context to Docker daemon 129kB [2021-10-05T06:01:03.565Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T06:01:03.565Z] Step 2/25 : FROM ${BASE} AS builder [2021-10-05T06:01:03.847Z] ---> 6d6286ff6446 [2021-10-05T06:01:03.847Z] Step 3/25 : ARG MAKE='make build' [2021-10-05T06:01:03.847Z] ---> Running in 6aa6acc82ed5 [2021-10-05T06:01:04.496Z] Removing intermediate container 6aa6acc82ed5 [2021-10-05T06:01:04.496Z] ---> 7ac0478260e0 [2021-10-05T06:01:04.496Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-05T06:01:04.496Z] ---> Running in 99d1fe7fff5a [2021-10-05T06:01:05.161Z] Removing intermediate container 99d1fe7fff5a [2021-10-05T06:01:05.161Z] ---> 49c4dfc0a1e4 [2021-10-05T06:01:05.161Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-10-05T06:01:05.161Z] ---> Running in 8c1d1c5fe5fd [2021-10-05T06:01:05.809Z] Removing intermediate container 8c1d1c5fe5fd [2021-10-05T06:01:05.809Z] ---> 00371721b6ce [2021-10-05T06:01:05.809Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T06:01:05.809Z] ---> Running in 6c903e747d79 [2021-10-05T06:01:08.558Z] Removing intermediate container 6c903e747d79 [2021-10-05T06:01:08.558Z] ---> 785c1644cbcf [2021-10-05T06:01:08.558Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-05T06:01:08.558Z] ---> Running in 76c807a2ad04 [2021-10-05T06:01:10.035Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-05T06:01:11.041Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-05T06:01:11.656Z] OK: 222 MiB in 55 packages [2021-10-05T06:01:13.133Z] Removing intermediate container 76c807a2ad04 [2021-10-05T06:01:13.133Z] ---> 6de4e54042c4 [2021-10-05T06:01:13.133Z] Step 8/25 : WORKDIR /device-rest-go [2021-10-05T06:01:13.133Z] ---> Running in 01804d0827c6 [2021-10-05T06:01:13.751Z] Removing intermediate container 01804d0827c6 [2021-10-05T06:01:13.751Z] ---> 15c27506bb04 [2021-10-05T06:01:13.751Z] Step 9/25 : COPY . . [2021-10-05T06:01:14.369Z] ---> 7f12aa1847f0 [2021-10-05T06:01:14.369Z] Step 10/25 : RUN go mod tidy [2021-10-05T06:01:14.653Z] ---> Running in d6c467c8868b [2021-10-05T06:01:17.340Z] Removing intermediate container d6c467c8868b [2021-10-05T06:01:17.340Z] ---> dc4a1017fe14 [2021-10-05T06:01:17.340Z] Step 11/25 : RUN make update [2021-10-05T06:01:17.625Z] ---> Running in ac44f7c4a5c2 [2021-10-05T06:01:18.635Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-10-05T06:01:20.109Z] Removing intermediate container ac44f7c4a5c2 [2021-10-05T06:01:20.109Z] ---> 0dab8ff806ce [2021-10-05T06:01:20.109Z] Step 12/25 : RUN $MAKE [2021-10-05T06:01:20.109Z] ---> Running in 17fcf138a954 [2021-10-05T06:01:21.121Z] go mod tidy [2021-10-05T06:01:21.745Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.8" -o cmd/device-rest ./cmd [2021-10-05T06:02:00.984Z] Removing intermediate container 17fcf138a954 [2021-10-05T06:02:00.984Z] ---> 1612d03881e6 [2021-10-05T06:02:00.984Z] Step 13/25 : FROM alpine:3.14 [2021-10-05T06:02:00.984Z] 3.14: Pulling from library/alpine [2021-10-05T06:02:00.984Z] 552d1f2373af: Pulling fs layer [2021-10-05T06:02:01.263Z] 552d1f2373af: Verifying Checksum [2021-10-05T06:02:01.263Z] 552d1f2373af: Download complete [2021-10-05T06:02:01.876Z] 552d1f2373af: Pull complete [2021-10-05T06:02:01.876Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-05T06:02:01.876Z] Status: Downloaded newer image for alpine:3.14 [2021-10-05T06:02:01.876Z] ---> bb3de5531c18 [2021-10-05T06:02:01.876Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-05T06:02:02.158Z] ---> Running in 45d111a0f03f [2021-10-05T06:02:02.774Z] Removing intermediate container 45d111a0f03f [2021-10-05T06:02:02.774Z] ---> 3ffb1df49c55 [2021-10-05T06:02:02.774Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-05T06:02:02.774Z] ---> Running in 1ffd095afea7 [2021-10-05T06:02:03.054Z] Removing intermediate container 1ffd095afea7 [2021-10-05T06:02:03.054Z] ---> 407da0d4b67f [2021-10-05T06:02:03.054Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-05T06:02:03.337Z] ---> Running in 0af8be9b4c10 [2021-10-05T06:02:04.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-05T06:02:04.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-05T06:02:05.809Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-05T06:02:05.809Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-05T06:02:05.809Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-05T06:02:05.809Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-05T06:02:05.809Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-05T06:02:05.809Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-05T06:02:05.809Z] Executing busybox-1.33.1-r3.trigger [2021-10-05T06:02:05.809Z] OK: 8 MiB in 20 packages [2021-10-05T06:02:06.823Z] Removing intermediate container 0af8be9b4c10 [2021-10-05T06:02:06.824Z] ---> 6c1f433ca09e [2021-10-05T06:02:06.824Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-10-05T06:02:08.293Z] ---> 278227ceb7c0 [2021-10-05T06:02:08.294Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-05T06:02:08.910Z] ---> 7cddd14ece26 [2021-10-05T06:02:08.910Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-05T06:02:09.921Z] ---> 26699abd7667 [2021-10-05T06:02:09.921Z] Step 20/25 : EXPOSE 59986 [2021-10-05T06:02:09.921Z] ---> Running in bb1bc8ce89e0 [2021-10-05T06:02:10.535Z] Removing intermediate container bb1bc8ce89e0 [2021-10-05T06:02:10.535Z] ---> 3c627d8c75bb [2021-10-05T06:02:10.535Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-10-05T06:02:10.535Z] ---> Running in d554470136b6 [2021-10-05T06:02:11.148Z] Removing intermediate container d554470136b6 [2021-10-05T06:02:11.148Z] ---> f1fbc3259660 [2021-10-05T06:02:11.148Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-05T06:02:11.148Z] ---> Running in 9d4d12ed269b [2021-10-05T06:02:11.762Z] Removing intermediate container 9d4d12ed269b [2021-10-05T06:02:11.762Z] ---> 22662d6c33da [2021-10-05T06:02:11.762Z] Step 23/25 : LABEL arch=arm64 [2021-10-05T06:02:11.762Z] ---> Running in dc75c5e25c22 [2021-10-05T06:02:12.376Z] Removing intermediate container dc75c5e25c22 [2021-10-05T06:02:12.376Z] ---> 782bc3ebdbfe [2021-10-05T06:02:12.376Z] Step 24/25 : LABEL git_sha=8988443161b762d02568202c1b71a3f56b05d0c9 [2021-10-05T06:02:12.376Z] ---> Running in 9516159b6a9f [2021-10-05T06:02:12.991Z] Removing intermediate container 9516159b6a9f [2021-10-05T06:02:12.991Z] ---> 04037cd9c765 [2021-10-05T06:02:12.991Z] Step 25/25 : LABEL version=2.0.1-dev.8 [2021-10-05T06:02:12.991Z] ---> Running in ed08caedde1a [2021-10-05T06:02:13.276Z] Removing intermediate container ed08caedde1a [2021-10-05T06:02:13.276Z] ---> 9fd1ae999c5b [2021-10-05T06:02:13.276Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-05T06:02:13.558Z] Successfully built 9fd1ae999c5b [2021-10-05T06:02:13.558Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T06:02:13.804Z] provisioning config files... [2021-10-05T06:02:13.838Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/9@tmp/config6948711134583305253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T06:02:14.235Z] ---> docker-login.sh [2021-10-05T06:02:14.235Z] nexus3.edgexfoundry.org:10001 [2021-10-05T06:02:14.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T06:02:14.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T06:02:14.797Z] Configure a credential helper to remove this warning. See [2021-10-05T06:02:14.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T06:02:14.797Z] [2021-10-05T06:02:14.797Z] Login Succeeded [2021-10-05T06:02:14.797Z] nexus3.edgexfoundry.org:10002 [2021-10-05T06:02:15.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T06:02:15.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T06:02:15.363Z] Configure a credential helper to remove this warning. See [2021-10-05T06:02:15.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T06:02:15.363Z] [2021-10-05T06:02:15.363Z] Login Succeeded [2021-10-05T06:02:15.363Z] nexus3.edgexfoundry.org:10003 [2021-10-05T06:02:15.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T06:02:15.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T06:02:15.982Z] Configure a credential helper to remove this warning. See [2021-10-05T06:02:15.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T06:02:15.982Z] [2021-10-05T06:02:15.982Z] Login Succeeded [2021-10-05T06:02:15.982Z] nexus3.edgexfoundry.org:10004 [2021-10-05T06:02:16.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T06:02:16.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T06:02:16.550Z] Configure a credential helper to remove this warning. See [2021-10-05T06:02:16.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T06:02:16.550Z] [2021-10-05T06:02:16.550Z] Login Succeeded [2021-10-05T06:02:16.550Z] docker.io [2021-10-05T06:02:17.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T06:02:17.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T06:02:17.447Z] Configure a credential helper to remove this warning. See [2021-10-05T06:02:17.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T06:02:17.447Z] [2021-10-05T06:02:17.447Z] Login Succeeded [2021-10-05T06:02:17.447Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T06:02:17.472Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-05T06:02:17.550Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-10-05T06:02:17.550Z] 8988443161b762d02568202c1b71a3f56b05d0c9 [2021-10-05T06:02:17.550Z] latest [2021-10-05T06:02:17.550Z] 2.0.1-dev.8 [2021-10-05T06:02:17.550Z] 8988443161b762d02568202c1b71a3f56b05d0c9-2.0.1-dev.8 [2021-10-05T06:02:17.550Z] main [2021-10-05T06:02:17.550Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:02:17.959Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8988443161b762d02568202c1b71a3f56b05d0c9 [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:02:18.328Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8988443161b762d02568202c1b71a3f56b05d0c9 [2021-10-05T06:02:18.328Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-05T06:02:18.328Z] 7772c5669c42: Preparing [2021-10-05T06:02:18.328Z] abf52058c02a: Preparing [2021-10-05T06:02:18.328Z] 77f7deb8f2d3: Preparing [2021-10-05T06:02:18.328Z] bc037aad3c0a: Preparing [2021-10-05T06:02:18.328Z] ee420dfed78a: Preparing [2021-10-05T06:02:18.615Z] ee420dfed78a: Layer already exists [2021-10-05T06:02:18.615Z] abf52058c02a: Pushed [2021-10-05T06:02:18.615Z] 7772c5669c42: Pushed [2021-10-05T06:02:19.227Z] bc037aad3c0a: Pushed [2021-10-05T06:02:21.880Z] 77f7deb8f2d3: Pushed [2021-10-05T06:02:21.880Z] 8988443161b762d02568202c1b71a3f56b05d0c9: digest: sha256:d5977675b0b0d086138cb6d265cabed667bbf6af3ec59bba6c2040ec30baaaf9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:02:22.252Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:02:22.648Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-10-05T06:02:22.648Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-05T06:02:22.648Z] 7772c5669c42: Preparing [2021-10-05T06:02:22.648Z] abf52058c02a: Preparing [2021-10-05T06:02:22.648Z] 77f7deb8f2d3: Preparing [2021-10-05T06:02:22.648Z] bc037aad3c0a: Preparing [2021-10-05T06:02:22.648Z] ee420dfed78a: Preparing [2021-10-05T06:02:22.648Z] abf52058c02a: Layer already exists [2021-10-05T06:02:22.648Z] ee420dfed78a: Layer already exists [2021-10-05T06:02:22.648Z] bc037aad3c0a: Layer already exists [2021-10-05T06:02:22.648Z] 7772c5669c42: Layer already exists [2021-10-05T06:02:22.927Z] 77f7deb8f2d3: Layer already exists [2021-10-05T06:02:22.927Z] latest: digest: sha256:d5977675b0b0d086138cb6d265cabed667bbf6af3ec59bba6c2040ec30baaaf9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:02:23.294Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:02:23.653Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.8 [2021-10-05T06:02:23.653Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-05T06:02:23.653Z] 7772c5669c42: Preparing [2021-10-05T06:02:23.653Z] abf52058c02a: Preparing [2021-10-05T06:02:23.653Z] 77f7deb8f2d3: Preparing [2021-10-05T06:02:23.653Z] bc037aad3c0a: Preparing [2021-10-05T06:02:23.653Z] ee420dfed78a: Preparing [2021-10-05T06:02:23.653Z] ee420dfed78a: Layer already exists [2021-10-05T06:02:23.931Z] bc037aad3c0a: Layer already exists [2021-10-05T06:02:23.931Z] abf52058c02a: Layer already exists [2021-10-05T06:02:23.931Z] 77f7deb8f2d3: Layer already exists [2021-10-05T06:02:23.931Z] 7772c5669c42: Layer already exists [2021-10-05T06:02:23.931Z] 2.0.1-dev.8: digest: sha256:d5977675b0b0d086138cb6d265cabed667bbf6af3ec59bba6c2040ec30baaaf9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:02:24.303Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8988443161b762d02568202c1b71a3f56b05d0c9-2.0.1-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:02:24.664Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8988443161b762d02568202c1b71a3f56b05d0c9-2.0.1-dev.8 [2021-10-05T06:02:24.664Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-05T06:02:24.664Z] 7772c5669c42: Preparing [2021-10-05T06:02:24.664Z] abf52058c02a: Preparing [2021-10-05T06:02:24.664Z] 77f7deb8f2d3: Preparing [2021-10-05T06:02:24.664Z] bc037aad3c0a: Preparing [2021-10-05T06:02:24.664Z] ee420dfed78a: Preparing [2021-10-05T06:02:24.664Z] abf52058c02a: Layer already exists [2021-10-05T06:02:24.664Z] ee420dfed78a: Layer already exists [2021-10-05T06:02:24.664Z] 7772c5669c42: Layer already exists [2021-10-05T06:02:24.664Z] 77f7deb8f2d3: Layer already exists [2021-10-05T06:02:24.944Z] bc037aad3c0a: Layer already exists [2021-10-05T06:02:24.944Z] 8988443161b762d02568202c1b71a3f56b05d0c9-2.0.1-dev.8: digest: sha256:d5977675b0b0d086138cb6d265cabed667bbf6af3ec59bba6c2040ec30baaaf9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:02:25.312Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:02:25.675Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-10-05T06:02:25.675Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-05T06:02:25.675Z] 7772c5669c42: Preparing [2021-10-05T06:02:25.675Z] abf52058c02a: Preparing [2021-10-05T06:02:25.675Z] 77f7deb8f2d3: Preparing [2021-10-05T06:02:25.675Z] bc037aad3c0a: Preparing [2021-10-05T06:02:25.675Z] ee420dfed78a: Preparing [2021-10-05T06:02:25.958Z] 7772c5669c42: Layer already exists [2021-10-05T06:02:25.958Z] abf52058c02a: Layer already exists [2021-10-05T06:02:25.958Z] bc037aad3c0a: Layer already exists [2021-10-05T06:02:25.958Z] 77f7deb8f2d3: Layer already exists [2021-10-05T06:02:25.958Z] ee420dfed78a: Layer already exists [2021-10-05T06:02:25.958Z] main: digest: sha256:d5977675b0b0d086138cb6d265cabed667bbf6af3ec59bba6c2040ec30baaaf9 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-05T06:02:26.032Z] ===================================================== [Pipeline] echo [2021-10-05T06:02:26.047Z] taggedImages: [2021-10-05T06:02:26.047Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:8988443161b762d02568202c1b71a3f56b05d0c9 [2021-10-05T06:02:26.047Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-10-05T06:02:26.047Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.8 [2021-10-05T06:02:26.047Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:8988443161b762d02568202c1b71a3f56b05d0c9-2.0.1-dev.8 [2021-10-05T06:02:26.047Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:02:26.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T06:02:26.528Z] [2021-10-05T06:02:26.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:02:26.932Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T06:02:27.223Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-05T06:02:27.223Z] 448f6bf000e3: Pulling fs layer [2021-10-05T06:02:27.223Z] f757da607395: Pulling fs layer [2021-10-05T06:02:27.223Z] 05883995daec: Pulling fs layer [2021-10-05T06:02:27.223Z] 8603b9c90790: Pulling fs layer [2021-10-05T06:02:27.223Z] 1560dd03e051: Pulling fs layer [2021-10-05T06:02:27.223Z] 27f5ce0e4adf: Pulling fs layer [2021-10-05T06:02:27.223Z] c2d8d7efcc4b: Pulling fs layer [2021-10-05T06:02:27.223Z] 8603b9c90790: Waiting [2021-10-05T06:02:27.223Z] 1560dd03e051: Waiting [2021-10-05T06:02:27.223Z] 27f5ce0e4adf: Waiting [2021-10-05T06:02:27.223Z] c2d8d7efcc4b: Waiting [2021-10-05T06:02:27.514Z] f757da607395: Verifying Checksum [2021-10-05T06:02:27.514Z] f757da607395: Download complete [2021-10-05T06:02:27.514Z] 8603b9c90790: Download complete [2021-10-05T06:02:27.834Z] 05883995daec: Verifying Checksum [2021-10-05T06:02:27.834Z] 05883995daec: Download complete [2021-10-05T06:02:27.834Z] 1560dd03e051: Verifying Checksum [2021-10-05T06:02:27.834Z] 1560dd03e051: Download complete [2021-10-05T06:02:27.834Z] 27f5ce0e4adf: Verifying Checksum [2021-10-05T06:02:27.834Z] 27f5ce0e4adf: Download complete [2021-10-05T06:02:28.121Z] 448f6bf000e3: Verifying Checksum [2021-10-05T06:02:28.121Z] 448f6bf000e3: Download complete [2021-10-05T06:02:31.605Z] c2d8d7efcc4b: Verifying Checksum [2021-10-05T06:02:31.605Z] c2d8d7efcc4b: Download complete [2021-10-05T06:02:31.887Z] 448f6bf000e3: Pull complete [2021-10-05T06:02:32.896Z] f757da607395: Pull complete [2021-10-05T06:02:34.373Z] 05883995daec: Pull complete [2021-10-05T06:02:34.658Z] 8603b9c90790: Pull complete [2021-10-05T06:02:35.669Z] 1560dd03e051: Pull complete [2021-10-05T06:02:35.951Z] 27f5ce0e4adf: Pull complete [2021-10-05T06:02:51.182Z] c2d8d7efcc4b: Pull complete [2021-10-05T06:02:51.182Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-05T06:02:51.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T06:02:51.182Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-05T06:02:51.479Z] prd-ubuntu18.04-docker-arm64-4c-16g-2048 does not seem to be running inside a container [2021-10-05T06:02:51.578Z] $ 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/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-05T06:02:56.077Z] $ docker top 2365bfad7e890a9c423c68241b4ad0cce8d29133f7c8bfb454b304b7b3e34e6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T06:02:57.064Z] ---> job-cost.sh [2021-10-05T06:02:57.064Z] lf-activate-venv: SKIPPING [2021-10-05T06:02:57.064Z] INFO: No Stack... [2021-10-05T06:03:19.337Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-05T06:03:19.620Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T06:03:20.327Z] + cat /w/workspace/device-rest-go/9/archives/cost.csv [2021-10-05T06:03:20.327Z] + cut -d, -f6 [Pipeline] lock [2021-10-05T06:03:20.407Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-9-stack-cost] [2021-10-05T06:03:20.420Z] Resource [jenkins-edgexfoundry-device-rest-go-main-9-stack-cost] did not exist. Created. [2021-10-05T06:03:20.421Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T06:03:21.143Z] /w/workspace/device-rest-go/9@tmp/durable-97a9bc48/script.sh: 1: /w/workspace/device-rest-go/9@tmp/durable-97a9bc48/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-05T06:03:21.843Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-05T06:03:21.883Z] Warning: overwriting stash ‘stack-cost’ [2021-10-05T06:03:21.925Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T06:03:21.935Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-9-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T06:03:21.955Z] $ docker stop --time=1 2365bfad7e890a9c423c68241b4ad0cce8d29133f7c8bfb454b304b7b3e34e6a [2021-10-05T06:03:23.606Z] $ docker rm -f 2365bfad7e890a9c423c68241b4ad0cce8d29133f7c8bfb454b304b7b3e34e6a [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) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-05T06:03:24.601Z] provisioning config files... [2021-10-05T06:03:24.618Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7883532288022247686tmp [Pipeline] { [Pipeline] sh [2021-10-05T06:03:24.948Z] + set +x [2021-10-05T06:03:24.948Z] + curl -s https://codecov.io/bash [2021-10-05T06:03:24.948Z] + bash -s -- [2021-10-05T06:03:24.948Z] [2021-10-05T06:03:24.948Z] _____ _ [2021-10-05T06:03:24.948Z] / ____| | | [2021-10-05T06:03:24.948Z] | | ___ __| | ___ ___ _____ __ [2021-10-05T06:03:24.948Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-05T06:03:24.948Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-05T06:03:24.948Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-05T06:03:24.948Z] Bash-1.0.6 [2021-10-05T06:03:24.948Z] [2021-10-05T06:03:24.948Z] [2021-10-05T06:03:24.948Z] ==> git version 2.24.4 found [2021-10-05T06:03:24.948Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-05T06:03:24.948Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-05T06:03:24.948Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-05T06:03:24.948Z] ==> Jenkins CI detected. [2021-10-05T06:03:24.948Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-10-05T06:03:24.948Z] project root: . [2021-10-05T06:03:24.948Z] --> token set from env [2021-10-05T06:03:24.948Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-05T06:03:25.213Z] ==> Running gcov in . (disable via -X gcov) [2021-10-05T06:03:25.213Z] ==> Python coveragepy not found [2021-10-05T06:03:25.213Z] ==> Searching for coverage reports in: [2021-10-05T06:03:25.213Z] + . [2021-10-05T06:03:25.213Z] -> Found 1 reports [2021-10-05T06:03:25.213Z] ==> Detecting git/mercurial file structure [2021-10-05T06:03:25.213Z] ==> Reading reports [2021-10-05T06:03:25.213Z] + ./coverage.out bytes=8435 [2021-10-05T06:03:25.213Z] ==> Appending adjustments [2021-10-05T06:03:25.213Z] https://docs.codecov.io/docs/fixing-reports [2021-10-05T06:03:25.213Z] + Found adjustments [2021-10-05T06:03:25.213Z] ==> Gzipping contents [2021-10-05T06:03:25.213Z] 4.0K /tmp/codecov.2wJKLn.gz [2021-10-05T06:03:25.213Z] ==> Uploading reports [2021-10-05T06:03:25.213Z] url: https://codecov.io [2021-10-05T06:03:25.213Z] query: branch=main&commit=8988443161b762d02568202c1b71a3f56b05d0c9&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-05T06:03:25.213Z] -> Pinging Codecov [2021-10-05T06:03:25.213Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=8988443161b762d02568202c1b71a3f56b05d0c9&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-05T06:03:25.493Z] -> Uploading to [2021-10-05T06:03:25.493Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-05/4E5D53B4F1F92C436F7061BF334D961C/8988443161b762d02568202c1b71a3f56b05d0c9/501f4c6c-9b71-43c5-a5be-3435568d8599.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211005T060325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f80e97cc6fa99133c833c1b9594508bf16d927bc5a5383f0dd4b7a58c46d6cf [2021-10-05T06:03:25.493Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-05T06:03:25.493Z] Dload Upload Total Spent Left Speed [2021-10-05T06:03:25.760Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1746 0 0 100 1746 0 5636 --:--:-- --:--:-- --:--:-- 5650 [2021-10-05T06:03:25.760Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/8988443161b762d02568202c1b71a3f56b05d0c9 [Pipeline] } [2021-10-05T06:03:25.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-05T06:03:26.072Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-05T06:03:26.090Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:03:26.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-05T06:03:26.438Z] [2021-10-05T06:03:26.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:03:26.771Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-05T06:03:26.771Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-05T06:03:26.771Z] 188c0c94c7c5: Pulling fs layer [2021-10-05T06:03:26.771Z] 0ef7d3d256c8: Pulling fs layer [2021-10-05T06:03:26.771Z] de9db76c5a1d: Pulling fs layer [2021-10-05T06:03:26.771Z] 0eba1c9be4d2: Pulling fs layer [2021-10-05T06:03:26.771Z] 0d57e429df01: Pulling fs layer [2021-10-05T06:03:26.771Z] 4e4be7b47b0d: Pulling fs layer [2021-10-05T06:03:26.771Z] e1f770b5df2f: Pulling fs layer [2021-10-05T06:03:26.771Z] 85a0685a4137: Pulling fs layer [2021-10-05T06:03:26.771Z] 0d57e429df01: Waiting [2021-10-05T06:03:26.771Z] 4e4be7b47b0d: Waiting [2021-10-05T06:03:26.771Z] e1f770b5df2f: Waiting [2021-10-05T06:03:26.771Z] 85a0685a4137: Waiting [2021-10-05T06:03:26.771Z] 0eba1c9be4d2: Waiting [2021-10-05T06:03:26.771Z] de9db76c5a1d: Verifying Checksum [2021-10-05T06:03:26.771Z] de9db76c5a1d: Download complete [2021-10-05T06:03:26.771Z] 0ef7d3d256c8: Verifying Checksum [2021-10-05T06:03:26.771Z] 0ef7d3d256c8: Download complete [2021-10-05T06:03:27.039Z] 0d57e429df01: Verifying Checksum [2021-10-05T06:03:27.039Z] 0d57e429df01: Download complete [2021-10-05T06:03:27.039Z] 4e4be7b47b0d: Verifying Checksum [2021-10-05T06:03:27.039Z] 4e4be7b47b0d: Download complete [2021-10-05T06:03:27.039Z] 188c0c94c7c5: Verifying Checksum [2021-10-05T06:03:27.039Z] 188c0c94c7c5: Download complete [2021-10-05T06:03:27.039Z] 188c0c94c7c5: Pull complete [2021-10-05T06:03:27.306Z] 0ef7d3d256c8: Pull complete [2021-10-05T06:03:27.306Z] de9db76c5a1d: Pull complete [2021-10-05T06:03:27.573Z] e1f770b5df2f: Verifying Checksum [2021-10-05T06:03:27.573Z] e1f770b5df2f: Download complete [2021-10-05T06:03:27.842Z] 0eba1c9be4d2: Verifying Checksum [2021-10-05T06:03:27.842Z] 0eba1c9be4d2: Download complete [2021-10-05T06:03:28.803Z] 85a0685a4137: Verifying Checksum [2021-10-05T06:03:28.803Z] 85a0685a4137: Download complete [2021-10-05T06:03:32.184Z] 0eba1c9be4d2: Pull complete [2021-10-05T06:03:32.184Z] 0d57e429df01: Pull complete [2021-10-05T06:03:32.184Z] 4e4be7b47b0d: Pull complete [2021-10-05T06:03:32.772Z] e1f770b5df2f: Pull complete [2021-10-05T06:03:36.141Z] 85a0685a4137: Pull complete [2021-10-05T06:03:36.141Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-05T06:03:36.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-05T06:03:36.141Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-05T06:03:36.228Z] prd-centos7-docker-4c-2g-1885 does not seem to be running inside a container [2021-10-05T06:03:36.277Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-05T06:03:38.234Z] $ docker top cdf9291b3fb42c6943f040d4b675bc8dc831109675b7fba6c278d7b53e7c7f28 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-05T06:03:38.328Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-05T06:03:38.631Z] + set -o pipefail [2021-10-05T06:03:38.631Z] + snyk monitor '--org=edgex-jenkins' [2021-10-05T06:03:42.884Z] [2021-10-05T06:03:42.884Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-10-05T06:03:42.884Z] [2021-10-05T06:03:42.884Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/e2b9077a-b3ec-4d83-8a7c-25b97a343e74 [2021-10-05T06:03:42.884Z] [2021-10-05T06:03:42.884Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-10-05T06:03:42.884Z] [2021-10-05T06:03:42.884Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-05T06:03:42.884Z] [2021-10-05T06:03:42.884Z] [2021-10-05T06:03:42.884Z] You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-05T06:03:42.884Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-05T06:03:42.895Z] $ docker stop --time=1 cdf9291b3fb42c6943f040d4b675bc8dc831109675b7fba6c278d7b53e7c7f28 [2021-10-05T06:03:44.909Z] $ docker rm -f cdf9291b3fb42c6943f040d4b675bc8dc831109675b7fba6c278d7b53e7c7f28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T06:03:45.901Z] + git log --format=format:%s -1 8988443161b762d02568202c1b71a3f56b05d0c9 [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:03:46.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T06:03:46.221Z] . [Pipeline] withDockerContainer [2021-10-05T06:03:46.295Z] prd-centos7-docker-4c-2g-1885 does not seem to be running inside a container [2021-10-05T06:03:46.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-05T06:03:46.670Z] $ docker top fe7292806ced7011c7a964a98f7d5198d469cf0de9e255d11f76beb32a647f48 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-05T06:03:46.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T06:03:46.799Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T06:03:46.920Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T06:03:46.915Z] $ docker exec fe7292806ced7011c7a964a98f7d5198d469cf0de9e255d11f76beb32a647f48 ssh-agent [2021-10-05T06:03:47.019Z] SSH_AUTH_SOCK=/tmp/ssh-07ssPekmZ7r8/agent.14 [2021-10-05T06:03:47.019Z] SSH_AGENT_PID=20 [2021-10-05T06:03:47.027Z] Running ssh-add (command line suppressed) [2021-10-05T06:03:47.132Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2972700375675382276.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2972700375675382276.key) [2021-10-05T06:03:47.156Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T06:03:47.469Z] + git semver tag [2021-10-05T06:03:47.469Z] # -> Open(): unable to determine branch for HEAD [2021-10-05T06:03:47.469Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-05T06:03:47.469Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-05T06:03:47.469Z] # $SEMVER_REMOTE_NAME = origin [2021-10-05T06:03:47.469Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-05T06:03:47.469Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-05T06:03:47.469Z] # $SEMVER_BRANCH = main [2021-10-05T06:03:47.469Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-10-05T06:03:47.469Z] # 8988443161b762d02568202c1b71a3f56b05d0c9 HEAD [2021-10-05T06:03:47.469Z] # -> Force: false [2021-10-05T06:03:47.469Z] # d7d7094f5b6e6c075a464c6c9487c5a6c5137fea refs/tags/v2.0.1-dev.8 [Pipeline] } [2021-10-05T06:03:47.474Z] $ docker exec --env ******** --env ******** fe7292806ced7011c7a964a98f7d5198d469cf0de9e255d11f76beb32a647f48 ssh-agent -k [2021-10-05T06:03:47.561Z] unset SSH_AUTH_SOCK; [2021-10-05T06:03:47.561Z] unset SSH_AGENT_PID; [2021-10-05T06:03:47.561Z] echo Agent pid 20 killed; [2021-10-05T06:03:47.580Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-05T06:03:47.923Z] + git semver [Pipeline] } [2021-10-05T06:03:47.934Z] $ docker stop --time=1 fe7292806ced7011c7a964a98f7d5198d469cf0de9e255d11f76beb32a647f48 [2021-10-05T06:03:49.116Z] $ docker rm -f fe7292806ced7011c7a964a98f7d5198d469cf0de9e255d11f76beb32a647f48 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:03:49.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-05T06:03:49.574Z] [2021-10-05T06:03:49.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:03:49.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-05T06:03:49.898Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-05T06:03:49.898Z] ab5ef0e58194: Pulling fs layer [2021-10-05T06:03:49.898Z] 9712f1f96733: Pulling fs layer [2021-10-05T06:03:49.898Z] 63f879dbbcfc: Pulling fs layer [2021-10-05T06:03:49.898Z] 0d9ebad4ef96: Pulling fs layer [2021-10-05T06:03:49.898Z] e9a5061849ea: Pulling fs layer [2021-10-05T06:03:49.898Z] d747dcd14b5f: Pulling fs layer [2021-10-05T06:03:49.898Z] 2de7ff778b66: Pulling fs layer [2021-10-05T06:03:49.898Z] e9a5061849ea: Waiting [2021-10-05T06:03:49.898Z] d747dcd14b5f: Waiting [2021-10-05T06:03:49.898Z] 2de7ff778b66: Waiting [2021-10-05T06:03:49.898Z] 0d9ebad4ef96: Waiting [2021-10-05T06:03:49.898Z] 9712f1f96733: Verifying Checksum [2021-10-05T06:03:49.898Z] 9712f1f96733: Download complete [2021-10-05T06:03:50.859Z] ab5ef0e58194: Download complete [2021-10-05T06:03:50.859Z] 63f879dbbcfc: Verifying Checksum [2021-10-05T06:03:50.859Z] 63f879dbbcfc: Download complete [2021-10-05T06:03:50.859Z] d747dcd14b5f: Verifying Checksum [2021-10-05T06:03:50.859Z] d747dcd14b5f: Download complete [2021-10-05T06:03:51.131Z] e9a5061849ea: Verifying Checksum [2021-10-05T06:03:51.131Z] e9a5061849ea: Download complete [2021-10-05T06:03:51.131Z] 0d9ebad4ef96: Verifying Checksum [2021-10-05T06:03:51.131Z] 0d9ebad4ef96: Download complete [2021-10-05T06:03:51.131Z] 2de7ff778b66: Verifying Checksum [2021-10-05T06:03:51.131Z] 2de7ff778b66: Download complete [2021-10-05T06:03:53.743Z] ab5ef0e58194: Pull complete [2021-10-05T06:03:53.743Z] 9712f1f96733: Pull complete [2021-10-05T06:03:54.709Z] 63f879dbbcfc: Pull complete [2021-10-05T06:03:59.014Z] 0d9ebad4ef96: Pull complete [2021-10-05T06:03:59.014Z] e9a5061849ea: Pull complete [2021-10-05T06:03:59.014Z] d747dcd14b5f: Pull complete [2021-10-05T06:03:59.991Z] 2de7ff778b66: Pull complete [2021-10-05T06:03:59.991Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-05T06:03:59.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-05T06:03:59.991Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-05T06:04:00.075Z] prd-centos7-docker-4c-2g-1885 does not seem to be running inside a container [2021-10-05T06:04:00.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-05T06:04:03.229Z] $ docker top ba020d4caf55fbd9457c01befe0ddf92614b193f898760d5b05a1d69b0582e33 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-05T06:04:03.344Z] provisioning config files... [2021-10-05T06:04:03.359Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8699456491184830578tmp [2021-10-05T06:04:03.379Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2289936350054022987tmp [2021-10-05T06:04:03.403Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6367326839089360820tmp [Pipeline] { [Pipeline] echo [2021-10-05T06:04:03.425Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T06:04:03.734Z] ---> sigul-configuration.sh [2021-10-05T06:04:03.734Z] gpg: directory `/root/.gnupg' created [2021-10-05T06:04:03.734Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-05T06:04:03.734Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-05T06:04:03.734Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-05T06:04:03.734Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-05T06:04:03.734Z] gpg: CAST5 encrypted data [2021-10-05T06:04:03.734Z] gpg: encrypted with 1 passphrase [2021-10-05T06:04:03.734Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-05T06:04:04.041Z] + mkdir /home/jenkins [2021-10-05T06:04:04.041Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-05T06:04:04.347Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-10-05T06:04:04.361Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T06:04:04.670Z] ---> sigul-install.sh [2021-10-05T06:04:04.670Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-05T06:04:04.978Z] + git tag --list [2021-10-05T06:04:04.979Z] v1.0.0 [2021-10-05T06:04:04.979Z] v1.1.0 [2021-10-05T06:04:04.979Z] v1.1.1 [2021-10-05T06:04:04.979Z] v1.1.2 [2021-10-05T06:04:04.979Z] v1.2.0 [2021-10-05T06:04:04.979Z] v1.2.1 [2021-10-05T06:04:04.979Z] v2.0.0 [2021-10-05T06:04:04.979Z] v2.0.1-dev.1 [2021-10-05T06:04:04.979Z] v2.0.1-dev.2 [2021-10-05T06:04:04.979Z] v2.0.1-dev.3 [2021-10-05T06:04:04.979Z] v2.0.1-dev.4 [2021-10-05T06:04:04.979Z] v2.0.1-dev.5 [2021-10-05T06:04:04.979Z] v2.0.1-dev.6 [2021-10-05T06:04:04.979Z] v2.0.1-dev.7 [2021-10-05T06:04:04.979Z] v2.0.1-dev.8 [Pipeline] sh [2021-10-05T06:04:05.315Z] + lftools sign git-tag v2.0.1-dev.8 [2021-10-05T06:04:05.895Z] Signing Git tag with Sigul... [2021-10-05T06:04:05.895Z] Signing v2.0.1-dev.8 [Pipeline] echo [2021-10-05T06:04:06.487Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T06:04:06.792Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-05T06:04:06.804Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-05T06:04:06.828Z] $ docker stop --time=1 ba020d4caf55fbd9457c01befe0ddf92614b193f898760d5b05a1d69b0582e33 [2021-10-05T06:04:08.040Z] $ docker rm -f ba020d4caf55fbd9457c01befe0ddf92614b193f898760d5b05a1d69b0582e33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:04:08.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T06:04:08.739Z] . [Pipeline] withDockerContainer [2021-10-05T06:04:08.821Z] prd-centos7-docker-4c-2g-1885 does not seem to be running inside a container [2021-10-05T06:04:08.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-05T06:04:09.224Z] $ docker top a0df94b17d87fb922e4a0efbd3bc0dc1a83e858d0b092d48bd5d8da7251a64fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-05T06:04:09.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T06:04:09.345Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T06:04:09.448Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T06:04:09.443Z] $ docker exec a0df94b17d87fb922e4a0efbd3bc0dc1a83e858d0b092d48bd5d8da7251a64fb ssh-agent [2021-10-05T06:04:09.561Z] SSH_AUTH_SOCK=/tmp/ssh-noL7xwYUTYF4/agent.15 [2021-10-05T06:04:09.561Z] SSH_AGENT_PID=21 [2021-10-05T06:04:09.569Z] Running ssh-add (command line suppressed) [2021-10-05T06:04:09.653Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4440900259314880406.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4440900259314880406.key) [2021-10-05T06:04:09.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T06:04:10.006Z] + git semver bump pre [2021-10-05T06:04:10.006Z] # -> Open(): unable to determine branch for HEAD [2021-10-05T06:04:10.006Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-05T06:04:10.006Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-05T06:04:10.006Z] # $SEMVER_REMOTE_NAME = origin [2021-10-05T06:04:10.006Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-05T06:04:10.006Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-05T06:04:10.006Z] # $SEMVER_BRANCH = main [2021-10-05T06:04:10.006Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-10-05T06:04:10.006Z] 2.0.1-dev.9 [Pipeline] } [2021-10-05T06:04:10.014Z] $ docker exec --env ******** --env ******** a0df94b17d87fb922e4a0efbd3bc0dc1a83e858d0b092d48bd5d8da7251a64fb ssh-agent -k [2021-10-05T06:04:10.106Z] unset SSH_AUTH_SOCK; [2021-10-05T06:04:10.106Z] unset SSH_AGENT_PID; [2021-10-05T06:04:10.106Z] echo Agent pid 21 killed; [2021-10-05T06:04:10.128Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-05T06:04:10.474Z] + git semver [Pipeline] } [2021-10-05T06:04:10.486Z] $ docker stop --time=1 a0df94b17d87fb922e4a0efbd3bc0dc1a83e858d0b092d48bd5d8da7251a64fb [2021-10-05T06:04:11.678Z] $ docker rm -f a0df94b17d87fb922e4a0efbd3bc0dc1a83e858d0b092d48bd5d8da7251a64fb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:04:12.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T06:04:12.076Z] . [Pipeline] withDockerContainer [2021-10-05T06:04:12.166Z] prd-centos7-docker-4c-2g-1885 does not seem to be running inside a container [2021-10-05T06:04:12.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-05T06:04:12.590Z] $ docker top 19aff503ff420059e39c492fb36a5cfe5631666eb2c480d103f8bca9fac26dc3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-05T06:04:12.836Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T06:04:12.837Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T06:04:12.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T06:04:13.011Z] $ docker exec 19aff503ff420059e39c492fb36a5cfe5631666eb2c480d103f8bca9fac26dc3 ssh-agent [2021-10-05T06:04:13.167Z] SSH_AUTH_SOCK=/tmp/ssh-TKEqOzgOyLPK/agent.13 [2021-10-05T06:04:13.167Z] SSH_AGENT_PID=19 [2021-10-05T06:04:13.268Z] Running ssh-add (command line suppressed) [2021-10-05T06:04:13.380Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6630051254685842811.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6630051254685842811.key) [2021-10-05T06:04:13.407Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T06:04:13.719Z] + git semver push [2021-10-05T06:04:13.719Z] # -> Open(): unable to determine branch for HEAD [2021-10-05T06:04:13.719Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-05T06:04:13.719Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-05T06:04:13.719Z] # $SEMVER_REMOTE_NAME = origin [2021-10-05T06:04:13.719Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-05T06:04:13.719Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-05T06:04:13.719Z] # $SEMVER_BRANCH = main [2021-10-05T06:04:13.719Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-10-05T06:04:15.655Z] $ docker exec --env ******** --env ******** 19aff503ff420059e39c492fb36a5cfe5631666eb2c480d103f8bca9fac26dc3 ssh-agent -k [2021-10-05T06:04:15.751Z] unset SSH_AUTH_SOCK; [2021-10-05T06:04:15.752Z] unset SSH_AGENT_PID; [2021-10-05T06:04:15.752Z] echo Agent pid 19 killed; [2021-10-05T06:04:15.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-05T06:04:16.129Z] + git semver [Pipeline] } [2021-10-05T06:04:16.140Z] $ docker stop --time=1 19aff503ff420059e39c492fb36a5cfe5631666eb2c480d103f8bca9fac26dc3 [2021-10-05T06:04:17.331Z] $ docker rm -f 19aff503ff420059e39c492fb36a5cfe5631666eb2c480d103f8bca9fac26dc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-05T06:04:18.262Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-05T06:04:18.588Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T06:04:19.169Z] ---> package-listing.sh [2021-10-05T06:04:19.169Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-05T06:04:19.169Z] ++ facter osfamily [2021-10-05T06:04:19.434Z] + OS_FAMILY=redhat [2021-10-05T06:04:19.434Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-10-05T06:04:19.434Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-05T06:04:19.434Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-05T06:04:19.434Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-05T06:04:19.434Z] + PACKAGES=/tmp/packages_start.txt [2021-10-05T06:04:19.434Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-10-05T06:04:19.434Z] + PACKAGES=/tmp/packages_end.txt [2021-10-05T06:04:19.434Z] + case "${OS_FAMILY}" in [2021-10-05T06:04:19.434Z] + sort [2021-10-05T06:04:19.434Z] + rpm -qa [2021-10-05T06:04:20.018Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-05T06:04:20.018Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-05T06:04:20.018Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-05T06:04:20.018Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-10-05T06:04:20.018Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-10-05T06:04:20.018Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2021-10-05T06:04:20.033Z] 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-05T06:04:20.330Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:04:20.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T06:04:20.643Z] [2021-10-05T06:04:20.643Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T06:04:20.976Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T06:04:20.976Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T06:04:20.976Z] b4d181a07f80: Pulling fs layer [2021-10-05T06:04:20.976Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T06:04:20.976Z] ed53099fbce6: Pulling fs layer [2021-10-05T06:04:20.976Z] dc539afda2c1: Pulling fs layer [2021-10-05T06:04:20.976Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T06:04:20.976Z] 9065ff56babe: Pulling fs layer [2021-10-05T06:04:20.976Z] d287ab97295c: Pulling fs layer [2021-10-05T06:04:20.976Z] dc539afda2c1: Waiting [2021-10-05T06:04:20.976Z] 77bc0d833cb6: Waiting [2021-10-05T06:04:20.976Z] 9065ff56babe: Waiting [2021-10-05T06:04:20.976Z] d287ab97295c: Waiting [2021-10-05T06:04:21.244Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T06:04:21.244Z] a1111a8f2ec3: Download complete [2021-10-05T06:04:21.244Z] dc539afda2c1: Verifying Checksum [2021-10-05T06:04:21.244Z] dc539afda2c1: Download complete [2021-10-05T06:04:21.244Z] ed53099fbce6: Verifying Checksum [2021-10-05T06:04:21.244Z] ed53099fbce6: Download complete [2021-10-05T06:04:21.244Z] 9065ff56babe: Verifying Checksum [2021-10-05T06:04:21.244Z] 9065ff56babe: Download complete [2021-10-05T06:04:21.244Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T06:04:21.244Z] 77bc0d833cb6: Download complete [2021-10-05T06:04:21.244Z] b4d181a07f80: Verifying Checksum [2021-10-05T06:04:21.244Z] b4d181a07f80: Download complete [2021-10-05T06:04:22.217Z] d287ab97295c: Verifying Checksum [2021-10-05T06:04:22.217Z] d287ab97295c: Download complete [2021-10-05T06:04:22.803Z] b4d181a07f80: Pull complete [2021-10-05T06:04:23.074Z] a1111a8f2ec3: Pull complete [2021-10-05T06:04:23.670Z] ed53099fbce6: Pull complete [2021-10-05T06:04:23.670Z] dc539afda2c1: Pull complete [2021-10-05T06:04:23.940Z] 77bc0d833cb6: Pull complete [2021-10-05T06:04:23.940Z] 9065ff56babe: Pull complete [2021-10-05T06:04:29.330Z] d287ab97295c: Pull complete [2021-10-05T06:04:29.330Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T06:04:29.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T06:04:29.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T06:04:29.411Z] prd-centos7-docker-4c-2g-1885 does not seem to be running inside a container [2021-10-05T06:04:29.452Z] $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-05T06:04:31.710Z] $ docker top 19e8a07987099d91d871f2cc451e4a91aa8415d95ae4f876585451b718d88d15 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T06:04:32.125Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-05T06:04:32.436Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-05T06:04:32.743Z] + ls /var/log/sa-host [2021-10-05T06:04:32.743Z] + sadf -c /var/log/sa-host/sa05 [2021-10-05T06:04:32.743Z] file_magic: OK [2021-10-05T06:04:32.743Z] HZ: Using current value: 100 [2021-10-05T06:04:32.743Z] file_header: OK [2021-10-05T06:04:32.743Z] 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-05T06:04:32.743Z] Statistics: [2021-10-05T06:04:32.743Z] 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... [2021-10-05T06:04:32.743Z] File successfully converted to sysstat format version 12.0.3 [2021-10-05T06:04:32.743Z] + sadf -c /var/log/sa-host/sa30 [2021-10-05T06:04:32.743Z] file_magic: OK [2021-10-05T06:04:32.743Z] HZ: Using current value: 100 [2021-10-05T06:04:32.743Z] file_header: OK [2021-10-05T06:04:32.743Z] 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-05T06:04:32.743Z] Statistics: [2021-10-05T06:04:32.743Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-05T06:04:32.743Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T06:04:32.989Z] provisioning config files... [2021-10-05T06:04:33.004Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5630187455253605649tmp [Pipeline] { [Pipeline] echo [2021-10-05T06:04:33.029Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T06:04:33.334Z] ---> create-netrc.sh [Pipeline] } [2021-10-05T06:04:33.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-05T06:04:33.720Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-05T06:04:33.734Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T06:04:34.039Z] ---> sudo-logs.sh [2021-10-05T06:04:34.039Z] Archiving 'sudo' log.. [2021-10-05T06:04:34.039Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1885.novalocal: Name or service not known [2021-10-05T06:04:34.039Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1885.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-05T06:04:34.077Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T06:04:34.385Z] ---> job-cost.sh [2021-10-05T06:04:34.385Z] lf-activate-venv: SKIPPING [2021-10-05T06:04:34.385Z] DEBUG: total: 0.10999999940395355 [2021-10-05T06:04:34.385Z] INFO: Retrieving Stack Cost... [2021-10-05T06:04:34.648Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T06:04:35.228Z] INFO: Archiving Costs [Pipeline] echo [2021-10-05T06:04:35.245Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T06:04:35.554Z] ---> logs-deploy.sh [2021-10-05T06:04:35.554Z] lf-activate-venv: SKIPPING [2021-10-05T06:04:35.554Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/9 [2021-10-05T06:04:35.554Z] INFO: archiving workspace using pattern(s): [2021-10-05T06:04:36.139Z] Archives upload complete. [2021-10-05T06:04:36.405Z] INFO: archiving logs to Nexus