Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a9cce8b7dfe6fda3a1428129fda327925c6aa018 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true 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-995 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision a9cce8b7dfe6fda3a1428129fda327925c6aa018 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f a9cce8b7dfe6fda3a1428129fda327925c6aa018 # timeout=10 Commit message: "Merge pull request #91 from soda480/US149" > git rev-list --no-walk 3fbdcadf47cc15f1a3e002633084b9476c9dc8aa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T21:59:46.812Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T21:59:46.902Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T21:59:46.927Z] ========================================================= [2021-04-19T21:59:46.927Z] EdgeX Global Pipelines Version Info [2021-04-19T21:59:46.927Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-19T21:59:48.520Z] ------------------- [2021-04-19T21:59:48.520Z] stable info: [2021-04-19T21:59:48.520Z] ------------------- [2021-04-19T21:59:48.520Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T21:59:48.520Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T21:59:48.520Z] Message: update stable to v1.0.186 [2021-04-19T21:59:49.470Z] ------------------- [2021-04-19T21:59:49.470Z] experimental info: [2021-04-19T21:59:49.470Z] ------------------- [2021-04-19T21:59:49.470Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T21:59:49.470Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-19T21:59:49.470Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T21:59:49.590Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-04-19T21:59:49.628Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-04-19T21:59:49.650Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T21:59:49.689Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T21:59:49.712Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T21:59:49.750Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T21:59:49.775Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T21:59:49.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T21:59:49.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-19T21:59:49.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T21:59:49.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T21:59:49.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2021-04-19T21:59:49.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T21:59:49.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T21:59:50.014Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T21:59:50.058Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T21:59:50.081Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T21:59:50.123Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T21:59:50.147Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T21:59:50.185Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-19T21:59:50.211Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-19T21:59:50.248Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-19T21:59:50.271Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-19T21:59:50.308Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-19T21:59:50.332Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-19T21:59:50.368Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T21:59:50.391Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-19T21:59:50.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-19T21:59:50.452Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-19T21:59:50.487Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9cce8b7dfe6fda3a1428129fda327925c6aa018 [Pipeline] echo [2021-04-19T21:59:50.511Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9cce8b [Pipeline] echo [2021-04-19T21:59:50.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T21:59:50.627Z] provisioning config files... [2021-04-19T21:59:50.672Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7475370953209868488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T21:59:51.001Z] ---> docker-login.sh [2021-04-19T21:59:51.002Z] nexus3.edgexfoundry.org:10001 [2021-04-19T21:59:51.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T21:59:51.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T21:59:51.534Z] Configure a credential helper to remove this warning. See [2021-04-19T21:59:51.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T21:59:51.534Z] [2021-04-19T21:59:51.534Z] Login Succeeded [2021-04-19T21:59:51.534Z] nexus3.edgexfoundry.org:10002 [2021-04-19T21:59:51.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T21:59:51.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T21:59:51.534Z] Configure a credential helper to remove this warning. See [2021-04-19T21:59:51.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T21:59:51.535Z] [2021-04-19T21:59:51.535Z] Login Succeeded [2021-04-19T21:59:51.535Z] nexus3.edgexfoundry.org:10003 [2021-04-19T21:59:51.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T21:59:51.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T21:59:51.799Z] Configure a credential helper to remove this warning. See [2021-04-19T21:59:51.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T21:59:51.799Z] [2021-04-19T21:59:51.799Z] Login Succeeded [2021-04-19T21:59:51.799Z] nexus3.edgexfoundry.org:10004 [2021-04-19T21:59:51.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T21:59:52.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T21:59:52.060Z] Configure a credential helper to remove this warning. See [2021-04-19T21:59:52.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T21:59:52.060Z] [2021-04-19T21:59:52.060Z] Login Succeeded [2021-04-19T21:59:52.060Z] docker.io [2021-04-19T21:59:52.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T21:59:52.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T21:59:52.322Z] Configure a credential helper to remove this warning. See [2021-04-19T21:59:52.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T21:59:52.322Z] [2021-04-19T21:59:52.322Z] Login Succeeded [2021-04-19T21:59:52.322Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T21:59:52.332Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T21:59:52.806Z] + git log --format=format:%s -1 a9cce8b7dfe6fda3a1428129fda327925c6aa018 [Pipeline] echo [2021-04-19T21:59:52.897Z] GIT_COMMIT: a9cce8b7dfe6fda3a1428129fda327925c6aa018, Commit Message: Merge pull request #91 from soda480/US149 [Pipeline] echo [2021-04-19T21:59:52.910Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-19T21:59:53.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T21:59:53.483Z] [2021-04-19T21:59:53.483Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T21:59:53.808Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T21:59:53.808Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T21:59:53.808Z] 31603596830f: Pulling fs layer [2021-04-19T21:59:53.808Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T21:59:53.808Z] 6ca5941a6612: Pulling fs layer [2021-04-19T21:59:53.808Z] ecc8261a40a4: Pulling fs layer [2021-04-19T21:59:53.808Z] ecc8261a40a4: Waiting [2021-04-19T21:59:53.808Z] 2a8b12db71e7: Verifying Checksum [2021-04-19T21:59:53.808Z] 2a8b12db71e7: Download complete [2021-04-19T21:59:53.808Z] 31603596830f: Verifying Checksum [2021-04-19T21:59:53.808Z] 31603596830f: Download complete [2021-04-19T21:59:54.074Z] ecc8261a40a4: Verifying Checksum [2021-04-19T21:59:54.074Z] ecc8261a40a4: Download complete [2021-04-19T21:59:54.074Z] 6ca5941a6612: Verifying Checksum [2021-04-19T21:59:54.074Z] 6ca5941a6612: Download complete [2021-04-19T21:59:54.343Z] 31603596830f: Pull complete [2021-04-19T21:59:54.343Z] 2a8b12db71e7: Pull complete [2021-04-19T21:59:55.301Z] 6ca5941a6612: Pull complete [2021-04-19T21:59:55.570Z] ecc8261a40a4: Pull complete [2021-04-19T21:59:55.570Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T21:59:55.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T21:59:55.570Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T21:59:55.690Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-04-19T21:59:55.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T21:59:57.902Z] $ docker top 58f2006ecf2222462591e0559fb2469457a73c82a0292c71fd11800a542cd0c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T21:59:58.109Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T21:59:58.109Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T21:59:58.362Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T21:59:58.366Z] $ docker exec 58f2006ecf2222462591e0559fb2469457a73c82a0292c71fd11800a542cd0c3 ssh-agent [2021-04-19T21:59:58.558Z] SSH_AUTH_SOCK=/tmp/ssh-T75xt5v8GaeI/agent.12 [2021-04-19T21:59:58.559Z] SSH_AGENT_PID=17 [2021-04-19T21:59:58.579Z] Running ssh-add (command line suppressed) [2021-04-19T21:59:58.723Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2889149203906038975.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2889149203906038975.key) [2021-04-19T21:59:58.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T21:59:59.096Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T21:59:59.120Z] $ docker exec --env ******** --env ******** 58f2006ecf2222462591e0559fb2469457a73c82a0292c71fd11800a542cd0c3 ssh-agent -k [2021-04-19T21:59:59.244Z] unset SSH_AUTH_SOCK; [2021-04-19T21:59:59.244Z] unset SSH_AGENT_PID; [2021-04-19T21:59:59.244Z] echo Agent pid 17 killed; [2021-04-19T21:59:59.296Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T21:59:59.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T21:59:59.338Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T21:59:59.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T21:59:59.551Z] $ docker exec 58f2006ecf2222462591e0559fb2469457a73c82a0292c71fd11800a542cd0c3 ssh-agent [2021-04-19T21:59:59.944Z] SSH_AUTH_SOCK=/tmp/ssh-8r8iUQ9VYfZZ/agent.46 [2021-04-19T21:59:59.944Z] SSH_AGENT_PID=51 [2021-04-19T21:59:59.952Z] Running ssh-add (command line suppressed) [2021-04-19T22:00:00.083Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5620788410661266866.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5620788410661266866.key) [2021-04-19T22:00:00.158Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:00:00.467Z] + git semver init [2021-04-19T22:00:00.467Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:00:00.467Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-04-19T22:00:00.467Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-04-19T22:00:00.467Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:00:00.467Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:00:00.467Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:00:00.467Z] # $SEMVER_BRANCH = master [2021-04-19T22:00:00.467Z] # $SEMVER_TEMP = /tmp/semver-608069388 [2021-04-19T22:00:00.467Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-04-19T22:00:00.767Z] # '/tmp/semver-608069388' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' [2021-04-19T22:00:00.767Z] # -> Force: false [2021-04-19T22:00:00.767Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-04-19T22:00:00.783Z] $ docker exec --env ******** --env ******** 58f2006ecf2222462591e0559fb2469457a73c82a0292c71fd11800a542cd0c3 ssh-agent -k [2021-04-19T22:00:00.909Z] unset SSH_AUTH_SOCK; [2021-04-19T22:00:00.909Z] unset SSH_AGENT_PID; [2021-04-19T22:00:00.909Z] echo Agent pid 51 killed; [2021-04-19T22:00:00.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:00:01.339Z] + git semver [Pipeline] } [2021-04-19T22:00:01.357Z] $ docker stop --time=1 58f2006ecf2222462591e0559fb2469457a73c82a0292c71fd11800a542cd0c3 [2021-04-19T22:00:02.774Z] $ docker rm -f 58f2006ecf2222462591e0559fb2469457a73c82a0292c71fd11800a542cd0c3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:00:03.199Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T22:00:03.587Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T22:00:03.591Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.2 [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-04-19T22:00:03.985Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-994 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-04-19T22:00:04.009Z] Running in /w/workspace/device-snmp-go/25 [Pipeline] { [Pipeline] checkout [2021-04-19T22:00:09.887Z] using credential edgex-jenkins-ssh [2021-04-19T22:00:09.909Z] Cloning the remote Git repository [2021-04-19T22:00:09.967Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-04-19T22:00:10.101Z] > git init /w/workspace/device-snmp-go/25 # timeout=10 [2021-04-19T22:00:10.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-04-19T22:00:10.197Z] > git --version # timeout=10 [2021-04-19T22:00:10.217Z] > git --version # 'git version 2.17.1' [2021-04-19T22:00:10.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:00:10.314Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:00:10.982Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-04-19T22:00:11.014Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:00:11.047Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-04-19T22:00:11.079Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-04-19T22:00:11.080Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:00:11.093Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T22:00:11.708Z] Checking out Revision a9cce8b7dfe6fda3a1428129fda327925c6aa018 (master) [2021-04-19T22:00:11.734Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:00:11.749Z] > git checkout -f a9cce8b7dfe6fda3a1428129fda327925c6aa018 # timeout=10 [2021-04-19T22:00:16.089Z] Commit message: "Merge pull request #91 from soda480/US149" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:00:17.415Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:00:17.832Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:00:18.179Z] + true [2021-04-19T22:00:18.179Z] + sudo service docker restart [2021-04-19T22:00:18.797Z] Still waiting to schedule task [2021-04-19T22:00:18.797Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:00:20.202Z] provisioning config files... [2021-04-19T22:00:20.266Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/25@tmp/config8679131090783821326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:00:20.649Z] ---> docker-login.sh [2021-04-19T22:00:20.649Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:00:21.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:00:21.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:00:21.936Z] Configure a credential helper to remove this warning. See [2021-04-19T22:00:21.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:00:21.936Z] [2021-04-19T22:00:21.936Z] Login Succeeded [2021-04-19T22:00:21.936Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:00:22.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:00:22.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:00:22.534Z] Configure a credential helper to remove this warning. See [2021-04-19T22:00:22.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:00:22.534Z] [2021-04-19T22:00:22.534Z] Login Succeeded [2021-04-19T22:00:22.534Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:00:23.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:00:23.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:00:23.133Z] Configure a credential helper to remove this warning. See [2021-04-19T22:00:23.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:00:23.133Z] [2021-04-19T22:00:23.133Z] Login Succeeded [2021-04-19T22:00:23.133Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:00:23.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:00:23.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:00:23.730Z] Configure a credential helper to remove this warning. See [2021-04-19T22:00:23.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:00:23.730Z] [2021-04-19T22:00:23.730Z] Login Succeeded [2021-04-19T22:00:23.730Z] docker.io [2021-04-19T22:00:24.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:00:24.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:00:24.597Z] Configure a credential helper to remove this warning. See [2021-04-19T22:00:24.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:00:24.598Z] [2021-04-19T22:00:24.598Z] Login Succeeded [2021-04-19T22:00:24.598Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:00:24.614Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T22:00:24.923Z] ========================================================= [2021-04-19T22:00:24.923Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T22:00:24.923Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:00:25.286Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-19T22:00:25.561Z] Sending build context to Docker daemon 335.9kB [2021-04-19T22:00:25.561Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:00:25.561Z] Step 2/10 : FROM ${BASE} [2021-04-19T22:00:25.835Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T22:00:25.835Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T22:00:25.835Z] a4357932f1b6: Pulling fs layer [2021-04-19T22:00:25.835Z] 18c013af1878: Pulling fs layer [2021-04-19T22:00:25.835Z] 00ac8860ef70: Pulling fs layer [2021-04-19T22:00:25.835Z] 63d7cb157983: Pulling fs layer [2021-04-19T22:00:25.835Z] b116817d02f9: Pulling fs layer [2021-04-19T22:00:25.835Z] 745a02a5169b: Pulling fs layer [2021-04-19T22:00:25.835Z] 00ac8860ef70: Waiting [2021-04-19T22:00:25.835Z] 63d7cb157983: Waiting [2021-04-19T22:00:25.835Z] b116817d02f9: Waiting [2021-04-19T22:00:25.835Z] 745a02a5169b: Waiting [2021-04-19T22:00:25.835Z] 18c013af1878: Verifying Checksum [2021-04-19T22:00:25.835Z] 18c013af1878: Download complete [2021-04-19T22:00:25.835Z] a4357932f1b6: Verifying Checksum [2021-04-19T22:00:25.835Z] a4357932f1b6: Download complete [2021-04-19T22:00:25.835Z] 63d7cb157983: Download complete [2021-04-19T22:00:25.835Z] b116817d02f9: Download complete [2021-04-19T22:00:26.109Z] 5f621e34cdf4: Download complete [2021-04-19T22:00:26.713Z] 5f621e34cdf4: Pull complete [2021-04-19T22:00:27.324Z] a4357932f1b6: Pull complete [2021-04-19T22:00:27.598Z] 18c013af1878: Pull complete [2021-04-19T22:00:28.583Z] 745a02a5169b: Verifying Checksum [2021-04-19T22:00:28.583Z] 745a02a5169b: Download complete [2021-04-19T22:00:29.184Z] 00ac8860ef70: Verifying Checksum [2021-04-19T22:00:29.184Z] 00ac8860ef70: Download complete [2021-04-19T22:00:39.351Z] 00ac8860ef70: Pull complete [2021-04-19T22:00:39.351Z] 63d7cb157983: Pull complete [2021-04-19T22:00:39.351Z] b116817d02f9: Pull complete [2021-04-19T22:00:43.672Z] 745a02a5169b: Pull complete [2021-04-19T22:00:43.672Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T22:00:43.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T22:00:43.672Z] ---> b7e6874047d6 [2021-04-19T22:00:43.672Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-04-19T22:00:46.305Z] ---> Running in 9cd346ee6220 [2021-04-19T22:00:46.578Z] Removing intermediate container 9cd346ee6220 [2021-04-19T22:00:46.578Z] ---> f89395c5d5b0 [2021-04-19T22:00:46.578Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T22:00:46.578Z] ---> Running in 942bac7d17cd [2021-04-19T22:00:47.176Z] Removing intermediate container 942bac7d17cd [2021-04-19T22:00:47.176Z] ---> b60ba3567580 [2021-04-19T22:00:47.176Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-04-19T22:00:47.176Z] ---> Running in aa4e693f2308 [2021-04-19T22:00:47.774Z] Removing intermediate container aa4e693f2308 [2021-04-19T22:00:47.774Z] ---> 7df2d5ff6242 [2021-04-19T22:00:47.774Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:00:47.774Z] ---> Running in 0577f731fffb [2021-04-19T22:00:50.405Z] Removing intermediate container 0577f731fffb [2021-04-19T22:00:50.405Z] ---> 7cc7ff87116d [2021-04-19T22:00:50.405Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T22:00:50.405Z] ---> Running in f488f6652d82 [2021-04-19T22:00:51.405Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:00:52.382Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:00:52.975Z] OK: 142 MiB in 39 packages [2021-04-19T22:00:53.965Z] Removing intermediate container f488f6652d82 [2021-04-19T22:00:53.965Z] ---> 7b2202fecec7 [2021-04-19T22:00:53.965Z] Step 8/10 : WORKDIR /device-snmp-go [2021-04-19T22:00:54.238Z] ---> Running in e3177ffd564f [2021-04-19T22:00:54.830Z] Removing intermediate container e3177ffd564f [2021-04-19T22:00:54.830Z] ---> 7e847fd89b58 [2021-04-19T22:00:54.830Z] Step 9/10 : COPY . . [2021-04-19T22:00:55.419Z] ---> 570d1dd6ce94 [2021-04-19T22:00:55.419Z] Step 10/10 : RUN go mod download [2021-04-19T22:00:55.691Z] ---> Running in 8bb8e66308db [2021-04-19T22:01:22.488Z] Removing intermediate container 8bb8e66308db [2021-04-19T22:01:22.488Z] ---> 3b2ade2bbe74 [2021-04-19T22:01:22.488Z] Successfully built 3b2ade2bbe74 [2021-04-19T22:01:22.488Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:01:22.836Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T22:01:22.836Z] . [Pipeline] withDockerContainer [2021-04-19T22:01:23.165Z] prd-ubuntu18.04-docker-arm64-4c-16g-994 does not seem to be running inside a container [2021-04-19T22:01:23.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/25 -v /w/workspace/device-snmp-go/25:/w/workspace/device-snmp-go/25:rw,z -v /w/workspace/device-snmp-go/25@tmp:/w/workspace/device-snmp-go/25@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-arm64 cat [2021-04-19T22:01:24.869Z] $ docker top 00540df393709c8329ad7f892cbd65caa942d1b96a97d1304a4a5c49d09a7158 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:01:25.832Z] + go version [2021-04-19T22:01:25.832Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T22:01:25.855Z] $ docker stop --time=1 00540df393709c8329ad7f892cbd65caa942d1b96a97d1304a4a5c49d09a7158 [2021-04-19T22:01:27.792Z] $ docker rm -f 00540df393709c8329ad7f892cbd65caa942d1b96a97d1304a4a5c49d09a7158 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:01:28.501Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T22:01:28.501Z] . [Pipeline] withDockerContainer [2021-04-19T22:01:28.762Z] prd-ubuntu18.04-docker-arm64-4c-16g-994 does not seem to be running inside a container [2021-04-19T22:01:28.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/25 -v /w/workspace/device-snmp-go/25:/w/workspace/device-snmp-go/25:rw,z -v /w/workspace/device-snmp-go/25@tmp:/w/workspace/device-snmp-go/25@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-arm64 cat [2021-04-19T22:01:30.347Z] $ docker top 2d58e1407fc665f522c9d7d3ebd73f20c984cfca165ce08017ca45262a7b23e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:01:31.300Z] + make test [2021-04-19T22:01:31.301Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T22:01:32.286Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-04-19T22:02:11.340Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-04-19T22:02:11.340Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2021-04-19T22:02:11.340Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-04-19T22:02:12.318Z] gofmt -l . [2021-04-19T22:02:12.318Z] [ "`gofmt -l .`" = "" ] [2021-04-19T22:02:12.318Z] ./bin/test-attribution-txt.sh [2021-04-19T22:02:13.300Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T22:02:13.599Z] $ docker stop --time=1 2d58e1407fc665f522c9d7d3ebd73f20c984cfca165ce08017ca45262a7b23e4 [2021-04-19T22:02:15.825Z] $ docker rm -f 2d58e1407fc665f522c9d7d3ebd73f20c984cfca165ce08017ca45262a7b23e4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:02:16.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T22:02:17.572Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:02:18.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T22:02:19.014Z] + ls -al . [2021-04-19T22:02:19.014Z] total 132 [2021-04-19T22:02:19.014Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 22:02 . [2021-04-19T22:02:19.014Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:00 .. [2021-04-19T22:02:19.014Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 19 22:00 .dockerignore [2021-04-19T22:02:19.014Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 22:00 .git [2021-04-19T22:02:19.014Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:00 .github [2021-04-19T22:02:19.014Z] -rw-rw-r-- 1 jenkins jenkins 272 Apr 19 22:00 .gitignore [2021-04-19T22:02:19.014Z] -rw-rw-r-- 1 jenkins jenkins 5082 Apr 19 22:00 Attribution.txt [2021-04-19T22:02:19.014Z] -rw-rw-r-- 1 jenkins jenkins 1529 Apr 19 22:00 Dockerfile [2021-04-19T22:02:19.014Z] -rw-rw-r-- 1 jenkins jenkins 1006 Apr 19 22:00 Dockerfile.build [2021-04-19T22:02:19.014Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 19 22:00 Jenkinsfile [2021-04-19T22:02:19.014Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 22:00 LICENSE [2021-04-19T22:02:19.014Z] -rw-rw-r-- 1 jenkins jenkins 937 Apr 19 22:00 Makefile [2021-04-19T22:02:19.014Z] -rw-rw-r-- 1 jenkins jenkins 14171 Apr 19 22:00 README.md [2021-04-19T22:02:19.014Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 19 22:00 VERSION [2021-04-19T22:02:19.014Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:00 bin [2021-04-19T22:02:19.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 22:00 cmd [2021-04-19T22:02:19.014Z] -rw-r--r-- 1 jenkins jenkins 8493 Apr 19 22:02 coverage.out [2021-04-19T22:02:19.014Z] -rw-r--r-- 1 jenkins jenkins 204 Apr 19 22:02 go.mod [2021-04-19T22:02:19.014Z] -rw-r--r-- 1 jenkins jenkins 14156 Apr 19 22:02 go.sum [2021-04-19T22:02:19.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 22:00 internal [2021-04-19T22:02:19.014Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:00 profiles [2021-04-19T22:02:19.014Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 19 22:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:02:19.367Z] + docker build -t docker-device-snmp-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a9cce8b7dfe6fda3a1428129fda327925c6aa018 --label arch=arm64 --label version=1.3.2-dev.2 . [2021-04-19T22:02:19.638Z] Sending build context to Docker daemon 345.1kB [2021-04-19T22:02:19.638Z] Step 1/26 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:02:19.638Z] Step 2/26 : FROM ${BASE} AS builder [2021-04-19T22:02:19.638Z] ---> 3b2ade2bbe74 [2021-04-19T22:02:19.638Z] Step 3/26 : ARG MAKE='make build' [2021-04-19T22:02:19.911Z] ---> Running in b4fb72549d12 [2021-04-19T22:02:20.508Z] Removing intermediate container b4fb72549d12 [2021-04-19T22:02:20.508Z] ---> f5d8f7337e38 [2021-04-19T22:02:20.508Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-04-19T22:02:20.508Z] ---> Running in 42c1696922cc [2021-04-19T22:02:21.101Z] Removing intermediate container 42c1696922cc [2021-04-19T22:02:21.101Z] ---> 60979abd6a5b [2021-04-19T22:02:21.101Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T22:02:21.101Z] ---> Running in 8e6e620afd85 [2021-04-19T22:02:21.374Z] Removing intermediate container 8e6e620afd85 [2021-04-19T22:02:21.374Z] ---> e32eee4a3831 [2021-04-19T22:02:21.374Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:02:21.649Z] ---> Running in abe4af5ee829 [2021-04-19T22:02:23.622Z] Removing intermediate container abe4af5ee829 [2021-04-19T22:02:23.622Z] ---> 7c57d4b1be09 [2021-04-19T22:02:23.622Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T22:02:23.933Z] ---> Running in b8b6ffb1fc67 [2021-04-19T22:02:24.911Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:02:25.884Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:02:26.478Z] OK: 142 MiB in 39 packages [2021-04-19T22:02:27.913Z] Removing intermediate container b8b6ffb1fc67 [2021-04-19T22:02:27.913Z] ---> 088a409ef951 [2021-04-19T22:02:27.913Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-04-19T22:02:27.913Z] ---> Running in 8c97277acc16 [2021-04-19T22:02:28.513Z] Removing intermediate container 8c97277acc16 [2021-04-19T22:02:28.513Z] ---> f773ad23941a [2021-04-19T22:02:28.513Z] Step 9/26 : COPY go.mod . [2021-04-19T22:02:29.107Z] ---> 9ac9f58ad695 [2021-04-19T22:02:29.107Z] Step 10/26 : COPY Makefile . [2021-04-19T22:02:30.086Z] ---> 8e966c94e935 [2021-04-19T22:02:30.086Z] Step 11/26 : RUN make update [2021-04-19T22:02:30.086Z] ---> Running in a6d40b16dea8 [2021-04-19T22:02:31.064Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-19T22:02:32.501Z] Removing intermediate container a6d40b16dea8 [2021-04-19T22:02:32.501Z] ---> 39dd1d0a73ee [2021-04-19T22:02:32.501Z] Step 12/26 : COPY . . [2021-04-19T22:02:33.488Z] ---> beed05e62307 [2021-04-19T22:02:33.488Z] Step 13/26 : RUN ${MAKE} [2021-04-19T22:02:33.488Z] ---> Running in 20d70e1403d4 [2021-04-19T22:02:34.470Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.2" -o cmd/device-snmp-go ./cmd [2021-04-19T22:03:01.271Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-04-19T22:03:06.665Z] Removing intermediate container 20d70e1403d4 [2021-04-19T22:03:06.665Z] ---> ac469e73fb2e [2021-04-19T22:03:06.665Z] Step 14/26 : FROM alpine:3.12 [2021-04-19T22:03:06.665Z] 3.12: Pulling from library/alpine [2021-04-19T22:03:06.665Z] d2f70382dc9a: Pulling fs layer [2021-04-19T22:03:06.665Z] d2f70382dc9a: Verifying Checksum [2021-04-19T22:03:06.665Z] d2f70382dc9a: Download complete [2021-04-19T22:03:07.259Z] d2f70382dc9a: Pull complete [2021-04-19T22:03:07.259Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T22:03:07.259Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T22:03:07.259Z] ---> 9852663dfa18 [2021-04-19T22:03:07.259Z] Step 15/26 : ENV APP_PORT=49993 [2021-04-19T22:03:07.530Z] ---> Running in 079941db1f5e [2021-04-19T22:03:07.803Z] Removing intermediate container 079941db1f5e [2021-04-19T22:03:07.803Z] ---> 74ba90dbfc55 [2021-04-19T22:03:07.803Z] Step 16/26 : EXPOSE $APP_PORT [2021-04-19T22:03:08.088Z] ---> Running in e4368929b12b [2021-04-19T22:03:08.364Z] Removing intermediate container e4368929b12b [2021-04-19T22:03:08.364Z] ---> 38ff87419730 [2021-04-19T22:03:08.364Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-04-19T22:03:08.638Z] ---> Running in 75a6aa4b9eae [2021-04-19T22:03:08.918Z] Removing intermediate container 75a6aa4b9eae [2021-04-19T22:03:08.918Z] ---> 9ba5e6cecc92 [2021-04-19T22:03:08.918Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-04-19T22:03:09.193Z] ---> Running in 756e06e259b7 [2021-04-19T22:03:09.791Z] Removing intermediate container 756e06e259b7 [2021-04-19T22:03:09.792Z] ---> 3233b59233b3 [2021-04-19T22:03:09.792Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-04-19T22:03:11.746Z] ---> a8c18769ac02 [2021-04-19T22:03:11.746Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-04-19T22:03:11.746Z] ---> 4af710124424 [2021-04-19T22:03:11.746Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-04-19T22:03:12.338Z] ---> c22a5fcb1b87 [2021-04-19T22:03:12.338Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-04-19T22:03:12.338Z] ---> Running in e918ae4c37bb [2021-04-19T22:03:12.933Z] Removing intermediate container e918ae4c37bb [2021-04-19T22:03:12.933Z] ---> 00714b29e302 [2021-04-19T22:03:12.933Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-19T22:03:12.933Z] ---> Running in 7fa5fd668e73 [2021-04-19T22:03:13.527Z] Removing intermediate container 7fa5fd668e73 [2021-04-19T22:03:13.527Z] ---> 55ad1f0bf696 [2021-04-19T22:03:13.527Z] Step 24/26 : LABEL arch=arm64 [2021-04-19T22:03:13.527Z] ---> Running in 1e5afbe21b92 [2021-04-19T22:03:14.124Z] Removing intermediate container 1e5afbe21b92 [2021-04-19T22:03:14.124Z] ---> 6076c2f09ad7 [2021-04-19T22:03:14.124Z] Step 25/26 : LABEL git_sha=a9cce8b7dfe6fda3a1428129fda327925c6aa018 [2021-04-19T22:03:14.124Z] ---> Running in 5a7d62fd9e9a [2021-04-19T22:03:14.398Z] Removing intermediate container 5a7d62fd9e9a [2021-04-19T22:03:14.398Z] ---> bf0db1b6e153 [2021-04-19T22:03:14.398Z] Step 26/26 : LABEL version=1.3.2-dev.2 [2021-04-19T22:03:14.671Z] ---> Running in 308436b3202f [2021-04-19T22:03:15.266Z] Removing intermediate container 308436b3202f [2021-04-19T22:03:15.266Z] ---> de7b50820b2a [2021-04-19T22:03:15.266Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T22:03:15.266Z] Successfully built de7b50820b2a [2021-04-19T22:03:15.266Z] Successfully tagged docker-device-snmp-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:03:15.493Z] provisioning config files... [2021-04-19T22:03:15.547Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/25@tmp/config754451810258682543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:03:15.925Z] ---> docker-login.sh [2021-04-19T22:03:15.925Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:03:16.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:03:16.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:03:16.475Z] Configure a credential helper to remove this warning. See [2021-04-19T22:03:16.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:03:16.475Z] [2021-04-19T22:03:16.475Z] Login Succeeded [2021-04-19T22:03:16.475Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:03:16.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:03:17.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:03:17.020Z] Configure a credential helper to remove this warning. See [2021-04-19T22:03:17.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:03:17.020Z] [2021-04-19T22:03:17.020Z] Login Succeeded [2021-04-19T22:03:17.020Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:03:17.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:03:17.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:03:17.563Z] Configure a credential helper to remove this warning. See [2021-04-19T22:03:17.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:03:17.563Z] [2021-04-19T22:03:17.563Z] Login Succeeded [2021-04-19T22:03:17.563Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:03:17.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:03:18.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:03:18.106Z] Configure a credential helper to remove this warning. See [2021-04-19T22:03:18.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:03:18.106Z] [2021-04-19T22:03:18.106Z] Login Succeeded [2021-04-19T22:03:18.106Z] docker.io [2021-04-19T22:03:18.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:03:18.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:03:18.970Z] Configure a credential helper to remove this warning. See [2021-04-19T22:03:18.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:03:18.970Z] [2021-04-19T22:03:18.970Z] Login Succeeded [2021-04-19T22:03:18.970Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:03:18.985Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:03:19.052Z] [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: [2021-04-19T22:03:19.052Z] a9cce8b7dfe6fda3a1428129fda327925c6aa018 [2021-04-19T22:03:19.052Z] latest [2021-04-19T22:03:19.052Z] 1.3.2-dev.2 [2021-04-19T22:03:19.052Z] a9cce8b7dfe6fda3a1428129fda327925c6aa018-1.3.2-dev.2 [2021-04-19T22:03:19.052Z] master [2021-04-19T22:03:19.052Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:03:19.438Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:a9cce8b7dfe6fda3a1428129fda327925c6aa018 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:03:19.775Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:a9cce8b7dfe6fda3a1428129fda327925c6aa018 [2021-04-19T22:03:19.775Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-04-19T22:03:19.775Z] 4b8561cef158: Preparing [2021-04-19T22:03:19.775Z] 4c6d0fdf2629: Preparing [2021-04-19T22:03:19.775Z] 1241f9537c45: Preparing [2021-04-19T22:03:19.775Z] 3fbe34a1663b: Preparing [2021-04-19T22:03:20.047Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:03:20.047Z] 4b8561cef158: Pushed [2021-04-19T22:03:20.047Z] 4c6d0fdf2629: Pushed [2021-04-19T22:03:22.646Z] 1241f9537c45: Pushed [2021-04-19T22:03:22.646Z] a9cce8b7dfe6fda3a1428129fda327925c6aa018: digest: sha256:2b5b779f731a5a369c14981d2a6ec57e4cf63d94e0105011d5324b4f41d9812a size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:03:22.984Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:03:23.316Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [2021-04-19T22:03:23.316Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-04-19T22:03:23.316Z] 4b8561cef158: Preparing [2021-04-19T22:03:23.316Z] 4c6d0fdf2629: Preparing [2021-04-19T22:03:23.316Z] 1241f9537c45: Preparing [2021-04-19T22:03:23.316Z] 3fbe34a1663b: Preparing [2021-04-19T22:03:23.316Z] 4c6d0fdf2629: Layer already exists [2021-04-19T22:03:23.316Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:03:23.316Z] 4b8561cef158: Layer already exists [2021-04-19T22:03:23.316Z] 1241f9537c45: Layer already exists [2021-04-19T22:03:23.586Z] latest: digest: sha256:2b5b779f731a5a369c14981d2a6ec57e4cf63d94e0105011d5324b4f41d9812a size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:03:23.920Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:03:24.254Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.2-dev.2 [2021-04-19T22:03:24.254Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-04-19T22:03:24.254Z] 4b8561cef158: Preparing [2021-04-19T22:03:24.254Z] 4c6d0fdf2629: Preparing [2021-04-19T22:03:24.254Z] 1241f9537c45: Preparing [2021-04-19T22:03:24.254Z] 3fbe34a1663b: Preparing [2021-04-19T22:03:24.525Z] 4c6d0fdf2629: Layer already exists [2021-04-19T22:03:24.525Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:03:24.525Z] 1241f9537c45: Layer already exists [2021-04-19T22:03:24.525Z] 4b8561cef158: Layer already exists [2021-04-19T22:03:24.525Z] 1.3.2-dev.2: digest: sha256:2b5b779f731a5a369c14981d2a6ec57e4cf63d94e0105011d5324b4f41d9812a size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:03:24.860Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:a9cce8b7dfe6fda3a1428129fda327925c6aa018-1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:03:25.193Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:a9cce8b7dfe6fda3a1428129fda327925c6aa018-1.3.2-dev.2 [2021-04-19T22:03:25.193Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-04-19T22:03:25.193Z] 4b8561cef158: Preparing [2021-04-19T22:03:25.193Z] 4c6d0fdf2629: Preparing [2021-04-19T22:03:25.193Z] 1241f9537c45: Preparing [2021-04-19T22:03:25.193Z] 3fbe34a1663b: Preparing [2021-04-19T22:03:25.463Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:03:25.463Z] 4b8561cef158: Layer already exists [2021-04-19T22:03:25.463Z] 4c6d0fdf2629: Layer already exists [2021-04-19T22:03:25.463Z] 1241f9537c45: Layer already exists [2021-04-19T22:03:25.463Z] a9cce8b7dfe6fda3a1428129fda327925c6aa018-1.3.2-dev.2: digest: sha256:2b5b779f731a5a369c14981d2a6ec57e4cf63d94e0105011d5324b4f41d9812a size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:03:25.803Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:03:26.137Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [2021-04-19T22:03:26.137Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2021-04-19T22:03:26.137Z] 4b8561cef158: Preparing [2021-04-19T22:03:26.137Z] 4c6d0fdf2629: Preparing [2021-04-19T22:03:26.137Z] 1241f9537c45: Preparing [2021-04-19T22:03:26.137Z] 3fbe34a1663b: Preparing [2021-04-19T22:03:26.137Z] 4b8561cef158: Layer already exists [2021-04-19T22:03:26.137Z] 1241f9537c45: Layer already exists [2021-04-19T22:03:26.137Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:03:26.137Z] 4c6d0fdf2629: Layer already exists [2021-04-19T22:03:26.407Z] master: digest: sha256:2b5b779f731a5a369c14981d2a6ec57e4cf63d94e0105011d5324b4f41d9812a size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:03:26.484Z] ===================================================== [Pipeline] echo [2021-04-19T22:03:26.514Z] taggedImages: [2021-04-19T22:03:26.514Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:a9cce8b7dfe6fda3a1428129fda327925c6aa018 [2021-04-19T22:03:26.514Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [2021-04-19T22:03:26.514Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.2-dev.2 [2021-04-19T22:03:26.514Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:a9cce8b7dfe6fda3a1428129fda327925c6aa018-1.3.2-dev.2 [2021-04-19T22:03:26.514Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:03:26.981Z] ---> job-cost.sh [2021-04-19T22:03:26.981Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FE8D [2021-04-19T22:04:05.906Z] Running on prd-centos7-docker-4c-2g-997 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-04-19T22:04:05.924Z] Running in /w/workspace/device-snmp-go/25 [Pipeline] { [2021-04-19T22:04:05.930Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] checkout [2021-04-19T22:04:08.832Z] using credential edgex-jenkins-ssh [2021-04-19T22:04:08.845Z] Cloning the remote Git repository [2021-04-19T22:04:08.879Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-04-19T22:04:08.953Z] > git init /w/workspace/device-snmp-go/25 # timeout=10 [2021-04-19T22:04:09.017Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-04-19T22:04:09.018Z] > git --version # timeout=10 [2021-04-19T22:04:09.025Z] > git --version # 'git version 2.24.3' [2021-04-19T22:04:09.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:04:09.056Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:04:09.574Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-04-19T22:04:09.581Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:04:09.598Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-04-19T22:04:10.038Z] Checking out Revision a9cce8b7dfe6fda3a1428129fda327925c6aa018 (master) [2021-04-19T22:04:09.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-04-19T22:04:09.617Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:04:09.623Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T22:04:10.046Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:04:10.052Z] > git checkout -f a9cce8b7dfe6fda3a1428129fda327925c6aa018 # timeout=10 [2021-04-19T22:04:13.715Z] Commit message: "Merge pull request #91 from soda480/US149" [2021-04-19T22:04:14.062Z] [2021-04-19T22:04:14.062Z] GitHub has been notified of this commit’s build result [2021-04-19T22:04:14.062Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:04:14.784Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:04:15.131Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:04:15.434Z] + sudo service docker restart [2021-04-19T22:04:15.434Z] + true [2021-04-19T22:04:15.434Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:04:16.418Z] provisioning config files... [2021-04-19T22:04:16.460Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/25@tmp/config3428351635843101048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:04:16.803Z] ---> docker-login.sh [2021-04-19T22:04:16.803Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:04:17.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:04:17.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:04:17.333Z] Configure a credential helper to remove this warning. See [2021-04-19T22:04:17.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:04:17.333Z] [2021-04-19T22:04:17.333Z] Login Succeeded [2021-04-19T22:04:17.333Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:04:17.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:04:17.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:04:17.333Z] Configure a credential helper to remove this warning. See [2021-04-19T22:04:17.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:04:17.333Z] [2021-04-19T22:04:17.333Z] Login Succeeded [2021-04-19T22:04:17.333Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:04:17.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:04:17.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:04:17.600Z] Configure a credential helper to remove this warning. See [2021-04-19T22:04:17.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:04:17.600Z] [2021-04-19T22:04:17.600Z] Login Succeeded [2021-04-19T22:04:17.600Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:04:17.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:04:17.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:04:17.865Z] Configure a credential helper to remove this warning. See [2021-04-19T22:04:17.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:04:17.865Z] [2021-04-19T22:04:17.865Z] Login Succeeded [2021-04-19T22:04:17.865Z] docker.io [2021-04-19T22:04:17.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:04:18.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:04:18.129Z] Configure a credential helper to remove this warning. See [2021-04-19T22:04:18.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:04:18.129Z] [2021-04-19T22:04:18.129Z] Login Succeeded [2021-04-19T22:04:18.129Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:04:18.140Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T22:04:18.344Z] ========================================================= [2021-04-19T22:04:18.344Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T22:04:18.344Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:04:18.665Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-19T22:04:18.933Z] Sending build context to Docker daemon 336.9kB [2021-04-19T22:04:18.933Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:04:18.933Z] Step 2/10 : FROM ${BASE} [2021-04-19T22:04:18.933Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T22:04:18.933Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T22:04:18.933Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T22:04:18.933Z] de9db76c5a1d: Pulling fs layer [2021-04-19T22:04:18.933Z] bca2f99d35d6: Pulling fs layer [2021-04-19T22:04:18.933Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T22:04:18.933Z] 7c6f9722023f: Pulling fs layer [2021-04-19T22:04:18.933Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T22:04:18.933Z] bca2f99d35d6: Waiting [2021-04-19T22:04:18.933Z] 93359f2a8cfa: Waiting [2021-04-19T22:04:18.933Z] 7c6f9722023f: Waiting [2021-04-19T22:04:18.933Z] a35cf1a2eb13: Waiting [2021-04-19T22:04:18.933Z] de9db76c5a1d: Verifying Checksum [2021-04-19T22:04:18.933Z] de9db76c5a1d: Download complete [2021-04-19T22:04:18.933Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T22:04:18.933Z] 0ef7d3d256c8: Download complete [2021-04-19T22:04:18.933Z] 93359f2a8cfa: Verifying Checksum [2021-04-19T22:04:18.933Z] 93359f2a8cfa: Download complete [2021-04-19T22:04:18.933Z] 7c6f9722023f: Verifying Checksum [2021-04-19T22:04:18.933Z] 7c6f9722023f: Download complete [2021-04-19T22:04:18.933Z] 188c0c94c7c5: Verifying Checksum [2021-04-19T22:04:18.933Z] 188c0c94c7c5: Download complete [2021-04-19T22:04:19.205Z] 188c0c94c7c5: Pull complete [2021-04-19T22:04:19.469Z] 0ef7d3d256c8: Pull complete [2021-04-19T22:04:19.736Z] de9db76c5a1d: Pull complete [2021-04-19T22:04:20.692Z] a35cf1a2eb13: Verifying Checksum [2021-04-19T22:04:20.692Z] a35cf1a2eb13: Download complete [2021-04-19T22:04:21.275Z] bca2f99d35d6: Verifying Checksum [2021-04-19T22:04:21.275Z] bca2f99d35d6: Download complete [2021-04-19T22:04:27.915Z] bca2f99d35d6: Pull complete [2021-04-19T22:04:27.915Z] 93359f2a8cfa: Pull complete [2021-04-19T22:04:27.915Z] 7c6f9722023f: Pull complete [2021-04-19T22:04:36.118Z] a35cf1a2eb13: Pull complete [2021-04-19T22:04:36.118Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T22:04:36.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T22:04:36.118Z] ---> a62c8e92a672 [2021-04-19T22:04:36.118Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-04-19T22:04:36.383Z] ---> Running in 729db5021e30 [2021-04-19T22:04:36.652Z] Removing intermediate container 729db5021e30 [2021-04-19T22:04:36.652Z] ---> 1465e1e7bac0 [2021-04-19T22:04:36.652Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T22:04:36.652Z] ---> Running in 4525e1110895 [2021-04-19T22:04:36.916Z] Removing intermediate container 4525e1110895 [2021-04-19T22:04:36.916Z] ---> f1418079b026 [2021-04-19T22:04:36.916Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-04-19T22:04:36.916Z] ---> Running in 6ecb15c1fbfc [2021-04-19T22:04:37.180Z] Removing intermediate container 6ecb15c1fbfc [2021-04-19T22:04:37.180Z] ---> db0d02550043 [2021-04-19T22:04:37.180Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:04:37.180Z] ---> Running in eedbde2c1795 [2021-04-19T22:04:38.132Z] Removing intermediate container eedbde2c1795 [2021-04-19T22:04:38.132Z] ---> 90843417b613 [2021-04-19T22:04:38.132Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T22:04:38.396Z] ---> Running in 122030c94618 [2021-04-19T22:04:39.369Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:04:39.947Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:04:40.527Z] OK: 166 MiB in 39 packages [2021-04-19T22:04:41.107Z] Removing intermediate container 122030c94618 [2021-04-19T22:04:41.107Z] ---> 68d68618e773 [2021-04-19T22:04:41.107Z] Step 8/10 : WORKDIR /device-snmp-go [2021-04-19T22:04:41.107Z] ---> Running in 3cd3d624d43d [2021-04-19T22:04:41.107Z] Removing intermediate container 3cd3d624d43d [2021-04-19T22:04:41.107Z] ---> 033353aedd9a [2021-04-19T22:04:41.107Z] Step 9/10 : COPY . . [2021-04-19T22:04:42.081Z] ---> ae9fa7cb5099 [2021-04-19T22:04:42.081Z] Step 10/10 : RUN go mod download [2021-04-19T22:04:42.081Z] ---> Running in 55844854d9dd [2021-04-19T22:05:04.132Z] Removing intermediate container 55844854d9dd [2021-04-19T22:05:04.132Z] ---> 3d3168b2dfa4 [2021-04-19T22:05:04.132Z] Successfully built 3d3168b2dfa4 [2021-04-19T22:05:04.132Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:05:04.503Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T22:05:04.767Z] . [Pipeline] withDockerContainer [2021-04-19T22:05:04.896Z] prd-centos7-docker-4c-2g-997 does not seem to be running inside a container [2021-04-19T22:05:04.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/25 -v /w/workspace/device-snmp-go/25:/w/workspace/device-snmp-go/25:rw,z -v /w/workspace/device-snmp-go/25@tmp:/w/workspace/device-snmp-go/25@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-04-19T22:05:05.925Z] $ docker top d33f666bb22b22cfed0996d2ca71615f259cf9db0eaa9bf1194cc57fbe1bdfaa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:05:06.360Z] + go version [2021-04-19T22:05:06.360Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T22:05:06.376Z] $ docker stop --time=1 d33f666bb22b22cfed0996d2ca71615f259cf9db0eaa9bf1194cc57fbe1bdfaa [2021-04-19T22:05:07.740Z] $ docker rm -f d33f666bb22b22cfed0996d2ca71615f259cf9db0eaa9bf1194cc57fbe1bdfaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:05:08.282Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T22:05:08.282Z] . [Pipeline] withDockerContainer [2021-04-19T22:05:08.397Z] prd-centos7-docker-4c-2g-997 does not seem to be running inside a container [2021-04-19T22:05:08.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/25 -v /w/workspace/device-snmp-go/25:/w/workspace/device-snmp-go/25:rw,z -v /w/workspace/device-snmp-go/25@tmp:/w/workspace/device-snmp-go/25@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-04-19T22:05:09.198Z] $ docker top 68a8337926bc297c3a4f3b7a5b99a4c59a609a4bc29257c400a26308bb907777 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:05:09.652Z] + make test [2021-04-19T22:05:09.653Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T22:05:10.621Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-04-19T22:05:23.034Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-04-19T22:05:23.034Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-04-19T22:05:23.034Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-04-19T22:05:24.984Z] gofmt -l . [2021-04-19T22:05:24.984Z] [ "`gofmt -l .`" = "" ] [2021-04-19T22:05:24.984Z] ./bin/test-attribution-txt.sh [2021-04-19T22:05:25.562Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T22:05:25.842Z] $ docker stop --time=1 68a8337926bc297c3a4f3b7a5b99a4c59a609a4bc29257c400a26308bb907777 [2021-04-19T22:05:27.660Z] lf-activate-venv(): INFO: Adding /tmp/venv-FE8D/bin to PATH [2021-04-19T22:05:27.660Z] INFO: No Stack... [2021-04-19T22:05:28.270Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T22:05:28.279Z] $ docker rm -f 68a8337926bc297c3a4f3b7a5b99a4c59a609a4bc29257c400a26308bb907777 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:05:28.888Z] INFO: Archiving Costs [2021-04-19T22:05:28.912Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2021-04-19T22:05:28.996Z] Warning: overwriting stash ‘coverage-report’ [2021-04-19T22:05:29.234Z] + cut -d, -f6 [2021-04-19T22:05:29.234Z] + cat /w/workspace/device-snmp-go/25/archives/cost.csv [2021-04-19T22:05:29.339Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] lock [2021-04-19T22:05:29.372Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-25-stack-cost] [2021-04-19T22:05:29.389Z] Resource [jenkins-edgexfoundry-device-snmp-go-master-25-stack-cost] did not exist. Created. [2021-04-19T22:05:29.390Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-25-stack-cost] [Pipeline] { [Pipeline] } [Pipeline] unstash [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-19T22:05:29.768Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T22:05:29.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T22:05:29.961Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T22:05:29.977Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-25-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T22:05:30.177Z] + ls -al . [2021-04-19T22:05:30.177Z] total 104 [2021-04-19T22:05:30.177Z] drwxrwxr-x. 8 jenkins jenkins 4096 Apr 19 22:05 . [2021-04-19T22:05:30.177Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 19 22:04 .. [2021-04-19T22:05:30.177Z] -rw-rw-r--. 1 jenkins jenkins 5082 Apr 19 22:04 Attribution.txt [2021-04-19T22:05:30.177Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 19 22:04 bin [2021-04-19T22:05:30.177Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 19 22:04 cmd [2021-04-19T22:05:30.177Z] -rw-r--r--. 1 jenkins jenkins 8493 Apr 19 22:05 coverage.out [2021-04-19T22:05:30.177Z] -rw-rw-r--. 1 jenkins jenkins 1529 Apr 19 22:04 Dockerfile [2021-04-19T22:05:30.177Z] -rw-rw-r--. 1 jenkins jenkins 1006 Apr 19 22:04 Dockerfile.build [2021-04-19T22:05:30.177Z] -rw-rw-r--. 1 jenkins jenkins 6 Apr 19 22:04 .dockerignore [2021-04-19T22:05:30.177Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 19 22:04 .git [2021-04-19T22:05:30.177Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 22:04 .github [2021-04-19T22:05:30.177Z] -rw-rw-r--. 1 jenkins jenkins 272 Apr 19 22:04 .gitignore [2021-04-19T22:05:30.177Z] -rw-r--r--. 1 jenkins jenkins 204 Apr 19 22:05 go.mod [2021-04-19T22:05:30.177Z] -rw-r--r--. 1 jenkins jenkins 14156 Apr 19 22:05 go.sum [2021-04-19T22:05:30.177Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 19 22:04 internal [2021-04-19T22:05:30.177Z] -rw-rw-r--. 1 jenkins jenkins 656 Apr 19 22:04 Jenkinsfile [2021-04-19T22:05:30.177Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 19 22:04 LICENSE [2021-04-19T22:05:30.177Z] -rw-rw-r--. 1 jenkins jenkins 937 Apr 19 22:04 Makefile [2021-04-19T22:05:30.177Z] drwxrwxr-x. 2 jenkins jenkins 84 Apr 19 22:04 profiles [2021-04-19T22:05:30.177Z] -rw-rw-r--. 1 jenkins jenkins 14171 Apr 19 22:04 README.md [2021-04-19T22:05:30.177Z] -rw-rw-r--. 1 jenkins jenkins 11 Apr 19 22:00 VERSION [2021-04-19T22:05:30.177Z] -rw-rw-r--. 1 jenkins jenkins 209 Apr 19 22:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:05:30.493Z] + docker build -t docker-device-snmp-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a9cce8b7dfe6fda3a1428129fda327925c6aa018 --label arch=amd64 --label version=1.3.2-dev.2 . [2021-04-19T22:05:30.759Z] Sending build context to Docker daemon 346.1kB [2021-04-19T22:05:30.759Z] Step 1/26 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:05:30.759Z] Step 2/26 : FROM ${BASE} AS builder [2021-04-19T22:05:30.759Z] ---> 3d3168b2dfa4 [2021-04-19T22:05:30.759Z] Step 3/26 : ARG MAKE='make build' [2021-04-19T22:05:30.759Z] ---> Running in f4eb9fe57b5c [2021-04-19T22:05:31.021Z] Removing intermediate container f4eb9fe57b5c [2021-04-19T22:05:31.022Z] ---> c436585095a0 [2021-04-19T22:05:31.022Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-04-19T22:05:31.022Z] ---> Running in ba502f407893 [2021-04-19T22:05:31.287Z] Removing intermediate container ba502f407893 [2021-04-19T22:05:31.287Z] ---> 559c777c3aec [2021-04-19T22:05:31.287Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T22:05:31.287Z] ---> Running in accf30e0b3f9 [2021-04-19T22:05:31.560Z] Removing intermediate container accf30e0b3f9 [2021-04-19T22:05:31.560Z] ---> 8348bb075c72 [2021-04-19T22:05:31.560Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:05:31.560Z] ---> Running in 24781a84590d [2021-04-19T22:05:32.525Z] Removing intermediate container 24781a84590d [2021-04-19T22:05:32.525Z] ---> a852b0298923 [2021-04-19T22:05:32.525Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T22:05:32.794Z] ---> Running in 8dffd592808e [2021-04-19T22:05:33.370Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:05:33.945Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:05:34.522Z] OK: 166 MiB in 39 packages [2021-04-19T22:05:35.097Z] Removing intermediate container 8dffd592808e [2021-04-19T22:05:35.097Z] ---> 784c70716fb4 [2021-04-19T22:05:35.097Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-04-19T22:05:35.359Z] ---> Running in d1eb94a89c31 [2021-04-19T22:05:35.359Z] Removing intermediate container d1eb94a89c31 [2021-04-19T22:05:35.359Z] ---> 4ddaf65fcd57 [2021-04-19T22:05:35.359Z] Step 9/26 : COPY go.mod . [2021-04-19T22:05:35.622Z] ---> d836b7148690 [2021-04-19T22:05:35.622Z] Step 10/26 : COPY Makefile . [2021-04-19T22:05:35.893Z] ---> 28fc7b0d2de0 [2021-04-19T22:05:35.893Z] Step 11/26 : RUN make update [2021-04-19T22:05:35.893Z] ---> Running in 0ced9d1b3de9 [2021-04-19T22:05:36.476Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-19T22:05:37.067Z] Removing intermediate container 0ced9d1b3de9 [2021-04-19T22:05:37.067Z] ---> 8d15132ac212 [2021-04-19T22:05:37.067Z] Step 12/26 : COPY . . [2021-04-19T22:05:37.643Z] ---> 27e2cc123c49 [2021-04-19T22:05:37.643Z] Step 13/26 : RUN ${MAKE} [2021-04-19T22:05:37.921Z] ---> Running in 7e287f3c8661 [2021-04-19T22:05:38.514Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.2" -o cmd/device-snmp-go ./cmd [2021-04-19T22:05:48.641Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-04-19T22:05:51.966Z] Removing intermediate container 7e287f3c8661 [2021-04-19T22:05:51.966Z] ---> f74e895b4f87 [2021-04-19T22:05:51.966Z] Step 14/26 : FROM alpine:3.12 [2021-04-19T22:05:52.229Z] 3.12: Pulling from library/alpine [2021-04-19T22:05:52.229Z] 339de151aab4: Pulling fs layer [2021-04-19T22:05:52.493Z] 339de151aab4: Verifying Checksum [2021-04-19T22:05:52.493Z] 339de151aab4: Download complete [2021-04-19T22:05:52.757Z] 339de151aab4: Pull complete [2021-04-19T22:05:52.757Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T22:05:52.757Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T22:05:52.757Z] ---> 13621d1b12d4 [2021-04-19T22:05:52.757Z] Step 15/26 : ENV APP_PORT=49993 [2021-04-19T22:05:53.020Z] ---> Running in 921b2bc2e33e [2021-04-19T22:05:53.020Z] Removing intermediate container 921b2bc2e33e [2021-04-19T22:05:53.020Z] ---> bcda84e5a641 [2021-04-19T22:05:53.020Z] Step 16/26 : EXPOSE $APP_PORT [2021-04-19T22:05:53.284Z] ---> Running in e660388ad0dc [2021-04-19T22:05:53.284Z] Removing intermediate container e660388ad0dc [2021-04-19T22:05:53.284Z] ---> 8b5a4364baa0 [2021-04-19T22:05:53.284Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-04-19T22:05:53.548Z] ---> Running in 78357ef7058c [2021-04-19T22:05:53.548Z] Removing intermediate container 78357ef7058c [2021-04-19T22:05:53.548Z] ---> ce89d742e8e2 [2021-04-19T22:05:53.548Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-04-19T22:05:53.548Z] ---> Running in 791d43bf31a1 [2021-04-19T22:05:53.814Z] Removing intermediate container 791d43bf31a1 [2021-04-19T22:05:53.814Z] ---> 1fa6390305d3 [2021-04-19T22:05:53.814Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-04-19T22:05:54.400Z] ---> 1be34d846144 [2021-04-19T22:05:54.400Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-04-19T22:05:54.663Z] ---> bf43d08feeb1 [2021-04-19T22:05:54.663Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-04-19T22:05:54.927Z] ---> 97fdbf24e945 [2021-04-19T22:05:54.927Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-04-19T22:05:55.191Z] ---> Running in a80d35aec906 [2021-04-19T22:05:55.191Z] Removing intermediate container a80d35aec906 [2021-04-19T22:05:55.191Z] ---> 8b2021c6ffb1 [2021-04-19T22:05:55.191Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-19T22:05:55.191Z] ---> Running in 4abb0660a6e5 [2021-04-19T22:05:55.455Z] Removing intermediate container 4abb0660a6e5 [2021-04-19T22:05:55.455Z] ---> 85b0e0d45a8c [2021-04-19T22:05:55.455Z] Step 24/26 : LABEL arch=amd64 [2021-04-19T22:05:55.455Z] ---> Running in d82f95a39d22 [2021-04-19T22:05:55.723Z] Removing intermediate container d82f95a39d22 [2021-04-19T22:05:55.723Z] ---> 9751ec3bf772 [2021-04-19T22:05:55.723Z] Step 25/26 : LABEL git_sha=a9cce8b7dfe6fda3a1428129fda327925c6aa018 [2021-04-19T22:05:55.723Z] ---> Running in 013a5a96df49 [2021-04-19T22:05:55.986Z] Removing intermediate container 013a5a96df49 [2021-04-19T22:05:55.986Z] ---> 5b4a4679f91c [2021-04-19T22:05:55.986Z] Step 26/26 : LABEL version=1.3.2-dev.2 [2021-04-19T22:05:55.986Z] ---> Running in 169a835a3ae7 [2021-04-19T22:05:56.250Z] Removing intermediate container 169a835a3ae7 [2021-04-19T22:05:56.250Z] ---> 3f2f650c2170 [2021-04-19T22:05:56.250Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T22:05:56.250Z] Successfully built 3f2f650c2170 [2021-04-19T22:05:56.250Z] Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:05:56.384Z] provisioning config files... [2021-04-19T22:05:56.451Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/25@tmp/config5910793446802597476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:05:56.807Z] ---> docker-login.sh [2021-04-19T22:05:56.807Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:05:57.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:05:57.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:05:57.071Z] Configure a credential helper to remove this warning. See [2021-04-19T22:05:57.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:05:57.071Z] [2021-04-19T22:05:57.071Z] Login Succeeded [2021-04-19T22:05:57.071Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:05:57.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:05:57.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:05:57.334Z] Configure a credential helper to remove this warning. See [2021-04-19T22:05:57.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:05:57.334Z] [2021-04-19T22:05:57.334Z] Login Succeeded [2021-04-19T22:05:57.334Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:05:57.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:05:57.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:05:57.334Z] Configure a credential helper to remove this warning. See [2021-04-19T22:05:57.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:05:57.334Z] [2021-04-19T22:05:57.334Z] Login Succeeded [2021-04-19T22:05:57.334Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:05:57.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:05:57.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:05:57.597Z] Configure a credential helper to remove this warning. See [2021-04-19T22:05:57.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:05:57.597Z] [2021-04-19T22:05:57.597Z] Login Succeeded [2021-04-19T22:05:57.597Z] docker.io [2021-04-19T22:05:57.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:05:58.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:05:58.123Z] Configure a credential helper to remove this warning. See [2021-04-19T22:05:58.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:05:58.123Z] [2021-04-19T22:05:58.123Z] Login Succeeded [2021-04-19T22:05:58.123Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:05:58.132Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:05:58.214Z] [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: [2021-04-19T22:05:58.214Z] a9cce8b7dfe6fda3a1428129fda327925c6aa018 [2021-04-19T22:05:58.214Z] latest [2021-04-19T22:05:58.214Z] 1.3.2-dev.2 [2021-04-19T22:05:58.214Z] a9cce8b7dfe6fda3a1428129fda327925c6aa018-1.3.2-dev.2 [2021-04-19T22:05:58.214Z] master [2021-04-19T22:05:58.214Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:05:58.591Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:a9cce8b7dfe6fda3a1428129fda327925c6aa018 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:05:58.898Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:a9cce8b7dfe6fda3a1428129fda327925c6aa018 [2021-04-19T22:05:58.898Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-04-19T22:05:58.898Z] 9c8b48af0af7: Preparing [2021-04-19T22:05:58.898Z] 4ccbdaff1242: Preparing [2021-04-19T22:05:58.898Z] ff2719c55533: Preparing [2021-04-19T22:05:58.898Z] 32f366d666a5: Preparing [2021-04-19T22:05:58.898Z] 32f366d666a5: Layer already exists [2021-04-19T22:05:59.161Z] 4ccbdaff1242: Pushed [2021-04-19T22:05:59.162Z] 9c8b48af0af7: Pushed [2021-04-19T22:06:00.113Z] ff2719c55533: Pushed [2021-04-19T22:06:00.377Z] a9cce8b7dfe6fda3a1428129fda327925c6aa018: digest: sha256:f7443cfb4dc3753929bcef291fec2c653c5e5579faadd052bc36c916e50ca52c size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:06:00.700Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:06:01.007Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [2021-04-19T22:06:01.007Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-04-19T22:06:01.007Z] 9c8b48af0af7: Preparing [2021-04-19T22:06:01.007Z] 4ccbdaff1242: Preparing [2021-04-19T22:06:01.007Z] ff2719c55533: Preparing [2021-04-19T22:06:01.007Z] 32f366d666a5: Preparing [2021-04-19T22:06:01.007Z] 9c8b48af0af7: Layer already exists [2021-04-19T22:06:01.007Z] 32f366d666a5: Layer already exists [2021-04-19T22:06:01.007Z] ff2719c55533: Layer already exists [2021-04-19T22:06:01.007Z] 4ccbdaff1242: Layer already exists [2021-04-19T22:06:01.007Z] latest: digest: sha256:f7443cfb4dc3753929bcef291fec2c653c5e5579faadd052bc36c916e50ca52c size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:06:01.316Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:06:01.628Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.2-dev.2 [2021-04-19T22:06:01.628Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-04-19T22:06:01.628Z] 9c8b48af0af7: Preparing [2021-04-19T22:06:01.628Z] 4ccbdaff1242: Preparing [2021-04-19T22:06:01.628Z] ff2719c55533: Preparing [2021-04-19T22:06:01.628Z] 32f366d666a5: Preparing [2021-04-19T22:06:01.628Z] 9c8b48af0af7: Layer already exists [2021-04-19T22:06:01.628Z] 4ccbdaff1242: Layer already exists [2021-04-19T22:06:01.628Z] 32f366d666a5: Layer already exists [2021-04-19T22:06:01.628Z] ff2719c55533: Layer already exists [2021-04-19T22:06:01.628Z] 1.3.2-dev.2: digest: sha256:f7443cfb4dc3753929bcef291fec2c653c5e5579faadd052bc36c916e50ca52c size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:06:01.942Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:a9cce8b7dfe6fda3a1428129fda327925c6aa018-1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:06:02.243Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:a9cce8b7dfe6fda3a1428129fda327925c6aa018-1.3.2-dev.2 [2021-04-19T22:06:02.243Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-04-19T22:06:02.243Z] 9c8b48af0af7: Preparing [2021-04-19T22:06:02.243Z] 4ccbdaff1242: Preparing [2021-04-19T22:06:02.243Z] ff2719c55533: Preparing [2021-04-19T22:06:02.243Z] 32f366d666a5: Preparing [2021-04-19T22:06:02.243Z] 9c8b48af0af7: Layer already exists [2021-04-19T22:06:02.243Z] 4ccbdaff1242: Layer already exists [2021-04-19T22:06:02.243Z] 32f366d666a5: Layer already exists [2021-04-19T22:06:02.243Z] ff2719c55533: Layer already exists [2021-04-19T22:06:02.243Z] a9cce8b7dfe6fda3a1428129fda327925c6aa018-1.3.2-dev.2: digest: sha256:f7443cfb4dc3753929bcef291fec2c653c5e5579faadd052bc36c916e50ca52c size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:06:02.560Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:06:02.866Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [2021-04-19T22:06:02.866Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2021-04-19T22:06:02.866Z] 9c8b48af0af7: Preparing [2021-04-19T22:06:02.866Z] 4ccbdaff1242: Preparing [2021-04-19T22:06:02.866Z] ff2719c55533: Preparing [2021-04-19T22:06:02.866Z] 32f366d666a5: Preparing [2021-04-19T22:06:02.866Z] 32f366d666a5: Layer already exists [2021-04-19T22:06:02.866Z] 9c8b48af0af7: Layer already exists [2021-04-19T22:06:02.866Z] 4ccbdaff1242: Layer already exists [2021-04-19T22:06:02.866Z] ff2719c55533: Layer already exists [2021-04-19T22:06:02.866Z] master: digest: sha256:f7443cfb4dc3753929bcef291fec2c653c5e5579faadd052bc36c916e50ca52c size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:06:02.937Z] ===================================================== [Pipeline] echo [2021-04-19T22:06:02.973Z] taggedImages: [2021-04-19T22:06:02.973Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:a9cce8b7dfe6fda3a1428129fda327925c6aa018 [2021-04-19T22:06:02.973Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [2021-04-19T22:06:02.974Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.2-dev.2 [2021-04-19T22:06:02.974Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:a9cce8b7dfe6fda3a1428129fda327925c6aa018-1.3.2-dev.2 [2021-04-19T22:06:02.974Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [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-04-19T22:06:03.389Z] ---> job-cost.sh [2021-04-19T22:06:03.389Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VtaO [2021-04-19T22:06:21.557Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T22:06:48.213Z] lf-activate-venv(): INFO: Adding /tmp/venv-VtaO/bin to PATH [2021-04-19T22:06:48.213Z] INFO: No Stack... [2021-04-19T22:06:50.141Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T22:06:50.717Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T22:06:51.032Z] + cut -d, -f6 [2021-04-19T22:06:51.032Z] + cat /w/workspace/device-snmp-go/25/archives/cost.csv [Pipeline] lock [2021-04-19T22:06:51.124Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-25-stack-cost] [2021-04-19T22:06:51.131Z] Resource [jenkins-edgexfoundry-device-snmp-go-master-25-stack-cost] did not exist. Created. [2021-04-19T22:06:51.131Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T22:06:51.471Z] /w/workspace/device-snmp-go/25@tmp/durable-e9fbb15b/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-04-19T22:06:51.785Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-19T22:06:51.799Z] Warning: overwriting stash ‘stack-cost’ [2021-04-19T22:06:51.917Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T22:06:51.936Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-25-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] wrap [2021-04-19T22:06:52.379Z] provisioning config files... [2021-04-19T22:06:52.399Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3023056182010000396tmp [Pipeline] { [Pipeline] sh [2021-04-19T22:06:52.742Z] + set +x [2021-04-19T22:06:52.742Z] + curl -s https://codecov.io/bash [2021-04-19T22:06:52.742Z] + bash -s -- [2021-04-19T22:06:53.010Z] [2021-04-19T22:06:53.010Z] _____ _ [2021-04-19T22:06:53.010Z] / ____| | | [2021-04-19T22:06:53.010Z] | | ___ __| | ___ ___ _____ __ [2021-04-19T22:06:53.010Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-19T22:06:53.010Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-19T22:06:53.010Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-19T22:06:53.010Z] Bash-1.0.1 [2021-04-19T22:06:53.010Z] [2021-04-19T22:06:53.010Z] [2021-04-19T22:06:53.010Z] ==> git version 2.24.3 found [2021-04-19T22:06:53.010Z] ==> 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-04-19T22:06:53.010Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-19T22:06:53.010Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-19T22:06:53.010Z] ==> Jenkins CI detected. [2021-04-19T22:06:53.010Z] project root: . [2021-04-19T22:06:53.010Z] --> token set from env [2021-04-19T22:06:53.010Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-19T22:06:53.010Z] ==> Running gcov in . (disable via -X gcov) [2021-04-19T22:06:53.010Z] ==> Python coveragepy not found [2021-04-19T22:06:53.010Z] ==> Searching for coverage reports in: [2021-04-19T22:06:53.010Z] + . [2021-04-19T22:06:53.010Z] -> Found 1 reports [2021-04-19T22:06:53.010Z] ==> Detecting git/mercurial file structure [2021-04-19T22:06:53.010Z] ==> Reading reports [2021-04-19T22:06:53.010Z] + ./coverage.out bytes=8493 [2021-04-19T22:06:53.011Z] ==> Appending adjustments [2021-04-19T22:06:53.011Z] https://docs.codecov.io/docs/fixing-reports [2021-04-19T22:06:53.279Z] + Found adjustments [2021-04-19T22:06:53.279Z] ==> Gzipping contents [2021-04-19T22:06:53.279Z] 4.0K /tmp/codecov.65X1kF.gz [2021-04-19T22:06:53.279Z] ==> Uploading reports [2021-04-19T22:06:53.279Z] url: https://codecov.io [2021-04-19T22:06:53.279Z] query: branch=master&commit=a9cce8b7dfe6fda3a1428129fda327925c6aa018&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-19T22:06:53.279Z] -> Pinging Codecov [2021-04-19T22:06:53.279Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=master&commit=a9cce8b7dfe6fda3a1428129fda327925c6aa018&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-19T22:06:53.542Z] -> Uploading to [2021-04-19T22:06:53.542Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-19/6C56EA5C29638FB4528AC87E60AF5AE0/a9cce8b7dfe6fda3a1428129fda327925c6aa018/92c7f2ad-5991-41fa-b259-613d55536512.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T220653Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4770325056eee8fc209c38531846ab1c567d5037bfcf73c7dbc496bfde5bf29b [2021-04-19T22:06:53.542Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-19T22:06:53.542Z] Dload Upload Total Spent Left Speed [2021-04-19T22:06:54.118Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 2512 --:--:-- --:--:-- --:--:-- 2516 [2021-04-19T22:06:54.118Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/a9cce8b7dfe6fda3a1428129fda327925c6aa018 [Pipeline] } [2021-04-19T22:06:54.128Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-19T22:06:54.366Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-19T22:06:54.392Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:06:54.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-19T22:06:54.720Z] [2021-04-19T22:06:54.720Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:06:55.058Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-19T22:06:55.058Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-19T22:06:55.058Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T22:06:55.058Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T22:06:55.058Z] de9db76c5a1d: Pulling fs layer [2021-04-19T22:06:55.058Z] 0eba1c9be4d2: Pulling fs layer [2021-04-19T22:06:55.058Z] 0d57e429df01: Pulling fs layer [2021-04-19T22:06:55.058Z] 4e4be7b47b0d: Pulling fs layer [2021-04-19T22:06:55.058Z] e1f770b5df2f: Pulling fs layer [2021-04-19T22:06:55.058Z] 85a0685a4137: Pulling fs layer [2021-04-19T22:06:55.058Z] 0d57e429df01: Waiting [2021-04-19T22:06:55.058Z] 4e4be7b47b0d: Waiting [2021-04-19T22:06:55.058Z] e1f770b5df2f: Waiting [2021-04-19T22:06:55.058Z] 85a0685a4137: Waiting [2021-04-19T22:06:55.058Z] 0eba1c9be4d2: Waiting [2021-04-19T22:06:55.058Z] de9db76c5a1d: Download complete [2021-04-19T22:06:55.058Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T22:06:55.058Z] 0ef7d3d256c8: Download complete [2021-04-19T22:06:55.058Z] 0d57e429df01: Download complete [2021-04-19T22:06:55.058Z] 188c0c94c7c5: Verifying Checksum [2021-04-19T22:06:55.058Z] 188c0c94c7c5: Download complete [2021-04-19T22:06:55.058Z] 4e4be7b47b0d: Verifying Checksum [2021-04-19T22:06:55.058Z] 4e4be7b47b0d: Download complete [2021-04-19T22:06:55.661Z] 188c0c94c7c5: Pull complete [2021-04-19T22:06:55.661Z] 0ef7d3d256c8: Pull complete [2021-04-19T22:06:55.925Z] de9db76c5a1d: Pull complete [2021-04-19T22:06:56.505Z] e1f770b5df2f: Verifying Checksum [2021-04-19T22:06:56.505Z] e1f770b5df2f: Download complete [2021-04-19T22:06:59.165Z] 0eba1c9be4d2: Verifying Checksum [2021-04-19T22:06:59.165Z] 0eba1c9be4d2: Download complete [2021-04-19T22:06:59.165Z] 85a0685a4137: Verifying Checksum [2021-04-19T22:06:59.165Z] 85a0685a4137: Download complete [2021-04-19T22:07:05.910Z] 0eba1c9be4d2: Pull complete [2021-04-19T22:07:05.910Z] 0d57e429df01: Pull complete [2021-04-19T22:07:05.910Z] 4e4be7b47b0d: Pull complete [2021-04-19T22:07:07.846Z] e1f770b5df2f: Pull complete [2021-04-19T22:07:16.082Z] 85a0685a4137: Pull complete [2021-04-19T22:07:16.082Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-19T22:07:16.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-19T22:07:16.082Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-19T22:07:16.310Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-04-19T22:07:16.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-04-19T22:07:17.597Z] $ docker top 7a3c3bca3e610a23f50e1b91ddb4b35e652daf1064043a50f61a34a1d271bc31 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-19T22:07:17.797Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-19T22:07:18.106Z] + set -o pipefail [2021-04-19T22:07:18.106Z] + snyk monitor '--org=edgex-jenkins' [2021-04-19T22:07:26.357Z] [2021-04-19T22:07:26.357Z] Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... [2021-04-19T22:07:26.357Z] [2021-04-19T22:07:26.357Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/69915b70-054c-4d5e-af9a-a36fe9481f07 [2021-04-19T22:07:26.357Z] [2021-04-19T22:07:26.357Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-19T22:07:26.357Z] [2021-04-19T22:07:26.357Z] [2021-04-19T22:07:26.357Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-04-19T22:07:26.357Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-04-19T22:07:26.376Z] $ docker stop --time=1 7a3c3bca3e610a23f50e1b91ddb4b35e652daf1064043a50f61a34a1d271bc31 [2021-04-19T22:07:29.080Z] $ docker rm -f 7a3c3bca3e610a23f50e1b91ddb4b35e652daf1064043a50f61a34a1d271bc31 [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-04-19T22:07:30.106Z] + git log --format=format:%s -1 a9cce8b7dfe6fda3a1428129fda327925c6aa018 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:07:30.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:07:30.423Z] . [Pipeline] withDockerContainer [2021-04-19T22:07:30.528Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-04-19T22:07:30.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:07:31.440Z] $ docker top 80130498774ef0d676ae556bde4a409163d69f6ae33cfd9694a58ab39e6955fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:07:31.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:07:31.614Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:07:31.851Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:07:31.854Z] $ docker exec 80130498774ef0d676ae556bde4a409163d69f6ae33cfd9694a58ab39e6955fe ssh-agent [2021-04-19T22:07:32.046Z] SSH_AUTH_SOCK=/tmp/ssh-Q7pebOgSgl30/agent.11 [2021-04-19T22:07:32.046Z] SSH_AGENT_PID=16 [2021-04-19T22:07:32.054Z] Running ssh-add (command line suppressed) [2021-04-19T22:07:32.199Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_9070027971572574966.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_9070027971572574966.key) [2021-04-19T22:07:32.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:07:32.566Z] + git semver tag [2021-04-19T22:07:32.567Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:07:32.567Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-04-19T22:07:32.567Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-04-19T22:07:32.567Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:07:32.567Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:07:32.567Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:07:32.567Z] # $SEMVER_BRANCH = master [2021-04-19T22:07:32.567Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-04-19T22:07:32.567Z] # a9cce8b7dfe6fda3a1428129fda327925c6aa018 HEAD [2021-04-19T22:07:32.832Z] # -> Force: false [2021-04-19T22:07:32.832Z] # 513872fc60bc51bd03c37d8544e31f942ea3447a refs/tags/v1.3.2-dev.2 [Pipeline] } [2021-04-19T22:07:32.849Z] $ docker exec --env ******** --env ******** 80130498774ef0d676ae556bde4a409163d69f6ae33cfd9694a58ab39e6955fe ssh-agent -k [2021-04-19T22:07:33.008Z] unset SSH_AUTH_SOCK; [2021-04-19T22:07:33.008Z] unset SSH_AGENT_PID; [2021-04-19T22:07:33.008Z] echo Agent pid 16 killed; [2021-04-19T22:07:33.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:07:33.413Z] + git semver [Pipeline] } [2021-04-19T22:07:33.435Z] $ docker stop --time=1 80130498774ef0d676ae556bde4a409163d69f6ae33cfd9694a58ab39e6955fe [2021-04-19T22:07:34.829Z] $ docker rm -f 80130498774ef0d676ae556bde4a409163d69f6ae33cfd9694a58ab39e6955fe [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:07:35.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-19T22:07:35.366Z] [2021-04-19T22:07:35.366Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:07:35.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-19T22:07:35.691Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-19T22:07:35.691Z] ab5ef0e58194: Pulling fs layer [2021-04-19T22:07:35.691Z] 9712f1f96733: Pulling fs layer [2021-04-19T22:07:35.691Z] 63f879dbbcfc: Pulling fs layer [2021-04-19T22:07:35.691Z] 0d9ebad4ef96: Pulling fs layer [2021-04-19T22:07:35.691Z] e9a5061849ea: Pulling fs layer [2021-04-19T22:07:35.691Z] d747dcd14b5f: Pulling fs layer [2021-04-19T22:07:35.691Z] 2de7ff778b66: Pulling fs layer [2021-04-19T22:07:35.691Z] 0d9ebad4ef96: Waiting [2021-04-19T22:07:35.691Z] d747dcd14b5f: Waiting [2021-04-19T22:07:35.691Z] 2de7ff778b66: Waiting [2021-04-19T22:07:35.691Z] e9a5061849ea: Waiting [2021-04-19T22:07:35.691Z] 9712f1f96733: Verifying Checksum [2021-04-19T22:07:35.691Z] 9712f1f96733: Download complete [2021-04-19T22:07:37.101Z] 63f879dbbcfc: Verifying Checksum [2021-04-19T22:07:37.101Z] 63f879dbbcfc: Download complete [2021-04-19T22:07:37.101Z] e9a5061849ea: Verifying Checksum [2021-04-19T22:07:37.101Z] e9a5061849ea: Download complete [2021-04-19T22:07:37.101Z] d747dcd14b5f: Verifying Checksum [2021-04-19T22:07:37.101Z] d747dcd14b5f: Download complete [2021-04-19T22:07:37.693Z] 2de7ff778b66: Verifying Checksum [2021-04-19T22:07:37.693Z] 2de7ff778b66: Download complete [2021-04-19T22:07:37.959Z] 0d9ebad4ef96: Verifying Checksum [2021-04-19T22:07:37.959Z] 0d9ebad4ef96: Download complete [2021-04-19T22:07:37.959Z] ab5ef0e58194: Verifying Checksum [2021-04-19T22:07:37.959Z] ab5ef0e58194: Download complete [2021-04-19T22:07:43.314Z] ab5ef0e58194: Pull complete [2021-04-19T22:07:43.314Z] 9712f1f96733: Pull complete [2021-04-19T22:07:45.879Z] 63f879dbbcfc: Pull complete [2021-04-19T22:07:52.554Z] 0d9ebad4ef96: Pull complete [2021-04-19T22:07:55.879Z] e9a5061849ea: Pull complete [2021-04-19T22:07:56.144Z] d747dcd14b5f: Pull complete [2021-04-19T22:07:58.084Z] 2de7ff778b66: Pull complete [2021-04-19T22:07:58.084Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-19T22:07:58.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-19T22:07:58.084Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-19T22:07:58.358Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-04-19T22:07:58.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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-lftools:0.23.1-centos7 cat [2021-04-19T22:08:01.849Z] $ docker top 305e2978e704fe46b4a3bcfca6360efa13d335bd1cfea6fd5e245c12981072de -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-19T22:08:02.086Z] provisioning config files... [2021-04-19T22:08:02.098Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config8075132298369972516tmp [2021-04-19T22:08:02.117Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4212875660175908543tmp [2021-04-19T22:08:02.136Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2178684837838940607tmp [Pipeline] { [Pipeline] echo [2021-04-19T22:08:02.161Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:08:02.471Z] ---> sigul-configuration.sh [2021-04-19T22:08:02.471Z] gpg: directory `/root/.gnupg' created [2021-04-19T22:08:02.471Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-19T22:08:02.471Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-19T22:08:02.471Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-19T22:08:02.471Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-19T22:08:02.471Z] gpg: CAST5 encrypted data [2021-04-19T22:08:02.737Z] gpg: encrypted with 1 passphrase [2021-04-19T22:08:02.737Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-19T22:08:03.045Z] + mkdir /home/jenkins [2021-04-19T22:08:03.045Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-19T22:08:03.353Z] + 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-04-19T22:08:03.366Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:08:03.671Z] ---> sigul-install.sh [2021-04-19T22:08:15.957Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-19T22:08:16.589Z] + git tag --list [2021-04-19T22:08:16.589Z] 1.0.0 [2021-04-19T22:08:16.589Z] v0.0.0 [2021-04-19T22:08:16.589Z] v1.1.0 [2021-04-19T22:08:16.589Z] v1.1.1 [2021-04-19T22:08:16.589Z] v1.2.2 [2021-04-19T22:08:16.589Z] v1.3.0 [2021-04-19T22:08:16.589Z] v1.3.1 [2021-04-19T22:08:16.589Z] v1.3.1-dev.1 [2021-04-19T22:08:16.589Z] v1.3.1-dev.2 [2021-04-19T22:08:16.589Z] v1.3.1-dev.3 [2021-04-19T22:08:16.589Z] v1.3.1-dev.4 [2021-04-19T22:08:16.589Z] v1.3.2-dev.1 [2021-04-19T22:08:16.589Z] v1.3.2-dev.2 [Pipeline] sh [2021-04-19T22:08:16.911Z] + lftools sign git-tag v1.3.2-dev.2 [2021-04-19T22:08:18.311Z] Signing Git tag with Sigul... [2021-04-19T22:08:18.311Z] Signing v1.3.2-dev.2 [Pipeline] echo [2021-04-19T22:08:19.276Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:08:19.587Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-19T22:08:19.598Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-19T22:08:19.647Z] $ docker stop --time=1 305e2978e704fe46b4a3bcfca6360efa13d335bd1cfea6fd5e245c12981072de [2021-04-19T22:08:22.099Z] $ docker rm -f 305e2978e704fe46b4a3bcfca6360efa13d335bd1cfea6fd5e245c12981072de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:08:22.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:08:22.854Z] . [Pipeline] withDockerContainer [2021-04-19T22:08:22.983Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-04-19T22:08:23.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:08:24.084Z] $ docker top 36c94e62616f60e125b5f6a45bf3f6575a03ce893476c87e20d83cd837efbe43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:08:24.295Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:08:24.295Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:08:24.540Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:08:24.544Z] $ docker exec 36c94e62616f60e125b5f6a45bf3f6575a03ce893476c87e20d83cd837efbe43 ssh-agent [2021-04-19T22:08:24.769Z] SSH_AUTH_SOCK=/tmp/ssh-dy0r0OdmqdzX/agent.11 [2021-04-19T22:08:24.769Z] SSH_AGENT_PID=16 [2021-04-19T22:08:24.778Z] Running ssh-add (command line suppressed) [2021-04-19T22:08:24.933Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1738909151097217847.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1738909151097217847.key) [2021-04-19T22:08:24.999Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:08:25.314Z] + git semver bump pre [2021-04-19T22:08:25.315Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:08:25.315Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-04-19T22:08:25.315Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-04-19T22:08:25.315Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:08:25.315Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:08:25.315Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:08:25.315Z] # $SEMVER_BRANCH = master [2021-04-19T22:08:25.315Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-04-19T22:08:25.315Z] 1.3.2-dev.3 [Pipeline] } [2021-04-19T22:08:25.329Z] $ docker exec --env ******** --env ******** 36c94e62616f60e125b5f6a45bf3f6575a03ce893476c87e20d83cd837efbe43 ssh-agent -k [2021-04-19T22:08:25.479Z] unset SSH_AUTH_SOCK; [2021-04-19T22:08:25.480Z] unset SSH_AGENT_PID; [2021-04-19T22:08:25.480Z] echo Agent pid 16 killed; [2021-04-19T22:08:25.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:08:25.901Z] + git semver [Pipeline] } [2021-04-19T22:08:25.922Z] $ docker stop --time=1 36c94e62616f60e125b5f6a45bf3f6575a03ce893476c87e20d83cd837efbe43 [2021-04-19T22:08:27.451Z] $ docker rm -f 36c94e62616f60e125b5f6a45bf3f6575a03ce893476c87e20d83cd837efbe43 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:08:27.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:08:27.956Z] . [Pipeline] withDockerContainer [2021-04-19T22:08:28.081Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-04-19T22:08:28.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:08:29.378Z] $ docker top 0b950d4c1a4b6ebf4f44c15210789ea80e013ded01c5e9c636e776765012409b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:08:29.630Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:08:29.630Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:08:29.919Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:08:29.922Z] $ docker exec 0b950d4c1a4b6ebf4f44c15210789ea80e013ded01c5e9c636e776765012409b ssh-agent [2021-04-19T22:08:30.133Z] SSH_AUTH_SOCK=/tmp/ssh-vLsXgBFXHDPr/agent.11 [2021-04-19T22:08:30.133Z] SSH_AGENT_PID=17 [2021-04-19T22:08:30.142Z] Running ssh-add (command line suppressed) [2021-04-19T22:08:30.336Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7928652690244937504.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7928652690244937504.key) [2021-04-19T22:08:30.432Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:08:30.742Z] + git semver push [2021-04-19T22:08:30.742Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:08:30.742Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-04-19T22:08:30.742Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-04-19T22:08:30.742Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:08:30.742Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:08:30.742Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:08:30.742Z] # $SEMVER_BRANCH = master [2021-04-19T22:08:30.742Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-04-19T22:08:34.983Z] $ docker exec --env ******** --env ******** 0b950d4c1a4b6ebf4f44c15210789ea80e013ded01c5e9c636e776765012409b ssh-agent -k [2021-04-19T22:08:35.173Z] unset SSH_AUTH_SOCK; [2021-04-19T22:08:35.173Z] unset SSH_AGENT_PID; [2021-04-19T22:08:35.174Z] echo Agent pid 17 killed; [2021-04-19T22:08:35.265Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:08:35.618Z] + git semver [Pipeline] } [2021-04-19T22:08:35.635Z] $ docker stop --time=1 0b950d4c1a4b6ebf4f44c15210789ea80e013ded01c5e9c636e776765012409b [2021-04-19T22:08:37.287Z] $ docker rm -f 0b950d4c1a4b6ebf4f44c15210789ea80e013ded01c5e9c636e776765012409b [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-04-19T22:08:38.047Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:08:38.626Z] ---> package-listing.sh [2021-04-19T22:08:38.626Z] ++ facter osfamily [2021-04-19T22:08:38.626Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T22:08:38.626Z] + OS_FAMILY=redhat [2021-04-19T22:08:38.626Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_master [2021-04-19T22:08:38.626Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T22:08:38.626Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T22:08:38.626Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T22:08:38.626Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T22:08:38.626Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-04-19T22:08:38.626Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T22:08:38.626Z] + case "${OS_FAMILY}" in [2021-04-19T22:08:38.626Z] + rpm -qa [2021-04-19T22:08:38.626Z] + sort [2021-04-19T22:08:43.958Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T22:08:43.958Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T22:08:43.958Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T22:08:43.958Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-04-19T22:08:43.958Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ [2021-04-19T22:08:43.958Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] echo [2021-04-19T22:08:43.978Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T22:08:44.289Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:08:44.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:08:44.606Z] [2021-04-19T22:08:44.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:08:44.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:08:44.940Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T22:08:44.940Z] df20fa9351a1: Pulling fs layer [2021-04-19T22:08:44.940Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T22:08:44.940Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T22:08:44.940Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T22:08:44.940Z] 93b61091891f: Pulling fs layer [2021-04-19T22:08:44.940Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T22:08:44.940Z] 5e14af77c1be: Pulling fs layer [2021-04-19T22:08:44.940Z] 01666e4c0597: Pulling fs layer [2021-04-19T22:08:44.940Z] aa168da1d23b: Pulling fs layer [2021-04-19T22:08:44.940Z] 5e14af77c1be: Waiting [2021-04-19T22:08:44.940Z] 46f8f816bc3b: Waiting [2021-04-19T22:08:44.940Z] 01666e4c0597: Waiting [2021-04-19T22:08:44.940Z] aa168da1d23b: Waiting [2021-04-19T22:08:44.940Z] 93b61091891f: Waiting [2021-04-19T22:08:44.940Z] 93b9cdb0e59b: Waiting [2021-04-19T22:08:44.940Z] 36b3adc4ff6f: Verifying Checksum [2021-04-19T22:08:44.940Z] 36b3adc4ff6f: Download complete [2021-04-19T22:08:44.940Z] 46f8f816bc3b: Verifying Checksum [2021-04-19T22:08:44.940Z] 46f8f816bc3b: Download complete [2021-04-19T22:08:45.211Z] df20fa9351a1: Download complete [2021-04-19T22:08:45.211Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T22:08:45.211Z] 93b9cdb0e59b: Download complete [2021-04-19T22:08:45.211Z] 93b61091891f: Download complete [2021-04-19T22:08:45.211Z] 5e14af77c1be: Verifying Checksum [2021-04-19T22:08:45.211Z] 5e14af77c1be: Download complete [2021-04-19T22:08:45.211Z] 01666e4c0597: Verifying Checksum [2021-04-19T22:08:45.211Z] 01666e4c0597: Download complete [2021-04-19T22:08:45.211Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T22:08:45.211Z] 8ad3a11d3b57: Download complete [2021-04-19T22:08:46.619Z] df20fa9351a1: Pull complete [2021-04-19T22:08:46.885Z] 36b3adc4ff6f: Pull complete [2021-04-19T22:08:47.467Z] aa168da1d23b: Verifying Checksum [2021-04-19T22:08:47.468Z] aa168da1d23b: Download complete [2021-04-19T22:08:48.050Z] 8ad3a11d3b57: Pull complete [2021-04-19T22:08:48.050Z] 46f8f816bc3b: Pull complete [2021-04-19T22:08:48.630Z] 93b61091891f: Pull complete [2021-04-19T22:08:48.630Z] 93b9cdb0e59b: Pull complete [2021-04-19T22:08:48.911Z] 5e14af77c1be: Pull complete [2021-04-19T22:08:48.911Z] 01666e4c0597: Pull complete [2021-04-19T22:08:58.982Z] aa168da1d23b: Pull complete [2021-04-19T22:08:58.982Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T22:08:58.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:08:58.982Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T22:08:59.286Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-04-19T22:08:59.343Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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-lftools-log-publisher:alpine cat [2021-04-19T22:09:02.533Z] $ docker top 4dbfd8c0115cd1a8803a98b892d1c6c7051cfb5115c70645a60b27f7c1dee031 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:09:03.155Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T22:09:03.464Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T22:09:03.764Z] + ls /var/log/sa-host [2021-04-19T22:09:03.764Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T22:09:03.764Z] file_magic: OK [2021-04-19T22:09:03.764Z] HZ: Using current value: 100 [2021-04-19T22:09:03.764Z] file_header: OK [2021-04-19T22:09:03.764Z] 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-04-19T22:09:03.764Z] Statistics: [2021-04-19T22:09:03.764Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T22:09:03.764Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T22:09:03.764Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T22:09:03.764Z] file_magic: OK [2021-04-19T22:09:03.764Z] HZ: Using current value: 100 [2021-04-19T22:09:03.764Z] file_header: OK [2021-04-19T22:09:03.764Z] 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-04-19T22:09:03.764Z] Statistics: [2021-04-19T22:09:03.764Z] Hnuu...uuuununununu... [2021-04-19T22:09:03.764Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T22:09:03.939Z] provisioning config files... [2021-04-19T22:09:03.957Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config8792803761734731572tmp [Pipeline] { [Pipeline] echo [2021-04-19T22:09:03.979Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:09:04.277Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T22:09:04.287Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T22:09:04.344Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:09:04.643Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T22:09:04.654Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:09:04.955Z] ---> sudo-logs.sh [2021-04-19T22:09:04.955Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T22:09:04.991Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:09:05.290Z] ---> job-cost.sh [2021-04-19T22:09:05.290Z] lf-activate-venv: SKIPPING [2021-04-19T22:09:05.290Z] DEBUG: total: 0.029999999329447746 [2021-04-19T22:09:05.290Z] INFO: Retrieving Stack Cost... [2021-04-19T22:09:05.868Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T22:09:06.446Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T22:09:06.465Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:09:06.773Z] ---> logs-deploy.sh [2021-04-19T22:09:06.773Z] lf-activate-venv: SKIPPING [2021-04-19T22:09:06.773Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/25 [2021-04-19T22:09:06.773Z] INFO: archiving workspace using pattern(s): [2021-04-19T22:09:08.696Z] Archives upload complete. [2021-04-19T22:09:08.696Z] INFO: archiving logs to Nexus