Push event to branch main Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 189d47ff213bf991ba18b7c83461bde848db16b3 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7694791746053808304.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh41885530481149461.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 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8687790813828337815.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh758398461803145532.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh688372184364151238.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8650589387403198666.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a 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-snmp-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-snmp-go-settings PROJECT: device-snmp-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_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-231 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 189d47ff213bf991ba18b7c83461bde848db16b3 (main) Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-snmp-go_main@tmp/jenkins-gitclient-ssh6763855011707437644.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-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 189d47ff213bf991ba18b7c83461bde848db16b3 # timeout=10 Commit message: "Merge pull request #116 from cloudxxx8/issue-115" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-06T22:40:12.062Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-06T22:40:12.292Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T22:40:12.441Z] ========================================================= [2021-07-06T22:40:12.441Z] EdgeX Global Pipelines Version Info [2021-07-06T22:40:12.441Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:40:14.186Z] ------------------- [2021-07-06T22:40:14.186Z] stable info: [2021-07-06T22:40:14.186Z] ------------------- [2021-07-06T22:40:14.186Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-06T22:40:14.186Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-06T22:40:14.186Z] Message: update stable to v1.0.196 [2021-07-06T22:40:14.763Z] ------------------- [2021-07-06T22:40:14.763Z] experimental info: [2021-07-06T22:40:14.763Z] ------------------- [2021-07-06T22:40:14.763Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-06T22:40:14.763Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-06T22:40:14.763Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-06T22:40:15.018Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-07-06T22:40:15.087Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-07-06T22:40:15.148Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-06T22:40:15.220Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-06T22:40:15.284Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-06T22:40:15.349Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-06T22:40:15.410Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-06T22:40:15.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-06T22:40:15.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-06T22:40:15.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-06T22:40:15.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-06T22:40:15.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-07-06T22:40:15.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-06T22:40:15.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-06T22:40:15.951Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-06T22:40:16.031Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-06T22:40:16.105Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:40:16.169Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:40:16.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-06T22:40:16.311Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-06T22:40:16.373Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-06T22:40:16.448Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-06T22:40:16.535Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-06T22:40:16.598Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-06T22:40:16.660Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-06T22:40:16.722Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-06T22:40:16.788Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-06T22:40:16.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-06T22:40:16.911Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-06T22:40:16.990Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 189d47ff213bf991ba18b7c83461bde848db16b3 [Pipeline] echo [2021-07-06T22:40:17.068Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 189d47f [Pipeline] echo [2021-07-06T22:40:17.132Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:40:17.306Z] provisioning config files... [2021-07-06T22:40:17.333Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3584827065717967693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:40:17.724Z] ---> docker-login.sh [2021-07-06T22:40:17.724Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:40:18.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:18.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:18.298Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:18.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:18.298Z] [2021-07-06T22:40:18.298Z] Login Succeeded [2021-07-06T22:40:18.298Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:40:18.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:18.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:18.559Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:18.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:18.559Z] [2021-07-06T22:40:18.559Z] Login Succeeded [2021-07-06T22:40:18.559Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:40:18.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:18.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:18.559Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:18.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:18.559Z] [2021-07-06T22:40:18.559Z] Login Succeeded [2021-07-06T22:40:18.559Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:40:18.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:18.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:18.825Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:18.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:18.825Z] [2021-07-06T22:40:18.825Z] Login Succeeded [2021-07-06T22:40:18.825Z] docker.io [2021-07-06T22:40:18.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:19.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:19.085Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:19.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:19.085Z] [2021-07-06T22:40:19.085Z] Login Succeeded [2021-07-06T22:40:19.085Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:40:19.131Z] 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-07-06T22:40:20.015Z] + git log --format=format:%s -1 189d47ff213bf991ba18b7c83461bde848db16b3 [Pipeline] echo [2021-07-06T22:40:20.083Z] GIT_COMMIT: 189d47ff213bf991ba18b7c83461bde848db16b3, Commit Message: Merge pull request #116 from cloudxxx8/issue-115 [Pipeline] echo [2021-07-06T22:40:20.136Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:40:20.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:40:20.899Z] [2021-07-06T22:40:20.899Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:40:21.262Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:40:21.532Z] latest: Pulling from edgex-devops/git-semver [2021-07-06T22:40:21.532Z] 31603596830f: Pulling fs layer [2021-07-06T22:40:21.532Z] 54011a49482f: Pulling fs layer [2021-07-06T22:40:21.532Z] a6820b24f6d8: Pulling fs layer [2021-07-06T22:40:21.532Z] f581987b2513: Pulling fs layer [2021-07-06T22:40:21.532Z] f581987b2513: Waiting [2021-07-06T22:40:21.532Z] 54011a49482f: Verifying Checksum [2021-07-06T22:40:21.532Z] 54011a49482f: Download complete [2021-07-06T22:40:21.532Z] 31603596830f: Verifying Checksum [2021-07-06T22:40:21.532Z] 31603596830f: Download complete [2021-07-06T22:40:21.797Z] a6820b24f6d8: Verifying Checksum [2021-07-06T22:40:21.797Z] a6820b24f6d8: Download complete [2021-07-06T22:40:21.797Z] f581987b2513: Verifying Checksum [2021-07-06T22:40:21.797Z] f581987b2513: Download complete [2021-07-06T22:40:22.061Z] 31603596830f: Pull complete [2021-07-06T22:40:22.061Z] 54011a49482f: Pull complete [2021-07-06T22:40:23.467Z] a6820b24f6d8: Pull complete [2021-07-06T22:40:23.735Z] f581987b2513: Pull complete [2021-07-06T22:40:23.735Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-07-06T22:40:24.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:40:24.008Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-06T22:40:24.137Z] prd-centos7-docker-4c-2g-231 does not seem to be running inside a container [2021-07-06T22:40:24.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T22:40:31.143Z] $ docker top a0203b3f3be604f7233e8cdfa4419b7e0e2abc8e4e73918c6fa7b0cee1cb5fe6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-06T22:40:31.367Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-06T22:40:31.367Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-06T22:40:31.486Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-06T22:40:31.485Z] $ docker exec a0203b3f3be604f7233e8cdfa4419b7e0e2abc8e4e73918c6fa7b0cee1cb5fe6 ssh-agent [2021-07-06T22:40:31.596Z] SSH_AUTH_SOCK=/tmp/ssh-DQxXH8zSgs7W/agent.14 [2021-07-06T22:40:31.596Z] SSH_AGENT_PID=20 [2021-07-06T22:40:31.605Z] Running ssh-add (command line suppressed) [2021-07-06T22:40:31.697Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3216525586253029706.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3216525586253029706.key) [2021-07-06T22:40:31.716Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-06T22:40:32.074Z] + git tag --points-at HEAD [Pipeline] } [2021-07-06T22:40:32.090Z] $ docker exec --env ******** --env ******** a0203b3f3be604f7233e8cdfa4419b7e0e2abc8e4e73918c6fa7b0cee1cb5fe6 ssh-agent -k [2021-07-06T22:40:32.193Z] unset SSH_AUTH_SOCK; [2021-07-06T22:40:32.193Z] unset SSH_AGENT_PID; [2021-07-06T22:40:32.194Z] echo Agent pid 20 killed; [2021-07-06T22:40:32.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-07-06T22:40:32.333Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.0.0' [Pipeline] sshagent [2021-07-06T22:40:32.386Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-06T22:40:32.386Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-06T22:40:32.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-06T22:40:32.493Z] $ docker exec a0203b3f3be604f7233e8cdfa4419b7e0e2abc8e4e73918c6fa7b0cee1cb5fe6 ssh-agent [2021-07-06T22:40:32.599Z] SSH_AUTH_SOCK=/tmp/ssh-gtgMqJ7xReZd/agent.53 [2021-07-06T22:40:32.599Z] SSH_AGENT_PID=59 [2021-07-06T22:40:32.605Z] Running ssh-add (command line suppressed) [2021-07-06T22:40:32.699Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7241469210163519848.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7241469210163519848.key) [2021-07-06T22:40:32.717Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-06T22:40:33.067Z] + git semver init [2021-07-06T22:40:33.068Z] # -> Open(): unable to determine branch for HEAD [2021-07-06T22:40:33.068Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-07-06T22:40:33.068Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-07-06T22:40:33.068Z] # $SEMVER_REMOTE_NAME = origin [2021-07-06T22:40:33.068Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-06T22:40:33.068Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-06T22:40:33.068Z] # $SEMVER_BRANCH = main [2021-07-06T22:40:33.068Z] # $SEMVER_TEMP = /tmp/semver-031781568 [2021-07-06T22:40:33.068Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-07-06T22:40:33.642Z] # '/tmp/semver-031781568' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2021-07-06T22:40:33.642Z] # -> Force: false [2021-07-06T22:40:33.642Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2021-07-06T22:40:33.660Z] $ docker exec --env ******** --env ******** a0203b3f3be604f7233e8cdfa4419b7e0e2abc8e4e73918c6fa7b0cee1cb5fe6 ssh-agent -k [2021-07-06T22:40:33.758Z] unset SSH_AUTH_SOCK; [2021-07-06T22:40:33.758Z] unset SSH_AGENT_PID; [2021-07-06T22:40:33.758Z] echo Agent pid 59 killed; [2021-07-06T22:40:33.783Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T22:40:34.233Z] + git semver [Pipeline] } [2021-07-06T22:40:34.277Z] $ docker stop --time=1 a0203b3f3be604f7233e8cdfa4419b7e0e2abc8e4e73918c6fa7b0cee1cb5fe6 [2021-07-06T22:40:36.085Z] $ docker rm -f a0203b3f3be604f7233e8cdfa4419b7e0e2abc8e4e73918c6fa7b0cee1cb5fe6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T22:40:36.570Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-06T22:40:36.966Z] Stashed 1 file(s) [Pipeline] echo [2021-07-06T22:40:36.992Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.1 [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-07-06T22:40:52.747Z] Still waiting to schedule task [2021-07-06T22:40:52.747Z] ‘prd-centos7-blackbox-4c-2g-1384’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-06T22:40:52.747Z] ‘prd-centos7-docker-4c-2g-215’ is offline [2021-07-06T22:40:52.747Z] ‘prd-centos7-docker-4c-2g-216’ is offline [2021-07-06T22:40:52.748Z] ‘prd-centos7-docker-4c-2g-239’ is offline [2021-07-06T22:40:52.748Z] ‘prd-centos7-docker-4c-2g-241’ is offline [2021-07-06T22:40:52.748Z] ‘prd-centos7-docker-4c-2g-242’ is offline [2021-07-06T22:40:52.748Z] ‘prd-centos7-docker-4c-2g-243’ is offline [2021-07-06T22:40:52.748Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-232’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-06T22:40:52.748Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-238’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-06T22:40:52.748Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-240’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-06T22:40:52.780Z] Still waiting to schedule task [2021-07-06T22:40:52.780Z] ‘prd-centos7-blackbox-4c-2g-1384’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:52.780Z] ‘prd-centos7-docker-4c-2g-215’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:52.780Z] ‘prd-centos7-docker-4c-2g-216’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:52.780Z] ‘prd-centos7-docker-4c-2g-239’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:52.780Z] ‘prd-centos7-docker-4c-2g-241’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:52.780Z] ‘prd-centos7-docker-4c-2g-242’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:52.780Z] ‘prd-centos7-docker-4c-2g-243’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:52.781Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-232’ is offline [2021-07-06T22:40:52.781Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-238’ is offline [2021-07-06T22:40:52.781Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-240’ is offline [2021-07-06T22:48:47.690Z] Running on prd-centos7-docker-4c-2g-655 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2021-07-06T22:48:47.768Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-07-06T22:48:47.943Z] Selected Git installation does not exist. Using Default [2021-07-06T22:48:47.944Z] The recommended git tool is: NONE [2021-07-06T22:48:50.906Z] using credential edgex-jenkins-ssh [2021-07-06T22:48:50.920Z] Cloning the remote Git repository [2021-07-06T22:48:50.954Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-07-06T22:48:51.035Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-07-06T22:48:51.072Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-07-06T22:48:51.073Z] > git --version # timeout=10 [2021-07-06T22:48:51.082Z] > git --version # 'git version 2.24.4' [2021-07-06T22:48:51.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-06T22:48:51.114Z] [INFO] Currently running in a labeled security context [2021-07-06T22:48:51.114Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-06T22:48:51.114Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh3731005598430296865.key [2021-07-06T22:48:51.127Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:48:51.678Z] Avoid second fetch [2021-07-06T22:48:51.680Z] Checking out Revision 189d47ff213bf991ba18b7c83461bde848db16b3 (main) [2021-07-06T22:48:51.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-07-06T22:48:51.666Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:48:51.686Z] > git config core.sparsecheckout # timeout=10 [2021-07-06T22:48:51.697Z] > git checkout -f 189d47ff213bf991ba18b7c83461bde848db16b3 # timeout=10 [2021-07-06T22:48:55.555Z] Commit message: "Merge pull request #116 from cloudxxx8/issue-115" [2021-07-06T22:48:55.578Z] > git --version # timeout=10 [2021-07-06T22:48:55.582Z] > git --version # 'git version 2.24.4' [2021-07-06T22:48:56.105Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:48:57.277Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:48:57.627Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:48:57.960Z] + true [2021-07-06T22:48:57.960Z] + sudo service docker restart [2021-07-06T22:48:57.960Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:49:16.264Z] provisioning config files... [2021-07-06T22:49:16.284Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8545806884783330449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:49:16.712Z] ---> docker-login.sh [2021-07-06T22:49:16.712Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:49:16.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:49:16.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:49:16.998Z] Configure a credential helper to remove this warning. See [2021-07-06T22:49:16.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:49:16.998Z] [2021-07-06T22:49:16.998Z] Login Succeeded [2021-07-06T22:49:16.998Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:49:16.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:49:17.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:49:17.261Z] Configure a credential helper to remove this warning. See [2021-07-06T22:49:17.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:49:17.261Z] [2021-07-06T22:49:17.261Z] Login Succeeded [2021-07-06T22:49:17.261Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:49:17.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:49:17.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:49:17.261Z] Configure a credential helper to remove this warning. See [2021-07-06T22:49:17.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:49:17.261Z] [2021-07-06T22:49:17.261Z] Login Succeeded [2021-07-06T22:49:17.261Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:49:17.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:49:17.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:49:17.533Z] Configure a credential helper to remove this warning. See [2021-07-06T22:49:17.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:49:17.533Z] [2021-07-06T22:49:17.533Z] Login Succeeded [2021-07-06T22:49:17.533Z] docker.io [2021-07-06T22:49:17.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:49:17.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:49:17.793Z] Configure a credential helper to remove this warning. See [2021-07-06T22:49:17.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:49:17.793Z] [2021-07-06T22:49:17.793Z] Login Succeeded [2021-07-06T22:49:17.793Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:49:17.835Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-06T22:49:18.264Z] ========================================================= [2021-07-06T22:49:18.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-06T22:49:18.265Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:49:18.705Z] + 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-07-06T22:49:18.705Z] Sending build context to Docker daemon 354.3kB [2021-07-06T22:49:18.705Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T22:49:18.705Z] Step 2/10 : FROM ${BASE} [2021-07-06T22:49:18.705Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-06T22:49:18.705Z] 540db60ca938: Pulling fs layer [2021-07-06T22:49:18.705Z] adcc1eea9eea: Pulling fs layer [2021-07-06T22:49:18.705Z] 4c4ab2625f07: Pulling fs layer [2021-07-06T22:49:18.705Z] 0510c868ecb4: Pulling fs layer [2021-07-06T22:49:18.705Z] afea3b2eda06: Pulling fs layer [2021-07-06T22:49:18.705Z] 7809a108b3ef: Pulling fs layer [2021-07-06T22:49:18.705Z] f706445af74f: Pulling fs layer [2021-07-06T22:49:18.705Z] 0510c868ecb4: Waiting [2021-07-06T22:49:18.705Z] afea3b2eda06: Waiting [2021-07-06T22:49:18.705Z] 7809a108b3ef: Waiting [2021-07-06T22:49:18.705Z] f706445af74f: Waiting [2021-07-06T22:49:18.977Z] 4c4ab2625f07: Verifying Checksum [2021-07-06T22:49:18.977Z] 4c4ab2625f07: Download complete [2021-07-06T22:49:18.977Z] adcc1eea9eea: Verifying Checksum [2021-07-06T22:49:18.977Z] adcc1eea9eea: Download complete [2021-07-06T22:49:18.977Z] afea3b2eda06: Verifying Checksum [2021-07-06T22:49:18.977Z] afea3b2eda06: Download complete [2021-07-06T22:49:18.977Z] 7809a108b3ef: Verifying Checksum [2021-07-06T22:49:18.977Z] 7809a108b3ef: Download complete [2021-07-06T22:49:18.977Z] 540db60ca938: Verifying Checksum [2021-07-06T22:49:18.977Z] 540db60ca938: Download complete [2021-07-06T22:49:19.248Z] 540db60ca938: Pull complete [2021-07-06T22:49:19.526Z] adcc1eea9eea: Pull complete [2021-07-06T22:49:19.526Z] 4c4ab2625f07: Pull complete [2021-07-06T22:49:20.936Z] f706445af74f: Verifying Checksum [2021-07-06T22:49:20.936Z] f706445af74f: Download complete [2021-07-06T22:49:21.205Z] 0510c868ecb4: Verifying Checksum [2021-07-06T22:49:21.205Z] 0510c868ecb4: Download complete [2021-07-06T22:49:24.557Z] 0510c868ecb4: Pull complete [2021-07-06T22:49:24.557Z] afea3b2eda06: Pull complete [2021-07-06T22:49:24.557Z] 7809a108b3ef: Pull complete [2021-07-06T22:49:25.965Z] f706445af74f: Pull complete [2021-07-06T22:49:25.965Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-06T22:49:25.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-06T22:49:25.965Z] ---> b068be0155e3 [2021-07-06T22:49:25.965Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-07-06T22:49:28.547Z] ---> Running in 160df1db432f [2021-07-06T22:49:28.547Z] Removing intermediate container 160df1db432f [2021-07-06T22:49:28.547Z] ---> b6d950b5dea6 [2021-07-06T22:49:28.547Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-07-06T22:49:28.547Z] ---> Running in 533b0a9c2399 [2021-07-06T22:49:28.547Z] Removing intermediate container 533b0a9c2399 [2021-07-06T22:49:28.547Z] ---> 9905e2fd1cd4 [2021-07-06T22:49:28.547Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-07-06T22:49:28.547Z] ---> Running in 9ea99f9f738f [2021-07-06T22:49:28.547Z] Removing intermediate container 9ea99f9f738f [2021-07-06T22:49:28.547Z] ---> 21a30b08edde [2021-07-06T22:49:28.547Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T22:49:28.807Z] ---> Running in 5602f3e0ed6c [2021-07-06T22:49:29.386Z] Removing intermediate container 5602f3e0ed6c [2021-07-06T22:49:29.386Z] ---> e8911b2d201d [2021-07-06T22:49:29.386Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-06T22:49:29.386Z] ---> Running in ecf60f6dfb5f [2021-07-06T22:49:29.659Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:49:30.245Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:49:30.841Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-07-06T22:49:30.841Z] (2/13) Installing libsodium (1.0.18-r0) [2021-07-06T22:49:30.841Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-07-06T22:49:31.112Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-07-06T22:49:31.112Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-07-06T22:49:31.112Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-07-06T22:49:31.380Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-07-06T22:49:31.643Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-07-06T22:49:31.643Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-07-06T22:49:31.643Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-07-06T22:49:31.904Z] (11/13) Installing openssh (8.4_p1-r3) [2021-07-06T22:49:31.904Z] (12/13) Installing libzmq (4.3.3-r1) [2021-07-06T22:49:31.904Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-07-06T22:49:32.169Z] Executing busybox-1.32.1-r6.trigger [2021-07-06T22:49:32.169Z] OK: 156 MiB in 53 packages [2021-07-06T22:49:32.741Z] Removing intermediate container ecf60f6dfb5f [2021-07-06T22:49:32.741Z] ---> 482c1914bb68 [2021-07-06T22:49:32.741Z] Step 8/10 : WORKDIR /device-snmp-go [2021-07-06T22:49:32.741Z] ---> Running in 43959adffbb1 [2021-07-06T22:49:32.741Z] Removing intermediate container 43959adffbb1 [2021-07-06T22:49:32.741Z] ---> 06adbe22f68c [2021-07-06T22:49:32.741Z] Step 9/10 : COPY . . [2021-07-06T22:49:33.008Z] ---> e98abf50ac34 [2021-07-06T22:49:33.008Z] Step 10/10 : RUN go mod download [2021-07-06T22:49:33.008Z] ---> Running in 2c1aef09e13c [2021-07-06T22:49:47.963Z] Removing intermediate container 2c1aef09e13c [2021-07-06T22:49:47.963Z] ---> f92d9c6e1eff [2021-07-06T22:49:47.963Z] Successfully built f92d9c6e1eff [2021-07-06T22:49:47.963Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:49:48.319Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-06T22:49:48.319Z] . [Pipeline] withDockerContainer [2021-07-06T22:49:48.427Z] prd-centos7-docker-4c-2g-655 does not seem to be running inside a container [2021-07-06T22:49:48.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-06T22:49:48.848Z] $ docker top b73962b0438394ae81888f6f1fe36a1a7c5a42fc7d8b7d9e959dd70dd6c6c5db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:49:49.308Z] + go version [2021-07-06T22:49:49.308Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-06T22:49:49.337Z] $ docker stop --time=1 b73962b0438394ae81888f6f1fe36a1a7c5a42fc7d8b7d9e959dd70dd6c6c5db [2021-07-06T22:49:50.512Z] $ docker rm -f b73962b0438394ae81888f6f1fe36a1a7c5a42fc7d8b7d9e959dd70dd6c6c5db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:49:51.314Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-06T22:49:51.314Z] . [Pipeline] withDockerContainer [2021-07-06T22:49:51.414Z] prd-centos7-docker-4c-2g-655 does not seem to be running inside a container [2021-07-06T22:49:51.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-06T22:49:51.804Z] $ docker top acfe90a14e601c957cc4c45e703dc7bbdeec469a1d6a466116b526a59e378b3e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:49:52.257Z] + go mod tidy [Pipeline] sh [2021-07-06T22:49:52.845Z] + make test [2021-07-06T22:49:52.845Z] go mod tidy [2021-07-06T22:49:53.113Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-06T22:49:53.375Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-07-06T22:50:08.376Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-07-06T22:50:08.376Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-07-06T22:50:08.376Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-06T22:50:15.014Z] gofmt -l . [2021-07-06T22:50:15.014Z] [ "`gofmt -l .`" = "" ] [2021-07-06T22:50:15.014Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-07-06T22:50:15.619Z] $ docker stop --time=1 acfe90a14e601c957cc4c45e703dc7bbdeec469a1d6a466116b526a59e378b3e [2021-07-06T22:50:18.379Z] $ docker rm -f acfe90a14e601c957cc4c45e703dc7bbdeec469a1d6a466116b526a59e378b3e [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T22:50:18.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-06T22:50:19.083Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-06T22:50:20.295Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-06T22:50:20.618Z] + ls -al . [2021-07-06T22:50:20.618Z] total 112 [2021-07-06T22:50:20.618Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jul 6 22:50 . [2021-07-06T22:50:20.618Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 6 22:48 .. [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jul 6 22:48 Attribution.txt [2021-07-06T22:50:20.618Z] drwxrwxr-x. 2 jenkins jenkins 60 Jul 6 22:48 bin [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 4401 Jul 6 22:48 CHANGELOG.md [2021-07-06T22:50:20.618Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 6 22:48 cmd [2021-07-06T22:50:20.618Z] -rw-r--r--. 1 jenkins jenkins 7631 Jul 6 22:50 coverage.out [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jul 6 22:48 Dockerfile [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jul 6 22:48 Dockerfile.build [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 6 Jul 6 22:48 .dockerignore [2021-07-06T22:50:20.618Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 6 22:48 .git [2021-07-06T22:50:20.618Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 6 22:48 .github [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 269 Jul 6 22:48 .gitignore [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 208 Jul 6 22:48 go.mod [2021-07-06T22:50:20.618Z] -rw-r--r--. 1 jenkins jenkins 20831 Jul 6 22:49 go.sum [2021-07-06T22:50:20.618Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 6 22:48 internal [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 656 Jul 6 22:48 Jenkinsfile [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 6 22:48 LICENSE [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 936 Jul 6 22:48 Makefile [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jul 6 22:48 README.md [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 6 22:40 VERSION [2021-07-06T22:50:20.618Z] -rw-rw-r--. 1 jenkins jenkins 209 Jul 6 22:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:20.969Z] + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=189d47ff213bf991ba18b7c83461bde848db16b3 --label arch=amd64 --label version=2.0.1-dev.1 . [2021-07-06T22:50:20.969Z] Sending build context to Docker daemon 362.5kB [2021-07-06T22:50:20.969Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T22:50:20.969Z] Step 2/24 : FROM ${BASE} AS builder [2021-07-06T22:50:20.969Z] ---> f92d9c6e1eff [2021-07-06T22:50:20.969Z] Step 3/24 : ARG MAKE='make build' [2021-07-06T22:50:21.229Z] ---> Running in 39cc1175d8e2 [2021-07-06T22:50:21.489Z] Removing intermediate container 39cc1175d8e2 [2021-07-06T22:50:21.489Z] ---> 86ef6e426796 [2021-07-06T22:50:21.489Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-06T22:50:21.489Z] ---> Running in 297467a218e2 [2021-07-06T22:50:21.750Z] Removing intermediate container 297467a218e2 [2021-07-06T22:50:21.750Z] ---> 81946a1c88c0 [2021-07-06T22:50:21.750Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-07-06T22:50:21.750Z] ---> Running in df61764591a1 [2021-07-06T22:50:21.750Z] Removing intermediate container df61764591a1 [2021-07-06T22:50:21.750Z] ---> ac0bcbd2670a [2021-07-06T22:50:21.750Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T22:50:21.750Z] ---> Running in 8e6c754e4566 [2021-07-06T22:50:22.326Z] Removing intermediate container 8e6c754e4566 [2021-07-06T22:50:22.326Z] ---> 53d3418f3cf7 [2021-07-06T22:50:22.326Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-06T22:50:22.326Z] ---> Running in dcbba301d520 [2021-07-06T22:50:22.902Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:50:23.479Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:50:24.054Z] OK: 156 MiB in 53 packages [2021-07-06T22:50:24.315Z] Removing intermediate container dcbba301d520 [2021-07-06T22:50:24.315Z] ---> 298b46b423e2 [2021-07-06T22:50:24.315Z] Step 8/24 : WORKDIR /device-snmp-go [2021-07-06T22:50:24.315Z] ---> Running in 2db0041e4495 [2021-07-06T22:50:24.315Z] Removing intermediate container 2db0041e4495 [2021-07-06T22:50:24.315Z] ---> d3d0af1e5e7c [2021-07-06T22:50:24.315Z] Step 9/24 : COPY . . [2021-07-06T22:50:24.582Z] ---> f44ea7c2d583 [2021-07-06T22:50:24.582Z] Step 10/24 : RUN go mod tidy [2021-07-06T22:50:24.582Z] ---> Running in be21e6bca844 [2021-07-06T22:50:25.154Z] Removing intermediate container be21e6bca844 [2021-07-06T22:50:25.154Z] ---> f43576e6a64f [2021-07-06T22:50:25.154Z] Step 11/24 : RUN make update [2021-07-06T22:50:25.154Z] ---> Running in 1af2e2fe454c [2021-07-06T22:50:25.418Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-07-06T22:50:25.678Z] Removing intermediate container 1af2e2fe454c [2021-07-06T22:50:25.678Z] ---> e7062d6a307c [2021-07-06T22:50:25.678Z] Step 12/24 : RUN ${MAKE} [2021-07-06T22:50:25.678Z] ---> Running in 6c46a0c69a80 [2021-07-06T22:50:25.949Z] go mod tidy [2021-07-06T22:50:26.214Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.0.1-dev.1" -o cmd/device-snmp ./cmd [2021-07-06T22:50:41.306Z] Removing intermediate container 6c46a0c69a80 [2021-07-06T22:50:41.306Z] ---> b75d0a19c2a5 [2021-07-06T22:50:41.306Z] Step 13/24 : FROM alpine:3.12 [2021-07-06T22:50:41.306Z] 3.12: Pulling from library/alpine [2021-07-06T22:50:41.306Z] 339de151aab4: Pulling fs layer [2021-07-06T22:50:41.306Z] 339de151aab4: Verifying Checksum [2021-07-06T22:50:41.306Z] 339de151aab4: Download complete [2021-07-06T22:50:41.306Z] 339de151aab4: Pull complete [2021-07-06T22:50:41.306Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-06T22:50:41.306Z] Status: Downloaded newer image for alpine:3.12 [2021-07-06T22:50:41.306Z] ---> 13621d1b12d4 [2021-07-06T22:50:41.306Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-06T22:50:41.601Z] ---> Running in 2a707b425661 [2021-07-06T22:50:41.871Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:50:41.871Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:50:42.151Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-06T22:50:42.151Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-06T22:50:42.151Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-06T22:50:42.151Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-06T22:50:42.151Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-06T22:50:42.151Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-06T22:50:42.151Z] Executing busybox-1.31.1-r20.trigger [2021-07-06T22:50:42.151Z] OK: 8 MiB in 20 packages [2021-07-06T22:50:42.725Z] Removing intermediate container 2a707b425661 [2021-07-06T22:50:42.725Z] ---> 478632b773e8 [2021-07-06T22:50:42.725Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-07-06T22:50:43.721Z] ---> 31b4b8349f38 [2021-07-06T22:50:43.721Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-07-06T22:50:44.000Z] ---> 5d1b2fb503f0 [2021-07-06T22:50:44.000Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-07-06T22:50:44.000Z] ---> e7cf948a7fa3 [2021-07-06T22:50:44.000Z] Step 18/24 : EXPOSE 59993 [2021-07-06T22:50:44.295Z] ---> Running in b1e21d9c1394 [2021-07-06T22:50:44.295Z] Removing intermediate container b1e21d9c1394 [2021-07-06T22:50:44.295Z] ---> cf55070620e2 [2021-07-06T22:50:44.295Z] Step 19/24 : EXPOSE 161 [2021-07-06T22:50:44.572Z] ---> Running in 7928fd121c44 [2021-07-06T22:50:44.572Z] Removing intermediate container 7928fd121c44 [2021-07-06T22:50:44.572Z] ---> 3285c8e6bb30 [2021-07-06T22:50:44.572Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-07-06T22:50:44.572Z] ---> Running in 03f1187c7c3d [2021-07-06T22:50:44.839Z] Removing intermediate container 03f1187c7c3d [2021-07-06T22:50:44.839Z] ---> b849c3eb9e50 [2021-07-06T22:50:44.839Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-07-06T22:50:44.839Z] ---> Running in 6faeb27349d8 [2021-07-06T22:50:44.839Z] Removing intermediate container 6faeb27349d8 [2021-07-06T22:50:44.839Z] ---> 1db8299fcd45 [2021-07-06T22:50:44.839Z] Step 22/24 : LABEL arch=amd64 [2021-07-06T22:50:45.102Z] ---> Running in e3316589bd60 [2021-07-06T22:50:45.102Z] Removing intermediate container e3316589bd60 [2021-07-06T22:50:45.102Z] ---> 17d158911057 [2021-07-06T22:50:45.102Z] Step 23/24 : LABEL git_sha=189d47ff213bf991ba18b7c83461bde848db16b3 [2021-07-06T22:50:45.102Z] ---> Running in fdd1ac0f6758 [2021-07-06T22:50:45.377Z] Removing intermediate container fdd1ac0f6758 [2021-07-06T22:50:45.377Z] ---> a0d0a03542b3 [2021-07-06T22:50:45.377Z] Step 24/24 : LABEL version=2.0.1-dev.1 [2021-07-06T22:50:45.377Z] ---> Running in 768edf5f2511 [2021-07-06T22:50:45.665Z] Removing intermediate container 768edf5f2511 [2021-07-06T22:50:45.665Z] ---> 2c2e92cad170 [2021-07-06T22:50:45.665Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-06T22:50:45.665Z] Successfully built 2c2e92cad170 [2021-07-06T22:50:45.665Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:50:46.150Z] provisioning config files... [2021-07-06T22:50:46.175Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config2159391415784805124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:50:46.613Z] ---> docker-login.sh [2021-07-06T22:50:46.613Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:50:46.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:50:46.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:50:46.613Z] Configure a credential helper to remove this warning. See [2021-07-06T22:50:46.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:50:46.613Z] [2021-07-06T22:50:46.613Z] Login Succeeded [2021-07-06T22:50:46.613Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:50:46.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:50:46.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:50:46.898Z] Configure a credential helper to remove this warning. See [2021-07-06T22:50:46.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:50:46.898Z] [2021-07-06T22:50:46.898Z] Login Succeeded [2021-07-06T22:50:46.898Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:50:46.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:50:46.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:50:46.898Z] Configure a credential helper to remove this warning. See [2021-07-06T22:50:46.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:50:46.898Z] [2021-07-06T22:50:46.898Z] Login Succeeded [2021-07-06T22:50:46.898Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:50:46.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:50:47.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:50:47.192Z] Configure a credential helper to remove this warning. See [2021-07-06T22:50:47.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:50:47.192Z] [2021-07-06T22:50:47.192Z] Login Succeeded [2021-07-06T22:50:47.192Z] docker.io [2021-07-06T22:50:47.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:50:47.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:50:47.461Z] Configure a credential helper to remove this warning. See [2021-07-06T22:50:47.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:50:47.461Z] [2021-07-06T22:50:47.461Z] Login Succeeded [2021-07-06T22:50:47.461Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:50:47.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-06T22:50:47.861Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2021-07-06T22:50:47.861Z] 189d47ff213bf991ba18b7c83461bde848db16b3 [2021-07-06T22:50:47.861Z] latest [2021-07-06T22:50:47.861Z] 2.0.1-dev.1 [2021-07-06T22:50:47.861Z] 189d47ff213bf991ba18b7c83461bde848db16b3-2.0.1-dev.1 [2021-07-06T22:50:47.861Z] main [2021-07-06T22:50:47.861Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:48.535Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:189d47ff213bf991ba18b7c83461bde848db16b3 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:48.946Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:189d47ff213bf991ba18b7c83461bde848db16b3 [2021-07-06T22:50:48.947Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-07-06T22:50:48.947Z] 8849cffc5b2d: Preparing [2021-07-06T22:50:48.947Z] ee356ae7b3e4: Preparing [2021-07-06T22:50:48.947Z] db2462260bee: Preparing [2021-07-06T22:50:48.947Z] d920eaf693ce: Preparing [2021-07-06T22:50:48.947Z] 32f366d666a5: Preparing [2021-07-06T22:50:48.947Z] 32f366d666a5: Layer already exists [2021-07-06T22:50:49.212Z] ee356ae7b3e4: Pushed [2021-07-06T22:50:49.212Z] 8849cffc5b2d: Pushed [2021-07-06T22:50:49.212Z] d920eaf693ce: Pushed [2021-07-06T22:50:50.157Z] db2462260bee: Pushed [2021-07-06T22:50:50.422Z] 189d47ff213bf991ba18b7c83461bde848db16b3: digest: sha256:f263597c7f3ca1e6aa9278384a84c4360aaaaeaba2e9d1bed18f5bc3dd34f29c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:50.932Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:51.294Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-07-06T22:50:51.294Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-07-06T22:50:51.294Z] 8849cffc5b2d: Preparing [2021-07-06T22:50:51.294Z] ee356ae7b3e4: Preparing [2021-07-06T22:50:51.294Z] db2462260bee: Preparing [2021-07-06T22:50:51.294Z] d920eaf693ce: Preparing [2021-07-06T22:50:51.294Z] 32f366d666a5: Preparing [2021-07-06T22:50:51.294Z] db2462260bee: Layer already exists [2021-07-06T22:50:51.294Z] 8849cffc5b2d: Layer already exists [2021-07-06T22:50:51.294Z] 32f366d666a5: Layer already exists [2021-07-06T22:50:51.294Z] d920eaf693ce: Layer already exists [2021-07-06T22:50:51.294Z] ee356ae7b3e4: Layer already exists [2021-07-06T22:50:51.294Z] latest: digest: sha256:f263597c7f3ca1e6aa9278384a84c4360aaaaeaba2e9d1bed18f5bc3dd34f29c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:51.667Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:52.033Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.0.1-dev.1 [2021-07-06T22:50:52.033Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-07-06T22:50:52.033Z] 8849cffc5b2d: Preparing [2021-07-06T22:50:52.033Z] ee356ae7b3e4: Preparing [2021-07-06T22:50:52.033Z] db2462260bee: Preparing [2021-07-06T22:50:52.033Z] d920eaf693ce: Preparing [2021-07-06T22:50:52.033Z] 32f366d666a5: Preparing [2021-07-06T22:50:52.033Z] ee356ae7b3e4: Layer already exists [2021-07-06T22:50:52.033Z] 8849cffc5b2d: Layer already exists [2021-07-06T22:50:52.033Z] 32f366d666a5: Layer already exists [2021-07-06T22:50:52.033Z] db2462260bee: Layer already exists [2021-07-06T22:50:52.033Z] d920eaf693ce: Layer already exists [2021-07-06T22:50:52.033Z] 2.0.1-dev.1: digest: sha256:f263597c7f3ca1e6aa9278384a84c4360aaaaeaba2e9d1bed18f5bc3dd34f29c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:52.433Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:189d47ff213bf991ba18b7c83461bde848db16b3-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:52.794Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:189d47ff213bf991ba18b7c83461bde848db16b3-2.0.1-dev.1 [2021-07-06T22:50:52.794Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-07-06T22:50:52.794Z] 8849cffc5b2d: Preparing [2021-07-06T22:50:52.794Z] ee356ae7b3e4: Preparing [2021-07-06T22:50:52.794Z] db2462260bee: Preparing [2021-07-06T22:50:52.794Z] d920eaf693ce: Preparing [2021-07-06T22:50:52.794Z] 32f366d666a5: Preparing [2021-07-06T22:50:52.794Z] 8849cffc5b2d: Layer already exists [2021-07-06T22:50:52.794Z] d920eaf693ce: Layer already exists [2021-07-06T22:50:52.794Z] ee356ae7b3e4: Layer already exists [2021-07-06T22:50:52.794Z] 32f366d666a5: Layer already exists [2021-07-06T22:50:52.794Z] db2462260bee: Layer already exists [2021-07-06T22:50:52.794Z] 189d47ff213bf991ba18b7c83461bde848db16b3-2.0.1-dev.1: digest: sha256:f263597c7f3ca1e6aa9278384a84c4360aaaaeaba2e9d1bed18f5bc3dd34f29c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:53.214Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:53.631Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2021-07-06T22:50:53.631Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-07-06T22:50:53.631Z] 8849cffc5b2d: Preparing [2021-07-06T22:50:53.631Z] ee356ae7b3e4: Preparing [2021-07-06T22:50:53.631Z] db2462260bee: Preparing [2021-07-06T22:50:53.631Z] d920eaf693ce: Preparing [2021-07-06T22:50:53.631Z] 32f366d666a5: Preparing [2021-07-06T22:50:53.631Z] db2462260bee: Layer already exists [2021-07-06T22:50:53.631Z] 32f366d666a5: Layer already exists [2021-07-06T22:50:53.631Z] ee356ae7b3e4: Layer already exists [2021-07-06T22:50:53.631Z] d920eaf693ce: Layer already exists [2021-07-06T22:50:53.631Z] 8849cffc5b2d: Layer already exists [2021-07-06T22:50:53.631Z] main: digest: sha256:f263597c7f3ca1e6aa9278384a84c4360aaaaeaba2e9d1bed18f5bc3dd34f29c size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-06T22:50:53.839Z] ===================================================== [Pipeline] echo [2021-07-06T22:50:53.885Z] taggedImages: [2021-07-06T22:50:53.885Z] - nexus3.edgexfoundry.org:10004/device-snmp:189d47ff213bf991ba18b7c83461bde848db16b3 [2021-07-06T22:50:53.885Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-07-06T22:50:53.885Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.0.1-dev.1 [2021-07-06T22:50:53.885Z] - nexus3.edgexfoundry.org:10004/device-snmp:189d47ff213bf991ba18b7c83461bde848db16b3-2.0.1-dev.1 [2021-07-06T22:50:53.885Z] - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:50:54.768Z] ---> job-cost.sh [2021-07-06T22:50:54.769Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Pvs3 [2021-07-06T22:51:04.859Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-06T22:51:17.165Z] lf-activate-venv(): INFO: Adding /tmp/venv-Pvs3/bin to PATH [2021-07-06T22:51:17.165Z] INFO: No Stack... [2021-07-06T22:51:17.737Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-06T22:51:17.999Z] INFO: Archiving Costs [Pipeline] sh [2021-07-06T22:51:18.325Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-07-06T22:51:18.325Z] + cut -d, -f6 [Pipeline] lock [2021-07-06T22:51:18.391Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-1-stack-cost] [2021-07-06T22:51:18.398Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-1-stack-cost] did not exist. Created. [2021-07-06T22:51:18.398Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T22:51:18.814Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-06T22:51:18.908Z] Stashed 1 file(s) [Pipeline] } [2021-07-06T22:51:18.931Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-06T23:09:23.382Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1618 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2021-07-06T23:09:23.449Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-07-06T23:09:23.722Z] Selected Git installation does not exist. Using Default [2021-07-06T23:09:23.722Z] The recommended git tool is: NONE [2021-07-06T23:09:28.903Z] using credential edgex-jenkins-ssh [2021-07-06T23:09:28.924Z] Cloning the remote Git repository [2021-07-06T23:09:28.988Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-07-06T23:09:29.114Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-07-06T23:09:29.186Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-07-06T23:09:29.187Z] > git --version # timeout=10 [2021-07-06T23:09:29.203Z] > git --version # 'git version 2.17.1' [2021-07-06T23:09:29.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-06T23:09:29.271Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T23:09:30.138Z] Avoid second fetch [2021-07-06T23:09:30.138Z] Checking out Revision 189d47ff213bf991ba18b7c83461bde848db16b3 (main) [2021-07-06T23:09:30.078Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-07-06T23:09:30.116Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T23:09:30.163Z] > git config core.sparsecheckout # timeout=10 [2021-07-06T23:09:30.182Z] > git checkout -f 189d47ff213bf991ba18b7c83461bde848db16b3 # timeout=10 [2021-07-06T23:09:34.553Z] Commit message: "Merge pull request #116 from cloudxxx8/issue-115" [2021-07-06T23:09:34.620Z] > git --version # timeout=10 [2021-07-06T23:09:34.645Z] > git --version # 'git version 2.17.1' [2021-07-06T23:09:34.659Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T23:09:36.273Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-06T23:09:36.757Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-06T23:09:37.156Z] + + sudo servicetrue docker [2021-07-06T23:09:37.156Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T23:09:55.655Z] provisioning config files... [2021-07-06T23:09:55.685Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3168854063194519017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:09:56.112Z] ---> docker-login.sh [2021-07-06T23:09:56.113Z] nexus3.edgexfoundry.org:10001 [2021-07-06T23:09:56.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:09:57.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:09:57.335Z] Configure a credential helper to remove this warning. See [2021-07-06T23:09:57.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:09:57.335Z] [2021-07-06T23:09:57.335Z] Login Succeeded [2021-07-06T23:09:57.335Z] nexus3.edgexfoundry.org:10002 [2021-07-06T23:09:57.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:09:57.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:09:57.905Z] Configure a credential helper to remove this warning. See [2021-07-06T23:09:57.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:09:57.905Z] [2021-07-06T23:09:57.905Z] Login Succeeded [2021-07-06T23:09:57.905Z] nexus3.edgexfoundry.org:10003 [2021-07-06T23:09:58.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:09:58.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:09:58.179Z] Configure a credential helper to remove this warning. See [2021-07-06T23:09:58.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:09:58.179Z] [2021-07-06T23:09:58.179Z] Login Succeeded [2021-07-06T23:09:58.179Z] nexus3.edgexfoundry.org:10004 [2021-07-06T23:09:58.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:09:58.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:09:58.776Z] Configure a credential helper to remove this warning. See [2021-07-06T23:09:58.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:09:58.776Z] [2021-07-06T23:09:58.776Z] Login Succeeded [2021-07-06T23:09:58.776Z] docker.io [2021-07-06T23:09:59.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:09:59.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:09:59.648Z] Configure a credential helper to remove this warning. See [2021-07-06T23:09:59.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:09:59.648Z] [2021-07-06T23:09:59.648Z] Login Succeeded [2021-07-06T23:09:59.648Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T23:09:59.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-06T23:10:00.267Z] ========================================================= [2021-07-06T23:10:00.268Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-06T23:10:00.268Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:10:00.704Z] + 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-07-06T23:10:00.977Z] Sending build context to Docker daemon 353.3kB [2021-07-06T23:10:00.977Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T23:10:00.977Z] Step 2/10 : FROM ${BASE} [2021-07-06T23:10:01.256Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-06T23:10:01.256Z] 595b0fe564bb: Pulling fs layer [2021-07-06T23:10:01.256Z] 3088b5b3c5c0: Pulling fs layer [2021-07-06T23:10:01.256Z] 5b7225fbf94c: Pulling fs layer [2021-07-06T23:10:01.256Z] ba82ee9f976e: Pulling fs layer [2021-07-06T23:10:01.256Z] 506bd15cee9f: Pulling fs layer [2021-07-06T23:10:01.256Z] 75a0a4a0db45: Pulling fs layer [2021-07-06T23:10:01.256Z] 618dc40b7e24: Pulling fs layer [2021-07-06T23:10:01.256Z] ba82ee9f976e: Waiting [2021-07-06T23:10:01.256Z] 506bd15cee9f: Waiting [2021-07-06T23:10:01.256Z] 75a0a4a0db45: Waiting [2021-07-06T23:10:01.256Z] 5b7225fbf94c: Download complete [2021-07-06T23:10:01.256Z] 3088b5b3c5c0: Download complete [2021-07-06T23:10:01.256Z] 506bd15cee9f: Download complete [2021-07-06T23:10:01.534Z] 75a0a4a0db45: Verifying Checksum [2021-07-06T23:10:01.534Z] 75a0a4a0db45: Download complete [2021-07-06T23:10:01.534Z] 595b0fe564bb: Download complete [2021-07-06T23:10:02.131Z] 595b0fe564bb: Pull complete [2021-07-06T23:10:02.731Z] 3088b5b3c5c0: Pull complete [2021-07-06T23:10:03.007Z] 5b7225fbf94c: Pull complete [2021-07-06T23:10:03.994Z] 618dc40b7e24: Verifying Checksum [2021-07-06T23:10:03.994Z] 618dc40b7e24: Download complete [2021-07-06T23:10:05.970Z] ba82ee9f976e: Download complete [2021-07-06T23:10:16.204Z] ba82ee9f976e: Pull complete [2021-07-06T23:10:16.204Z] 506bd15cee9f: Pull complete [2021-07-06T23:10:16.204Z] 75a0a4a0db45: Pull complete [2021-07-06T23:10:19.605Z] 618dc40b7e24: Pull complete [2021-07-06T23:10:19.605Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-06T23:10:19.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-06T23:10:19.605Z] ---> a36622ca3599 [2021-07-06T23:10:19.605Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-07-06T23:10:22.238Z] ---> Running in ca955e43fca1 [2021-07-06T23:10:22.520Z] Removing intermediate container ca955e43fca1 [2021-07-06T23:10:22.520Z] ---> da0fd92bc2cf [2021-07-06T23:10:22.520Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-07-06T23:10:22.794Z] ---> Running in e5d12794b51b [2021-07-06T23:10:23.067Z] Removing intermediate container e5d12794b51b [2021-07-06T23:10:23.067Z] ---> 00fe03f4a7db [2021-07-06T23:10:23.067Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-07-06T23:10:23.347Z] ---> Running in 179db4ceb8b0 [2021-07-06T23:10:23.950Z] Removing intermediate container 179db4ceb8b0 [2021-07-06T23:10:23.950Z] ---> 70fd77250045 [2021-07-06T23:10:23.950Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T23:10:23.950Z] ---> Running in e2f7ae6a3df3 [2021-07-06T23:10:26.578Z] Removing intermediate container e2f7ae6a3df3 [2021-07-06T23:10:26.578Z] ---> 7300e4bc03d9 [2021-07-06T23:10:26.578Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-06T23:10:26.578Z] ---> Running in 4eab64ef52d1 [2021-07-06T23:10:28.022Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-06T23:10:29.003Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-06T23:10:29.981Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-07-06T23:10:30.254Z] (2/13) Installing libsodium (1.0.18-r0) [2021-07-06T23:10:30.254Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-07-06T23:10:30.254Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-07-06T23:10:30.526Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-07-06T23:10:30.796Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-07-06T23:10:31.069Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-07-06T23:10:31.341Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-07-06T23:10:31.615Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-07-06T23:10:31.615Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-07-06T23:10:31.886Z] (11/13) Installing openssh (8.4_p1-r3) [2021-07-06T23:10:32.157Z] (12/13) Installing libzmq (4.3.3-r1) [2021-07-06T23:10:32.434Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-07-06T23:10:32.434Z] Executing busybox-1.32.1-r6.trigger [2021-07-06T23:10:32.434Z] OK: 145 MiB in 53 packages [2021-07-06T23:10:34.423Z] Removing intermediate container 4eab64ef52d1 [2021-07-06T23:10:34.423Z] ---> d914004dabc9 [2021-07-06T23:10:34.423Z] Step 8/10 : WORKDIR /device-snmp-go [2021-07-06T23:10:34.423Z] ---> Running in be0e7663e497 [2021-07-06T23:10:34.702Z] Removing intermediate container be0e7663e497 [2021-07-06T23:10:34.702Z] ---> 1cfce2965573 [2021-07-06T23:10:34.702Z] Step 9/10 : COPY . . [2021-07-06T23:10:35.689Z] ---> 558992e56741 [2021-07-06T23:10:35.689Z] Step 10/10 : RUN go mod download [2021-07-06T23:10:35.965Z] ---> Running in 93dffd6b788f [2021-07-06T23:11:02.770Z] Removing intermediate container 93dffd6b788f [2021-07-06T23:11:02.770Z] ---> b36e1d583b8f [2021-07-06T23:11:02.770Z] Successfully built b36e1d583b8f [2021-07-06T23:11:02.770Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:11:03.157Z] + docker inspect -f . ci-base-image-arm64 [2021-07-06T23:11:03.157Z] . [Pipeline] withDockerContainer [2021-07-06T23:11:03.461Z] prd-ubuntu18.04-docker-arm64-4c-16g-1618 does not seem to be running inside a container [2021-07-06T23:11:03.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-06T23:11:05.311Z] $ docker top 285bd83201ee8727430652ae87d53847d4e042d38c714054987fbea30ec85581 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T23:11:06.363Z] + go version [2021-07-06T23:11:06.363Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-06T23:11:06.398Z] $ docker stop --time=1 285bd83201ee8727430652ae87d53847d4e042d38c714054987fbea30ec85581 [2021-07-06T23:11:08.347Z] $ docker rm -f 285bd83201ee8727430652ae87d53847d4e042d38c714054987fbea30ec85581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:11:09.388Z] + docker inspect -f . ci-base-image-arm64 [2021-07-06T23:11:09.388Z] . [Pipeline] withDockerContainer [2021-07-06T23:11:09.683Z] prd-ubuntu18.04-docker-arm64-4c-16g-1618 does not seem to be running inside a container [2021-07-06T23:11:09.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-06T23:11:11.555Z] $ docker top fec450812bf929f52feaf351d87193f08757d05a4e2c6900183d6c60e38b90d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T23:11:12.632Z] + go mod tidy [Pipeline] sh [2021-07-06T23:11:13.916Z] + make test [2021-07-06T23:11:13.916Z] go mod tidy [2021-07-06T23:11:14.517Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-06T23:11:15.505Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-07-06T23:12:12.073Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-07-06T23:12:12.073Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements [2021-07-06T23:12:12.073Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-06T23:12:30.415Z] gofmt -l . [2021-07-06T23:12:30.415Z] [ "`gofmt -l .`" = "" ] [2021-07-06T23:12:30.415Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-07-06T23:12:31.903Z] $ docker stop --time=1 fec450812bf929f52feaf351d87193f08757d05a4e2c6900183d6c60e38b90d9 [2021-07-06T23:12:34.018Z] $ docker rm -f fec450812bf929f52feaf351d87193f08757d05a4e2c6900183d6c60e38b90d9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T23:12:34.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-06T23:12:35.028Z] Warning: overwriting stash ‘coverage-report’ [2021-07-06T23:12:35.473Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T23:12:36.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-06T23:12:36.617Z] + ls -al . [2021-07-06T23:12:36.617Z] total 136 [2021-07-06T23:12:36.617Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 6 23:12 . [2021-07-06T23:12:36.617Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 23:09 .. [2021-07-06T23:12:36.617Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 6 23:09 .dockerignore [2021-07-06T23:12:36.617Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 23:09 .git [2021-07-06T23:12:36.617Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 23:09 .github [2021-07-06T23:12:36.617Z] -rw-rw-r-- 1 jenkins jenkins 269 Jul 6 23:09 .gitignore [2021-07-06T23:12:36.617Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jul 6 23:09 Attribution.txt [2021-07-06T23:12:36.617Z] -rw-rw-r-- 1 jenkins jenkins 4401 Jul 6 23:09 CHANGELOG.md [2021-07-06T23:12:36.618Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jul 6 23:09 Dockerfile [2021-07-06T23:12:36.618Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jul 6 23:09 Dockerfile.build [2021-07-06T23:12:36.618Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 6 23:09 Jenkinsfile [2021-07-06T23:12:36.618Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 6 23:09 LICENSE [2021-07-06T23:12:36.618Z] -rw-rw-r-- 1 jenkins jenkins 936 Jul 6 23:09 Makefile [2021-07-06T23:12:36.618Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jul 6 23:09 README.md [2021-07-06T23:12:36.618Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 6 22:40 VERSION [2021-07-06T23:12:36.618Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 23:09 bin [2021-07-06T23:12:36.618Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 23:09 cmd [2021-07-06T23:12:36.618Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 6 23:12 coverage.out [2021-07-06T23:12:36.618Z] -rw-rw-r-- 1 jenkins jenkins 208 Jul 6 23:09 go.mod [2021-07-06T23:12:36.618Z] -rw-r--r-- 1 jenkins jenkins 20831 Jul 6 23:11 go.sum [2021-07-06T23:12:36.618Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 23:09 internal [2021-07-06T23:12:36.618Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 6 23:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:12:37.028Z] + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=189d47ff213bf991ba18b7c83461bde848db16b3 --label arch=arm64 --label version=2.0.1-dev.1 . [2021-07-06T23:12:37.328Z] Sending build context to Docker daemon 361.5kB [2021-07-06T23:12:37.328Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T23:12:37.328Z] Step 2/24 : FROM ${BASE} AS builder [2021-07-06T23:12:37.328Z] ---> b36e1d583b8f [2021-07-06T23:12:37.328Z] Step 3/24 : ARG MAKE='make build' [2021-07-06T23:12:37.607Z] ---> Running in 713a41a730c0 [2021-07-06T23:12:38.239Z] Removing intermediate container 713a41a730c0 [2021-07-06T23:12:38.239Z] ---> 764e7a974bc7 [2021-07-06T23:12:38.239Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-06T23:12:38.239Z] ---> Running in b9d51c4f851a [2021-07-06T23:12:38.856Z] Removing intermediate container b9d51c4f851a [2021-07-06T23:12:38.856Z] ---> d55d92cf5cfd [2021-07-06T23:12:38.856Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-07-06T23:12:38.856Z] ---> Running in 5d0f28fc065a [2021-07-06T23:12:39.476Z] Removing intermediate container 5d0f28fc065a [2021-07-06T23:12:39.476Z] ---> 52e54675eab1 [2021-07-06T23:12:39.476Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T23:12:39.476Z] ---> Running in 8f1e20bacedc [2021-07-06T23:12:42.112Z] Removing intermediate container 8f1e20bacedc [2021-07-06T23:12:42.112Z] ---> 37caf93b082b [2021-07-06T23:12:42.112Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-06T23:12:42.112Z] ---> Running in 8e4780ad57e9 [2021-07-06T23:12:43.551Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-06T23:12:44.528Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-06T23:12:45.522Z] OK: 145 MiB in 53 packages [2021-07-06T23:12:46.502Z] Removing intermediate container 8e4780ad57e9 [2021-07-06T23:12:46.502Z] ---> a2f115119a20 [2021-07-06T23:12:46.502Z] Step 8/24 : WORKDIR /device-snmp-go [2021-07-06T23:12:46.778Z] ---> Running in 93292edb77c1 [2021-07-06T23:12:47.371Z] Removing intermediate container 93292edb77c1 [2021-07-06T23:12:47.371Z] ---> fcf44ad68b8f [2021-07-06T23:12:47.371Z] Step 9/24 : COPY . . [2021-07-06T23:12:48.350Z] ---> 9576782c91b9 [2021-07-06T23:12:48.350Z] Step 10/24 : RUN go mod tidy [2021-07-06T23:12:48.350Z] ---> Running in f4e6dd88c441 [2021-07-06T23:12:50.974Z] Removing intermediate container f4e6dd88c441 [2021-07-06T23:12:50.974Z] ---> ba3c6fe1eacd [2021-07-06T23:12:50.974Z] Step 11/24 : RUN make update [2021-07-06T23:12:51.247Z] ---> Running in e53c3f1b20ed [2021-07-06T23:12:52.683Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-07-06T23:12:53.665Z] Removing intermediate container e53c3f1b20ed [2021-07-06T23:12:53.665Z] ---> b5184b49c5af [2021-07-06T23:12:53.665Z] Step 12/24 : RUN ${MAKE} [2021-07-06T23:12:53.665Z] ---> Running in f36bbad808f4 [2021-07-06T23:12:55.100Z] go mod tidy [2021-07-06T23:12:55.374Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.0.1-dev.1" -o cmd/device-snmp ./cmd [2021-07-06T23:13:34.413Z] Removing intermediate container f36bbad808f4 [2021-07-06T23:13:34.413Z] ---> 6fdbbe7a14e9 [2021-07-06T23:13:34.413Z] Step 13/24 : FROM alpine:3.12 [2021-07-06T23:13:34.413Z] 3.12: Pulling from library/alpine [2021-07-06T23:13:34.413Z] d2f70382dc9a: Pulling fs layer [2021-07-06T23:13:34.413Z] d2f70382dc9a: Verifying Checksum [2021-07-06T23:13:34.413Z] d2f70382dc9a: Download complete [2021-07-06T23:13:34.413Z] d2f70382dc9a: Pull complete [2021-07-06T23:13:34.413Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-06T23:13:34.413Z] Status: Downloaded newer image for alpine:3.12 [2021-07-06T23:13:34.413Z] ---> c4fd0aeabfcf [2021-07-06T23:13:34.413Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-06T23:13:34.413Z] ---> Running in d4b7ce444513 [2021-07-06T23:13:34.413Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-06T23:13:34.413Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-06T23:13:34.413Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-06T23:13:34.413Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-06T23:13:34.413Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-06T23:13:34.413Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-06T23:13:34.413Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-06T23:13:34.690Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-06T23:13:34.690Z] Executing busybox-1.31.1-r20.trigger [2021-07-06T23:13:34.690Z] OK: 8 MiB in 20 packages [2021-07-06T23:13:35.671Z] Removing intermediate container d4b7ce444513 [2021-07-06T23:13:35.671Z] ---> 9534c5ed96be [2021-07-06T23:13:35.671Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-07-06T23:13:37.116Z] ---> eabf4f8b0525 [2021-07-06T23:13:37.116Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-07-06T23:13:38.092Z] ---> df90e99f0940 [2021-07-06T23:13:38.092Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-07-06T23:13:38.717Z] ---> 09a95856daa7 [2021-07-06T23:13:38.717Z] Step 18/24 : EXPOSE 59993 [2021-07-06T23:13:38.717Z] ---> Running in 2a2bd90d0d8d [2021-07-06T23:13:39.319Z] Removing intermediate container 2a2bd90d0d8d [2021-07-06T23:13:39.319Z] ---> 4649075dd1be [2021-07-06T23:13:39.319Z] Step 19/24 : EXPOSE 161 [2021-07-06T23:13:39.319Z] ---> Running in 24a86e5c4e94 [2021-07-06T23:13:39.917Z] Removing intermediate container 24a86e5c4e94 [2021-07-06T23:13:39.917Z] ---> 4789a24ce125 [2021-07-06T23:13:39.917Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-07-06T23:13:40.191Z] ---> Running in 4d210bc68e5f [2021-07-06T23:13:40.470Z] Removing intermediate container 4d210bc68e5f [2021-07-06T23:13:40.470Z] ---> a92f6a116a96 [2021-07-06T23:13:40.470Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-07-06T23:13:40.743Z] ---> Running in 25c3a2a0df84 [2021-07-06T23:13:41.339Z] Removing intermediate container 25c3a2a0df84 [2021-07-06T23:13:41.339Z] ---> a8d544bddbb2 [2021-07-06T23:13:41.339Z] Step 22/24 : LABEL arch=arm64 [2021-07-06T23:13:41.339Z] ---> Running in c49496b76731 [2021-07-06T23:13:41.935Z] Removing intermediate container c49496b76731 [2021-07-06T23:13:41.935Z] ---> 3ddf3f70f6b3 [2021-07-06T23:13:41.935Z] Step 23/24 : LABEL git_sha=189d47ff213bf991ba18b7c83461bde848db16b3 [2021-07-06T23:13:41.935Z] ---> Running in 107fbcbda5f8 [2021-07-06T23:13:42.531Z] Removing intermediate container 107fbcbda5f8 [2021-07-06T23:13:42.531Z] ---> a34a8ac17381 [2021-07-06T23:13:42.531Z] Step 24/24 : LABEL version=2.0.1-dev.1 [2021-07-06T23:13:42.803Z] ---> Running in c9fd9decbaaf [2021-07-06T23:13:43.075Z] Removing intermediate container c9fd9decbaaf [2021-07-06T23:13:43.075Z] ---> 82077a97cad2 [2021-07-06T23:13:43.075Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-06T23:13:43.350Z] Successfully built 82077a97cad2 [2021-07-06T23:13:43.350Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T23:13:43.789Z] provisioning config files... [2021-07-06T23:13:43.812Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7654822207604244075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:13:44.217Z] ---> docker-login.sh [2021-07-06T23:13:44.217Z] nexus3.edgexfoundry.org:10001 [2021-07-06T23:13:44.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:13:44.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:13:44.762Z] Configure a credential helper to remove this warning. See [2021-07-06T23:13:44.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:13:44.762Z] [2021-07-06T23:13:44.762Z] Login Succeeded [2021-07-06T23:13:44.762Z] nexus3.edgexfoundry.org:10002 [2021-07-06T23:13:45.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:13:45.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:13:45.307Z] Configure a credential helper to remove this warning. See [2021-07-06T23:13:45.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:13:45.307Z] [2021-07-06T23:13:45.307Z] Login Succeeded [2021-07-06T23:13:45.307Z] nexus3.edgexfoundry.org:10003 [2021-07-06T23:13:45.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:13:45.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:13:45.910Z] Configure a credential helper to remove this warning. See [2021-07-06T23:13:45.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:13:45.910Z] [2021-07-06T23:13:45.910Z] Login Succeeded [2021-07-06T23:13:45.910Z] nexus3.edgexfoundry.org:10004 [2021-07-06T23:13:46.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:13:46.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:13:46.459Z] Configure a credential helper to remove this warning. See [2021-07-06T23:13:46.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:13:46.459Z] [2021-07-06T23:13:46.459Z] Login Succeeded [2021-07-06T23:13:46.459Z] docker.io [2021-07-06T23:13:47.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:13:47.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:13:47.343Z] Configure a credential helper to remove this warning. See [2021-07-06T23:13:47.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:13:47.343Z] [2021-07-06T23:13:47.343Z] Login Succeeded [2021-07-06T23:13:47.343Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T23:13:47.378Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-06T23:13:47.555Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2021-07-06T23:13:47.555Z] 189d47ff213bf991ba18b7c83461bde848db16b3 [2021-07-06T23:13:47.555Z] latest [2021-07-06T23:13:47.555Z] 2.0.1-dev.1 [2021-07-06T23:13:47.555Z] 189d47ff213bf991ba18b7c83461bde848db16b3-2.0.1-dev.1 [2021-07-06T23:13:47.555Z] main [2021-07-06T23:13:47.555Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:13:48.080Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:189d47ff213bf991ba18b7c83461bde848db16b3 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:13:48.449Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:189d47ff213bf991ba18b7c83461bde848db16b3 [2021-07-06T23:13:48.449Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-07-06T23:13:48.449Z] 9c63f44a5b71: Preparing [2021-07-06T23:13:48.449Z] fd31f77adc77: Preparing [2021-07-06T23:13:48.449Z] 049790427121: Preparing [2021-07-06T23:13:48.449Z] 12bd4e7aef35: Preparing [2021-07-06T23:13:48.449Z] 3fbe34a1663b: Preparing [2021-07-06T23:13:48.720Z] 3fbe34a1663b: Layer already exists [2021-07-06T23:13:48.720Z] 9c63f44a5b71: Pushed [2021-07-06T23:13:48.720Z] fd31f77adc77: Pushed [2021-07-06T23:13:49.316Z] 12bd4e7aef35: Pushed [2021-07-06T23:13:51.986Z] 049790427121: Pushed [2021-07-06T23:13:51.986Z] 189d47ff213bf991ba18b7c83461bde848db16b3: digest: sha256:ba52e803ab30c13db82cf9941a32e3974afb0f60dccac8fbcdba642acad84e00 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:13:52.364Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:13:52.737Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-07-06T23:13:52.737Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-07-06T23:13:52.737Z] 9c63f44a5b71: Preparing [2021-07-06T23:13:52.737Z] fd31f77adc77: Preparing [2021-07-06T23:13:52.737Z] 049790427121: Preparing [2021-07-06T23:13:52.737Z] 12bd4e7aef35: Preparing [2021-07-06T23:13:52.737Z] 3fbe34a1663b: Preparing [2021-07-06T23:13:52.737Z] 049790427121: Layer already exists [2021-07-06T23:13:52.737Z] 3fbe34a1663b: Layer already exists [2021-07-06T23:13:52.737Z] 12bd4e7aef35: Layer already exists [2021-07-06T23:13:52.737Z] fd31f77adc77: Layer already exists [2021-07-06T23:13:52.737Z] 9c63f44a5b71: Layer already exists [2021-07-06T23:13:53.015Z] latest: digest: sha256:ba52e803ab30c13db82cf9941a32e3974afb0f60dccac8fbcdba642acad84e00 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:13:53.414Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:13:53.821Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.0.1-dev.1 [2021-07-06T23:13:53.821Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-07-06T23:13:53.821Z] 9c63f44a5b71: Preparing [2021-07-06T23:13:53.821Z] fd31f77adc77: Preparing [2021-07-06T23:13:53.821Z] 049790427121: Preparing [2021-07-06T23:13:53.821Z] 12bd4e7aef35: Preparing [2021-07-06T23:13:53.821Z] 3fbe34a1663b: Preparing [2021-07-06T23:13:53.821Z] 049790427121: Layer already exists [2021-07-06T23:13:53.821Z] fd31f77adc77: Layer already exists [2021-07-06T23:13:53.821Z] 3fbe34a1663b: Layer already exists [2021-07-06T23:13:53.821Z] 12bd4e7aef35: Layer already exists [2021-07-06T23:13:53.821Z] 9c63f44a5b71: Layer already exists [2021-07-06T23:13:54.094Z] 2.0.1-dev.1: digest: sha256:ba52e803ab30c13db82cf9941a32e3974afb0f60dccac8fbcdba642acad84e00 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:13:54.475Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:189d47ff213bf991ba18b7c83461bde848db16b3-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:13:54.872Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:189d47ff213bf991ba18b7c83461bde848db16b3-2.0.1-dev.1 [2021-07-06T23:13:54.872Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-07-06T23:13:54.872Z] 9c63f44a5b71: Preparing [2021-07-06T23:13:54.872Z] fd31f77adc77: Preparing [2021-07-06T23:13:54.872Z] 049790427121: Preparing [2021-07-06T23:13:54.872Z] 12bd4e7aef35: Preparing [2021-07-06T23:13:54.872Z] 3fbe34a1663b: Preparing [2021-07-06T23:13:55.145Z] fd31f77adc77: Layer already exists [2021-07-06T23:13:55.145Z] 12bd4e7aef35: Layer already exists [2021-07-06T23:13:55.145Z] 049790427121: Layer already exists [2021-07-06T23:13:55.145Z] 3fbe34a1663b: Layer already exists [2021-07-06T23:13:55.145Z] 9c63f44a5b71: Layer already exists [2021-07-06T23:13:55.145Z] 189d47ff213bf991ba18b7c83461bde848db16b3-2.0.1-dev.1: digest: sha256:ba52e803ab30c13db82cf9941a32e3974afb0f60dccac8fbcdba642acad84e00 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:13:55.527Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:13:55.926Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2021-07-06T23:13:55.926Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-07-06T23:13:55.926Z] 9c63f44a5b71: Preparing [2021-07-06T23:13:55.926Z] fd31f77adc77: Preparing [2021-07-06T23:13:55.926Z] 049790427121: Preparing [2021-07-06T23:13:55.926Z] 12bd4e7aef35: Preparing [2021-07-06T23:13:55.926Z] 3fbe34a1663b: Preparing [2021-07-06T23:13:55.926Z] 3fbe34a1663b: Layer already exists [2021-07-06T23:13:55.926Z] 9c63f44a5b71: Layer already exists [2021-07-06T23:13:56.202Z] 12bd4e7aef35: Layer already exists [2021-07-06T23:13:56.202Z] 049790427121: Layer already exists [2021-07-06T23:13:56.202Z] fd31f77adc77: Layer already exists [2021-07-06T23:13:56.202Z] main: digest: sha256:ba52e803ab30c13db82cf9941a32e3974afb0f60dccac8fbcdba642acad84e00 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-06T23:13:56.419Z] ===================================================== [Pipeline] echo [2021-07-06T23:13:56.462Z] taggedImages: [2021-07-06T23:13:56.462Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:189d47ff213bf991ba18b7c83461bde848db16b3 [2021-07-06T23:13:56.462Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-07-06T23:13:56.462Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.0.1-dev.1 [2021-07-06T23:13:56.462Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:189d47ff213bf991ba18b7c83461bde848db16b3-2.0.1-dev.1 [2021-07-06T23:13:56.462Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:13:57.050Z] ---> job-cost.sh [2021-07-06T23:13:57.050Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Q2xb [2021-07-06T23:14:36.095Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-06T23:16:12.876Z] lf-activate-venv(): INFO: Adding /tmp/venv-Q2xb/bin to PATH [2021-07-06T23:16:12.876Z] INFO: No Stack... [2021-07-06T23:16:12.876Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-06T23:16:12.876Z] INFO: Archiving Costs [Pipeline] sh [2021-07-06T23:16:13.241Z] + cut -d, -f6 [2021-07-06T23:16:13.241Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-07-06T23:16:13.330Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-1-stack-cost] [2021-07-06T23:16:13.337Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-1-stack-cost] did not exist. Created. [2021-07-06T23:16:13.337Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T23:16:13.791Z] /w/workspace/device-snmp-go/1@tmp/durable-4e2253aa/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-4e2253aa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-06T23:16:14.220Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-06T23:16:14.281Z] Warning: overwriting stash ‘stack-cost’ [2021-07-06T23:16:14.437Z] Stashed 1 file(s) [Pipeline] } [2021-07-06T23:16:14.468Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-1-stack-cost] [Pipeline] // lock [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-07-06T23:16:15.579Z] provisioning config files... [2021-07-06T23:16:15.588Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8527417828882850393tmp [Pipeline] { [Pipeline] sh [2021-07-06T23:16:16.092Z] + set +x [2021-07-06T23:16:16.092Z] + bash -s -- [2021-07-06T23:16:16.092Z] + curl -s https://codecov.io/bash [2021-07-06T23:16:16.092Z] [2021-07-06T23:16:16.092Z] _____ _ [2021-07-06T23:16:16.092Z] / ____| | | [2021-07-06T23:16:16.092Z] | | ___ __| | ___ ___ _____ __ [2021-07-06T23:16:16.092Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-06T23:16:16.092Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-06T23:16:16.092Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-06T23:16:16.092Z] Bash-1.0.3 [2021-07-06T23:16:16.092Z] [2021-07-06T23:16:16.092Z] [2021-07-06T23:16:16.092Z] ==> git version 2.24.4 found [2021-07-06T23:16:16.092Z] ==> 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-07-06T23:16:16.092Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-06T23:16:16.092Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-06T23:16:16.092Z] ==> Jenkins CI detected. [2021-07-06T23:16:16.092Z] project root: . [2021-07-06T23:16:16.092Z] --> token set from env [2021-07-06T23:16:16.092Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-06T23:16:16.092Z] ==> Running gcov in . (disable via -X gcov) [2021-07-06T23:16:16.092Z] ==> Python coveragepy not found [2021-07-06T23:16:16.092Z] ==> Searching for coverage reports in: [2021-07-06T23:16:16.092Z] + . [2021-07-06T23:16:16.092Z] -> Found 1 reports [2021-07-06T23:16:16.092Z] ==> Detecting git/mercurial file structure [2021-07-06T23:16:16.092Z] ==> Reading reports [2021-07-06T23:16:16.092Z] + ./coverage.out bytes=7631 [2021-07-06T23:16:16.092Z] ==> Appending adjustments [2021-07-06T23:16:16.092Z] https://docs.codecov.io/docs/fixing-reports [2021-07-06T23:16:16.092Z] + Found adjustments [2021-07-06T23:16:16.092Z] ==> Gzipping contents [2021-07-06T23:16:16.092Z] 4.0K /tmp/codecov.ii4J09.gz [2021-07-06T23:16:16.092Z] ==> Uploading reports [2021-07-06T23:16:16.092Z] url: https://codecov.io [2021-07-06T23:16:16.092Z] query: branch=main&commit=189d47ff213bf991ba18b7c83461bde848db16b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-06T23:16:16.092Z] -> Pinging Codecov [2021-07-06T23:16:16.092Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=main&commit=189d47ff213bf991ba18b7c83461bde848db16b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-06T23:16:16.725Z] -> Uploading to [2021-07-06T23:16:16.725Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-06/6C56EA5C29638FB4528AC87E60AF5AE0/189d47ff213bf991ba18b7c83461bde848db16b3/a483bcad-3c8d-4552-9694-91203352c6cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210706%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210706T231616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20216d4ab62f60a4343e8b39d8e6c6ef484a97c75aa2c9378789710990e0c283 [2021-07-06T23:16:16.725Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-06T23:16:16.725Z] Dload Upload Total Spent Left Speed [2021-07-06T23:16:16.987Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 3545 --:--:-- --:--:-- --:--:-- 3551 [2021-07-06T23:16:16.987Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/189d47ff213bf991ba18b7c83461bde848db16b3 [Pipeline] } [2021-07-06T23:16:17.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-06T23:16:17.659Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-06T23:16:17.692Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:16:18.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T23:16:18.121Z] [2021-07-06T23:16:18.121Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:16:18.520Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T23:16:18.520Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-06T23:16:18.520Z] 188c0c94c7c5: Pulling fs layer [2021-07-06T23:16:18.520Z] 0ef7d3d256c8: Pulling fs layer [2021-07-06T23:16:18.520Z] de9db76c5a1d: Pulling fs layer [2021-07-06T23:16:18.520Z] 0eba1c9be4d2: Pulling fs layer [2021-07-06T23:16:18.520Z] 0d57e429df01: Pulling fs layer [2021-07-06T23:16:18.520Z] 4e4be7b47b0d: Pulling fs layer [2021-07-06T23:16:18.520Z] e1f770b5df2f: Pulling fs layer [2021-07-06T23:16:18.520Z] 85a0685a4137: Pulling fs layer [2021-07-06T23:16:18.520Z] 0eba1c9be4d2: Waiting [2021-07-06T23:16:18.520Z] 0d57e429df01: Waiting [2021-07-06T23:16:18.520Z] 4e4be7b47b0d: Waiting [2021-07-06T23:16:18.520Z] e1f770b5df2f: Waiting [2021-07-06T23:16:18.520Z] 85a0685a4137: Waiting [2021-07-06T23:16:18.781Z] de9db76c5a1d: Verifying Checksum [2021-07-06T23:16:18.781Z] de9db76c5a1d: Download complete [2021-07-06T23:16:18.781Z] 0ef7d3d256c8: Verifying Checksum [2021-07-06T23:16:18.781Z] 0ef7d3d256c8: Download complete [2021-07-06T23:16:18.781Z] 0d57e429df01: Verifying Checksum [2021-07-06T23:16:18.781Z] 0d57e429df01: Download complete [2021-07-06T23:16:18.781Z] 4e4be7b47b0d: Verifying Checksum [2021-07-06T23:16:18.781Z] 4e4be7b47b0d: Download complete [2021-07-06T23:16:19.048Z] 188c0c94c7c5: Verifying Checksum [2021-07-06T23:16:19.048Z] 188c0c94c7c5: Download complete [2021-07-06T23:16:19.048Z] 188c0c94c7c5: Pull complete [2021-07-06T23:16:19.311Z] 0ef7d3d256c8: Pull complete [2021-07-06T23:16:19.573Z] de9db76c5a1d: Pull complete [2021-07-06T23:16:20.146Z] e1f770b5df2f: Verifying Checksum [2021-07-06T23:16:20.146Z] e1f770b5df2f: Download complete [2021-07-06T23:16:24.375Z] 0eba1c9be4d2: Verifying Checksum [2021-07-06T23:16:24.375Z] 0eba1c9be4d2: Download complete [2021-07-06T23:16:24.375Z] 85a0685a4137: Verifying Checksum [2021-07-06T23:16:24.375Z] 85a0685a4137: Download complete [2021-07-06T23:16:27.680Z] 0eba1c9be4d2: Pull complete [2021-07-06T23:16:27.680Z] 0d57e429df01: Pull complete [2021-07-06T23:16:27.680Z] 4e4be7b47b0d: Pull complete [2021-07-06T23:16:27.680Z] e1f770b5df2f: Pull complete [2021-07-06T23:16:33.000Z] 85a0685a4137: Pull complete [2021-07-06T23:16:33.000Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-06T23:16:33.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T23:16:33.000Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-06T23:16:33.102Z] prd-centos7-docker-4c-2g-231 does not seem to be running inside a container [2021-07-06T23:16:33.151Z] $ 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-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-06T23:16:42.688Z] $ docker top 95000d794a454b62f732ede4a32e77e2cde607fa1ed2bcf22156fb2e40ad12aa -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-06T23:16:42.836Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-06T23:16:43.173Z] + set -o pipefail [2021-07-06T23:16:43.173Z] + snyk monitor '--org=edgex-jenkins' [2021-07-06T23:16:49.792Z] [2021-07-06T23:16:49.792Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2021-07-06T23:16:49.792Z] [2021-07-06T23:16:49.792Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/04eafa5c-e1c7-4a99-a371-6755985c9551 [2021-07-06T23:16:49.792Z] [2021-07-06T23:16:49.792Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-06T23:16:49.792Z] [2021-07-06T23:16:50.053Z] [Pipeline] } [2021-07-06T23:16:50.084Z] $ docker stop --time=1 95000d794a454b62f732ede4a32e77e2cde607fa1ed2bcf22156fb2e40ad12aa [2021-07-06T23:16:52.224Z] $ docker rm -f 95000d794a454b62f732ede4a32e77e2cde607fa1ed2bcf22156fb2e40ad12aa [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-07-06T23:16:53.956Z] + git log --format=format:%s -1 189d47ff213bf991ba18b7c83461bde848db16b3 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:16:54.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T23:16:54.312Z] . [Pipeline] withDockerContainer [2021-07-06T23:16:54.417Z] prd-centos7-docker-4c-2g-231 does not seem to be running inside a container [2021-07-06T23:16:54.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T23:16:55.061Z] $ docker top 149f3ad0d7801f24c64ef29ee01bd089f208210f75c1fa651fc7ddcf175728ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T23:16:55.276Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T23:16:55.676Z] + git semver [Pipeline] } [2021-07-06T23:16:55.701Z] $ docker stop --time=1 149f3ad0d7801f24c64ef29ee01bd089f208210f75c1fa651fc7ddcf175728ba [2021-07-06T23:16:56.882Z] $ docker rm -f 149f3ad0d7801f24c64ef29ee01bd089f208210f75c1fa651fc7ddcf175728ba [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:16:57.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T23:16:57.580Z] [2021-07-06T23:16:57.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:16:57.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T23:16:57.941Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-06T23:16:57.941Z] ab5ef0e58194: Pulling fs layer [2021-07-06T23:16:57.941Z] 9712f1f96733: Pulling fs layer [2021-07-06T23:16:57.941Z] 63f879dbbcfc: Pulling fs layer [2021-07-06T23:16:57.941Z] 0d9ebad4ef96: Pulling fs layer [2021-07-06T23:16:57.941Z] e9a5061849ea: Pulling fs layer [2021-07-06T23:16:57.941Z] d747dcd14b5f: Pulling fs layer [2021-07-06T23:16:57.941Z] 2de7ff778b66: Pulling fs layer [2021-07-06T23:16:57.941Z] e9a5061849ea: Waiting [2021-07-06T23:16:57.941Z] d747dcd14b5f: Waiting [2021-07-06T23:16:57.941Z] 2de7ff778b66: Waiting [2021-07-06T23:16:57.941Z] 0d9ebad4ef96: Waiting [2021-07-06T23:16:57.941Z] 9712f1f96733: Verifying Checksum [2021-07-06T23:16:57.941Z] 9712f1f96733: Download complete [2021-07-06T23:16:58.899Z] 63f879dbbcfc: Verifying Checksum [2021-07-06T23:16:58.899Z] 63f879dbbcfc: Download complete [2021-07-06T23:16:59.165Z] e9a5061849ea: Verifying Checksum [2021-07-06T23:16:59.165Z] e9a5061849ea: Download complete [2021-07-06T23:16:59.165Z] d747dcd14b5f: Verifying Checksum [2021-07-06T23:16:59.165Z] d747dcd14b5f: Download complete [2021-07-06T23:16:59.429Z] 2de7ff778b66: Verifying Checksum [2021-07-06T23:16:59.429Z] 2de7ff778b66: Download complete [2021-07-06T23:17:00.008Z] 0d9ebad4ef96: Verifying Checksum [2021-07-06T23:17:00.008Z] 0d9ebad4ef96: Download complete [2021-07-06T23:17:00.008Z] ab5ef0e58194: Verifying Checksum [2021-07-06T23:17:00.008Z] ab5ef0e58194: Download complete [2021-07-06T23:17:02.596Z] ab5ef0e58194: Pull complete [2021-07-06T23:17:02.596Z] 9712f1f96733: Pull complete [2021-07-06T23:17:03.170Z] 63f879dbbcfc: Pull complete [2021-07-06T23:17:06.505Z] 0d9ebad4ef96: Pull complete [2021-07-06T23:17:06.766Z] e9a5061849ea: Pull complete [2021-07-06T23:17:06.766Z] d747dcd14b5f: Pull complete [2021-07-06T23:17:07.745Z] 2de7ff778b66: Pull complete [2021-07-06T23:17:07.745Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-06T23:17:07.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T23:17:07.745Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-06T23:17:07.844Z] prd-centos7-docker-4c-2g-231 does not seem to be running inside a container [2021-07-06T23:17:07.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-06T23:17:18.859Z] $ docker top 6a7713014f755a97d08f16e5e0973b1941a8821a95cf716ecd79ac1fe3e4a489 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-06T23:17:19.001Z] provisioning config files... [2021-07-06T23:17:19.009Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5152617218566741851tmp [2021-07-06T23:17:19.022Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6780307067490553686tmp [2021-07-06T23:17:19.035Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4849756293999838078tmp [Pipeline] { [Pipeline] echo [2021-07-06T23:17:19.086Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:17:19.419Z] ---> sigul-configuration.sh [2021-07-06T23:17:19.419Z] gpg: directory `/root/.gnupg' created [2021-07-06T23:17:19.419Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-06T23:17:19.419Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-06T23:17:19.419Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-06T23:17:19.419Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-06T23:17:19.419Z] gpg: CAST5 encrypted data [2021-07-06T23:17:19.419Z] gpg: encrypted with 1 passphrase [2021-07-06T23:17:19.419Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-06T23:17:19.739Z] + mkdir /home/jenkins [2021-07-06T23:17:19.739Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-06T23:17:20.057Z] + 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-07-06T23:17:20.094Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:17:20.456Z] ---> sigul-install.sh [2021-07-06T23:17:24.669Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-07-06T23:17:25.098Z] + git tag --list [2021-07-06T23:17:25.098Z] 1.0.0 [2021-07-06T23:17:25.098Z] v0.0.0 [2021-07-06T23:17:25.098Z] v1.1.0 [2021-07-06T23:17:25.098Z] v1.1.1 [2021-07-06T23:17:25.098Z] v1.2.2 [2021-07-06T23:17:25.098Z] v1.3.0 [2021-07-06T23:17:25.098Z] v1.3.1 [2021-07-06T23:17:25.098Z] v2.0.0 [Pipeline] sh [2021-07-06T23:17:25.655Z] + lftools sign git-tag v2.0.1-dev.1 [2021-07-06T23:17:26.232Z] Signing Git tag with Sigul... [2021-07-06T23:17:26.232Z] Signing v2.0.1-dev.1 [2021-07-06T23:17:26.232Z] Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v2.0.1-dev.1'], return code 1, stdout , stderr [Pipeline] echo [2021-07-06T23:17:26.265Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:17:26.613Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-06T23:17:26.640Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-06T23:17:26.720Z] $ docker stop --time=1 6a7713014f755a97d08f16e5e0973b1941a8821a95cf716ecd79ac1fe3e4a489 [2021-07-06T23:17:28.433Z] $ docker rm -f 6a7713014f755a97d08f16e5e0973b1941a8821a95cf716ecd79ac1fe3e4a489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:17:29.316Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T23:17:29.316Z] . [Pipeline] withDockerContainer [2021-07-06T23:17:29.422Z] prd-centos7-docker-4c-2g-231 does not seem to be running inside a container [2021-07-06T23:17:29.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T23:17:29.797Z] $ docker top 7cd3441d27f91015e189a2278dc496f5fe29a132a7e6cd37a2de589efcabba4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T23:17:29.990Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T23:17:30.365Z] + git semver [Pipeline] } [2021-07-06T23:17:30.391Z] $ docker stop --time=1 7cd3441d27f91015e189a2278dc496f5fe29a132a7e6cd37a2de589efcabba4a [2021-07-06T23:17:31.569Z] $ docker rm -f 7cd3441d27f91015e189a2278dc496f5fe29a132a7e6cd37a2de589efcabba4a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:17:32.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T23:17:32.054Z] . [Pipeline] withDockerContainer [2021-07-06T23:17:32.158Z] prd-centos7-docker-4c-2g-231 does not seem to be running inside a container [2021-07-06T23:17:32.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T23:17:32.526Z] $ docker top 89f06f9cd4aaabc0edcee52c5c35bd2535bf995a30202bb6f4b4055bb711ebe5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T23:17:32.753Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T23:17:33.136Z] + git semver [Pipeline] } [2021-07-06T23:17:33.161Z] $ docker stop --time=1 89f06f9cd4aaabc0edcee52c5c35bd2535bf995a30202bb6f4b4055bb711ebe5 [2021-07-06T23:17:34.330Z] $ docker rm -f 89f06f9cd4aaabc0edcee52c5c35bd2535bf995a30202bb6f4b4055bb711ebe5 [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] libraryResource [Pipeline] sh [2021-07-06T23:17:35.782Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:17:36.390Z] ---> package-listing.sh [2021-07-06T23:17:36.390Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-06T23:17:36.390Z] ++ facter osfamily [2021-07-06T23:17:36.650Z] + OS_FAMILY=redhat [2021-07-06T23:17:36.650Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2021-07-06T23:17:36.650Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-06T23:17:36.650Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-06T23:17:36.650Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-06T23:17:36.650Z] + PACKAGES=/tmp/packages_start.txt [2021-07-06T23:17:36.650Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2021-07-06T23:17:36.650Z] + PACKAGES=/tmp/packages_end.txt [2021-07-06T23:17:36.650Z] + case "${OS_FAMILY}" in [2021-07-06T23:17:36.650Z] + rpm -qa [2021-07-06T23:17:36.650Z] + sort [2021-07-06T23:17:37.220Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-06T23:17:37.220Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-06T23:17:37.220Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-06T23:17:37.220Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2021-07-06T23:17:37.220Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2021-07-06T23:17:37.220Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2021-07-06T23:17:37.256Z] 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-snmp-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-07-06T23:17:37.564Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:17:38.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T23:17:38.168Z] [2021-07-06T23:17:38.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:17:38.529Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T23:17:38.529Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-06T23:17:38.529Z] df20fa9351a1: Pulling fs layer [2021-07-06T23:17:38.529Z] 36b3adc4ff6f: Pulling fs layer [2021-07-06T23:17:38.529Z] 8ad3a11d3b57: Pulling fs layer [2021-07-06T23:17:38.529Z] 46f8f816bc3b: Pulling fs layer [2021-07-06T23:17:38.529Z] 93b61091891f: Pulling fs layer [2021-07-06T23:17:38.529Z] 93b9cdb0e59b: Pulling fs layer [2021-07-06T23:17:38.529Z] 5e14af77c1be: Pulling fs layer [2021-07-06T23:17:38.529Z] 01666e4c0597: Pulling fs layer [2021-07-06T23:17:38.529Z] aa168da1d23b: Pulling fs layer [2021-07-06T23:17:38.529Z] 93b9cdb0e59b: Waiting [2021-07-06T23:17:38.529Z] 5e14af77c1be: Waiting [2021-07-06T23:17:38.529Z] 01666e4c0597: Waiting [2021-07-06T23:17:38.529Z] aa168da1d23b: Waiting [2021-07-06T23:17:38.529Z] 46f8f816bc3b: Waiting [2021-07-06T23:17:38.529Z] 93b61091891f: Waiting [2021-07-06T23:17:38.529Z] 36b3adc4ff6f: Verifying Checksum [2021-07-06T23:17:38.529Z] 36b3adc4ff6f: Download complete [2021-07-06T23:17:38.529Z] 46f8f816bc3b: Verifying Checksum [2021-07-06T23:17:38.529Z] 46f8f816bc3b: Download complete [2021-07-06T23:17:38.529Z] df20fa9351a1: Verifying Checksum [2021-07-06T23:17:38.529Z] df20fa9351a1: Download complete [2021-07-06T23:17:38.529Z] 93b9cdb0e59b: Verifying Checksum [2021-07-06T23:17:38.529Z] 93b9cdb0e59b: Download complete [2021-07-06T23:17:38.529Z] 5e14af77c1be: Verifying Checksum [2021-07-06T23:17:38.529Z] 5e14af77c1be: Download complete [2021-07-06T23:17:38.789Z] 93b61091891f: Verifying Checksum [2021-07-06T23:17:38.789Z] 93b61091891f: Download complete [2021-07-06T23:17:38.789Z] 01666e4c0597: Verifying Checksum [2021-07-06T23:17:38.789Z] 01666e4c0597: Download complete [2021-07-06T23:17:38.789Z] 8ad3a11d3b57: Verifying Checksum [2021-07-06T23:17:38.789Z] 8ad3a11d3b57: Download complete [2021-07-06T23:17:38.789Z] df20fa9351a1: Pull complete [2021-07-06T23:17:38.789Z] 36b3adc4ff6f: Pull complete [2021-07-06T23:17:39.374Z] 8ad3a11d3b57: Pull complete [2021-07-06T23:17:39.374Z] 46f8f816bc3b: Pull complete [2021-07-06T23:17:39.634Z] 93b61091891f: Pull complete [2021-07-06T23:17:39.634Z] 93b9cdb0e59b: Pull complete [2021-07-06T23:17:39.895Z] 5e14af77c1be: Pull complete [2021-07-06T23:17:39.895Z] 01666e4c0597: Pull complete [2021-07-06T23:17:40.476Z] aa168da1d23b: Verifying Checksum [2021-07-06T23:17:40.476Z] aa168da1d23b: Download complete [2021-07-06T23:17:44.712Z] aa168da1d23b: Pull complete [2021-07-06T23:17:44.712Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-06T23:17:44.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T23:17:44.712Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-06T23:17:44.817Z] prd-centos7-docker-4c-2g-231 does not seem to be running inside a container [2021-07-06T23:17:44.853Z] $ 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-snmp-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-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-06T23:17:48.941Z] $ docker top f6e7cee9966314d0eefcb83928d1541630da4553442a2560abbf9f85eb5192f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T23:17:49.463Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-06T23:17:49.798Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-06T23:17:50.119Z] + ls /var/log/sa-host [2021-07-06T23:17:50.119Z] + sadf -c /var/log/sa-host/sa05 [2021-07-06T23:17:50.119Z] file_magic: OK [2021-07-06T23:17:50.119Z] HZ: Using current value: 100 [2021-07-06T23:17:50.119Z] file_header: OK [2021-07-06T23:17:50.119Z] 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-07-06T23:17:50.119Z] Statistics: [2021-07-06T23:17:50.119Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-06T23:17:50.119Z] File successfully converted to sysstat format version 12.2.1 [2021-07-06T23:17:50.119Z] + sadf -c /var/log/sa-host/sa06 [2021-07-06T23:17:50.119Z] file_magic: OK [2021-07-06T23:17:50.119Z] HZ: Using current value: 100 [2021-07-06T23:17:50.119Z] file_header: OK [2021-07-06T23:17:50.119Z] 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-07-06T23:17:50.119Z] Statistics: [2021-07-06T23:17:50.119Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-06T23:17:50.119Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T23:17:50.402Z] provisioning config files... [2021-07-06T23:17:50.414Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1162216017601693746tmp [Pipeline] { [Pipeline] echo [2021-07-06T23:17:50.483Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:17:50.823Z] ---> create-netrc.sh [Pipeline] } [2021-07-06T23:17:50.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:17:51.460Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-06T23:17:51.494Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:17:51.829Z] ---> sudo-logs.sh [2021-07-06T23:17:51.829Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-06T23:17:51.920Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:17:52.258Z] ---> job-cost.sh [2021-07-06T23:17:52.258Z] lf-activate-venv: SKIPPING [2021-07-06T23:17:52.258Z] DEBUG: total: 0.18000000715255737 [2021-07-06T23:17:52.258Z] INFO: Retrieving Stack Cost... [2021-07-06T23:17:52.861Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-06T23:17:53.433Z] INFO: Archiving Costs [Pipeline] echo [2021-07-06T23:17:53.468Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:17:53.804Z] ---> logs-deploy.sh [2021-07-06T23:17:53.804Z] lf-activate-venv: SKIPPING [2021-07-06T23:17:53.804Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/1 [2021-07-06T23:17:53.804Z] INFO: archiving workspace using pattern(s): [2021-07-06T23:17:54.751Z] Archives upload complete. [2021-07-06T23:17:54.751Z] INFO: archiving logs to Nexus