Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2fa5af78a65124eb3e46825fc0444c4be12292c1 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-ssh6348934966949278817.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh4444853239541774284.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh2784902653594103165.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh3924490036437179185.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-ssh2479614649570416338.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 ‘prd-centos7-blackbox-4c-2g-2297’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-blackbox-4c-2g-2298’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-blackbox-4c-2g-2299’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-434’ is offline ‘prd-centos7-docker-4c-2g-444’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-441’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-442’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-448 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-ssh2458415660778036700.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 2fa5af78a65124eb3e46825fc0444c4be12292c1 (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 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 Commit message: "Merge pull request #130 from jpwhitemn/update-toml-add-gov-docs" > git rev-list --no-walk ebfdf0cb37e6937bdbae1f20ddf4825a64340012 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-11T20:33:22.335Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-11T20:33:22.437Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-11T20:33:22.469Z] ========================================================= [2021-08-11T20:33:22.469Z] EdgeX Global Pipelines Version Info [2021-08-11T20:33:22.469Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:33:23.697Z] ------------------- [2021-08-11T20:33:23.697Z] stable info: [2021-08-11T20:33:23.697Z] ------------------- [2021-08-11T20:33:23.697Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-11T20:33:23.697Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T20:33:23.697Z] Message: update stable to v1.0.205 [2021-08-11T20:33:24.285Z] ------------------- [2021-08-11T20:33:24.285Z] experimental info: [2021-08-11T20:33:24.285Z] ------------------- [2021-08-11T20:33:24.285Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-11T20:33:24.285Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T20:33:24.285Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-11T20:33:24.424Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-08-11T20:33:24.451Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-08-11T20:33:24.476Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-11T20:33:24.501Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-11T20:33:24.526Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-11T20:33:24.553Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-11T20:33:24.583Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-11T20:33:24.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-11T20:33:24.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-11T20:33:24.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-11T20:33:24.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-11T20:33:24.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-11T20:33:24.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-08-11T20:33:24.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-11T20:33:24.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-11T20:33:24.842Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-11T20:33:24.872Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-11T20:33:24.908Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T20:33:24.943Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T20:33:24.974Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-11T20:33:25.024Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-11T20:33:25.053Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-08-11T20:33:25.078Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-08-11T20:33:25.104Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-11T20:33:25.130Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-11T20:33:25.158Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-11T20:33:25.183Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-11T20:33:25.210Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-08-11T20:33:25.237Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-08-11T20:33:25.265Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-08-11T20:33:25.291Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2fa5af78a65124eb3e46825fc0444c4be12292c1 [Pipeline] echo [2021-08-11T20:33:25.318Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2fa5af7 [Pipeline] echo [2021-08-11T20:33:25.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:33:25.419Z] provisioning config files... [2021-08-11T20:33:25.437Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3897660796800684367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:33:25.786Z] ---> docker-login.sh [2021-08-11T20:33:25.787Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:33:25.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:33:26.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:33:26.054Z] Configure a credential helper to remove this warning. See [2021-08-11T20:33:26.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:33:26.054Z] [2021-08-11T20:33:26.054Z] Login Succeeded [2021-08-11T20:33:26.054Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:33:26.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:33:26.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:33:26.054Z] Configure a credential helper to remove this warning. See [2021-08-11T20:33:26.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:33:26.054Z] [2021-08-11T20:33:26.054Z] Login Succeeded [2021-08-11T20:33:26.054Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:33:26.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:33:26.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:33:26.322Z] Configure a credential helper to remove this warning. See [2021-08-11T20:33:26.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:33:26.322Z] [2021-08-11T20:33:26.322Z] Login Succeeded [2021-08-11T20:33:26.322Z] nexus3.edgexfoundry.org:10004 [2021-08-11T20:33:26.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:33:26.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:33:26.589Z] Configure a credential helper to remove this warning. See [2021-08-11T20:33:26.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:33:26.589Z] [2021-08-11T20:33:26.589Z] Login Succeeded [2021-08-11T20:33:26.589Z] docker.io [2021-08-11T20:33:26.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:33:27.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:33:27.172Z] Configure a credential helper to remove this warning. See [2021-08-11T20:33:27.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:33:27.172Z] [2021-08-11T20:33:27.172Z] Login Succeeded [2021-08-11T20:33:27.172Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:33:27.187Z] 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-08-11T20:33:27.652Z] + git log --format=format:%s -1 2fa5af78a65124eb3e46825fc0444c4be12292c1 [Pipeline] echo [2021-08-11T20:33:27.702Z] GIT_COMMIT: 2fa5af78a65124eb3e46825fc0444c4be12292c1, Commit Message: Merge pull request #130 from jpwhitemn/update-toml-add-gov-docs [Pipeline] echo [2021-08-11T20:33:27.721Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:28.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:33:28.325Z] [2021-08-11T20:33:28.325Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:28.658Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:33:28.658Z] latest: Pulling from edgex-devops/git-semver [2021-08-11T20:33:28.658Z] 31603596830f: Pulling fs layer [2021-08-11T20:33:28.658Z] d4622e32a9a9: Pulling fs layer [2021-08-11T20:33:28.658Z] 1030fce36090: Pulling fs layer [2021-08-11T20:33:28.658Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-11T20:33:28.658Z] 6c6cb7e1b49b: Waiting [2021-08-11T20:33:28.658Z] d4622e32a9a9: Verifying Checksum [2021-08-11T20:33:28.658Z] d4622e32a9a9: Download complete [2021-08-11T20:33:29.243Z] 31603596830f: Verifying Checksum [2021-08-11T20:33:29.243Z] 31603596830f: Download complete [2021-08-11T20:33:29.243Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-11T20:33:29.243Z] 6c6cb7e1b49b: Download complete [2021-08-11T20:33:29.243Z] 31603596830f: Pull complete [2021-08-11T20:33:29.243Z] d4622e32a9a9: Pull complete [2021-08-11T20:33:29.830Z] 1030fce36090: Verifying Checksum [2021-08-11T20:33:29.830Z] 1030fce36090: Download complete [2021-08-11T20:33:30.418Z] 1030fce36090: Pull complete [2021-08-11T20:33:30.418Z] 6c6cb7e1b49b: Pull complete [2021-08-11T20:33:30.418Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-11T20:33:30.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:33:30.418Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-11T20:33:30.510Z] prd-centos7-docker-4c-2g-448 does not seem to be running inside a container [2021-08-11T20:33:30.585Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T20:33:31.412Z] $ docker top 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T20:33:31.546Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:33:31.546Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:33:31.656Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:33:31.657Z] $ docker exec 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f ssh-agent [2021-08-11T20:33:31.769Z] SSH_AUTH_SOCK=/tmp/ssh-gOg6p2rJoNIj/agent.14 [2021-08-11T20:33:31.770Z] SSH_AGENT_PID=20 [2021-08-11T20:33:31.781Z] Running ssh-add (command line suppressed) [2021-08-11T20:33:31.886Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6548309295796395625.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6548309295796395625.key) [2021-08-11T20:33:31.909Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:33:32.237Z] + git tag --points-at HEAD [Pipeline] } [2021-08-11T20:33:32.260Z] $ docker exec --env ******** --env ******** 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f ssh-agent -k [2021-08-11T20:33:32.361Z] unset SSH_AUTH_SOCK; [2021-08-11T20:33:32.361Z] unset SSH_AGENT_PID; [2021-08-11T20:33:32.361Z] echo Agent pid 20 killed; [2021-08-11T20:33:32.380Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-11T20:33:32.446Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:33:32.446Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:33:32.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:33:32.566Z] $ docker exec 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f ssh-agent [2021-08-11T20:33:32.680Z] SSH_AUTH_SOCK=/tmp/ssh-WnaLBr9YCYgN/agent.55 [2021-08-11T20:33:32.680Z] SSH_AGENT_PID=61 [2021-08-11T20:33:32.689Z] Running ssh-add (command line suppressed) [2021-08-11T20:33:32.785Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_343332202654322470.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_343332202654322470.key) [2021-08-11T20:33:32.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:33:33.128Z] + git semver init [2021-08-11T20:33:33.128Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T20:33:33.128Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-08-11T20:33:33.128Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-08-11T20:33:33.128Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T20:33:33.128Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T20:33:33.128Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T20:33:33.128Z] # $SEMVER_BRANCH = main [2021-08-11T20:33:33.128Z] # $SEMVER_TEMP = /tmp/semver-602322060 [2021-08-11T20:33:33.128Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-08-11T20:33:34.103Z] # '/tmp/semver-602322060' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-08-11T20:33:34.103Z] # -> Force: false [2021-08-11T20:33:34.103Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-08-11T20:33:34.118Z] $ docker exec --env ******** --env ******** 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f ssh-agent -k [2021-08-11T20:33:34.205Z] unset SSH_AUTH_SOCK; [2021-08-11T20:33:34.205Z] unset SSH_AGENT_PID; [2021-08-11T20:33:34.205Z] echo Agent pid 61 killed; [2021-08-11T20:33:34.222Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T20:33:34.584Z] + git semver [Pipeline] } [2021-08-11T20:33:34.608Z] $ docker stop --time=1 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f [2021-08-11T20:33:35.868Z] $ docker rm -f 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T20:33:36.260Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-11T20:33:36.598Z] Stashed 1 file(s) [Pipeline] echo [2021-08-11T20:33:36.600Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.3 [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-08-11T20:33:51.770Z] Still waiting to schedule task [2021-08-11T20:33:51.771Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-11T20:33:51.780Z] Still waiting to schedule task [2021-08-11T20:33:51.781Z] ‘prd-centos7-blackbox-4c-2g-2297’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-11T20:33:51.781Z] ‘prd-centos7-blackbox-4c-2g-2298’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-11T20:33:51.781Z] ‘prd-centos7-blackbox-4c-2g-2299’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-11T20:33:51.781Z] ‘prd-centos7-docker-4c-2g-434’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-11T20:33:51.781Z] ‘prd-centos7-docker-4c-2g-439’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-11T20:33:51.781Z] ‘prd-centos7-docker-4c-2g-443’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-11T20:33:51.781Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline [2021-08-11T20:33:51.781Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-425’ is offline [2021-08-11T20:33:51.781Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-431’ is offline [2021-08-11T20:33:51.781Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-447’ is offline [2021-08-11T20:40:18.058Z] Running on prd-centos7-docker-4c-2g-571 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-08-11T20:40:18.082Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-08-11T20:40:18.217Z] The recommended git tool is: git [2021-08-11T20:40:20.819Z] using credential edgex-jenkins-ssh [2021-08-11T20:40:20.844Z] Cloning the remote Git repository [2021-08-11T20:40:20.764Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-08-11T20:40:20.852Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-08-11T20:40:20.888Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-08-11T20:40:20.889Z] > git --version # timeout=10 [2021-08-11T20:40:20.896Z] > git --version # 'git version 2.24.4' [2021-08-11T20:40:20.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T20:40:20.926Z] [INFO] Currently running in a labeled security context [2021-08-11T20:40:20.927Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T20:40:20.927Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh1122014883291197929.key [2021-08-11T20:40:20.942Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T20:40:24.591Z] Avoid second fetch [2021-08-11T20:40:24.592Z] Checking out Revision 2fa5af78a65124eb3e46825fc0444c4be12292c1 (main) [2021-08-11T20:40:24.574Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-08-11T20:40:24.581Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T20:40:24.599Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T20:40:24.604Z] > git checkout -f 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 [2021-08-11T20:40:28.382Z] Commit message: "Merge pull request #130 from jpwhitemn/update-toml-add-gov-docs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:40:28.784Z] provisioning config files... [2021-08-11T20:40:28.811Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config4901685093403315459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:40:29.328Z] ---> docker-login.sh [2021-08-11T20:40:29.328Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:40:29.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:40:29.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:40:29.620Z] Configure a credential helper to remove this warning. See [2021-08-11T20:40:29.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:40:29.620Z] [2021-08-11T20:40:29.620Z] Login Succeeded [2021-08-11T20:40:29.620Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:40:29.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:40:29.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:40:29.620Z] Configure a credential helper to remove this warning. See [2021-08-11T20:40:29.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:40:29.620Z] [2021-08-11T20:40:29.620Z] Login Succeeded [2021-08-11T20:40:29.620Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:40:29.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:40:29.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:40:29.886Z] Configure a credential helper to remove this warning. See [2021-08-11T20:40:29.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:40:29.886Z] [2021-08-11T20:40:29.886Z] Login Succeeded [2021-08-11T20:40:29.886Z] nexus3.edgexfoundry.org:10004 [2021-08-11T20:40:29.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:40:29.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:40:29.886Z] Configure a credential helper to remove this warning. See [2021-08-11T20:40:29.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:40:29.886Z] [2021-08-11T20:40:29.886Z] Login Succeeded [2021-08-11T20:40:29.886Z] docker.io [2021-08-11T20:40:30.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:40:30.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:40:30.419Z] Configure a credential helper to remove this warning. See [2021-08-11T20:40:30.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:40:30.419Z] [2021-08-11T20:40:30.419Z] Login Succeeded [2021-08-11T20:40:30.419Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:40:30.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-11T20:40:30.688Z] ========================================================= [2021-08-11T20:40:30.688Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-11T20:40:30.688Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:40:31.010Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-08-11T20:40:31.010Z] Sending build context to Docker daemon 119.3kB [2021-08-11T20:40:31.010Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T20:40:31.010Z] Step 2/10 : FROM ${BASE} [2021-08-11T20:40:31.010Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-11T20:40:31.010Z] 540db60ca938: Pulling fs layer [2021-08-11T20:40:31.010Z] adcc1eea9eea: Pulling fs layer [2021-08-11T20:40:31.010Z] 4c4ab2625f07: Pulling fs layer [2021-08-11T20:40:31.010Z] db62176df00c: Pulling fs layer [2021-08-11T20:40:31.010Z] 3b30891b0d05: Pulling fs layer [2021-08-11T20:40:31.010Z] 06b49ca38bd5: Pulling fs layer [2021-08-11T20:40:31.010Z] c788192a36de: Pulling fs layer [2021-08-11T20:40:31.010Z] a77e37c0d609: Pulling fs layer [2021-08-11T20:40:31.010Z] c3185cebc471: Pulling fs layer [2021-08-11T20:40:31.010Z] 06b49ca38bd5: Waiting [2021-08-11T20:40:31.010Z] c788192a36de: Waiting [2021-08-11T20:40:31.010Z] db62176df00c: Waiting [2021-08-11T20:40:31.010Z] a77e37c0d609: Waiting [2021-08-11T20:40:31.010Z] c3185cebc471: Waiting [2021-08-11T20:40:31.010Z] 3b30891b0d05: Waiting [2021-08-11T20:40:31.276Z] 4c4ab2625f07: Verifying Checksum [2021-08-11T20:40:31.276Z] 4c4ab2625f07: Download complete [2021-08-11T20:40:31.276Z] adcc1eea9eea: Verifying Checksum [2021-08-11T20:40:31.276Z] adcc1eea9eea: Download complete [2021-08-11T20:40:31.276Z] 3b30891b0d05: Verifying Checksum [2021-08-11T20:40:31.276Z] 3b30891b0d05: Download complete [2021-08-11T20:40:31.276Z] 06b49ca38bd5: Verifying Checksum [2021-08-11T20:40:31.276Z] 06b49ca38bd5: Download complete [2021-08-11T20:40:31.276Z] c788192a36de: Verifying Checksum [2021-08-11T20:40:31.276Z] c788192a36de: Download complete [2021-08-11T20:40:31.548Z] 540db60ca938: Verifying Checksum [2021-08-11T20:40:31.549Z] 540db60ca938: Pull complete [2021-08-11T20:40:31.823Z] adcc1eea9eea: Pull complete [2021-08-11T20:40:31.823Z] 4c4ab2625f07: Pull complete [2021-08-11T20:40:31.823Z] a77e37c0d609: Verifying Checksum [2021-08-11T20:40:31.823Z] a77e37c0d609: Download complete [2021-08-11T20:40:37.464Z] c3185cebc471: Verifying Checksum [2021-08-11T20:40:37.464Z] c3185cebc471: Download complete [2021-08-11T20:40:40.048Z] db62176df00c: Download complete [2021-08-11T20:40:43.415Z] db62176df00c: Pull complete [2021-08-11T20:40:43.415Z] 3b30891b0d05: Pull complete [2021-08-11T20:40:43.415Z] 06b49ca38bd5: Pull complete [2021-08-11T20:40:43.415Z] c788192a36de: Pull complete [2021-08-11T20:40:43.415Z] a77e37c0d609: Pull complete [2021-08-11T20:40:45.369Z] c3185cebc471: Pull complete [2021-08-11T20:40:45.369Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-11T20:40:45.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-11T20:40:45.369Z] ---> 031687cdd783 [2021-08-11T20:40:45.369Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-11T20:40:46.787Z] ---> Running in 196a67700dae [2021-08-11T20:40:46.787Z] Removing intermediate container 196a67700dae [2021-08-11T20:40:46.787Z] ---> 8cc413709e31 [2021-08-11T20:40:46.787Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-08-11T20:40:46.787Z] ---> Running in 58ca12f58c0e [2021-08-11T20:40:46.787Z] Removing intermediate container 58ca12f58c0e [2021-08-11T20:40:46.787Z] ---> 0a893e4d6b1e [2021-08-11T20:40:46.787Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-11T20:40:47.075Z] ---> Running in 903b006433f9 [2021-08-11T20:40:47.075Z] Removing intermediate container 903b006433f9 [2021-08-11T20:40:47.075Z] ---> f2fbd928ab6c [2021-08-11T20:40:47.075Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:40:47.075Z] ---> Running in ac50967f5a6c [2021-08-11T20:40:47.666Z] Removing intermediate container ac50967f5a6c [2021-08-11T20:40:47.666Z] ---> 9cfbef78f091 [2021-08-11T20:40:47.666Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-11T20:40:47.666Z] ---> Running in a540a0165541 [2021-08-11T20:40:47.933Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-11T20:40:48.894Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-11T20:40:50.843Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-08-11T20:40:50.843Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-08-11T20:40:51.116Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-08-11T20:40:53.063Z] Executing busybox-1.32.1-r6.trigger [2021-08-11T20:40:53.063Z] OK: 223 MiB in 55 packages [2021-08-11T20:40:53.063Z] Removing intermediate container a540a0165541 [2021-08-11T20:40:53.063Z] ---> df507c0cd514 [2021-08-11T20:40:53.063Z] Step 8/10 : WORKDIR /device-rest-go [2021-08-11T20:40:53.063Z] ---> Running in 74ceb99eb07e [2021-08-11T20:40:53.330Z] Removing intermediate container 74ceb99eb07e [2021-08-11T20:40:53.330Z] ---> 7ff1a2039345 [2021-08-11T20:40:53.330Z] Step 9/10 : COPY . . [2021-08-11T20:40:53.330Z] ---> caf91534abc7 [2021-08-11T20:40:53.330Z] Step 10/10 : RUN go mod download [2021-08-11T20:40:53.330Z] ---> Running in 50d38ca324f4 [2021-08-11T20:41:03.429Z] Removing intermediate container 50d38ca324f4 [2021-08-11T20:41:03.429Z] ---> 9d1ba1adbbab [2021-08-11T20:41:03.429Z] Successfully built 9d1ba1adbbab [2021-08-11T20:41:03.429Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:41:03.779Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-11T20:41:03.779Z] . [Pipeline] withDockerContainer [2021-08-11T20:41:03.899Z] prd-centos7-docker-4c-2g-571 does not seem to be running inside a container [2021-08-11T20:41:03.976Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-11T20:41:04.420Z] $ docker top 2b6cc0217ff0e33bc9139066d429367772c28162d3a0a1bd43422525cedb6997 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T20:41:04.845Z] + go version [2021-08-11T20:41:04.846Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-11T20:41:04.862Z] $ docker stop --time=1 2b6cc0217ff0e33bc9139066d429367772c28162d3a0a1bd43422525cedb6997 [2021-08-11T20:41:06.079Z] $ docker rm -f 2b6cc0217ff0e33bc9139066d429367772c28162d3a0a1bd43422525cedb6997 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:41:06.581Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-11T20:41:06.581Z] . [Pipeline] withDockerContainer [2021-08-11T20:41:06.682Z] prd-centos7-docker-4c-2g-571 does not seem to be running inside a container [2021-08-11T20:41:06.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-11T20:41:07.126Z] $ docker top eb5f0a2306de7b72ff9ffd34960d66ccd6d004031f01920c55ccd56f5191afd0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-11T20:41:07.549Z] + go mod tidy [Pipeline] sh [2021-08-11T20:41:08.155Z] + make test [2021-08-11T20:41:08.155Z] go mod tidy [2021-08-11T20:41:08.155Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-08-11T20:41:08.741Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-08-11T20:41:23.826Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-08-11T20:41:24.107Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-08-11T20:41:24.107Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-11T20:41:30.795Z] gofmt -l . [2021-08-11T20:41:30.795Z] [ "`gofmt -l .`" = "" ] [2021-08-11T20:41:30.795Z] ./bin/test-go-mod-tidy.sh [2021-08-11T20:41:30.795Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-08-11T20:41:31.401Z] $ docker stop --time=1 eb5f0a2306de7b72ff9ffd34960d66ccd6d004031f01920c55ccd56f5191afd0 [2021-08-11T20:41:32.847Z] $ docker rm -f eb5f0a2306de7b72ff9ffd34960d66ccd6d004031f01920c55ccd56f5191afd0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T20:41:33.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-11T20:41:33.557Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-08-11T20:41:35.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-11T20:41:36.140Z] + ls -al . [2021-08-11T20:41:36.140Z] total 120 [2021-08-11T20:41:36.140Z] drwxrwxr-x. 8 jenkins jenkins 4096 Aug 11 20:41 . [2021-08-11T20:41:36.140Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 11 20:40 .. [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 6792 Aug 11 20:40 Attribution.txt [2021-08-11T20:41:36.140Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 11 20:40 bin [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 7459 Aug 11 20:40 CHANGELOG.md [2021-08-11T20:41:36.140Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 11 20:40 cmd [2021-08-11T20:41:36.140Z] -rw-r--r--. 1 jenkins jenkins 8513 Aug 11 20:41 coverage.out [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 1615 Aug 11 20:40 Dockerfile [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 1087 Aug 11 20:40 Dockerfile.build [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 151 Aug 11 20:40 .dockerignore [2021-08-11T20:41:36.140Z] drwxrwxr-x. 2 jenkins jenkins 76 Aug 11 20:40 driver [2021-08-11T20:41:36.140Z] drwxrwxr-x. 8 jenkins jenkins 162 Aug 11 20:40 .git [2021-08-11T20:41:36.140Z] drwxrwxr-x. 2 jenkins jenkins 103 Aug 11 20:40 .github [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 336 Aug 11 20:40 .gitignore [2021-08-11T20:41:36.140Z] -rw-r--r--. 1 jenkins jenkins 271 Aug 11 20:41 go.mod [2021-08-11T20:41:36.140Z] -rw-r--r--. 1 jenkins jenkins 20570 Aug 11 20:41 go.sum [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 11 20:40 GOVERNANCE.md [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 680 Aug 11 20:40 Jenkinsfile [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 11 20:40 LICENSE [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 996 Aug 11 20:40 Makefile [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 620 Aug 11 20:40 OWNERS.md [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 7661 Aug 11 20:40 README.md [2021-08-11T20:41:36.140Z] drwxrwxr-x. 4 jenkins jenkins 71 Aug 11 20:40 snap [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 11 Aug 11 20:33 VERSION [2021-08-11T20:41:36.140Z] -rw-rw-r--. 1 jenkins jenkins 713 Aug 11 20:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:41:36.678Z] + 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=2fa5af78a65124eb3e46825fc0444c4be12292c1 --label arch=amd64 --label version=2.0.1-dev.3 . [2021-08-11T20:41:36.678Z] Sending build context to Docker daemon 129kB [2021-08-11T20:41:36.678Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T20:41:36.678Z] Step 2/25 : FROM ${BASE} AS builder [2021-08-11T20:41:36.678Z] ---> 9d1ba1adbbab [2021-08-11T20:41:36.678Z] Step 3/25 : ARG MAKE='make build' [2021-08-11T20:41:36.678Z] ---> Running in 9c99dcd31642 [2021-08-11T20:41:36.678Z] Removing intermediate container 9c99dcd31642 [2021-08-11T20:41:36.678Z] ---> 61fee1dc0037 [2021-08-11T20:41:36.678Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-11T20:41:36.946Z] ---> Running in 90f8618c798d [2021-08-11T20:41:36.946Z] Removing intermediate container 90f8618c798d [2021-08-11T20:41:36.946Z] ---> 8697d8efbd28 [2021-08-11T20:41:36.946Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-08-11T20:41:36.946Z] ---> Running in cf80572ffe77 [2021-08-11T20:41:36.946Z] Removing intermediate container cf80572ffe77 [2021-08-11T20:41:36.946Z] ---> f96f7a022171 [2021-08-11T20:41:36.946Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:41:36.946Z] ---> Running in 038c6ec8c7ac [2021-08-11T20:41:37.534Z] Removing intermediate container 038c6ec8c7ac [2021-08-11T20:41:37.534Z] ---> f1b780db3366 [2021-08-11T20:41:37.534Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-11T20:41:37.534Z] ---> Running in 91a5962c33b1 [2021-08-11T20:41:37.801Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-11T20:41:38.759Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-11T20:41:39.026Z] OK: 223 MiB in 55 packages [2021-08-11T20:41:39.303Z] Removing intermediate container 91a5962c33b1 [2021-08-11T20:41:39.303Z] ---> 75f8db66ec3c [2021-08-11T20:41:39.303Z] Step 8/25 : WORKDIR /device-rest-go [2021-08-11T20:41:39.303Z] ---> Running in e1bb9ee414df [2021-08-11T20:41:39.575Z] Removing intermediate container e1bb9ee414df [2021-08-11T20:41:39.575Z] ---> 716cc032235b [2021-08-11T20:41:39.575Z] Step 9/25 : COPY . . [2021-08-11T20:41:39.575Z] ---> 196fe9ddc69c [2021-08-11T20:41:39.575Z] Step 10/25 : RUN go mod tidy [2021-08-11T20:41:39.575Z] ---> Running in 7f11a333ceaf [2021-08-11T20:41:40.547Z] Removing intermediate container 7f11a333ceaf [2021-08-11T20:41:40.547Z] ---> 79d05eefad2d [2021-08-11T20:41:40.547Z] Step 11/25 : RUN make update [2021-08-11T20:41:40.547Z] ---> Running in e2f001d42375 [2021-08-11T20:41:40.547Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-11T20:41:40.814Z] Removing intermediate container e2f001d42375 [2021-08-11T20:41:40.814Z] ---> 541b09a3b3d6 [2021-08-11T20:41:40.814Z] Step 12/25 : RUN $MAKE [2021-08-11T20:41:40.814Z] ---> Running in 3377d85a397d [2021-08-11T20:41:41.086Z] go mod tidy [2021-08-11T20:41:41.355Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.3" -o cmd/device-rest ./cmd [2021-08-11T20:41:54.336Z] Removing intermediate container 3377d85a397d [2021-08-11T20:41:54.336Z] ---> 8021c6ce7729 [2021-08-11T20:41:54.336Z] Step 13/25 : FROM alpine:3.12 [2021-08-11T20:41:54.336Z] 3.12: Pulling from library/alpine [2021-08-11T20:41:54.336Z] 339de151aab4: Pulling fs layer [2021-08-11T20:41:54.336Z] 339de151aab4: Verifying Checksum [2021-08-11T20:41:54.336Z] 339de151aab4: Download complete [2021-08-11T20:41:54.336Z] 339de151aab4: Pull complete [2021-08-11T20:41:54.336Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-11T20:41:54.336Z] Status: Downloaded newer image for alpine:3.12 [2021-08-11T20:41:54.336Z] ---> 13621d1b12d4 [2021-08-11T20:41:54.336Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-11T20:41:54.336Z] ---> Running in 0d4b40d98d79 [2021-08-11T20:41:54.336Z] Removing intermediate container 0d4b40d98d79 [2021-08-11T20:41:54.336Z] ---> e7e341e78d0f [2021-08-11T20:41:54.336Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-08-11T20:41:54.336Z] ---> Running in 0cecefe754c4 [2021-08-11T20:41:54.336Z] Removing intermediate container 0cecefe754c4 [2021-08-11T20:41:54.336Z] ---> da93bcb68234 [2021-08-11T20:41:54.336Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-11T20:41:54.336Z] ---> Running in 2e42e28a347c [2021-08-11T20:41:54.617Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-11T20:41:54.617Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-11T20:41:54.883Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-11T20:41:54.883Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-11T20:41:54.883Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-11T20:41:54.883Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-11T20:41:54.883Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-11T20:41:54.883Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-11T20:41:54.883Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T20:41:54.883Z] OK: 8 MiB in 20 packages [2021-08-11T20:41:55.151Z] Removing intermediate container 2e42e28a347c [2021-08-11T20:41:55.151Z] ---> de2d91630f7f [2021-08-11T20:41:55.151Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-08-11T20:41:55.420Z] ---> da8c39c13fac [2021-08-11T20:41:55.420Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-08-11T20:41:55.692Z] ---> 0ab1d85b5c5a [2021-08-11T20:41:55.692Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-08-11T20:41:55.959Z] ---> 00fd6fc0a658 [2021-08-11T20:41:55.959Z] Step 20/25 : EXPOSE 59986 [2021-08-11T20:41:55.959Z] ---> Running in 7ad91ee5725c [2021-08-11T20:41:55.959Z] Removing intermediate container 7ad91ee5725c [2021-08-11T20:41:55.959Z] ---> e9fa194923f2 [2021-08-11T20:41:55.959Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-08-11T20:41:55.959Z] ---> Running in 7ac1053c978b [2021-08-11T20:41:55.959Z] Removing intermediate container 7ac1053c978b [2021-08-11T20:41:55.959Z] ---> 2a2ae6b5eea6 [2021-08-11T20:41:55.959Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-08-11T20:41:55.959Z] ---> Running in eef248e87949 [2021-08-11T20:41:56.228Z] Removing intermediate container eef248e87949 [2021-08-11T20:41:56.228Z] ---> c8f04c54ed00 [2021-08-11T20:41:56.228Z] Step 23/25 : LABEL arch=amd64 [2021-08-11T20:41:56.228Z] ---> Running in 4edcae01fdef [2021-08-11T20:41:56.228Z] Removing intermediate container 4edcae01fdef [2021-08-11T20:41:56.228Z] ---> 20b32bd82340 [2021-08-11T20:41:56.228Z] Step 24/25 : LABEL git_sha=2fa5af78a65124eb3e46825fc0444c4be12292c1 [2021-08-11T20:41:56.228Z] ---> Running in d39bf98e5e4d [2021-08-11T20:41:56.497Z] Removing intermediate container d39bf98e5e4d [2021-08-11T20:41:56.497Z] ---> d042f68a0ed1 [2021-08-11T20:41:56.497Z] Step 25/25 : LABEL version=2.0.1-dev.3 [2021-08-11T20:41:56.497Z] ---> Running in e9ef3aad4401 [2021-08-11T20:41:56.497Z] Removing intermediate container e9ef3aad4401 [2021-08-11T20:41:56.497Z] ---> 305e4338b586 [2021-08-11T20:41:56.497Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-11T20:41:56.497Z] Successfully built 305e4338b586 [2021-08-11T20:41:56.497Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:41:56.664Z] provisioning config files... [2021-08-11T20:41:56.680Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config7926179074902428128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:41:57.040Z] ---> docker-login.sh [2021-08-11T20:41:57.040Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:41:57.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:41:57.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:41:57.041Z] Configure a credential helper to remove this warning. See [2021-08-11T20:41:57.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:41:57.041Z] [2021-08-11T20:41:57.041Z] Login Succeeded [2021-08-11T20:41:57.041Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:41:57.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:41:57.283Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-574 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-08-11T20:41:57.303Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [2021-08-11T20:41:57.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:41:57.308Z] Configure a credential helper to remove this warning. See [2021-08-11T20:41:57.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:41:57.308Z] [2021-08-11T20:41:57.308Z] Login Succeeded [2021-08-11T20:41:57.308Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:41:57.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:41:57.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:41:57.308Z] Configure a credential helper to remove this warning. See [2021-08-11T20:41:57.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:41:57.308Z] [2021-08-11T20:41:57.308Z] Login Succeeded [2021-08-11T20:41:57.308Z] nexus3.edgexfoundry.org:10004 [Pipeline] checkout [2021-08-11T20:41:57.536Z] The recommended git tool is: git [2021-08-11T20:41:57.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:41:57.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:41:57.576Z] Configure a credential helper to remove this warning. See [2021-08-11T20:41:57.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:41:57.576Z] [2021-08-11T20:41:57.576Z] Login Succeeded [2021-08-11T20:41:57.576Z] docker.io [2021-08-11T20:41:57.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:41:57.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:41:57.842Z] Configure a credential helper to remove this warning. See [2021-08-11T20:41:57.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:41:57.842Z] [2021-08-11T20:41:57.842Z] Login Succeeded [2021-08-11T20:41:57.842Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:41:57.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-11T20:41:57.935Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-08-11T20:41:57.935Z] 2fa5af78a65124eb3e46825fc0444c4be12292c1 [2021-08-11T20:41:57.935Z] latest [2021-08-11T20:41:57.935Z] 2.0.1-dev.3 [2021-08-11T20:41:57.935Z] 2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 [2021-08-11T20:41:57.935Z] main [2021-08-11T20:41:57.935Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:41:58.315Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2fa5af78a65124eb3e46825fc0444c4be12292c1 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:41:58.648Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2fa5af78a65124eb3e46825fc0444c4be12292c1 [2021-08-11T20:41:58.648Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-08-11T20:41:58.648Z] d3af60bc7f9b: Preparing [2021-08-11T20:41:58.648Z] ddfafc6e04c2: Preparing [2021-08-11T20:41:58.648Z] eb8957483596: Preparing [2021-08-11T20:41:58.648Z] 489d87c49b66: Preparing [2021-08-11T20:41:58.648Z] 32f366d666a5: Preparing [2021-08-11T20:41:58.648Z] 32f366d666a5: Layer already exists [2021-08-11T20:41:58.925Z] d3af60bc7f9b: Pushed [2021-08-11T20:41:58.925Z] ddfafc6e04c2: Pushed [2021-08-11T20:41:58.925Z] 489d87c49b66: Pushed [2021-08-11T20:42:00.341Z] eb8957483596: Pushed [2021-08-11T20:42:00.341Z] 2fa5af78a65124eb3e46825fc0444c4be12292c1: digest: sha256:1004304378d541753c39187b53bce6206480bcf69dc4537cb360bfd3cddfedc9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:42:00.683Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:42:01.008Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-08-11T20:42:01.008Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-08-11T20:42:01.008Z] d3af60bc7f9b: Preparing [2021-08-11T20:42:01.008Z] ddfafc6e04c2: Preparing [2021-08-11T20:42:01.008Z] eb8957483596: Preparing [2021-08-11T20:42:01.008Z] 489d87c49b66: Preparing [2021-08-11T20:42:01.008Z] 32f366d666a5: Preparing [2021-08-11T20:42:01.008Z] ddfafc6e04c2: Layer already exists [2021-08-11T20:42:01.008Z] d3af60bc7f9b: Layer already exists [2021-08-11T20:42:01.008Z] 32f366d666a5: Layer already exists [2021-08-11T20:42:01.008Z] 489d87c49b66: Layer already exists [2021-08-11T20:42:01.008Z] eb8957483596: Layer already exists [2021-08-11T20:42:01.008Z] latest: digest: sha256:1004304378d541753c39187b53bce6206480bcf69dc4537cb360bfd3cddfedc9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:42:01.336Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:42:01.664Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.3 [2021-08-11T20:42:01.664Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-08-11T20:42:01.664Z] d3af60bc7f9b: Preparing [2021-08-11T20:42:01.664Z] ddfafc6e04c2: Preparing [2021-08-11T20:42:01.664Z] eb8957483596: Preparing [2021-08-11T20:42:01.664Z] 489d87c49b66: Preparing [2021-08-11T20:42:01.664Z] 32f366d666a5: Preparing [2021-08-11T20:42:01.664Z] ddfafc6e04c2: Layer already exists [2021-08-11T20:42:01.664Z] eb8957483596: Layer already exists [2021-08-11T20:42:01.664Z] d3af60bc7f9b: Layer already exists [2021-08-11T20:42:01.664Z] 489d87c49b66: Layer already exists [2021-08-11T20:42:01.664Z] 32f366d666a5: Layer already exists [2021-08-11T20:42:01.664Z] 2.0.1-dev.3: digest: sha256:1004304378d541753c39187b53bce6206480bcf69dc4537cb360bfd3cddfedc9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:42:01.991Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:42:02.321Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 [2021-08-11T20:42:02.322Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-08-11T20:42:02.322Z] d3af60bc7f9b: Preparing [2021-08-11T20:42:02.322Z] ddfafc6e04c2: Preparing [2021-08-11T20:42:02.322Z] eb8957483596: Preparing [2021-08-11T20:42:02.322Z] 489d87c49b66: Preparing [2021-08-11T20:42:02.322Z] 32f366d666a5: Preparing [2021-08-11T20:42:02.322Z] ddfafc6e04c2: Layer already exists [2021-08-11T20:42:02.322Z] d3af60bc7f9b: Layer already exists [2021-08-11T20:42:02.322Z] 489d87c49b66: Layer already exists [2021-08-11T20:42:02.322Z] 32f366d666a5: Layer already exists [2021-08-11T20:42:02.322Z] eb8957483596: Layer already exists [2021-08-11T20:42:02.322Z] 2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3: digest: sha256:1004304378d541753c39187b53bce6206480bcf69dc4537cb360bfd3cddfedc9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:42:02.650Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:42:02.978Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-08-11T20:42:02.978Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-08-11T20:42:02.978Z] d3af60bc7f9b: Preparing [2021-08-11T20:42:02.978Z] ddfafc6e04c2: Preparing [2021-08-11T20:42:02.978Z] eb8957483596: Preparing [2021-08-11T20:42:02.978Z] 489d87c49b66: Preparing [2021-08-11T20:42:02.978Z] 32f366d666a5: Preparing [2021-08-11T20:42:02.978Z] 489d87c49b66: Layer already exists [2021-08-11T20:42:02.978Z] ddfafc6e04c2: Layer already exists [2021-08-11T20:42:02.978Z] 32f366d666a5: Layer already exists [2021-08-11T20:42:02.978Z] eb8957483596: Layer already exists [2021-08-11T20:42:02.978Z] d3af60bc7f9b: Layer already exists [2021-08-11T20:42:02.978Z] main: digest: sha256:1004304378d541753c39187b53bce6206480bcf69dc4537cb360bfd3cddfedc9 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-11T20:42:03.051Z] ===================================================== [Pipeline] echo [2021-08-11T20:42:03.070Z] taggedImages: [2021-08-11T20:42:03.070Z] - nexus3.edgexfoundry.org:10004/device-rest:2fa5af78a65124eb3e46825fc0444c4be12292c1 [2021-08-11T20:42:03.070Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-08-11T20:42:03.070Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.3 [2021-08-11T20:42:03.070Z] - nexus3.edgexfoundry.org:10004/device-rest:2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 [2021-08-11T20:42:03.070Z] - 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-08-11T20:42:03.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:42:03.493Z] [2021-08-11T20:42:03.493Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:42:03.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:42:03.828Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T20:42:03.828Z] b4d181a07f80: Pulling fs layer [2021-08-11T20:42:03.828Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T20:42:03.828Z] ed53099fbce6: Pulling fs layer [2021-08-11T20:42:03.828Z] dc539afda2c1: Pulling fs layer [2021-08-11T20:42:03.828Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T20:42:03.828Z] 9065ff56babe: Pulling fs layer [2021-08-11T20:42:03.828Z] d287ab97295c: Pulling fs layer [2021-08-11T20:42:03.828Z] dc539afda2c1: Waiting [2021-08-11T20:42:03.828Z] 77bc0d833cb6: Waiting [2021-08-11T20:42:03.828Z] 9065ff56babe: Waiting [2021-08-11T20:42:03.828Z] d287ab97295c: Waiting [2021-08-11T20:42:04.096Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T20:42:04.096Z] a1111a8f2ec3: Download complete [2021-08-11T20:42:04.096Z] dc539afda2c1: Verifying Checksum [2021-08-11T20:42:04.096Z] dc539afda2c1: Download complete [2021-08-11T20:42:04.323Z] using credential edgex-jenkins-ssh [2021-08-11T20:42:04.349Z] Cloning the remote Git repository [2021-08-11T20:42:04.361Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T20:42:04.361Z] 77bc0d833cb6: Download complete [2021-08-11T20:42:04.361Z] 9065ff56babe: Verifying Checksum [2021-08-11T20:42:04.361Z] 9065ff56babe: Download complete [2021-08-11T20:42:04.626Z] ed53099fbce6: Verifying Checksum [2021-08-11T20:42:04.626Z] ed53099fbce6: Download complete [2021-08-11T20:42:04.437Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-08-11T20:42:04.573Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-08-11T20:42:04.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-08-11T20:42:04.687Z] > git --version # timeout=10 [2021-08-11T20:42:04.722Z] > git --version # 'git version 2.17.1' [2021-08-11T20:42:04.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T20:42:04.872Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T20:42:05.591Z] b4d181a07f80: Verifying Checksum [2021-08-11T20:42:05.591Z] b4d181a07f80: Download complete [2021-08-11T20:42:06.531Z] Avoid second fetch [2021-08-11T20:42:06.532Z] Checking out Revision 2fa5af78a65124eb3e46825fc0444c4be12292c1 (main) [2021-08-11T20:42:06.568Z] b4d181a07f80: Pull complete [2021-08-11T20:42:06.568Z] a1111a8f2ec3: Pull complete [2021-08-11T20:42:07.163Z] ed53099fbce6: Pull complete [2021-08-11T20:42:07.163Z] dc539afda2c1: Pull complete [2021-08-11T20:42:07.431Z] 77bc0d833cb6: Pull complete [2021-08-11T20:42:07.431Z] 9065ff56babe: Pull complete [2021-08-11T20:42:06.487Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-08-11T20:42:06.511Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T20:42:06.552Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T20:42:06.569Z] > git checkout -f 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 [2021-08-11T20:42:09.389Z] d287ab97295c: Verifying Checksum [2021-08-11T20:42:09.389Z] d287ab97295c: Download complete [2021-08-11T20:42:11.116Z] Commit message: "Merge pull request #130 from jpwhitemn/update-toml-add-gov-docs" [2021-08-11T20:42:11.369Z] [2021-08-11T20:42:11.370Z] GitHub has been notified of this commit’s build result [2021-08-11T20:42:11.370Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:42:11.503Z] provisioning config files... [2021-08-11T20:42:11.540Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config7103304394162704753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:42:12.212Z] ---> docker-login.sh [2021-08-11T20:42:12.212Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:42:13.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:42:13.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:42:13.500Z] Configure a credential helper to remove this warning. See [2021-08-11T20:42:13.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:42:13.500Z] [2021-08-11T20:42:13.500Z] Login Succeeded [2021-08-11T20:42:13.500Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:42:13.649Z] d287ab97295c: Pull complete [2021-08-11T20:42:13.649Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T20:42:13.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:42:13.649Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T20:42:13.759Z] prd-centos7-docker-4c-2g-571 does not seem to be running inside a container [2021-08-11T20:42:13.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-11T20:42:14.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:42:14.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:42:14.106Z] Configure a credential helper to remove this warning. See [2021-08-11T20:42:14.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:42:14.106Z] [2021-08-11T20:42:14.106Z] Login Succeeded [2021-08-11T20:42:14.106Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:42:14.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:42:14.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:42:14.710Z] Configure a credential helper to remove this warning. See [2021-08-11T20:42:14.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:42:14.710Z] [2021-08-11T20:42:14.710Z] Login Succeeded [2021-08-11T20:42:14.710Z] nexus3.edgexfoundry.org:10004 [2021-08-11T20:42:15.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:42:15.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:42:15.597Z] Configure a credential helper to remove this warning. See [2021-08-11T20:42:15.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:42:15.597Z] [2021-08-11T20:42:15.597Z] Login Succeeded [2021-08-11T20:42:15.597Z] docker.io [2021-08-11T20:42:16.134Z] $ docker top 6ce20c5231b9ff3366c1614b82169084b452383791c2d1452a76f11127605e06 -eo pid,comm [2021-08-11T20:42:16.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:42:16.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:42:16.487Z] Configure a credential helper to remove this warning. See [2021-08-11T20:42:16.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:42:16.487Z] [2021-08-11T20:42:16.487Z] Login Succeeded [2021-08-11T20:42:16.487Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:42:16.609Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [2021-08-11T20:42:16.674Z] ---> job-cost.sh [2021-08-11T20:42:16.674Z] lf-activate-venv: SKIPPING [2021-08-11T20:42:16.674Z] INFO: No Stack... [Pipeline] unstash [Pipeline] echo [2021-08-11T20:42:17.051Z] ========================================================= [2021-08-11T20:42:17.051Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-11T20:42:17.051Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:42:17.426Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-08-11T20:42:17.426Z] Sending build context to Docker daemon 119.3kB [2021-08-11T20:42:17.632Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T20:42:17.908Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T20:42:18.046Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T20:42:18.046Z] Step 2/10 : FROM ${BASE} [2021-08-11T20:42:18.223Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2021-08-11T20:42:18.223Z] + cut -d, -f6 [Pipeline] lock [2021-08-11T20:42:18.262Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] [2021-08-11T20:42:18.285Z] Resource [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] did not exist. Created. [2021-08-11T20:42:18.285Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T20:42:18.327Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-11T20:42:18.327Z] 595b0fe564bb: Pulling fs layer [2021-08-11T20:42:18.327Z] 24495759ef45: Pulling fs layer [2021-08-11T20:42:18.327Z] d148012ef14d: Pulling fs layer [2021-08-11T20:42:18.327Z] e90a11edd702: Pulling fs layer [2021-08-11T20:42:18.327Z] d77568369979: Pulling fs layer [2021-08-11T20:42:18.327Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-11T20:42:18.327Z] 170f2ba95c9a: Pulling fs layer [2021-08-11T20:42:18.327Z] 97ac5df62f85: Pulling fs layer [2021-08-11T20:42:18.327Z] e90a11edd702: Waiting [2021-08-11T20:42:18.327Z] d77568369979: Waiting [2021-08-11T20:42:18.327Z] fc1c9f9a7f3b: Waiting [2021-08-11T20:42:18.327Z] 97ac5df62f85: Waiting [2021-08-11T20:42:18.327Z] d148012ef14d: Verifying Checksum [2021-08-11T20:42:18.327Z] d148012ef14d: Download complete [2021-08-11T20:42:18.327Z] 24495759ef45: Verifying Checksum [2021-08-11T20:42:18.327Z] 24495759ef45: Download complete [2021-08-11T20:42:18.327Z] d77568369979: Download complete [2021-08-11T20:42:18.327Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-11T20:42:18.327Z] fc1c9f9a7f3b: Download complete [2021-08-11T20:42:18.606Z] 170f2ba95c9a: Verifying Checksum [2021-08-11T20:42:18.606Z] 170f2ba95c9a: Download complete [2021-08-11T20:42:18.606Z] 595b0fe564bb: Verifying Checksum [2021-08-11T20:42:18.606Z] 595b0fe564bb: Download complete [2021-08-11T20:42:18.628Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-11T20:42:18.678Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T20:42:18.692Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T20:42:18.722Z] $ docker stop --time=1 6ce20c5231b9ff3366c1614b82169084b452383791c2d1452a76f11127605e06 [2021-08-11T20:42:19.603Z] 595b0fe564bb: Pull complete [2021-08-11T20:42:19.875Z] $ docker rm -f 6ce20c5231b9ff3366c1614b82169084b452383791c2d1452a76f11127605e06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-11T20:42:20.218Z] 24495759ef45: Pull complete [2021-08-11T20:42:20.841Z] d148012ef14d: Pull complete [2021-08-11T20:42:22.296Z] 97ac5df62f85: Verifying Checksum [2021-08-11T20:42:22.296Z] 97ac5df62f85: Download complete [2021-08-11T20:42:22.902Z] e90a11edd702: Verifying Checksum [2021-08-11T20:42:22.902Z] e90a11edd702: Download complete [2021-08-11T20:42:35.461Z] e90a11edd702: Pull complete [2021-08-11T20:42:35.461Z] d77568369979: Pull complete [2021-08-11T20:42:35.461Z] fc1c9f9a7f3b: Pull complete [2021-08-11T20:42:35.461Z] 170f2ba95c9a: Pull complete [2021-08-11T20:42:40.905Z] 97ac5df62f85: Pull complete [2021-08-11T20:42:40.905Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-11T20:42:40.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-11T20:42:40.905Z] ---> 04bc70af865f [2021-08-11T20:42:40.905Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-11T20:42:46.348Z] ---> Running in 896587afcc41 [2021-08-11T20:42:46.348Z] Removing intermediate container 896587afcc41 [2021-08-11T20:42:46.348Z] ---> 81e6304983c9 [2021-08-11T20:42:46.348Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-08-11T20:42:46.626Z] ---> Running in 6680159f0323 [2021-08-11T20:42:46.900Z] Removing intermediate container 6680159f0323 [2021-08-11T20:42:46.900Z] ---> 0a3523b8e85a [2021-08-11T20:42:46.900Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-11T20:42:47.174Z] ---> Running in 33e6868963f2 [2021-08-11T20:42:47.772Z] Removing intermediate container 33e6868963f2 [2021-08-11T20:42:47.772Z] ---> c13ac18a8e72 [2021-08-11T20:42:47.772Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:42:48.054Z] ---> Running in 96e432e213d3 [2021-08-11T20:42:51.457Z] Removing intermediate container 96e432e213d3 [2021-08-11T20:42:51.457Z] ---> a0eb882b7623 [2021-08-11T20:42:51.457Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-11T20:42:51.457Z] ---> Running in 1f4e11ca3881 [2021-08-11T20:42:52.923Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-11T20:42:54.387Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-11T20:42:55.832Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-08-11T20:42:56.111Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-08-11T20:42:56.111Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-08-11T20:42:57.093Z] Executing busybox-1.32.1-r6.trigger [2021-08-11T20:42:57.370Z] OK: 222 MiB in 55 packages [2021-08-11T20:42:58.822Z] Removing intermediate container 1f4e11ca3881 [2021-08-11T20:42:58.822Z] ---> 519fd5a22bba [2021-08-11T20:42:58.822Z] Step 8/10 : WORKDIR /device-rest-go [2021-08-11T20:42:59.099Z] ---> Running in a49de92f008f [2021-08-11T20:43:00.086Z] Removing intermediate container a49de92f008f [2021-08-11T20:43:00.086Z] ---> bbdb9deedf9f [2021-08-11T20:43:00.086Z] Step 9/10 : COPY . . [2021-08-11T20:43:00.691Z] ---> 669c95c1eeec [2021-08-11T20:43:00.691Z] Step 10/10 : RUN go mod download [2021-08-11T20:43:01.310Z] ---> Running in 39ebc454ec3e [2021-08-11T20:43:33.722Z] Removing intermediate container 39ebc454ec3e [2021-08-11T20:43:33.722Z] ---> 86fbba0baea0 [2021-08-11T20:43:33.722Z] Successfully built 86fbba0baea0 [2021-08-11T20:43:33.722Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:43:34.093Z] + docker inspect -f . ci-base-image-arm64 [2021-08-11T20:43:34.093Z] . [Pipeline] withDockerContainer [2021-08-11T20:43:34.325Z] prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container [2021-08-11T20:43:34.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-11T20:43:35.984Z] $ docker top b19ed7002e981c2713568cf11358f839ecd9db7e30defe0ee502177bbe5919c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T20:43:36.969Z] + go version [2021-08-11T20:43:36.969Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-11T20:43:36.996Z] $ docker stop --time=1 b19ed7002e981c2713568cf11358f839ecd9db7e30defe0ee502177bbe5919c3 [2021-08-11T20:43:38.873Z] $ docker rm -f b19ed7002e981c2713568cf11358f839ecd9db7e30defe0ee502177bbe5919c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:43:39.563Z] + docker inspect -f . ci-base-image-arm64 [2021-08-11T20:43:39.563Z] . [Pipeline] withDockerContainer [2021-08-11T20:43:39.808Z] prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container [2021-08-11T20:43:39.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-11T20:43:41.758Z] $ docker top 310ed610284936ff74daea8c23f8748e651404a70444282298e5545d3aca923d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-11T20:43:42.841Z] + go mod tidy [Pipeline] sh [2021-08-11T20:43:44.145Z] + make test [2021-08-11T20:43:44.146Z] go mod tidy [2021-08-11T20:43:44.749Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-08-11T20:43:45.746Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-08-11T20:44:42.399Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-08-11T20:44:43.860Z] ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 54.0% of statements [2021-08-11T20:44:44.453Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-11T20:45:16.847Z] gofmt -l . [2021-08-11T20:45:16.847Z] [ "`gofmt -l .`" = "" ] [2021-08-11T20:45:16.847Z] ./bin/test-go-mod-tidy.sh [2021-08-11T20:45:16.847Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-08-11T20:45:17.856Z] $ docker stop --time=1 310ed610284936ff74daea8c23f8748e651404a70444282298e5545d3aca923d [2021-08-11T20:45:19.925Z] $ docker rm -f 310ed610284936ff74daea8c23f8748e651404a70444282298e5545d3aca923d [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T20:45:20.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-11T20:45:20.957Z] Warning: overwriting stash ‘coverage-report’ [2021-08-11T20:45:21.611Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-11T20:45:22.058Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-11T20:45:22.411Z] + ls -al . [2021-08-11T20:45:22.411Z] total 148 [2021-08-11T20:45:22.411Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 20:45 . [2021-08-11T20:45:22.411Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 20:42 .. [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 11 20:42 .dockerignore [2021-08-11T20:45:22.411Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 20:42 .git [2021-08-11T20:45:22.411Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 20:42 .github [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 336 Aug 11 20:42 .gitignore [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 6792 Aug 11 20:42 Attribution.txt [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 7459 Aug 11 20:42 CHANGELOG.md [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 1615 Aug 11 20:42 Dockerfile [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 1087 Aug 11 20:42 Dockerfile.build [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 20:42 GOVERNANCE.md [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 11 20:42 Jenkinsfile [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 20:42 LICENSE [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 996 Aug 11 20:42 Makefile [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 11 20:42 OWNERS.md [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 7661 Aug 11 20:42 README.md [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 11 20:33 VERSION [2021-08-11T20:45:22.411Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 20:42 bin [2021-08-11T20:45:22.411Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 20:42 cmd [2021-08-11T20:45:22.411Z] -rw-r--r-- 1 jenkins jenkins 8513 Aug 11 20:44 coverage.out [2021-08-11T20:45:22.411Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 20:42 driver [2021-08-11T20:45:22.411Z] -rw-r--r-- 1 jenkins jenkins 271 Aug 11 20:45 go.mod [2021-08-11T20:45:22.411Z] -rw-r--r-- 1 jenkins jenkins 20570 Aug 11 20:43 go.sum [2021-08-11T20:45:22.411Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 20:42 snap [2021-08-11T20:45:22.411Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 11 20:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:45:22.777Z] + 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=2fa5af78a65124eb3e46825fc0444c4be12292c1 --label arch=arm64 --label version=2.0.1-dev.3 . [2021-08-11T20:45:22.777Z] Sending build context to Docker daemon 129kB [2021-08-11T20:45:23.384Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T20:45:23.384Z] Step 2/25 : FROM ${BASE} AS builder [2021-08-11T20:45:23.384Z] ---> 86fbba0baea0 [2021-08-11T20:45:23.384Z] Step 3/25 : ARG MAKE='make build' [2021-08-11T20:45:23.384Z] ---> Running in 0b25f0f77b3a [2021-08-11T20:45:23.980Z] Removing intermediate container 0b25f0f77b3a [2021-08-11T20:45:23.980Z] ---> e9e80cdf46f3 [2021-08-11T20:45:23.980Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-11T20:45:24.254Z] ---> Running in a79bec8c42d2 [2021-08-11T20:45:24.533Z] Removing intermediate container a79bec8c42d2 [2021-08-11T20:45:24.533Z] ---> 42ad7d3e6229 [2021-08-11T20:45:24.533Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-08-11T20:45:24.808Z] ---> Running in 2bff9d464113 [2021-08-11T20:45:25.409Z] Removing intermediate container 2bff9d464113 [2021-08-11T20:45:25.409Z] ---> ccf1e01706e4 [2021-08-11T20:45:25.409Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:45:25.686Z] ---> Running in cee8e32bf27c [2021-08-11T20:45:28.330Z] Removing intermediate container cee8e32bf27c [2021-08-11T20:45:28.330Z] ---> 0eaa48295dfa [2021-08-11T20:45:28.330Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-11T20:45:28.330Z] ---> Running in 37fc86aa9126 [2021-08-11T20:45:29.783Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-11T20:45:30.772Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-11T20:45:32.221Z] OK: 222 MiB in 55 packages [2021-08-11T20:45:33.203Z] Removing intermediate container 37fc86aa9126 [2021-08-11T20:45:33.203Z] ---> e2c5c9e7437d [2021-08-11T20:45:33.203Z] Step 8/25 : WORKDIR /device-rest-go [2021-08-11T20:45:33.203Z] ---> Running in 28ddc5e20b5c [2021-08-11T20:45:33.807Z] Removing intermediate container 28ddc5e20b5c [2021-08-11T20:45:33.807Z] ---> eb5ff267167b [2021-08-11T20:45:33.807Z] Step 9/25 : COPY . . [2021-08-11T20:45:34.793Z] ---> 4c7f7a4754c1 [2021-08-11T20:45:34.793Z] Step 10/25 : RUN go mod tidy [2021-08-11T20:45:35.070Z] ---> Running in 9f9ca35bc580 [2021-08-11T20:45:38.573Z] Removing intermediate container 9f9ca35bc580 [2021-08-11T20:45:38.573Z] ---> 0f04c4fb5a79 [2021-08-11T20:45:38.573Z] Step 11/25 : RUN make update [2021-08-11T20:45:38.573Z] ---> Running in 7a704b5dd39e [2021-08-11T20:45:40.068Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-11T20:45:41.519Z] Removing intermediate container 7a704b5dd39e [2021-08-11T20:45:41.520Z] ---> f3e94e999007 [2021-08-11T20:45:41.520Z] Step 12/25 : RUN $MAKE [2021-08-11T20:45:41.520Z] ---> Running in 6a856fe421d9 [2021-08-11T20:45:42.959Z] go mod tidy [2021-08-11T20:45:43.565Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.3" -o cmd/device-rest ./cmd [2021-08-11T20:46:22.626Z] Removing intermediate container 6a856fe421d9 [2021-08-11T20:46:22.626Z] ---> 5aac99d53be5 [2021-08-11T20:46:22.626Z] Step 13/25 : FROM alpine:3.12 [2021-08-11T20:46:22.626Z] 3.12: Pulling from library/alpine [2021-08-11T20:46:22.626Z] d2f70382dc9a: Pulling fs layer [2021-08-11T20:46:22.903Z] d2f70382dc9a: Verifying Checksum [2021-08-11T20:46:22.903Z] d2f70382dc9a: Download complete [2021-08-11T20:46:23.892Z] d2f70382dc9a: Pull complete [2021-08-11T20:46:23.892Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-11T20:46:23.892Z] Status: Downloaded newer image for alpine:3.12 [2021-08-11T20:46:23.892Z] ---> c4fd0aeabfcf [2021-08-11T20:46:23.892Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-11T20:46:23.892Z] ---> Running in 5d2ac4c21e04 [2021-08-11T20:46:24.491Z] Removing intermediate container 5d2ac4c21e04 [2021-08-11T20:46:24.491Z] ---> 1a8a7ceae461 [2021-08-11T20:46:24.491Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-08-11T20:46:24.766Z] ---> Running in 6739f66f73ee [2021-08-11T20:46:25.362Z] Removing intermediate container 6739f66f73ee [2021-08-11T20:46:25.362Z] ---> 8c1aa19d1b05 [2021-08-11T20:46:25.362Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-11T20:46:25.637Z] ---> Running in b70bc1a424ca [2021-08-11T20:46:27.071Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-11T20:46:27.071Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-11T20:46:28.047Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-11T20:46:28.047Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-11T20:46:28.047Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-11T20:46:28.047Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-11T20:46:28.047Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-11T20:46:28.047Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-11T20:46:28.047Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T20:46:28.047Z] OK: 8 MiB in 20 packages [2021-08-11T20:46:29.476Z] Removing intermediate container b70bc1a424ca [2021-08-11T20:46:29.476Z] ---> 23e97f730267 [2021-08-11T20:46:29.476Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-08-11T20:46:30.912Z] ---> 3f8415429dbb [2021-08-11T20:46:30.912Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-08-11T20:46:31.514Z] ---> fc9fa0abb6ea [2021-08-11T20:46:31.514Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-08-11T20:46:32.112Z] ---> 268613be902b [2021-08-11T20:46:32.113Z] Step 20/25 : EXPOSE 59986 [2021-08-11T20:46:32.386Z] ---> Running in 1d2757dba5ae [2021-08-11T20:46:32.981Z] Removing intermediate container 1d2757dba5ae [2021-08-11T20:46:32.981Z] ---> 10695c52bf6e [2021-08-11T20:46:32.981Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-08-11T20:46:32.981Z] ---> Running in 53d4cae7c9f0 [2021-08-11T20:46:33.577Z] Removing intermediate container 53d4cae7c9f0 [2021-08-11T20:46:33.577Z] ---> 1c6febd114fb [2021-08-11T20:46:33.577Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-08-11T20:46:33.850Z] ---> Running in d9b8fc64ff34 [2021-08-11T20:46:34.124Z] Removing intermediate container d9b8fc64ff34 [2021-08-11T20:46:34.124Z] ---> cf00cbc24b0f [2021-08-11T20:46:34.124Z] Step 23/25 : LABEL arch=arm64 [2021-08-11T20:46:34.398Z] ---> Running in bb2688396886 [2021-08-11T20:46:34.996Z] Removing intermediate container bb2688396886 [2021-08-11T20:46:34.996Z] ---> 37c4ecd7d03d [2021-08-11T20:46:34.996Z] Step 24/25 : LABEL git_sha=2fa5af78a65124eb3e46825fc0444c4be12292c1 [2021-08-11T20:46:35.269Z] ---> Running in ab49854c6d5b [2021-08-11T20:46:35.547Z] Removing intermediate container ab49854c6d5b [2021-08-11T20:46:35.547Z] ---> 3be2bb228cec [2021-08-11T20:46:35.547Z] Step 25/25 : LABEL version=2.0.1-dev.3 [2021-08-11T20:46:35.823Z] ---> Running in 6668c598c3bb [2021-08-11T20:46:36.438Z] Removing intermediate container 6668c598c3bb [2021-08-11T20:46:36.438Z] ---> 68ee6b3b5c21 [2021-08-11T20:46:36.438Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-11T20:46:36.438Z] Successfully built 68ee6b3b5c21 [2021-08-11T20:46:36.438Z] 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-08-11T20:46:36.582Z] provisioning config files... [2021-08-11T20:46:36.602Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config452529535402562276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:46:36.969Z] ---> docker-login.sh [2021-08-11T20:46:36.969Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:46:37.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:46:37.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:46:37.517Z] Configure a credential helper to remove this warning. See [2021-08-11T20:46:37.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:46:37.517Z] [2021-08-11T20:46:37.517Z] Login Succeeded [2021-08-11T20:46:37.517Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:46:37.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:46:38.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:46:38.067Z] Configure a credential helper to remove this warning. See [2021-08-11T20:46:38.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:46:38.067Z] [2021-08-11T20:46:38.067Z] Login Succeeded [2021-08-11T20:46:38.067Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:46:38.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:46:38.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:46:38.666Z] Configure a credential helper to remove this warning. See [2021-08-11T20:46:38.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:46:38.666Z] [2021-08-11T20:46:38.666Z] Login Succeeded [2021-08-11T20:46:38.666Z] nexus3.edgexfoundry.org:10004 [2021-08-11T20:46:38.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:46:39.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:46:39.217Z] Configure a credential helper to remove this warning. See [2021-08-11T20:46:39.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:46:39.217Z] [2021-08-11T20:46:39.217Z] Login Succeeded [2021-08-11T20:46:39.217Z] docker.io [2021-08-11T20:46:39.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:46:40.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:46:40.089Z] Configure a credential helper to remove this warning. See [2021-08-11T20:46:40.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:46:40.089Z] [2021-08-11T20:46:40.089Z] Login Succeeded [2021-08-11T20:46:40.089Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:46:40.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-11T20:46:40.189Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-08-11T20:46:40.189Z] 2fa5af78a65124eb3e46825fc0444c4be12292c1 [2021-08-11T20:46:40.189Z] latest [2021-08-11T20:46:40.189Z] 2.0.1-dev.3 [2021-08-11T20:46:40.189Z] 2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 [2021-08-11T20:46:40.189Z] main [2021-08-11T20:46:40.189Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:46:40.589Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2fa5af78a65124eb3e46825fc0444c4be12292c1 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:46:40.934Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2fa5af78a65124eb3e46825fc0444c4be12292c1 [2021-08-11T20:46:40.934Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-08-11T20:46:40.934Z] 296894aa1df9: Preparing [2021-08-11T20:46:40.934Z] 9e21735e873d: Preparing [2021-08-11T20:46:40.934Z] 5245f8c3a8cc: Preparing [2021-08-11T20:46:40.934Z] 20201bda9397: Preparing [2021-08-11T20:46:40.934Z] 3fbe34a1663b: Preparing [2021-08-11T20:46:41.212Z] 3fbe34a1663b: Layer already exists [2021-08-11T20:46:41.212Z] 296894aa1df9: Pushed [2021-08-11T20:46:41.488Z] 9e21735e873d: Pushed [2021-08-11T20:46:42.089Z] 20201bda9397: Pushed [2021-08-11T20:46:44.063Z] 5245f8c3a8cc: Pushed [2021-08-11T20:46:44.337Z] 2fa5af78a65124eb3e46825fc0444c4be12292c1: digest: sha256:59262f721234de26f1e7ccfb03f7e4ac77e0be90e708ac3e73d9033ebd4f34d8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:46:44.687Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:46:45.031Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-08-11T20:46:45.031Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-08-11T20:46:45.031Z] 296894aa1df9: Preparing [2021-08-11T20:46:45.031Z] 9e21735e873d: Preparing [2021-08-11T20:46:45.031Z] 5245f8c3a8cc: Preparing [2021-08-11T20:46:45.031Z] 20201bda9397: Preparing [2021-08-11T20:46:45.031Z] 3fbe34a1663b: Preparing [2021-08-11T20:46:45.308Z] 296894aa1df9: Layer already exists [2021-08-11T20:46:45.308Z] 9e21735e873d: Layer already exists [2021-08-11T20:46:45.308Z] 3fbe34a1663b: Layer already exists [2021-08-11T20:46:45.308Z] 5245f8c3a8cc: Layer already exists [2021-08-11T20:46:45.308Z] 20201bda9397: Layer already exists [2021-08-11T20:46:45.308Z] latest: digest: sha256:59262f721234de26f1e7ccfb03f7e4ac77e0be90e708ac3e73d9033ebd4f34d8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:46:45.671Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:46:46.018Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.3 [2021-08-11T20:46:46.018Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-08-11T20:46:46.018Z] 296894aa1df9: Preparing [2021-08-11T20:46:46.018Z] 9e21735e873d: Preparing [2021-08-11T20:46:46.018Z] 5245f8c3a8cc: Preparing [2021-08-11T20:46:46.018Z] 20201bda9397: Preparing [2021-08-11T20:46:46.018Z] 3fbe34a1663b: Preparing [2021-08-11T20:46:46.291Z] 3fbe34a1663b: Layer already exists [2021-08-11T20:46:46.291Z] 296894aa1df9: Layer already exists [2021-08-11T20:46:46.291Z] 9e21735e873d: Layer already exists [2021-08-11T20:46:46.291Z] 20201bda9397: Layer already exists [2021-08-11T20:46:46.291Z] 5245f8c3a8cc: Layer already exists [2021-08-11T20:46:46.291Z] 2.0.1-dev.3: digest: sha256:59262f721234de26f1e7ccfb03f7e4ac77e0be90e708ac3e73d9033ebd4f34d8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:46:46.644Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:46:47.007Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 [2021-08-11T20:46:47.008Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-08-11T20:46:47.008Z] 296894aa1df9: Preparing [2021-08-11T20:46:47.008Z] 9e21735e873d: Preparing [2021-08-11T20:46:47.008Z] 5245f8c3a8cc: Preparing [2021-08-11T20:46:47.008Z] 20201bda9397: Preparing [2021-08-11T20:46:47.008Z] 3fbe34a1663b: Preparing [2021-08-11T20:46:47.282Z] 9e21735e873d: Layer already exists [2021-08-11T20:46:47.282Z] 20201bda9397: Layer already exists [2021-08-11T20:46:47.282Z] 296894aa1df9: Layer already exists [2021-08-11T20:46:47.282Z] 3fbe34a1663b: Layer already exists [2021-08-11T20:46:47.282Z] 5245f8c3a8cc: Layer already exists [2021-08-11T20:46:47.282Z] 2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3: digest: sha256:59262f721234de26f1e7ccfb03f7e4ac77e0be90e708ac3e73d9033ebd4f34d8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:46:47.635Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:46:47.977Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-08-11T20:46:47.977Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-08-11T20:46:47.977Z] 296894aa1df9: Preparing [2021-08-11T20:46:47.977Z] 9e21735e873d: Preparing [2021-08-11T20:46:47.977Z] 5245f8c3a8cc: Preparing [2021-08-11T20:46:47.977Z] 20201bda9397: Preparing [2021-08-11T20:46:47.977Z] 3fbe34a1663b: Preparing [2021-08-11T20:46:48.250Z] 296894aa1df9: Layer already exists [2021-08-11T20:46:48.250Z] 9e21735e873d: Layer already exists [2021-08-11T20:46:48.250Z] 3fbe34a1663b: Layer already exists [2021-08-11T20:46:48.250Z] 20201bda9397: Layer already exists [2021-08-11T20:46:48.250Z] 5245f8c3a8cc: Layer already exists [2021-08-11T20:46:48.250Z] main: digest: sha256:59262f721234de26f1e7ccfb03f7e4ac77e0be90e708ac3e73d9033ebd4f34d8 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-11T20:46:48.321Z] ===================================================== [Pipeline] echo [2021-08-11T20:46:48.337Z] taggedImages: [2021-08-11T20:46:48.337Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2fa5af78a65124eb3e46825fc0444c4be12292c1 [2021-08-11T20:46:48.337Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-08-11T20:46:48.337Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.3 [2021-08-11T20:46:48.337Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 [2021-08-11T20:46:48.337Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:46:48.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T20:46:49.013Z] [2021-08-11T20:46:49.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:46:49.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T20:46:49.648Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-11T20:46:49.648Z] 448f6bf000e3: Pulling fs layer [2021-08-11T20:46:49.648Z] f757da607395: Pulling fs layer [2021-08-11T20:46:49.648Z] 05883995daec: Pulling fs layer [2021-08-11T20:46:49.648Z] 8603b9c90790: Pulling fs layer [2021-08-11T20:46:49.648Z] 1560dd03e051: Pulling fs layer [2021-08-11T20:46:49.648Z] 27f5ce0e4adf: Pulling fs layer [2021-08-11T20:46:49.648Z] c2d8d7efcc4b: Pulling fs layer [2021-08-11T20:46:49.648Z] 8603b9c90790: Waiting [2021-08-11T20:46:49.648Z] 1560dd03e051: Waiting [2021-08-11T20:46:49.648Z] c2d8d7efcc4b: Waiting [2021-08-11T20:46:49.648Z] 27f5ce0e4adf: Waiting [2021-08-11T20:46:49.930Z] f757da607395: Verifying Checksum [2021-08-11T20:46:49.930Z] f757da607395: Download complete [2021-08-11T20:46:49.930Z] 8603b9c90790: Download complete [2021-08-11T20:46:50.207Z] 1560dd03e051: Verifying Checksum [2021-08-11T20:46:50.207Z] 1560dd03e051: Download complete [2021-08-11T20:46:50.207Z] 27f5ce0e4adf: Verifying Checksum [2021-08-11T20:46:50.207Z] 27f5ce0e4adf: Download complete [2021-08-11T20:46:50.480Z] 05883995daec: Verifying Checksum [2021-08-11T20:46:50.480Z] 05883995daec: Download complete [2021-08-11T20:46:51.077Z] 448f6bf000e3: Verifying Checksum [2021-08-11T20:46:51.077Z] 448f6bf000e3: Download complete [2021-08-11T20:46:55.491Z] c2d8d7efcc4b: Verifying Checksum [2021-08-11T20:46:55.491Z] c2d8d7efcc4b: Download complete [2021-08-11T20:46:55.491Z] 448f6bf000e3: Pull complete [2021-08-11T20:46:56.090Z] f757da607395: Pull complete [2021-08-11T20:46:57.534Z] 05883995daec: Pull complete [2021-08-11T20:46:58.130Z] 8603b9c90790: Pull complete [2021-08-11T20:46:59.128Z] 1560dd03e051: Pull complete [2021-08-11T20:46:59.403Z] 27f5ce0e4adf: Pull complete [2021-08-11T20:47:14.514Z] c2d8d7efcc4b: Pull complete [2021-08-11T20:47:14.514Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-11T20:47:14.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T20:47:14.514Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-11T20:47:14.803Z] prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container [2021-08-11T20:47:14.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-11T20:47:20.407Z] $ docker top 82bc039464825a730c69efd1c68e40290b55c36c82405380c26b27bb9cff0dd4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:47:21.429Z] ---> job-cost.sh [2021-08-11T20:47:21.429Z] lf-activate-venv: SKIPPING [2021-08-11T20:47:21.429Z] INFO: No Stack... [2021-08-11T20:47:22.858Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-11T20:47:23.452Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T20:47:24.112Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2021-08-11T20:47:24.112Z] + cut -d, -f6 [Pipeline] lock [2021-08-11T20:47:24.179Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] [2021-08-11T20:47:24.188Z] Resource [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] did not exist. Created. [2021-08-11T20:47:24.188Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T20:47:24.912Z] /w/workspace/device-rest-go/4@tmp/durable-2ed83019/script.sh: 1: /w/workspace/device-rest-go/4@tmp/durable-2ed83019/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-11T20:47:25.581Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-11T20:47:25.613Z] Warning: overwriting stash ‘stack-cost’ [2021-08-11T20:47:25.666Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T20:47:25.677Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T20:47:25.701Z] $ docker stop --time=1 82bc039464825a730c69efd1c68e40290b55c36c82405380c26b27bb9cff0dd4 [2021-08-11T20:47:27.664Z] $ docker rm -f 82bc039464825a730c69efd1c68e40290b55c36c82405380c26b27bb9cff0dd4 [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-08-11T20:47:28.341Z] provisioning config files... [2021-08-11T20:47:28.354Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7715651885340405339tmp [Pipeline] { [Pipeline] sh [2021-08-11T20:47:28.680Z] + set +x [2021-08-11T20:47:28.680Z] + curl -s https://codecov.io/bash [2021-08-11T20:47:28.680Z] + bash -s -- [2021-08-11T20:47:28.680Z] [2021-08-11T20:47:28.680Z] _____ _ [2021-08-11T20:47:28.680Z] / ____| | | [2021-08-11T20:47:28.680Z] | | ___ __| | ___ ___ _____ __ [2021-08-11T20:47:28.680Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-11T20:47:28.680Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-11T20:47:28.680Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-11T20:47:28.680Z] Bash-1.0.6 [2021-08-11T20:47:28.680Z] [2021-08-11T20:47:28.680Z] [2021-08-11T20:47:28.680Z] ==> git version 2.24.4 found [2021-08-11T20:47:28.680Z] ==> 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-08-11T20:47:28.680Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-11T20:47:28.680Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-11T20:47:28.680Z] ==> Jenkins CI detected. [2021-08-11T20:47:28.680Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-08-11T20:47:28.681Z] project root: . [2021-08-11T20:47:28.681Z] --> token set from env [2021-08-11T20:47:28.946Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-11T20:47:28.946Z] ==> Running gcov in . (disable via -X gcov) [2021-08-11T20:47:28.946Z] ==> Python coveragepy not found [2021-08-11T20:47:28.946Z] ==> Searching for coverage reports in: [2021-08-11T20:47:28.946Z] + . [2021-08-11T20:47:28.946Z] -> Found 1 reports [2021-08-11T20:47:28.946Z] ==> Detecting git/mercurial file structure [2021-08-11T20:47:28.946Z] ==> Reading reports [2021-08-11T20:47:28.946Z] + ./coverage.out bytes=8513 [2021-08-11T20:47:28.946Z] ==> Appending adjustments [2021-08-11T20:47:28.946Z] https://docs.codecov.io/docs/fixing-reports [2021-08-11T20:47:28.946Z] + Found adjustments [2021-08-11T20:47:28.946Z] ==> Gzipping contents [2021-08-11T20:47:28.946Z] 4.0K /tmp/codecov.I6dqdx.gz [2021-08-11T20:47:28.946Z] ==> Uploading reports [2021-08-11T20:47:28.946Z] url: https://codecov.io [2021-08-11T20:47:28.946Z] query: branch=main&commit=2fa5af78a65124eb3e46825fc0444c4be12292c1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-11T20:47:28.946Z] -> Pinging Codecov [2021-08-11T20:47:28.946Z] 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=2fa5af78a65124eb3e46825fc0444c4be12292c1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-11T20:47:29.213Z] -> Uploading to [2021-08-11T20:47:29.213Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-11/4E5D53B4F1F92C436F7061BF334D961C/2fa5af78a65124eb3e46825fc0444c4be12292c1/192fcf6e-49ab-40d6-910b-6d5af2b48e8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210811T204729Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83e256da91d674fa5b8c93d990cf731a95256071e47ef6a560a6c528ea6c1138 [2021-08-11T20:47:29.213Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-11T20:47:29.213Z] Dload Upload Total Spent Left Speed [2021-08-11T20:47:29.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1759 0 0 100 1759 0 4803 --:--:-- --:--:-- --:--:-- 4792 100 1759 0 0 100 1759 0 4802 --:--:-- --:--:-- --:--:-- 4792 [2021-08-11T20:47:29.794Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2fa5af78a65124eb3e46825fc0444c4be12292c1 [Pipeline] } [2021-08-11T20:47:29.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-08-11T20:47:30.035Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-08-11T20:47:30.062Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:47:30.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-11T20:47:30.394Z] [2021-08-11T20:47:30.394Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:47:30.740Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-11T20:47:30.740Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-08-11T20:47:30.740Z] 188c0c94c7c5: Pulling fs layer [2021-08-11T20:47:30.740Z] 0ef7d3d256c8: Pulling fs layer [2021-08-11T20:47:30.740Z] de9db76c5a1d: Pulling fs layer [2021-08-11T20:47:30.740Z] 0eba1c9be4d2: Pulling fs layer [2021-08-11T20:47:30.740Z] 0d57e429df01: Pulling fs layer [2021-08-11T20:47:30.740Z] 4e4be7b47b0d: Pulling fs layer [2021-08-11T20:47:30.740Z] e1f770b5df2f: Pulling fs layer [2021-08-11T20:47:30.740Z] 85a0685a4137: Pulling fs layer [2021-08-11T20:47:30.740Z] 0d57e429df01: Waiting [2021-08-11T20:47:30.740Z] 4e4be7b47b0d: Waiting [2021-08-11T20:47:30.740Z] e1f770b5df2f: Waiting [2021-08-11T20:47:30.740Z] 85a0685a4137: Waiting [2021-08-11T20:47:30.740Z] 0eba1c9be4d2: Waiting [2021-08-11T20:47:30.740Z] de9db76c5a1d: Verifying Checksum [2021-08-11T20:47:30.740Z] de9db76c5a1d: Download complete [2021-08-11T20:47:30.740Z] 0ef7d3d256c8: Verifying Checksum [2021-08-11T20:47:30.740Z] 0ef7d3d256c8: Download complete [2021-08-11T20:47:30.740Z] 0d57e429df01: Verifying Checksum [2021-08-11T20:47:30.740Z] 0d57e429df01: Download complete [2021-08-11T20:47:30.740Z] 4e4be7b47b0d: Verifying Checksum [2021-08-11T20:47:30.740Z] 4e4be7b47b0d: Download complete [2021-08-11T20:47:31.012Z] 188c0c94c7c5: Verifying Checksum [2021-08-11T20:47:31.013Z] 188c0c94c7c5: Download complete [2021-08-11T20:47:31.288Z] 188c0c94c7c5: Pull complete [2021-08-11T20:47:31.288Z] 0ef7d3d256c8: Pull complete [2021-08-11T20:47:31.558Z] de9db76c5a1d: Pull complete [2021-08-11T20:47:32.138Z] e1f770b5df2f: Verifying Checksum [2021-08-11T20:47:32.138Z] e1f770b5df2f: Download complete [2021-08-11T20:47:35.480Z] 0eba1c9be4d2: Verifying Checksum [2021-08-11T20:47:35.480Z] 0eba1c9be4d2: Download complete [2021-08-11T20:47:36.895Z] 85a0685a4137: Verifying Checksum [2021-08-11T20:47:36.896Z] 85a0685a4137: Download complete [2021-08-11T20:47:38.855Z] 0eba1c9be4d2: Pull complete [2021-08-11T20:47:38.855Z] 0d57e429df01: Pull complete [2021-08-11T20:47:38.855Z] 4e4be7b47b0d: Pull complete [2021-08-11T20:47:39.441Z] e1f770b5df2f: Pull complete [2021-08-11T20:47:42.818Z] 85a0685a4137: Pull complete [2021-08-11T20:47:42.818Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-08-11T20:47:42.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-11T20:47:42.818Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-08-11T20:47:42.917Z] prd-centos7-docker-4c-2g-448 does not seem to be running inside a container [2021-08-11T20:47:42.994Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-08-11T20:47:45.140Z] $ docker top 92e8e8698d9e46a2682f9bf9b58a11a1c4cca8d541c9d70b7ce9ac896d7fc69a -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-11T20:47:45.249Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-08-11T20:47:45.557Z] + set -o pipefail [2021-08-11T20:47:45.557Z] + snyk monitor '--org=edgex-jenkins' [2021-08-11T20:47:50.911Z] [2021-08-11T20:47:50.911Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-08-11T20:47:50.911Z] [2021-08-11T20:47:50.911Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/be458c97-6018-464d-a51c-6292d23d1bb5 [2021-08-11T20:47:50.911Z] [2021-08-11T20:47:50.911Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-08-11T20:47:50.911Z] [2021-08-11T20:47:50.911Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-08-11T20:47:50.911Z] [2021-08-11T20:47:50.911Z] [2021-08-11T20:47:50.911Z] You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. [2021-08-11T20:47:50.911Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-08-11T20:47:50.942Z] $ docker stop --time=1 92e8e8698d9e46a2682f9bf9b58a11a1c4cca8d541c9d70b7ce9ac896d7fc69a [2021-08-11T20:47:52.954Z] $ docker rm -f 92e8e8698d9e46a2682f9bf9b58a11a1c4cca8d541c9d70b7ce9ac896d7fc69a [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-08-11T20:47:53.793Z] + git log --format=format:%s -1 2fa5af78a65124eb3e46825fc0444c4be12292c1 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:47:54.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:47:54.127Z] . [Pipeline] withDockerContainer [2021-08-11T20:47:54.219Z] prd-centos7-docker-4c-2g-448 does not seem to be running inside a container [2021-08-11T20:47:54.278Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T20:47:54.641Z] $ docker top 61ea4c152ce1cc603092680347fb3cbeced95f0e3386bacf608c8b9f4cb3f759 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T20:47:54.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:47:54.783Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:47:54.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:47:54.902Z] $ docker exec 61ea4c152ce1cc603092680347fb3cbeced95f0e3386bacf608c8b9f4cb3f759 ssh-agent [2021-08-11T20:47:55.033Z] SSH_AUTH_SOCK=/tmp/ssh-PesKbjIwy1cs/agent.14 [2021-08-11T20:47:55.033Z] SSH_AGENT_PID=20 [2021-08-11T20:47:55.042Z] Running ssh-add (command line suppressed) [2021-08-11T20:47:55.139Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2622503888368915549.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2622503888368915549.key) [2021-08-11T20:47:55.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:47:55.484Z] + git semver tag [2021-08-11T20:47:55.484Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T20:47:55.484Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-08-11T20:47:55.484Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-08-11T20:47:55.484Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T20:47:55.484Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T20:47:55.484Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T20:47:55.484Z] # $SEMVER_BRANCH = main [2021-08-11T20:47:55.484Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-08-11T20:47:55.484Z] # 2fa5af78a65124eb3e46825fc0444c4be12292c1 HEAD [2021-08-11T20:47:55.484Z] # -> Force: false [2021-08-11T20:47:55.484Z] # 8aaea23a5c3340a4d8b2abdb7771c6fb7c0ddd02 refs/tags/v2.0.1-dev.3 [Pipeline] } [2021-08-11T20:47:55.499Z] $ docker exec --env ******** --env ******** 61ea4c152ce1cc603092680347fb3cbeced95f0e3386bacf608c8b9f4cb3f759 ssh-agent -k [2021-08-11T20:47:55.604Z] unset SSH_AUTH_SOCK; [2021-08-11T20:47:55.605Z] unset SSH_AGENT_PID; [2021-08-11T20:47:55.605Z] echo Agent pid 20 killed; [2021-08-11T20:47:55.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T20:47:55.966Z] + git semver [Pipeline] } [2021-08-11T20:47:55.987Z] $ docker stop --time=1 61ea4c152ce1cc603092680347fb3cbeced95f0e3386bacf608c8b9f4cb3f759 [2021-08-11T20:47:57.186Z] $ docker rm -f 61ea4c152ce1cc603092680347fb3cbeced95f0e3386bacf608c8b9f4cb3f759 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:47:57.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-11T20:47:57.660Z] [2021-08-11T20:47:57.660Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:47:57.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-11T20:47:57.994Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-08-11T20:47:57.994Z] ab5ef0e58194: Pulling fs layer [2021-08-11T20:47:57.994Z] 9712f1f96733: Pulling fs layer [2021-08-11T20:47:57.994Z] 63f879dbbcfc: Pulling fs layer [2021-08-11T20:47:57.994Z] 0d9ebad4ef96: Pulling fs layer [2021-08-11T20:47:57.994Z] e9a5061849ea: Pulling fs layer [2021-08-11T20:47:57.994Z] d747dcd14b5f: Pulling fs layer [2021-08-11T20:47:57.994Z] 2de7ff778b66: Pulling fs layer [2021-08-11T20:47:57.994Z] 0d9ebad4ef96: Waiting [2021-08-11T20:47:57.994Z] e9a5061849ea: Waiting [2021-08-11T20:47:57.994Z] d747dcd14b5f: Waiting [2021-08-11T20:47:57.994Z] 2de7ff778b66: Waiting [2021-08-11T20:47:57.994Z] 9712f1f96733: Verifying Checksum [2021-08-11T20:47:57.994Z] 9712f1f96733: Download complete [2021-08-11T20:48:00.578Z] 63f879dbbcfc: Verifying Checksum [2021-08-11T20:48:00.578Z] 63f879dbbcfc: Download complete [2021-08-11T20:48:00.843Z] e9a5061849ea: Verifying Checksum [2021-08-11T20:48:00.843Z] e9a5061849ea: Download complete [2021-08-11T20:48:00.843Z] d747dcd14b5f: Verifying Checksum [2021-08-11T20:48:00.843Z] d747dcd14b5f: Download complete [2021-08-11T20:48:01.424Z] 0d9ebad4ef96: Verifying Checksum [2021-08-11T20:48:01.424Z] 0d9ebad4ef96: Download complete [2021-08-11T20:48:01.424Z] 2de7ff778b66: Verifying Checksum [2021-08-11T20:48:01.424Z] 2de7ff778b66: Download complete [2021-08-11T20:48:02.011Z] ab5ef0e58194: Verifying Checksum [2021-08-11T20:48:02.011Z] ab5ef0e58194: Download complete [2021-08-11T20:48:04.638Z] ab5ef0e58194: Pull complete [2021-08-11T20:48:04.638Z] 9712f1f96733: Pull complete [2021-08-11T20:48:05.239Z] 63f879dbbcfc: Pull complete [2021-08-11T20:48:08.593Z] 0d9ebad4ef96: Pull complete [2021-08-11T20:48:08.593Z] e9a5061849ea: Pull complete [2021-08-11T20:48:08.593Z] d747dcd14b5f: Pull complete [2021-08-11T20:48:09.559Z] 2de7ff778b66: Pull complete [2021-08-11T20:48:09.559Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-08-11T20:48:09.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-11T20:48:09.559Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-08-11T20:48:09.657Z] prd-centos7-docker-4c-2g-448 does not seem to be running inside a container [2021-08-11T20:48:09.726Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-08-11T20:48:12.920Z] $ docker top 6d074dae7e7aba604fd1f29b72d3911063572b1497c5fef8e03e271ba3d5ffc2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:48:13.015Z] provisioning config files... [2021-08-11T20:48:13.028Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4359239593483921366tmp [2021-08-11T20:48:13.046Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4752246882062508593tmp [2021-08-11T20:48:13.066Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7640571927711035488tmp [Pipeline] { [Pipeline] echo [2021-08-11T20:48:13.095Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:48:13.407Z] ---> sigul-configuration.sh [2021-08-11T20:48:13.407Z] gpg: directory `/root/.gnupg' created [2021-08-11T20:48:13.407Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-08-11T20:48:13.407Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-08-11T20:48:13.407Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-08-11T20:48:13.407Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-08-11T20:48:13.407Z] gpg: CAST5 encrypted data [2021-08-11T20:48:13.407Z] gpg: encrypted with 1 passphrase [2021-08-11T20:48:13.407Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-08-11T20:48:13.730Z] + mkdir /home/jenkins [2021-08-11T20:48:13.730Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-08-11T20:48:14.046Z] + 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-08-11T20:48:14.062Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:48:14.376Z] ---> sigul-install.sh [2021-08-11T20:48:14.377Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-08-11T20:48:14.693Z] + git tag --list [2021-08-11T20:48:14.693Z] v1.0.0 [2021-08-11T20:48:14.693Z] v1.1.0 [2021-08-11T20:48:14.693Z] v1.1.1 [2021-08-11T20:48:14.693Z] v1.1.2 [2021-08-11T20:48:14.693Z] v1.2.0 [2021-08-11T20:48:14.693Z] v1.2.1 [2021-08-11T20:48:14.693Z] v2.0.0 [2021-08-11T20:48:14.693Z] v2.0.1-dev.1 [2021-08-11T20:48:14.693Z] v2.0.1-dev.2 [2021-08-11T20:48:14.693Z] v2.0.1-dev.3 [Pipeline] sh [2021-08-11T20:48:15.008Z] + lftools sign git-tag v2.0.1-dev.3 [2021-08-11T20:48:15.589Z] Signing Git tag with Sigul... [2021-08-11T20:48:15.589Z] Signing v2.0.1-dev.3 [Pipeline] echo [2021-08-11T20:48:16.183Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:48:16.494Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-08-11T20:48:16.510Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-08-11T20:48:16.750Z] $ docker stop --time=1 6d074dae7e7aba604fd1f29b72d3911063572b1497c5fef8e03e271ba3d5ffc2 [2021-08-11T20:48:17.959Z] $ docker rm -f 6d074dae7e7aba604fd1f29b72d3911063572b1497c5fef8e03e271ba3d5ffc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:48:18.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:48:18.502Z] . [Pipeline] withDockerContainer [2021-08-11T20:48:18.603Z] prd-centos7-docker-4c-2g-448 does not seem to be running inside a container [2021-08-11T20:48:18.660Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T20:48:19.048Z] $ docker top e33848ba0c1bb2e5a6c1f887729971d7d4af473a4d20a31807cdb9fbaf37cc1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T20:48:19.186Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:48:19.186Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:48:19.300Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:48:19.303Z] $ docker exec e33848ba0c1bb2e5a6c1f887729971d7d4af473a4d20a31807cdb9fbaf37cc1b ssh-agent [2021-08-11T20:48:19.422Z] SSH_AUTH_SOCK=/tmp/ssh-zsuoCZ45LdmD/agent.15 [2021-08-11T20:48:19.422Z] SSH_AGENT_PID=22 [2021-08-11T20:48:19.432Z] Running ssh-add (command line suppressed) [2021-08-11T20:48:19.532Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5880070333395601735.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5880070333395601735.key) [2021-08-11T20:48:19.554Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:48:19.881Z] + git semver bump pre [2021-08-11T20:48:19.881Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T20:48:19.881Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-08-11T20:48:19.881Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-08-11T20:48:19.881Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T20:48:19.881Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T20:48:19.881Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T20:48:19.881Z] # $SEMVER_BRANCH = main [2021-08-11T20:48:19.881Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-08-11T20:48:19.881Z] 2.0.1-dev.4 [Pipeline] } [2021-08-11T20:48:19.895Z] $ docker exec --env ******** --env ******** e33848ba0c1bb2e5a6c1f887729971d7d4af473a4d20a31807cdb9fbaf37cc1b ssh-agent -k [2021-08-11T20:48:19.994Z] unset SSH_AUTH_SOCK; [2021-08-11T20:48:19.994Z] unset SSH_AGENT_PID; [2021-08-11T20:48:19.994Z] echo Agent pid 22 killed; [2021-08-11T20:48:20.016Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T20:48:20.364Z] + git semver [Pipeline] } [2021-08-11T20:48:20.385Z] $ docker stop --time=1 e33848ba0c1bb2e5a6c1f887729971d7d4af473a4d20a31807cdb9fbaf37cc1b [2021-08-11T20:48:21.590Z] $ docker rm -f e33848ba0c1bb2e5a6c1f887729971d7d4af473a4d20a31807cdb9fbaf37cc1b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:48:21.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:48:21.990Z] . [Pipeline] withDockerContainer [2021-08-11T20:48:22.296Z] prd-centos7-docker-4c-2g-448 does not seem to be running inside a container [2021-08-11T20:48:22.739Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T20:48:23.125Z] $ docker top 1e57248953be34078304c73229db071a4f5248ef7829c14fc6b12234df770fb5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T20:48:23.261Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:48:23.261Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:48:23.389Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:48:23.391Z] $ docker exec 1e57248953be34078304c73229db071a4f5248ef7829c14fc6b12234df770fb5 ssh-agent [2021-08-11T20:48:23.529Z] SSH_AUTH_SOCK=/tmp/ssh-HHUvFGaT0RrO/agent.13 [2021-08-11T20:48:23.529Z] SSH_AGENT_PID=19 [2021-08-11T20:48:23.538Z] Running ssh-add (command line suppressed) [2021-08-11T20:48:23.650Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2371004376269564505.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2371004376269564505.key) [2021-08-11T20:48:23.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:48:23.990Z] + git semver push [2021-08-11T20:48:23.990Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T20:48:23.990Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-08-11T20:48:23.990Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-08-11T20:48:23.990Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T20:48:23.990Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T20:48:23.990Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T20:48:23.990Z] # $SEMVER_BRANCH = main [2021-08-11T20:48:23.990Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-08-11T20:48:25.409Z] $ docker exec --env ******** --env ******** 1e57248953be34078304c73229db071a4f5248ef7829c14fc6b12234df770fb5 ssh-agent -k [2021-08-11T20:48:25.508Z] unset SSH_AUTH_SOCK; [2021-08-11T20:48:25.508Z] unset SSH_AGENT_PID; [2021-08-11T20:48:25.508Z] echo Agent pid 19 killed; [2021-08-11T20:48:25.523Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T20:48:25.872Z] + git semver [Pipeline] } [2021-08-11T20:48:25.891Z] $ docker stop --time=1 1e57248953be34078304c73229db071a4f5248ef7829c14fc6b12234df770fb5 [2021-08-11T20:48:27.102Z] $ docker rm -f 1e57248953be34078304c73229db071a4f5248ef7829c14fc6b12234df770fb5 [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-08-11T20:48:27.952Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:48:28.273Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:48:28.860Z] ---> package-listing.sh [2021-08-11T20:48:28.860Z] ++ facter osfamily [2021-08-11T20:48:28.860Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-11T20:48:29.124Z] + OS_FAMILY=redhat [2021-08-11T20:48:29.125Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-08-11T20:48:29.125Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-11T20:48:29.125Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-11T20:48:29.125Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-11T20:48:29.125Z] + PACKAGES=/tmp/packages_start.txt [2021-08-11T20:48:29.125Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-08-11T20:48:29.125Z] + PACKAGES=/tmp/packages_end.txt [2021-08-11T20:48:29.125Z] + case "${OS_FAMILY}" in [2021-08-11T20:48:29.125Z] + sort [2021-08-11T20:48:29.125Z] + rpm -qa [2021-08-11T20:48:30.087Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-11T20:48:30.087Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-11T20:48:30.087Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-11T20:48:30.087Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-08-11T20:48:30.087Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-08-11T20:48:30.087Z] + 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-08-11T20:48:30.103Z] 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-08-11T20:48:30.406Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:48:30.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:48:30.993Z] [2021-08-11T20:48:30.993Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:48:31.348Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:48:31.348Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T20:48:31.348Z] b4d181a07f80: Pulling fs layer [2021-08-11T20:48:31.348Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T20:48:31.348Z] ed53099fbce6: Pulling fs layer [2021-08-11T20:48:31.348Z] dc539afda2c1: Pulling fs layer [2021-08-11T20:48:31.348Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T20:48:31.348Z] 9065ff56babe: Pulling fs layer [2021-08-11T20:48:31.348Z] d287ab97295c: Pulling fs layer [2021-08-11T20:48:31.348Z] dc539afda2c1: Waiting [2021-08-11T20:48:31.348Z] 77bc0d833cb6: Waiting [2021-08-11T20:48:31.348Z] 9065ff56babe: Waiting [2021-08-11T20:48:31.348Z] d287ab97295c: Waiting [2021-08-11T20:48:31.614Z] a1111a8f2ec3: Download complete [2021-08-11T20:48:31.614Z] dc539afda2c1: Verifying Checksum [2021-08-11T20:48:31.614Z] dc539afda2c1: Download complete [2021-08-11T20:48:31.880Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T20:48:31.880Z] 77bc0d833cb6: Download complete [2021-08-11T20:48:31.880Z] 9065ff56babe: Verifying Checksum [2021-08-11T20:48:31.880Z] 9065ff56babe: Download complete [2021-08-11T20:48:32.460Z] ed53099fbce6: Verifying Checksum [2021-08-11T20:48:32.460Z] ed53099fbce6: Download complete [2021-08-11T20:48:33.057Z] b4d181a07f80: Verifying Checksum [2021-08-11T20:48:33.057Z] b4d181a07f80: Download complete [2021-08-11T20:48:34.471Z] b4d181a07f80: Pull complete [2021-08-11T20:48:34.471Z] a1111a8f2ec3: Pull complete [2021-08-11T20:48:35.055Z] ed53099fbce6: Pull complete [2021-08-11T20:48:35.055Z] dc539afda2c1: Pull complete [2021-08-11T20:48:35.323Z] 77bc0d833cb6: Pull complete [2021-08-11T20:48:35.323Z] 9065ff56babe: Pull complete [2021-08-11T20:48:37.259Z] d287ab97295c: Verifying Checksum [2021-08-11T20:48:37.259Z] d287ab97295c: Download complete [2021-08-11T20:48:41.544Z] d287ab97295c: Pull complete [2021-08-11T20:48:41.544Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T20:48:41.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:48:41.544Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T20:48:41.627Z] prd-centos7-docker-4c-2g-448 does not seem to be running inside a container [2021-08-11T20:48:41.687Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-11T20:48:44.103Z] $ docker top c388de081ed26bd17c2ab134723055b47c4e0e2713215fe564bcd0ec229aba40 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T20:48:44.500Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-11T20:48:44.821Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-11T20:48:45.132Z] + ls /var/log/sa-host [2021-08-11T20:48:45.132Z] + sadf -c /var/log/sa-host/sa05 [2021-08-11T20:48:45.132Z] file_magic: OK [2021-08-11T20:48:45.132Z] HZ: Using current value: 100 [2021-08-11T20:48:45.132Z] file_header: OK [2021-08-11T20:48:45.132Z] 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-08-11T20:48:45.132Z] Statistics: [2021-08-11T20:48:45.132Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T20:48:45.132Z] File successfully converted to sysstat format version 12.0.3 [2021-08-11T20:48:45.132Z] + sadf -c /var/log/sa-host/sa11 [2021-08-11T20:48:45.132Z] file_magic: OK [2021-08-11T20:48:45.132Z] HZ: Using current value: 100 [2021-08-11T20:48:45.132Z] file_header: OK [2021-08-11T20:48:45.132Z] 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-08-11T20:48:45.132Z] Statistics: [2021-08-11T20:48:45.132Z] 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... [2021-08-11T20:48:45.132Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:48:45.350Z] provisioning config files... [2021-08-11T20:48:45.364Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6542654319031599218tmp [Pipeline] { [Pipeline] echo [2021-08-11T20:48:45.390Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:48:45.697Z] ---> create-netrc.sh [Pipeline] } [2021-08-11T20:48:45.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:48:46.112Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-11T20:48:46.124Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:48:46.432Z] ---> sudo-logs.sh [2021-08-11T20:48:46.432Z] Archiving 'sudo' log.. [2021-08-11T20:48:46.432Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-448.vexxhost.local: Name or service not known [2021-08-11T20:48:46.432Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-448.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-11T20:48:46.473Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:48:46.786Z] ---> job-cost.sh [2021-08-11T20:48:46.787Z] lf-activate-venv: SKIPPING [2021-08-11T20:48:46.787Z] DEBUG: total: 0.18000000715255737 [2021-08-11T20:48:46.787Z] INFO: Retrieving Stack Cost... [2021-08-11T20:48:47.746Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T20:48:48.328Z] INFO: Archiving Costs [Pipeline] echo [2021-08-11T20:48:48.344Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:48:48.657Z] ---> logs-deploy.sh [2021-08-11T20:48:48.657Z] lf-activate-venv: SKIPPING [2021-08-11T20:48:48.657Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/4 [2021-08-11T20:48:48.657Z] INFO: archiving workspace using pattern(s): [2021-08-11T20:48:49.238Z] Archives upload complete. [2021-08-11T20:48:49.506Z] INFO: archiving logs to Nexus