Started by upstream project "edgexfoundry/cd-management/release" build number 39 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dfea19939c3e5952b7f8a352ed4dd87bf2177730 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 d8dcacb1afd64ffd41a88d498332b01d09cee174 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 d8dcacb1afd64ffd41a88d498332b01d09cee174 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 d8dcacb1afd64ffd41a88d498332b01d09cee174 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d8dcacb1afd64ffd41a88d498332b01d09cee174 # timeout=10 Commit message: "Merge pull request #299 from bill-mahoney/releaseStream" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-12563’ Running on prd-centos7-docker-4c-2g-12565 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 Checking out Revision dfea19939c3e5952b7f8a352ed4dd87bf2177730 (master) > 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 Commit message: "Merge pull request #71 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" > git rev-list --no-walk dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-18T19:34:02.275Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-18T19:34:02.552Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-18T19:34:02.657Z] ========================================================= [2020-11-18T19:34:02.657Z] EdgeX Global Pipelines Version Info [2020-11-18T19:34:02.657Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:34:04.134Z] ------------------- [2020-11-18T19:34:04.134Z] stable info: [2020-11-18T19:34:04.134Z] ------------------- [2020-11-18T19:34:04.134Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-18T19:34:04.134Z] Commit SHA: d8dcacb1afd64ffd41a88d498332b01d09cee174 [2020-11-18T19:34:04.134Z] Message: update stable to v1.0.165 [2020-11-18T19:34:05.308Z] ------------------- [2020-11-18T19:34:05.308Z] experimental info: [2020-11-18T19:34:05.308Z] ------------------- [2020-11-18T19:34:05.308Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-18T19:34:05.308Z] Commit SHA: d8dcacb1afd64ffd41a88d498332b01d09cee174 [2020-11-18T19:34:05.308Z] Message: update experimental to v1.0.165 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-18T19:34:05.737Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2020-11-18T19:34:05.847Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2020-11-18T19:34:05.964Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-18T19:34:06.071Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-18T19:34:06.172Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-18T19:34:06.270Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-18T19:34:06.374Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-18T19:34:06.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-18T19:34:06.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-18T19:34:06.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-18T19:34:06.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-18T19:34:06.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2020-11-18T19:34:06.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-18T19:34:07.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-18T19:34:07.149Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-18T19:34:07.243Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-18T19:34:07.345Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-18T19:34:07.457Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-18T19:34:07.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-18T19:34:07.658Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-18T19:34:07.796Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-18T19:34:07.901Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-18T19:34:08.045Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-18T19:34:08.137Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-18T19:34:08.235Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-18T19:34:08.327Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-18T19:34:08.453Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-11-18T19:34:08.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-11-18T19:34:08.720Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-11-18T19:34:08.853Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dfea19939c3e5952b7f8a352ed4dd87bf2177730 [Pipeline] echo [2020-11-18T19:34:09.004Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dfea199 [Pipeline] echo [2020-11-18T19:34:09.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-18T19:34:09.414Z] provisioning config files... [2020-11-18T19:34:09.584Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config9117077413346911252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:34:10.052Z] ---> docker-login.sh [2020-11-18T19:34:10.052Z] nexus3.edgexfoundry.org:10001 [2020-11-18T19:34:10.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:34:10.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:34:10.581Z] Configure a credential helper to remove this warning. See [2020-11-18T19:34:10.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:34:10.581Z] [2020-11-18T19:34:10.581Z] Login Succeeded [2020-11-18T19:34:10.581Z] nexus3.edgexfoundry.org:10002 [2020-11-18T19:34:10.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:34:10.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:34:10.850Z] Configure a credential helper to remove this warning. See [2020-11-18T19:34:10.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:34:10.850Z] [2020-11-18T19:34:10.850Z] Login Succeeded [2020-11-18T19:34:10.850Z] nexus3.edgexfoundry.org:10003 [2020-11-18T19:34:10.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:34:10.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:34:10.850Z] Configure a credential helper to remove this warning. See [2020-11-18T19:34:10.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:34:10.850Z] [2020-11-18T19:34:10.850Z] Login Succeeded [2020-11-18T19:34:10.850Z] nexus3.edgexfoundry.org:10004 [2020-11-18T19:34:11.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:34:11.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:34:11.119Z] Configure a credential helper to remove this warning. See [2020-11-18T19:34:11.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:34:11.119Z] [2020-11-18T19:34:11.119Z] Login Succeeded [2020-11-18T19:34:11.119Z] docker.io [2020-11-18T19:34:11.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:34:11.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:34:11.381Z] Configure a credential helper to remove this warning. See [2020-11-18T19:34:11.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:34:11.381Z] [2020-11-18T19:34:11.381Z] Login Succeeded [2020-11-18T19:34:11.381Z] ---> docker-login.sh ends [Pipeline] } [2020-11-18T19:34:11.392Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-18T19:34:12.231Z] + git log --format=format:%s -1 dfea19939c3e5952b7f8a352ed4dd87bf2177730 [Pipeline] echo [2020-11-18T19:34:12.303Z] GIT_COMMIT: dfea19939c3e5952b7f8a352ed4dd87bf2177730, Commit Message: Merge pull request #71 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0 [Pipeline] echo [2020-11-18T19:34:12.354Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:34:12.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-18T19:34:12.966Z] [2020-11-18T19:34:12.966Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:34:13.390Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-18T19:34:13.390Z] latest: Pulling from edgex-devops/git-semver [2020-11-18T19:34:13.390Z] 31603596830f: Pulling fs layer [2020-11-18T19:34:13.390Z] 2a8b12db71e7: Pulling fs layer [2020-11-18T19:34:13.390Z] 6ca5941a6612: Pulling fs layer [2020-11-18T19:34:13.390Z] ecc8261a40a4: Pulling fs layer [2020-11-18T19:34:13.390Z] ecc8261a40a4: Waiting [2020-11-18T19:34:13.390Z] 2a8b12db71e7: Verifying Checksum [2020-11-18T19:34:13.390Z] 2a8b12db71e7: Download complete [2020-11-18T19:34:13.652Z] 31603596830f: Verifying Checksum [2020-11-18T19:34:13.652Z] 31603596830f: Download complete [2020-11-18T19:34:13.914Z] ecc8261a40a4: Verifying Checksum [2020-11-18T19:34:13.914Z] ecc8261a40a4: Download complete [2020-11-18T19:34:13.915Z] 6ca5941a6612: Verifying Checksum [2020-11-18T19:34:13.915Z] 6ca5941a6612: Download complete [2020-11-18T19:34:13.915Z] 31603596830f: Pull complete [2020-11-18T19:34:14.178Z] 2a8b12db71e7: Pull complete [2020-11-18T19:34:15.130Z] 6ca5941a6612: Pull complete [2020-11-18T19:34:15.130Z] ecc8261a40a4: Pull complete [2020-11-18T19:34:15.130Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-18T19:34:15.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-18T19:34:15.130Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-18T19:34:15.250Z] prd-centos7-docker-4c-2g-12565 does not seem to be running inside a container [2020-11-18T19:34:15.307Z] $ 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 [2020-11-18T19:34:17.677Z] $ docker top 1f3b2745ca6b7e4e30a65409750feb621f055fef761251714fb4da9065b9668b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-18T19:34:17.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-18T19:34:17.983Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-18T19:34:18.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-18T19:34:18.324Z] $ docker exec 1f3b2745ca6b7e4e30a65409750feb621f055fef761251714fb4da9065b9668b ssh-agent [2020-11-18T19:34:18.500Z] SSH_AUTH_SOCK=/tmp/ssh-nOEFrZaAGfJG/agent.12 [2020-11-18T19:34:18.500Z] SSH_AGENT_PID=17 [2020-11-18T19:34:18.516Z] Running ssh-add (command line suppressed) [2020-11-18T19:34:18.658Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6037010314093567593.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6037010314093567593.key) [2020-11-18T19:34:18.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-18T19:34:19.054Z] + git tag --points-at HEAD [Pipeline] } [2020-11-18T19:34:19.073Z] $ docker exec --env ******** --env ******** 1f3b2745ca6b7e4e30a65409750feb621f055fef761251714fb4da9065b9668b ssh-agent -k [2020-11-18T19:34:19.199Z] unset SSH_AUTH_SOCK; [2020-11-18T19:34:19.200Z] unset SSH_AGENT_PID; [2020-11-18T19:34:19.200Z] echo Agent pid 17 killed; [2020-11-18T19:34:19.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-11-18T19:34:19.380Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.2.3-dev.6|v1.3.0' [Pipeline] sshagent [2020-11-18T19:34:19.476Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-18T19:34:19.476Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-18T19:34:19.647Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-18T19:34:19.653Z] $ docker exec 1f3b2745ca6b7e4e30a65409750feb621f055fef761251714fb4da9065b9668b ssh-agent [2020-11-18T19:34:19.913Z] SSH_AUTH_SOCK=/tmp/ssh-7JocHIfOelWK/agent.46 [2020-11-18T19:34:19.913Z] SSH_AGENT_PID=51 [2020-11-18T19:34:19.924Z] Running ssh-add (command line suppressed) [2020-11-18T19:34:20.111Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3891167188898835526.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3891167188898835526.key) [2020-11-18T19:34:20.171Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-18T19:34:20.511Z] + git semver init [2020-11-18T19:34:20.511Z] # -> Open(): unable to determine branch for HEAD [2020-11-18T19:34:20.511Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2020-11-18T19:34:20.511Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2020-11-18T19:34:20.511Z] # $SEMVER_REMOTE_NAME = origin [2020-11-18T19:34:20.511Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-18T19:34:20.511Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-18T19:34:20.511Z] # $SEMVER_BRANCH = master [2020-11-18T19:34:20.511Z] # $SEMVER_TEMP = /tmp/semver-502779079 [2020-11-18T19:34:20.511Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2020-11-18T19:34:20.774Z] # '/tmp/semver-502779079' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' [2020-11-18T19:34:21.035Z] # -> Force: false [2020-11-18T19:34:21.035Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2020-11-18T19:34:21.049Z] $ docker exec --env ******** --env ******** 1f3b2745ca6b7e4e30a65409750feb621f055fef761251714fb4da9065b9668b ssh-agent -k [2020-11-18T19:34:21.182Z] unset SSH_AUTH_SOCK; [2020-11-18T19:34:21.183Z] unset SSH_AGENT_PID; [2020-11-18T19:34:21.183Z] echo Agent pid 51 killed; [2020-11-18T19:34:21.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-18T19:34:21.807Z] + git semver [Pipeline] } [2020-11-18T19:34:21.825Z] $ docker stop --time=1 1f3b2745ca6b7e4e30a65409750feb621f055fef761251714fb4da9065b9668b [2020-11-18T19:34:23.227Z] $ docker rm -f 1f3b2745ca6b7e4e30a65409750feb621f055fef761251714fb4da9065b9668b [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-18T19:34:23.741Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-18T19:34:24.250Z] Stashed 1 file(s) [Pipeline] echo [2020-11-18T19:34:24.253Z] [edgeXSemver]: initialized semver on version 1.3.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-11-18T19:34:39.828Z] Still waiting to schedule task [2020-11-18T19:34:39.828Z] ‘prd-centos7-docker-4c-2g-12568’ is offline; ‘prd-centos7-docker-4c-2g-12569’ is offline [2020-11-18T19:34:39.832Z] Still waiting to schedule task [2020-11-18T19:34:39.832Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-11-18T19:35:50.767Z] Running on prd-centos7-docker-4c-2g-12573 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2020-11-18T19:35:50.820Z] Running in /w/workspace/device-snmp-go/18 [Pipeline] { [Pipeline] checkout [2020-11-18T19:35:57.100Z] using credential edgex-jenkins-ssh [2020-11-18T19:35:57.154Z] Cloning the remote Git repository [2020-11-18T19:35:57.196Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-11-18T19:35:57.283Z] > git init /w/workspace/device-snmp-go/18 # timeout=10 [2020-11-18T19:35:57.404Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-11-18T19:35:57.405Z] > git --version # timeout=10 [2020-11-18T19:35:57.417Z] > git --version # 'git version 2.16.5' [2020-11-18T19:35:57.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-18T19:35:57.464Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-18T19:35:58.005Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-11-18T19:35:58.038Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-18T19:35:58.602Z] Checking out Revision dfea19939c3e5952b7f8a352ed4dd87bf2177730 (master) [2020-11-18T19:35:58.086Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-11-18T19:35:58.205Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-11-18T19:35:58.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-18T19:35:58.216Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-18T19:35:58.613Z] > git config core.sparsecheckout # timeout=10 [2020-11-18T19:35:58.625Z] > git checkout -f dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 [2020-11-18T19:36:02.739Z] Commit message: "Merge pull request #71 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-18T19:36:03.964Z] provisioning config files... [2020-11-18T19:36:04.031Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/18@tmp/config9009594483867172672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:36:05.195Z] ---> docker-login.sh [2020-11-18T19:36:05.195Z] nexus3.edgexfoundry.org:10001 [2020-11-18T19:36:05.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:36:05.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:36:05.821Z] Configure a credential helper to remove this warning. See [2020-11-18T19:36:05.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:36:05.821Z] [2020-11-18T19:36:05.821Z] Login Succeeded [2020-11-18T19:36:05.821Z] nexus3.edgexfoundry.org:10002 [2020-11-18T19:36:06.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:36:06.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:36:06.118Z] Configure a credential helper to remove this warning. See [2020-11-18T19:36:06.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:36:06.118Z] [2020-11-18T19:36:06.118Z] Login Succeeded [2020-11-18T19:36:06.118Z] nexus3.edgexfoundry.org:10003 [2020-11-18T19:36:06.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:36:06.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:36:06.390Z] Configure a credential helper to remove this warning. See [2020-11-18T19:36:06.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:36:06.390Z] [2020-11-18T19:36:06.390Z] Login Succeeded [2020-11-18T19:36:06.390Z] nexus3.edgexfoundry.org:10004 [2020-11-18T19:36:06.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:36:06.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:36:06.663Z] Configure a credential helper to remove this warning. See [2020-11-18T19:36:06.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:36:06.663Z] [2020-11-18T19:36:06.663Z] Login Succeeded [2020-11-18T19:36:06.663Z] docker.io [2020-11-18T19:36:06.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:36:07.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:36:07.205Z] Configure a credential helper to remove this warning. See [2020-11-18T19:36:07.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:36:07.205Z] [2020-11-18T19:36:07.205Z] Login Succeeded [2020-11-18T19:36:07.205Z] ---> docker-login.sh ends [Pipeline] } [2020-11-18T19:36:07.263Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-18T19:36:07.753Z] ========================================================= [2020-11-18T19:36:07.753Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-18T19:36:07.753Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:36:08.160Z] + 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 . [2020-11-18T19:36:08.446Z] Sending build context to Docker daemon 307.7kB [2020-11-18T19:36:08.446Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-18T19:36:08.446Z] Step 2/10 : FROM ${BASE} [2020-11-18T19:36:08.446Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-18T19:36:08.446Z] df20fa9351a1: Pulling fs layer [2020-11-18T19:36:08.446Z] ed8968b2872e: Pulling fs layer [2020-11-18T19:36:08.446Z] a92cc7c5fd73: Pulling fs layer [2020-11-18T19:36:08.446Z] e871e8e8d7a9: Pulling fs layer [2020-11-18T19:36:08.446Z] e73272ec9a57: Pulling fs layer [2020-11-18T19:36:08.446Z] 1e910a182e73: Pulling fs layer [2020-11-18T19:36:08.446Z] 4e634b169226: Pulling fs layer [2020-11-18T19:36:08.446Z] e73272ec9a57: Waiting [2020-11-18T19:36:08.446Z] 1e910a182e73: Waiting [2020-11-18T19:36:08.446Z] 4e634b169226: Waiting [2020-11-18T19:36:08.446Z] e871e8e8d7a9: Waiting [2020-11-18T19:36:08.446Z] a92cc7c5fd73: Download complete [2020-11-18T19:36:08.446Z] ed8968b2872e: Verifying Checksum [2020-11-18T19:36:08.446Z] ed8968b2872e: Download complete [2020-11-18T19:36:08.791Z] e73272ec9a57: Verifying Checksum [2020-11-18T19:36:08.791Z] e73272ec9a57: Download complete [2020-11-18T19:36:09.127Z] 1e910a182e73: Verifying Checksum [2020-11-18T19:36:09.127Z] 1e910a182e73: Download complete [2020-11-18T19:36:09.866Z] df20fa9351a1: Verifying Checksum [2020-11-18T19:36:09.866Z] df20fa9351a1: Download complete [2020-11-18T19:36:10.504Z] df20fa9351a1: Pull complete [2020-11-18T19:36:10.864Z] ed8968b2872e: Pull complete [2020-11-18T19:36:11.154Z] a92cc7c5fd73: Pull complete [2020-11-18T19:36:14.629Z] 4e634b169226: Verifying Checksum [2020-11-18T19:36:14.629Z] 4e634b169226: Download complete [2020-11-18T19:36:15.210Z] e871e8e8d7a9: Verifying Checksum [2020-11-18T19:36:15.210Z] e871e8e8d7a9: Download complete [2020-11-18T19:36:23.547Z] e871e8e8d7a9: Pull complete [2020-11-18T19:36:23.547Z] e73272ec9a57: Pull complete [2020-11-18T19:36:23.547Z] 1e910a182e73: Pull complete [2020-11-18T19:36:27.830Z] 4e634b169226: Pull complete [2020-11-18T19:36:27.830Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-18T19:36:27.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-18T19:36:27.830Z] ---> f7629b54cfaa [2020-11-18T19:36:27.830Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-18T19:36:27.830Z] ---> Running in e0ec8cddd3c1 [2020-11-18T19:36:28.107Z] Removing intermediate container e0ec8cddd3c1 [2020-11-18T19:36:28.107Z] ---> 083ad028cbd1 [2020-11-18T19:36:28.107Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-18T19:36:28.107Z] ---> Running in f6d5115d183a [2020-11-18T19:36:28.381Z] Removing intermediate container f6d5115d183a [2020-11-18T19:36:28.381Z] ---> 68e3f20280a9 [2020-11-18T19:36:28.381Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-11-18T19:36:28.665Z] ---> Running in c63fd0ed777d [2020-11-18T19:36:28.665Z] Removing intermediate container c63fd0ed777d [2020-11-18T19:36:28.665Z] ---> 330b312fe2a1 [2020-11-18T19:36:28.665Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-18T19:36:29.262Z] ---> Running in 9c6020387f30 [2020-11-18T19:36:31.360Z] Removing intermediate container 9c6020387f30 [2020-11-18T19:36:31.360Z] ---> 1f79820c8c00 [2020-11-18T19:36:31.360Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-18T19:36:31.360Z] ---> Running in 289d2018f602 [2020-11-18T19:36:32.829Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-18T19:36:33.130Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-18T19:36:35.104Z] OK: 166 MiB in 39 packages [2020-11-18T19:36:35.374Z] Removing intermediate container 289d2018f602 [2020-11-18T19:36:35.374Z] ---> 3c7f0025ff61 [2020-11-18T19:36:35.374Z] Step 8/10 : WORKDIR /device-snmp-go [2020-11-18T19:36:35.654Z] ---> Running in 8785572dcf8b [2020-11-18T19:36:35.654Z] Removing intermediate container 8785572dcf8b [2020-11-18T19:36:35.654Z] ---> 65d8fcf16e60 [2020-11-18T19:36:35.654Z] Step 9/10 : COPY . . [2020-11-18T19:36:36.250Z] ---> e3288f54dee1 [2020-11-18T19:36:36.251Z] Step 10/10 : RUN go mod download [2020-11-18T19:36:36.521Z] ---> Running in df40fa2fb2b3 [2020-11-18T19:36:38.478Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12575 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2020-11-18T19:36:38.534Z] Running in /w/workspace/device-snmp-go/18 [Pipeline] { [Pipeline] checkout [2020-11-18T19:36:43.955Z] using credential edgex-jenkins-ssh [2020-11-18T19:36:44.018Z] Cloning the remote Git repository [2020-11-18T19:36:44.103Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-11-18T19:36:44.222Z] > git init /w/workspace/device-snmp-go/18 # timeout=10 [2020-11-18T19:36:44.297Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-11-18T19:36:44.298Z] > git --version # timeout=10 [2020-11-18T19:36:44.316Z] > git --version # 'git version 2.17.1' [2020-11-18T19:36:44.318Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-18T19:36:44.417Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-18T19:36:45.646Z] Checking out Revision dfea19939c3e5952b7f8a352ed4dd87bf2177730 (master) [2020-11-18T19:36:45.116Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-11-18T19:36:45.138Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-18T19:36:45.165Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-11-18T19:36:45.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-11-18T19:36:45.210Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-18T19:36:45.223Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-18T19:36:45.681Z] > git config core.sparsecheckout # timeout=10 [2020-11-18T19:36:45.706Z] > git checkout -f dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 [2020-11-18T19:36:50.211Z] Commit message: "Merge pull request #71 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-18T19:36:50.990Z] provisioning config files... [2020-11-18T19:36:51.042Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/18@tmp/config2757464830280408022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:36:52.014Z] ---> docker-login.sh [2020-11-18T19:36:52.014Z] nexus3.edgexfoundry.org:10001 [2020-11-18T19:36:52.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:36:53.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:36:53.273Z] Configure a credential helper to remove this warning. See [2020-11-18T19:36:53.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:36:53.273Z] [2020-11-18T19:36:53.273Z] Login Succeeded [2020-11-18T19:36:53.273Z] nexus3.edgexfoundry.org:10002 [2020-11-18T19:36:53.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:36:53.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:36:53.823Z] Configure a credential helper to remove this warning. See [2020-11-18T19:36:53.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:36:53.823Z] [2020-11-18T19:36:53.823Z] Login Succeeded [2020-11-18T19:36:53.823Z] nexus3.edgexfoundry.org:10003 [2020-11-18T19:36:54.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:36:54.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:36:54.380Z] Configure a credential helper to remove this warning. See [2020-11-18T19:36:54.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:36:54.380Z] [2020-11-18T19:36:54.380Z] Login Succeeded [2020-11-18T19:36:54.380Z] nexus3.edgexfoundry.org:10004 [2020-11-18T19:36:54.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:36:54.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:36:54.928Z] Configure a credential helper to remove this warning. See [2020-11-18T19:36:54.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:36:54.928Z] [2020-11-18T19:36:54.928Z] Login Succeeded [2020-11-18T19:36:54.928Z] docker.io [2020-11-18T19:36:55.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:36:55.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:36:55.475Z] Configure a credential helper to remove this warning. See [2020-11-18T19:36:55.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:36:55.475Z] [2020-11-18T19:36:55.475Z] Login Succeeded [2020-11-18T19:36:55.475Z] ---> docker-login.sh ends [Pipeline] } [2020-11-18T19:36:55.616Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-18T19:36:56.163Z] ========================================================= [2020-11-18T19:36:56.163Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-18T19:36:56.163Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:36:56.577Z] + 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 . [2020-11-18T19:36:56.852Z] Sending build context to Docker daemon 307.7kB [2020-11-18T19:36:56.852Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-18T19:36:56.852Z] Step 2/10 : FROM ${BASE} [2020-11-18T19:36:57.146Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-18T19:36:57.146Z] b538f80385f9: Pulling fs layer [2020-11-18T19:36:57.146Z] 74f711af9a0d: Pulling fs layer [2020-11-18T19:36:57.146Z] 99f96fe45779: Pulling fs layer [2020-11-18T19:36:57.146Z] 8529a6b9a6be: Pulling fs layer [2020-11-18T19:36:57.146Z] 45590311c82a: Pulling fs layer [2020-11-18T19:36:57.146Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-18T19:36:57.146Z] 209524e5b208: Pulling fs layer [2020-11-18T19:36:57.146Z] 8529a6b9a6be: Waiting [2020-11-18T19:36:57.146Z] 45590311c82a: Waiting [2020-11-18T19:36:57.146Z] 69ca0ff8b7b3: Waiting [2020-11-18T19:36:57.146Z] 209524e5b208: Waiting [2020-11-18T19:36:57.146Z] 99f96fe45779: Download complete [2020-11-18T19:36:57.146Z] 74f711af9a0d: Verifying Checksum [2020-11-18T19:36:57.146Z] 74f711af9a0d: Download complete [2020-11-18T19:36:57.146Z] 45590311c82a: Download complete [2020-11-18T19:36:57.146Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-18T19:36:57.146Z] 69ca0ff8b7b3: Download complete [2020-11-18T19:36:57.146Z] b538f80385f9: Verifying Checksum [2020-11-18T19:36:57.146Z] b538f80385f9: Download complete [2020-11-18T19:36:58.153Z] b538f80385f9: Pull complete [2020-11-18T19:36:58.764Z] 74f711af9a0d: Pull complete [2020-11-18T19:36:58.766Z] Removing intermediate container df40fa2fb2b3 [2020-11-18T19:36:58.766Z] ---> 9f0641ebb10a [2020-11-18T19:36:58.766Z] Successfully built 9f0641ebb10a [2020-11-18T19:36:58.766Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:36:59.040Z] 99f96fe45779: Pull complete [2020-11-18T19:36:59.142Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-18T19:36:59.142Z] . [Pipeline] withDockerContainer [2020-11-18T19:36:59.620Z] prd-centos7-docker-4c-2g-12573 does not seem to be running inside a container [2020-11-18T19:36:59.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/18 -v /w/workspace/device-snmp-go/18:/w/workspace/device-snmp-go/18:rw,z -v /w/workspace/device-snmp-go/18@tmp:/w/workspace/device-snmp-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-18T19:37:00.020Z] 209524e5b208: Verifying Checksum [2020-11-18T19:37:00.817Z] $ docker top 2785ff2066765860ad0a7b8759b7285e493307c966a5a7554d940b7c8081a82a -eo pid,comm [2020-11-18T19:37:00.995Z] 8529a6b9a6be: Verifying Checksum [2020-11-18T19:37:00.995Z] 8529a6b9a6be: Download complete [Pipeline] { [Pipeline] sh [2020-11-18T19:37:01.429Z] + go version [2020-11-18T19:37:01.429Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-18T19:37:01.460Z] $ docker stop --time=1 2785ff2066765860ad0a7b8759b7285e493307c966a5a7554d940b7c8081a82a [2020-11-18T19:37:02.919Z] $ docker rm -f 2785ff2066765860ad0a7b8759b7285e493307c966a5a7554d940b7c8081a82a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:37:04.237Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-18T19:37:04.237Z] . [Pipeline] withDockerContainer [2020-11-18T19:37:04.398Z] prd-centos7-docker-4c-2g-12573 does not seem to be running inside a container [2020-11-18T19:37:04.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/18 -v /w/workspace/device-snmp-go/18:/w/workspace/device-snmp-go/18:rw,z -v /w/workspace/device-snmp-go/18@tmp:/w/workspace/device-snmp-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-18T19:37:05.750Z] $ docker top 7a5a573ce34fd67cd79a56271366d79034f8a9244c3f82bd47ba259291a128f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-18T19:37:06.392Z] + make test [2020-11-18T19:37:06.392Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-18T19:37:07.832Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-11-18T19:37:11.173Z] 8529a6b9a6be: Pull complete [2020-11-18T19:37:11.449Z] 45590311c82a: Pull complete [2020-11-18T19:37:11.723Z] 69ca0ff8b7b3: Pull complete [2020-11-18T19:37:16.083Z] 209524e5b208: Pull complete [2020-11-18T19:37:16.083Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-18T19:37:16.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-18T19:37:16.083Z] ---> 5bddaf1c2fca [2020-11-18T19:37:16.083Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-18T19:37:18.708Z] ---> Running in 170729d66fef [2020-11-18T19:37:18.979Z] Removing intermediate container 170729d66fef [2020-11-18T19:37:18.979Z] ---> 7b81ab8d7a21 [2020-11-18T19:37:18.979Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-18T19:37:18.979Z] ---> Running in 4bb8a201cdba [2020-11-18T19:37:19.250Z] Removing intermediate container 4bb8a201cdba [2020-11-18T19:37:19.250Z] ---> a47f79956dbc [2020-11-18T19:37:19.250Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-11-18T19:37:19.589Z] ---> Running in eb2bf9cb7fb3 [2020-11-18T19:37:19.874Z] Removing intermediate container eb2bf9cb7fb3 [2020-11-18T19:37:19.874Z] ---> 049e57da1b4a [2020-11-18T19:37:19.874Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-18T19:37:19.874Z] ---> Running in fc18364ee77c [2020-11-18T19:37:22.499Z] Removing intermediate container fc18364ee77c [2020-11-18T19:37:22.499Z] ---> fbcf3d318586 [2020-11-18T19:37:22.499Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-18T19:37:22.499Z] ---> Running in dc5c6bd43e40 [2020-11-18T19:37:23.947Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-18T19:37:24.931Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-18T19:37:25.915Z] OK: 142 MiB in 39 packages [2020-11-18T19:37:26.330Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2020-11-18T19:37:26.330Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2020-11-18T19:37:26.330Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-18T19:37:27.362Z] Removing intermediate container dc5c6bd43e40 [2020-11-18T19:37:27.362Z] ---> 472ba9a21b71 [2020-11-18T19:37:27.362Z] Step 8/10 : WORKDIR /device-snmp-go [2020-11-18T19:37:27.362Z] ---> Running in 429a35cc594a [2020-11-18T19:37:27.648Z] Removing intermediate container 429a35cc594a [2020-11-18T19:37:27.648Z] ---> 49caf018f1f4 [2020-11-18T19:37:27.648Z] Step 9/10 : COPY . . [2020-11-18T19:37:28.648Z] ---> 0ad4786d82e8 [2020-11-18T19:37:28.648Z] Step 10/10 : RUN go mod download [2020-11-18T19:37:28.648Z] ---> Running in 466a5d616a67 [2020-11-18T19:37:29.050Z] gofmt -l . [2020-11-18T19:37:29.050Z] [ "`gofmt -l .`" = "" ] [2020-11-18T19:37:29.050Z] ./bin/test-attribution-txt.sh [2020-11-18T19:37:30.035Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-18T19:37:30.646Z] $ docker stop --time=1 7a5a573ce34fd67cd79a56271366d79034f8a9244c3f82bd47ba259291a128f1 [2020-11-18T19:37:33.210Z] $ docker rm -f 7a5a573ce34fd67cd79a56271366d79034f8a9244c3f82bd47ba259291a128f1 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-18T19:37:33.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-18T19:37:34.459Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-18T19:37:35.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-18T19:37:36.212Z] + ls -al . [2020-11-18T19:37:36.212Z] total 104 [2020-11-18T19:37:36.212Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 18 19:37 . [2020-11-18T19:37:36.212Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 18 19:35 .. [2020-11-18T19:37:36.212Z] -rw-rw-r--. 1 jenkins jenkins 5082 Nov 18 19:35 Attribution.txt [2020-11-18T19:37:36.212Z] drwxrwxr-x. 2 jenkins jenkins 87 Nov 18 19:35 bin [2020-11-18T19:37:36.212Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 18 19:35 cmd [2020-11-18T19:37:36.212Z] -rw-r--r--. 1 jenkins jenkins 8493 Nov 18 19:37 coverage.out [2020-11-18T19:37:36.212Z] -rw-rw-r--. 1 jenkins jenkins 1002 Nov 18 19:35 Dockerfile [2020-11-18T19:37:36.212Z] -rw-rw-r--. 1 jenkins jenkins 409 Nov 18 19:35 Dockerfile.build [2020-11-18T19:37:36.212Z] -rw-rw-r--. 1 jenkins jenkins 6 Nov 18 19:35 .dockerignore [2020-11-18T19:37:36.212Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 18 19:36 .git [2020-11-18T19:37:36.212Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 18 19:35 .github [2020-11-18T19:37:36.212Z] -rw-rw-r--. 1 jenkins jenkins 272 Nov 18 19:35 .gitignore [2020-11-18T19:37:36.212Z] -rw-r--r--. 1 jenkins jenkins 204 Nov 18 19:37 go.mod [2020-11-18T19:37:36.212Z] -rw-r--r--. 1 jenkins jenkins 13961 Nov 18 19:37 go.sum [2020-11-18T19:37:36.212Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 18 19:35 internal [2020-11-18T19:37:36.212Z] -rw-rw-r--. 1 jenkins jenkins 656 Nov 18 19:35 Jenkinsfile [2020-11-18T19:37:36.212Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 18 19:35 LICENSE [2020-11-18T19:37:36.212Z] -rw-rw-r--. 1 jenkins jenkins 937 Nov 18 19:35 Makefile [2020-11-18T19:37:36.212Z] drwxrwxr-x. 2 jenkins jenkins 84 Nov 18 19:35 profiles [2020-11-18T19:37:36.212Z] -rw-rw-r--. 1 jenkins jenkins 12398 Nov 18 19:35 README.md [2020-11-18T19:37:36.212Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 18 19:34 VERSION [2020-11-18T19:37:36.212Z] -rw-rw-r--. 1 jenkins jenkins 209 Nov 18 19:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:37:36.617Z] + 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=dfea19939c3e5952b7f8a352ed4dd87bf2177730 --label arch=amd64 --label version=1.3.0 . [2020-11-18T19:37:36.914Z] Sending build context to Docker daemon 316.9kB [2020-11-18T19:37:36.914Z] Step 1/26 : ARG BASE=golang:1.15-alpine [2020-11-18T19:37:36.914Z] Step 2/26 : FROM ${BASE} AS builder [2020-11-18T19:37:36.914Z] ---> 9f0641ebb10a [2020-11-18T19:37:36.914Z] Step 3/26 : ARG MAKE='make build' [2020-11-18T19:37:36.914Z] ---> Running in ea3a3a3b8674 [2020-11-18T19:37:37.222Z] Removing intermediate container ea3a3a3b8674 [2020-11-18T19:37:37.222Z] ---> 2c5d553ed2d8 [2020-11-18T19:37:37.222Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2020-11-18T19:37:37.496Z] ---> Running in cd7e0a9a5245 [2020-11-18T19:37:37.496Z] Removing intermediate container cd7e0a9a5245 [2020-11-18T19:37:37.496Z] ---> 95aa1d2cf321 [2020-11-18T19:37:37.496Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2020-11-18T19:37:37.792Z] ---> Running in 970be3acfa72 [2020-11-18T19:37:37.792Z] Removing intermediate container 970be3acfa72 [2020-11-18T19:37:37.792Z] ---> 9e16759f8f8a [2020-11-18T19:37:37.792Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-18T19:37:38.063Z] ---> Running in 386d325a8cfa [2020-11-18T19:37:39.520Z] Removing intermediate container 386d325a8cfa [2020-11-18T19:37:39.520Z] ---> 295ee5076776 [2020-11-18T19:37:39.520Z] Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-18T19:37:39.520Z] ---> Running in 72baa2b18725 [2020-11-18T19:37:40.105Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-18T19:37:40.693Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-18T19:37:41.692Z] OK: 166 MiB in 39 packages [2020-11-18T19:37:42.676Z] Removing intermediate container 72baa2b18725 [2020-11-18T19:37:42.676Z] ---> 588fa9c21d6d [2020-11-18T19:37:42.676Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2020-11-18T19:37:42.676Z] ---> Running in 90c226c00956 [2020-11-18T19:37:42.949Z] Removing intermediate container 90c226c00956 [2020-11-18T19:37:42.949Z] ---> aa46f5caa22f [2020-11-18T19:37:42.949Z] Step 9/26 : COPY go.mod . [2020-11-18T19:37:43.223Z] ---> 6f16b757ebc7 [2020-11-18T19:37:43.223Z] Step 10/26 : COPY Makefile . [2020-11-18T19:37:43.503Z] ---> 86c906f827ae [2020-11-18T19:37:43.503Z] Step 11/26 : RUN make update [2020-11-18T19:37:43.775Z] ---> Running in e0593566e2c5 [2020-11-18T19:37:44.386Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-18T19:37:45.406Z] Removing intermediate container e0593566e2c5 [2020-11-18T19:37:45.406Z] ---> e72616c614d6 [2020-11-18T19:37:45.406Z] Step 12/26 : COPY . . [2020-11-18T19:37:46.003Z] ---> 9db12493e01c [2020-11-18T19:37:46.003Z] Step 13/26 : RUN ${MAKE} [2020-11-18T19:37:46.003Z] ---> Running in 74d030dc0c0d [2020-11-18T19:37:46.602Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.0" -o cmd/device-snmp-go ./cmd [2020-11-18T19:37:55.462Z] Removing intermediate container 466a5d616a67 [2020-11-18T19:37:55.462Z] ---> f2f45c7713f4 [2020-11-18T19:37:55.462Z] Successfully built f2f45c7713f4 [2020-11-18T19:37:55.462Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:37:55.812Z] + docker inspect -f . ci-base-image-arm64 [2020-11-18T19:37:55.812Z] . [Pipeline] withDockerContainer [2020-11-18T19:37:56.097Z] prd-ubuntu18.04-docker-arm64-4c-16g-12575 does not seem to be running inside a container [2020-11-18T19:37:56.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/18 -v /w/workspace/device-snmp-go/18:/w/workspace/device-snmp-go/18:rw,z -v /w/workspace/device-snmp-go/18@tmp:/w/workspace/device-snmp-go/18@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 [2020-11-18T19:37:58.044Z] $ docker top dd373e17c6f31c0bd9e9494d89e1ac12f29a765ade159b989f8edd88a6b878fe -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-18T19:37:59.440Z] + go version [2020-11-18T19:37:59.440Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-18T19:37:59.474Z] $ docker stop --time=1 dd373e17c6f31c0bd9e9494d89e1ac12f29a765ade159b989f8edd88a6b878fe [2020-11-18T19:38:01.372Z] $ docker rm -f dd373e17c6f31c0bd9e9494d89e1ac12f29a765ade159b989f8edd88a6b878fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:38:02.459Z] + docker inspect -f . ci-base-image-arm64 [2020-11-18T19:38:02.459Z] . [Pipeline] withDockerContainer [2020-11-18T19:38:02.742Z] prd-ubuntu18.04-docker-arm64-4c-16g-12575 does not seem to be running inside a container [2020-11-18T19:38:02.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/18 -v /w/workspace/device-snmp-go/18:/w/workspace/device-snmp-go/18:rw,z -v /w/workspace/device-snmp-go/18@tmp:/w/workspace/device-snmp-go/18@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 [2020-11-18T19:38:04.639Z] $ docker top 60bfba9aa4189d5e5b2e7a5644bc4c4b0ae96adb21f525cc5a504faf1e61e5d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-18T19:38:05.126Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-18T19:38:06.071Z] + make test [2020-11-18T19:38:06.071Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-18T19:38:07.067Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-11-18T19:38:08.550Z] Removing intermediate container 74d030dc0c0d [2020-11-18T19:38:08.550Z] ---> a8c182a42872 [2020-11-18T19:38:08.550Z] Step 14/26 : FROM alpine [2020-11-18T19:38:08.550Z] latest: Pulling from library/alpine [2020-11-18T19:38:08.550Z] 188c0c94c7c5: Pulling fs layer [2020-11-18T19:38:08.829Z] 188c0c94c7c5: Verifying Checksum [2020-11-18T19:38:08.829Z] 188c0c94c7c5: Download complete [2020-11-18T19:38:09.463Z] 188c0c94c7c5: Pull complete [2020-11-18T19:38:09.463Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-18T19:38:09.463Z] Status: Downloaded newer image for alpine:latest [2020-11-18T19:38:09.463Z] ---> d6e46aa2470d [2020-11-18T19:38:09.463Z] Step 15/26 : ENV APP_PORT=49993 [2020-11-18T19:38:09.463Z] ---> Running in f406e915ed97 [2020-11-18T19:38:09.744Z] Removing intermediate container f406e915ed97 [2020-11-18T19:38:09.744Z] ---> 477ea72d4b20 [2020-11-18T19:38:09.744Z] Step 16/26 : EXPOSE $APP_PORT [2020-11-18T19:38:10.033Z] ---> Running in 70e4ef380bd6 [2020-11-18T19:38:10.033Z] Removing intermediate container 70e4ef380bd6 [2020-11-18T19:38:10.033Z] ---> 83aef0089c52 [2020-11-18T19:38:10.033Z] Step 17/26 : ENV DEVICE_PORT=161 [2020-11-18T19:38:10.033Z] ---> Running in 3fbf88c6661a [2020-11-18T19:38:10.304Z] Removing intermediate container 3fbf88c6661a [2020-11-18T19:38:10.304Z] ---> 753e04f61639 [2020-11-18T19:38:10.304Z] Step 18/26 : EXPOSE $DEVICE_PORT [2020-11-18T19:38:10.304Z] ---> Running in 890a23149907 [2020-11-18T19:38:10.572Z] Removing intermediate container 890a23149907 [2020-11-18T19:38:10.572Z] ---> 0c112672d999 [2020-11-18T19:38:10.572Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2020-11-18T19:38:11.184Z] ---> d5ea14c5a50b [2020-11-18T19:38:11.184Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2020-11-18T19:38:11.451Z] ---> 845cba577cd9 [2020-11-18T19:38:11.451Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2020-11-18T19:38:11.721Z] ---> 1766007d854f [2020-11-18T19:38:11.721Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2020-11-18T19:38:11.721Z] ---> Running in e1a8c4554f72 [2020-11-18T19:38:11.988Z] Removing intermediate container e1a8c4554f72 [2020-11-18T19:38:11.988Z] ---> 47edf40f609f [2020-11-18T19:38:11.988Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-18T19:38:11.988Z] ---> Running in e4236285b0b9 [2020-11-18T19:38:12.261Z] Removing intermediate container e4236285b0b9 [2020-11-18T19:38:12.261Z] ---> 0f9c3875cca6 [2020-11-18T19:38:12.261Z] Step 24/26 : LABEL arch=amd64 [2020-11-18T19:38:12.261Z] ---> Running in 2cfae7cf4a90 [2020-11-18T19:38:12.535Z] Removing intermediate container 2cfae7cf4a90 [2020-11-18T19:38:12.535Z] ---> 85c9471209ca [2020-11-18T19:38:12.535Z] Step 25/26 : LABEL git_sha=dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-18T19:38:12.535Z] ---> Running in 385c1735d051 [2020-11-18T19:38:12.809Z] Removing intermediate container 385c1735d051 [2020-11-18T19:38:12.809Z] ---> 0d841d02791d [2020-11-18T19:38:12.809Z] Step 26/26 : LABEL version=1.3.0 [2020-11-18T19:38:12.809Z] ---> Running in f83969c66d40 [2020-11-18T19:38:13.081Z] Removing intermediate container f83969c66d40 [2020-11-18T19:38:13.081Z] ---> 41603adcba07 [2020-11-18T19:38:13.081Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-18T19:38:13.081Z] Successfully built 41603adcba07 [2020-11-18T19:38:13.081Z] Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-18T19:38:13.537Z] provisioning config files... [2020-11-18T19:38:13.574Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/18@tmp/config641796547857772249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:38:14.060Z] ---> docker-login.sh [2020-11-18T19:38:14.060Z] nexus3.edgexfoundry.org:10001 [2020-11-18T19:38:14.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:38:14.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:38:14.343Z] Configure a credential helper to remove this warning. See [2020-11-18T19:38:14.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:38:14.343Z] [2020-11-18T19:38:14.343Z] Login Succeeded [2020-11-18T19:38:14.343Z] nexus3.edgexfoundry.org:10002 [2020-11-18T19:38:14.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:38:14.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:38:14.609Z] Configure a credential helper to remove this warning. See [2020-11-18T19:38:14.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:38:14.609Z] [2020-11-18T19:38:14.609Z] Login Succeeded [2020-11-18T19:38:14.609Z] nexus3.edgexfoundry.org:10003 [2020-11-18T19:38:14.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:38:14.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:38:14.929Z] Configure a credential helper to remove this warning. See [2020-11-18T19:38:14.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:38:14.929Z] [2020-11-18T19:38:14.929Z] Login Succeeded [2020-11-18T19:38:14.929Z] nexus3.edgexfoundry.org:10004 [2020-11-18T19:38:15.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:38:15.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:38:15.543Z] Configure a credential helper to remove this warning. See [2020-11-18T19:38:15.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:38:15.543Z] [2020-11-18T19:38:15.543Z] Login Succeeded [2020-11-18T19:38:15.543Z] docker.io [2020-11-18T19:38:15.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:38:15.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:38:15.898Z] Configure a credential helper to remove this warning. See [2020-11-18T19:38:15.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:38:15.898Z] [2020-11-18T19:38:15.898Z] Login Succeeded [2020-11-18T19:38:15.898Z] ---> docker-login.sh ends [Pipeline] } [2020-11-18T19:38:15.920Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-18T19:38:16.243Z] [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: [2020-11-18T19:38:16.243Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-18T19:38:16.243Z] latest [2020-11-18T19:38:16.243Z] 1.3.0 [2020-11-18T19:38:16.243Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.3.0 [2020-11-18T19:38:16.243Z] master [2020-11-18T19:38:16.243Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:38:16.839Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:38:17.195Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-18T19:38:17.195Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-11-18T19:38:17.195Z] 180767e4f964: Preparing [2020-11-18T19:38:17.195Z] aa6d5d54d0f2: Preparing [2020-11-18T19:38:17.195Z] 26a23179640a: Preparing [2020-11-18T19:38:17.195Z] ace0eda3e3be: Preparing [2020-11-18T19:38:18.201Z] ace0eda3e3be: Layer already exists [2020-11-18T19:38:18.484Z] 180767e4f964: Pushed [2020-11-18T19:38:18.484Z] aa6d5d54d0f2: Pushed [2020-11-18T19:38:20.650Z] 26a23179640a: Pushed [2020-11-18T19:38:20.650Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730: digest: sha256:34f5788ccc44a2ae85ca8c2b8cd4be8b0b3b9272c9c1f55f35ab2b34fc3b6776 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:38:21.253Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:38:21.658Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [2020-11-18T19:38:21.658Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-11-18T19:38:21.658Z] 180767e4f964: Preparing [2020-11-18T19:38:21.658Z] aa6d5d54d0f2: Preparing [2020-11-18T19:38:21.658Z] 26a23179640a: Preparing [2020-11-18T19:38:21.658Z] ace0eda3e3be: Preparing [2020-11-18T19:38:21.658Z] 180767e4f964: Layer already exists [2020-11-18T19:38:21.658Z] 26a23179640a: Layer already exists [2020-11-18T19:38:21.658Z] aa6d5d54d0f2: Layer already exists [2020-11-18T19:38:21.658Z] ace0eda3e3be: Layer already exists [2020-11-18T19:38:21.658Z] latest: digest: sha256:34f5788ccc44a2ae85ca8c2b8cd4be8b0b3b9272c9c1f55f35ab2b34fc3b6776 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:38:22.180Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.0 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:38:22.545Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.0 [2020-11-18T19:38:22.545Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-11-18T19:38:22.545Z] 180767e4f964: Preparing [2020-11-18T19:38:22.545Z] aa6d5d54d0f2: Preparing [2020-11-18T19:38:22.545Z] 26a23179640a: Preparing [2020-11-18T19:38:22.545Z] ace0eda3e3be: Preparing [2020-11-18T19:38:22.545Z] 180767e4f964: Layer already exists [2020-11-18T19:38:22.545Z] ace0eda3e3be: Layer already exists [2020-11-18T19:38:22.545Z] 26a23179640a: Layer already exists [2020-11-18T19:38:22.545Z] aa6d5d54d0f2: Layer already exists [2020-11-18T19:38:22.840Z] 1.3.0: digest: sha256:34f5788ccc44a2ae85ca8c2b8cd4be8b0b3b9272c9c1f55f35ab2b34fc3b6776 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:38:23.463Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.3.0 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:38:24.210Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.3.0 [2020-11-18T19:38:24.210Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-11-18T19:38:24.210Z] 180767e4f964: Preparing [2020-11-18T19:38:24.210Z] aa6d5d54d0f2: Preparing [2020-11-18T19:38:24.210Z] 26a23179640a: Preparing [2020-11-18T19:38:24.210Z] ace0eda3e3be: Preparing [2020-11-18T19:38:24.210Z] aa6d5d54d0f2: Layer already exists [2020-11-18T19:38:24.210Z] ace0eda3e3be: Layer already exists [2020-11-18T19:38:24.210Z] 26a23179640a: Layer already exists [2020-11-18T19:38:24.210Z] 180767e4f964: Layer already exists [2020-11-18T19:38:24.477Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.3.0: digest: sha256:34f5788ccc44a2ae85ca8c2b8cd4be8b0b3b9272c9c1f55f35ab2b34fc3b6776 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:38:24.870Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:38:25.198Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [2020-11-18T19:38:25.198Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-11-18T19:38:25.198Z] 180767e4f964: Preparing [2020-11-18T19:38:25.198Z] aa6d5d54d0f2: Preparing [2020-11-18T19:38:25.198Z] 26a23179640a: Preparing [2020-11-18T19:38:25.198Z] ace0eda3e3be: Preparing [2020-11-18T19:38:25.198Z] ace0eda3e3be: Layer already exists [2020-11-18T19:38:25.198Z] 26a23179640a: Layer already exists [2020-11-18T19:38:25.198Z] 180767e4f964: Layer already exists [2020-11-18T19:38:25.198Z] aa6d5d54d0f2: Layer already exists [2020-11-18T19:38:25.464Z] master: digest: sha256:34f5788ccc44a2ae85ca8c2b8cd4be8b0b3b9272c9c1f55f35ab2b34fc3b6776 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-18T19:38:25.702Z] ===================================================== [Pipeline] echo [2020-11-18T19:38:25.775Z] taggedImages: [2020-11-18T19:38:25.775Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-18T19:38:25.775Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [2020-11-18T19:38:25.775Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.0 [2020-11-18T19:38:25.775Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.3.0 [2020-11-18T19:38:25.775Z] - 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-18T19:38:39.516Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2020-11-18T19:38:39.516Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2020-11-18T19:38:39.516Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-18T19:38:46.286Z] gofmt -l . [2020-11-18T19:38:46.286Z] [ "`gofmt -l .`" = "" ] [2020-11-18T19:38:46.286Z] ./bin/test-attribution-txt.sh [2020-11-18T19:38:47.270Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-18T19:38:47.583Z] $ docker stop --time=1 60bfba9aa4189d5e5b2e7a5644bc4c4b0ae96adb21f525cc5a504faf1e61e5d8 [2020-11-18T19:38:49.794Z] $ docker rm -f 60bfba9aa4189d5e5b2e7a5644bc4c4b0ae96adb21f525cc5a504faf1e61e5d8 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-18T19:38:50.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-18T19:38:50.718Z] Warning: overwriting stash ‘coverage-report’ [2020-11-18T19:38:51.491Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-18T19:38:52.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-18T19:38:52.588Z] + ls -al . [2020-11-18T19:38:52.588Z] total 132 [2020-11-18T19:38:52.588Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 19:38 . [2020-11-18T19:38:52.588Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 19:36 .. [2020-11-18T19:38:52.588Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 18 19:36 .dockerignore [2020-11-18T19:38:52.588Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 19:36 .git [2020-11-18T19:38:52.588Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:36 .github [2020-11-18T19:38:52.588Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 18 19:36 .gitignore [2020-11-18T19:38:52.588Z] -rw-rw-r-- 1 jenkins jenkins 5082 Nov 18 19:36 Attribution.txt [2020-11-18T19:38:52.588Z] -rw-rw-r-- 1 jenkins jenkins 1002 Nov 18 19:36 Dockerfile [2020-11-18T19:38:52.588Z] -rw-rw-r-- 1 jenkins jenkins 409 Nov 18 19:36 Dockerfile.build [2020-11-18T19:38:52.588Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 18 19:36 Jenkinsfile [2020-11-18T19:38:52.588Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 18 19:36 LICENSE [2020-11-18T19:38:52.588Z] -rw-rw-r-- 1 jenkins jenkins 937 Nov 18 19:36 Makefile [2020-11-18T19:38:52.588Z] -rw-rw-r-- 1 jenkins jenkins 12398 Nov 18 19:36 README.md [2020-11-18T19:38:52.588Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 19:34 VERSION [2020-11-18T19:38:52.588Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:36 bin [2020-11-18T19:38:52.588Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 19:36 cmd [2020-11-18T19:38:52.588Z] -rw-r--r-- 1 jenkins jenkins 8493 Nov 18 19:38 coverage.out [2020-11-18T19:38:52.588Z] -rw-r--r-- 1 jenkins jenkins 204 Nov 18 19:38 go.mod [2020-11-18T19:38:52.588Z] -rw-r--r-- 1 jenkins jenkins 13961 Nov 18 19:38 go.sum [2020-11-18T19:38:52.588Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 19:36 internal [2020-11-18T19:38:52.588Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:36 profiles [2020-11-18T19:38:52.588Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 18 19:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:38:52.957Z] + 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=dfea19939c3e5952b7f8a352ed4dd87bf2177730 --label arch=arm64 --label version=1.3.0 . [2020-11-18T19:38:53.254Z] Sending build context to Docker daemon 316.9kB [2020-11-18T19:38:53.540Z] Step 1/26 : ARG BASE=golang:1.15-alpine [2020-11-18T19:38:53.540Z] Step 2/26 : FROM ${BASE} AS builder [2020-11-18T19:38:53.540Z] ---> f2f45c7713f4 [2020-11-18T19:38:53.540Z] Step 3/26 : ARG MAKE='make build' [2020-11-18T19:38:53.540Z] ---> Running in b9ace16fccf7 [2020-11-18T19:38:54.138Z] Removing intermediate container b9ace16fccf7 [2020-11-18T19:38:54.138Z] ---> f428f9d26196 [2020-11-18T19:38:54.138Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2020-11-18T19:38:54.138Z] ---> Running in 9b4c10e4732b [2020-11-18T19:38:54.735Z] Removing intermediate container 9b4c10e4732b [2020-11-18T19:38:54.735Z] ---> 55f5f236fbf9 [2020-11-18T19:38:54.735Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2020-11-18T19:38:54.735Z] ---> Running in 30cdd69ec1a5 [2020-11-18T19:38:55.015Z] Removing intermediate container 30cdd69ec1a5 [2020-11-18T19:38:55.015Z] ---> cd50172a00b5 [2020-11-18T19:38:55.015Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-18T19:38:55.290Z] ---> Running in 0ae72e7ef4c2 [2020-11-18T19:38:57.912Z] Removing intermediate container 0ae72e7ef4c2 [2020-11-18T19:38:57.912Z] ---> 75b7d3b7630c [2020-11-18T19:38:57.912Z] Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-18T19:38:57.912Z] ---> Running in 2f8e7856cf8a [2020-11-18T19:38:59.344Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-18T19:39:00.775Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-18T19:39:02.197Z] OK: 142 MiB in 39 packages [2020-11-18T19:39:03.180Z] Removing intermediate container 2f8e7856cf8a [2020-11-18T19:39:03.180Z] ---> ac9aab7a4114 [2020-11-18T19:39:03.180Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2020-11-18T19:39:03.463Z] ---> Running in 633b348c73d8 [2020-11-18T19:39:03.747Z] Removing intermediate container 633b348c73d8 [2020-11-18T19:39:03.747Z] ---> ee65f400102a [2020-11-18T19:39:03.747Z] Step 9/26 : COPY go.mod . [2020-11-18T19:39:04.730Z] ---> 5a0ab6348774 [2020-11-18T19:39:04.730Z] Step 10/26 : COPY Makefile . [2020-11-18T19:39:05.329Z] ---> 0c9c0a5e83a6 [2020-11-18T19:39:05.329Z] Step 11/26 : RUN make update [2020-11-18T19:39:05.329Z] ---> Running in cb75832cf12f [2020-11-18T19:39:06.767Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-18T19:39:07.750Z] Removing intermediate container cb75832cf12f [2020-11-18T19:39:07.750Z] ---> 126466b76dd9 [2020-11-18T19:39:07.750Z] Step 12/26 : COPY . . [2020-11-18T19:39:08.735Z] ---> ef5a66052429 [2020-11-18T19:39:08.735Z] Step 13/26 : RUN ${MAKE} [2020-11-18T19:39:08.735Z] ---> Running in eccc9ae144f1 [2020-11-18T19:39:10.185Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.0" -o cmd/device-snmp-go ./cmd [2020-11-18T19:39:37.119Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-18T19:39:40.513Z] Removing intermediate container eccc9ae144f1 [2020-11-18T19:39:40.513Z] ---> 8f5f58114646 [2020-11-18T19:39:40.513Z] Step 14/26 : FROM alpine [2020-11-18T19:39:40.513Z] latest: Pulling from library/alpine [2020-11-18T19:39:40.788Z] 5f621e34cdf4: Pulling fs layer [2020-11-18T19:39:41.068Z] 5f621e34cdf4: Download complete [2020-11-18T19:39:41.669Z] 5f621e34cdf4: Pull complete [2020-11-18T19:39:41.669Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-18T19:39:41.669Z] Status: Downloaded newer image for alpine:latest [2020-11-18T19:39:41.669Z] ---> 2e77e061c27f [2020-11-18T19:39:41.669Z] Step 15/26 : ENV APP_PORT=49993 [2020-11-18T19:39:41.669Z] ---> Running in 813767a6b026 [2020-11-18T19:39:42.275Z] Removing intermediate container 813767a6b026 [2020-11-18T19:39:42.275Z] ---> 0d23ed99a907 [2020-11-18T19:39:42.275Z] Step 16/26 : EXPOSE $APP_PORT [2020-11-18T19:39:42.275Z] ---> Running in 3e62a6428a7a [2020-11-18T19:39:42.870Z] Removing intermediate container 3e62a6428a7a [2020-11-18T19:39:42.870Z] ---> 475f5418cdff [2020-11-18T19:39:42.870Z] Step 17/26 : ENV DEVICE_PORT=161 [2020-11-18T19:39:42.870Z] ---> Running in 8ca556463d29 [2020-11-18T19:39:43.142Z] Removing intermediate container 8ca556463d29 [2020-11-18T19:39:43.142Z] ---> 41b7f64e2589 [2020-11-18T19:39:43.142Z] Step 18/26 : EXPOSE $DEVICE_PORT [2020-11-18T19:39:43.414Z] ---> Running in 460c2053b5f7 [2020-11-18T19:39:43.688Z] Removing intermediate container 460c2053b5f7 [2020-11-18T19:39:43.688Z] ---> 50c12c8e1604 [2020-11-18T19:39:43.688Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2020-11-18T19:39:45.124Z] ---> 4d765f659bce [2020-11-18T19:39:45.124Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2020-11-18T19:39:45.734Z] ---> eb00ed06ef59 [2020-11-18T19:39:45.734Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2020-11-18T19:39:46.711Z] ---> 9de473ba6801 [2020-11-18T19:39:46.712Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2020-11-18T19:39:46.712Z] ---> Running in 5b405c03088d [2020-11-18T19:39:46.983Z] Removing intermediate container 5b405c03088d [2020-11-18T19:39:46.983Z] ---> 59d4b3dae575 [2020-11-18T19:39:46.983Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-18T19:39:47.264Z] ---> Running in 84efe2d62bdf [2020-11-18T19:39:47.539Z] Removing intermediate container 84efe2d62bdf [2020-11-18T19:39:47.539Z] ---> 67c2bae630ee [2020-11-18T19:39:47.539Z] Step 24/26 : LABEL arch=arm64 [2020-11-18T19:39:47.813Z] ---> Running in 8615995a1d97 [2020-11-18T19:39:48.087Z] Removing intermediate container 8615995a1d97 [2020-11-18T19:39:48.087Z] ---> 52d0dcaeceff [2020-11-18T19:39:48.087Z] Step 25/26 : LABEL git_sha=dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-18T19:39:48.361Z] ---> Running in 1145d4b29d5e [2020-11-18T19:39:48.636Z] Removing intermediate container 1145d4b29d5e [2020-11-18T19:39:48.636Z] ---> 622f17ab3378 [2020-11-18T19:39:48.636Z] Step 26/26 : LABEL version=1.3.0 [2020-11-18T19:39:48.913Z] ---> Running in da7a93dea126 [2020-11-18T19:39:49.184Z] Removing intermediate container da7a93dea126 [2020-11-18T19:39:49.184Z] ---> 37dc52a562c9 [2020-11-18T19:39:49.184Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-18T19:39:49.184Z] Successfully built 37dc52a562c9 [2020-11-18T19:39:49.184Z] 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 [2020-11-18T19:39:49.647Z] provisioning config files... [2020-11-18T19:39:49.687Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/18@tmp/config3807671279134694248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:39:50.070Z] ---> docker-login.sh [2020-11-18T19:39:50.070Z] nexus3.edgexfoundry.org:10001 [2020-11-18T19:39:50.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:39:50.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:39:50.341Z] Configure a credential helper to remove this warning. See [2020-11-18T19:39:50.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:39:50.341Z] [2020-11-18T19:39:50.341Z] Login Succeeded [2020-11-18T19:39:50.612Z] nexus3.edgexfoundry.org:10002 [2020-11-18T19:39:50.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:39:50.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:39:50.887Z] Configure a credential helper to remove this warning. See [2020-11-18T19:39:50.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:39:50.887Z] [2020-11-18T19:39:50.887Z] Login Succeeded [2020-11-18T19:39:50.887Z] nexus3.edgexfoundry.org:10003 [2020-11-18T19:39:51.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:39:51.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:39:51.485Z] Configure a credential helper to remove this warning. See [2020-11-18T19:39:51.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:39:51.485Z] [2020-11-18T19:39:51.485Z] Login Succeeded [2020-11-18T19:39:51.485Z] nexus3.edgexfoundry.org:10004 [2020-11-18T19:39:52.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:39:52.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:39:52.080Z] Configure a credential helper to remove this warning. See [2020-11-18T19:39:52.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:39:52.080Z] [2020-11-18T19:39:52.080Z] Login Succeeded [2020-11-18T19:39:52.080Z] docker.io [2020-11-18T19:39:52.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-18T19:39:52.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-18T19:39:52.945Z] Configure a credential helper to remove this warning. See [2020-11-18T19:39:52.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-18T19:39:52.945Z] [2020-11-18T19:39:52.945Z] Login Succeeded [2020-11-18T19:39:52.945Z] ---> docker-login.sh ends [Pipeline] } [2020-11-18T19:39:52.962Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-18T19:39:53.160Z] [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: [2020-11-18T19:39:53.160Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-18T19:39:53.160Z] latest [2020-11-18T19:39:53.160Z] 1.3.0 [2020-11-18T19:39:53.160Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.3.0 [2020-11-18T19:39:53.160Z] master [2020-11-18T19:39:53.160Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:39:53.669Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:dfea19939c3e5952b7f8a352ed4dd87bf2177730 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:39:54.009Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-18T19:39:54.009Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-11-18T19:39:54.009Z] 76b6f5b06a10: Preparing [2020-11-18T19:39:54.009Z] 0fe0400809c6: Preparing [2020-11-18T19:39:54.009Z] 8ae4d1e7d086: Preparing [2020-11-18T19:39:54.009Z] cd3761cfa1d9: Preparing [2020-11-18T19:39:54.009Z] cd3761cfa1d9: Layer already exists [2020-11-18T19:39:54.284Z] 76b6f5b06a10: Pushed [2020-11-18T19:39:54.284Z] 0fe0400809c6: Pushed [2020-11-18T19:39:56.890Z] 8ae4d1e7d086: Pushed [2020-11-18T19:39:56.890Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730: digest: sha256:2f12a4ed5675d132d66b1968a6c30f678d74553c99a95348a2203582a2fd3212 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:39:57.233Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:39:57.576Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [2020-11-18T19:39:57.576Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-11-18T19:39:57.576Z] 76b6f5b06a10: Preparing [2020-11-18T19:39:57.576Z] 0fe0400809c6: Preparing [2020-11-18T19:39:57.576Z] 8ae4d1e7d086: Preparing [2020-11-18T19:39:57.576Z] cd3761cfa1d9: Preparing [2020-11-18T19:39:57.576Z] 8ae4d1e7d086: Layer already exists [2020-11-18T19:39:57.576Z] 76b6f5b06a10: Layer already exists [2020-11-18T19:39:57.576Z] cd3761cfa1d9: Layer already exists [2020-11-18T19:39:57.576Z] 0fe0400809c6: Layer already exists [2020-11-18T19:39:57.852Z] latest: digest: sha256:2f12a4ed5675d132d66b1968a6c30f678d74553c99a95348a2203582a2fd3212 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:39:58.200Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.0 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:39:58.542Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.0 [2020-11-18T19:39:58.542Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-11-18T19:39:58.542Z] 76b6f5b06a10: Preparing [2020-11-18T19:39:58.542Z] 0fe0400809c6: Preparing [2020-11-18T19:39:58.542Z] 8ae4d1e7d086: Preparing [2020-11-18T19:39:58.542Z] cd3761cfa1d9: Preparing [2020-11-18T19:39:58.542Z] 0fe0400809c6: Layer already exists [2020-11-18T19:39:58.542Z] 8ae4d1e7d086: Layer already exists [2020-11-18T19:39:58.542Z] cd3761cfa1d9: Layer already exists [2020-11-18T19:39:58.542Z] 76b6f5b06a10: Layer already exists [2020-11-18T19:39:58.813Z] 1.3.0: digest: sha256:2f12a4ed5675d132d66b1968a6c30f678d74553c99a95348a2203582a2fd3212 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:39:59.160Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.3.0 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:39:59.502Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.3.0 [2020-11-18T19:39:59.502Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-11-18T19:39:59.502Z] 76b6f5b06a10: Preparing [2020-11-18T19:39:59.502Z] 0fe0400809c6: Preparing [2020-11-18T19:39:59.502Z] 8ae4d1e7d086: Preparing [2020-11-18T19:39:59.502Z] cd3761cfa1d9: Preparing [2020-11-18T19:39:59.502Z] 0fe0400809c6: Layer already exists [2020-11-18T19:39:59.502Z] cd3761cfa1d9: Layer already exists [2020-11-18T19:39:59.502Z] 76b6f5b06a10: Layer already exists [2020-11-18T19:39:59.502Z] 8ae4d1e7d086: Layer already exists [2020-11-18T19:39:59.773Z] dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.3.0: digest: sha256:2f12a4ed5675d132d66b1968a6c30f678d74553c99a95348a2203582a2fd3212 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:40:00.127Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:40:00.470Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [2020-11-18T19:40:00.471Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-11-18T19:40:00.471Z] 76b6f5b06a10: Preparing [2020-11-18T19:40:00.471Z] 0fe0400809c6: Preparing [2020-11-18T19:40:00.471Z] 8ae4d1e7d086: Preparing [2020-11-18T19:40:00.471Z] cd3761cfa1d9: Preparing [2020-11-18T19:40:00.471Z] 0fe0400809c6: Layer already exists [2020-11-18T19:40:00.471Z] 8ae4d1e7d086: Layer already exists [2020-11-18T19:40:00.471Z] cd3761cfa1d9: Layer already exists [2020-11-18T19:40:00.471Z] 76b6f5b06a10: Layer already exists [2020-11-18T19:40:00.742Z] master: digest: sha256:2f12a4ed5675d132d66b1968a6c30f678d74553c99a95348a2203582a2fd3212 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-18T19:40:00.939Z] ===================================================== [Pipeline] echo [2020-11-18T19:40:00.986Z] taggedImages: [2020-11-18T19:40:00.986Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:dfea19939c3e5952b7f8a352ed4dd87bf2177730 [2020-11-18T19:40:00.986Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [2020-11-18T19:40:00.986Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.0 [2020-11-18T19:40:00.986Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:dfea19939c3e5952b7f8a352ed4dd87bf2177730-1.3.0 [2020-11-18T19:40:00.986Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [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 [2020-11-18T19:40:02.464Z] provisioning config files... [2020-11-18T19:40:02.473Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4548825142296744818tmp [Pipeline] { [Pipeline] sh [2020-11-18T19:40:02.852Z] + set +x [2020-11-18T19:40:02.852Z] + curl -s https://codecov.io/bash [2020-11-18T19:40:02.852Z] + bash -s -- [2020-11-18T19:40:03.115Z] [2020-11-18T19:40:03.115Z] _____ _ [2020-11-18T19:40:03.115Z] / ____| | | [2020-11-18T19:40:03.115Z] | | ___ __| | ___ ___ _____ __ [2020-11-18T19:40:03.115Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-18T19:40:03.115Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-18T19:40:03.115Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-18T19:40:03.115Z] Bash-20201116-eea08d9 [2020-11-18T19:40:03.115Z] [2020-11-18T19:40:03.115Z] [2020-11-18T19:40:03.115Z] ==> Jenkins CI detected. [2020-11-18T19:40:03.115Z] project root: . [2020-11-18T19:40:03.115Z] --> token set from env [2020-11-18T19:40:03.115Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-18T19:40:03.115Z] ==> Running gcov in . (disable via -X gcov) [2020-11-18T19:40:03.115Z] ==> Python coveragepy not found [2020-11-18T19:40:03.115Z] ==> Searching for coverage reports in: [2020-11-18T19:40:03.115Z] + . [2020-11-18T19:40:03.115Z] -> Found 1 reports [2020-11-18T19:40:03.115Z] ==> Detecting git/mercurial file structure [2020-11-18T19:40:03.115Z] ==> Reading reports [2020-11-18T19:40:03.115Z] + ./coverage.out bytes=8493 [2020-11-18T19:40:03.115Z] ==> Appending adjustments [2020-11-18T19:40:03.115Z] https://docs.codecov.io/docs/fixing-reports [2020-11-18T19:40:03.115Z] + Found adjustments [2020-11-18T19:40:03.115Z] ==> Gzipping contents [2020-11-18T19:40:03.115Z] ==> Uploading reports [2020-11-18T19:40:03.115Z] url: https://codecov.io [2020-11-18T19:40:03.115Z] query: branch=master&commit=dfea19939c3e5952b7f8a352ed4dd87bf2177730&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-18T19:40:03.115Z] -> Pinging Codecov [2020-11-18T19:40:03.115Z] https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=master&commit=dfea19939c3e5952b7f8a352ed4dd87bf2177730&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-18T19:40:03.692Z] -> Uploading to [2020-11-18T19:40:03.692Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-18/6C56EA5C29638FB4528AC87E60AF5AE0/dfea19939c3e5952b7f8a352ed4dd87bf2177730/8832ff28-5d8c-4e87-9e1f-740a6dd7e833.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201118T194003Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e3f7c8daaf2e81759a72db5611c4ccd7f223b8f17a305a1678550f0d6e57c85 [2020-11-18T19:40:03.692Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-18T19:40:03.692Z] Dload Upload Total Spent Left Speed [2020-11-18T19:40:04.267Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 3156 --:--:-- --:--:-- --:--:-- 3159 [2020-11-18T19:40:04.267Z] -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/dfea19939c3e5952b7f8a352ed4dd87bf2177730 [Pipeline] } [2020-11-18T19:40:04.277Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-11-18T19:40:05.241Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-11-18T19:40:05.292Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:40:05.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-18T19:40:05.634Z] [2020-11-18T19:40:05.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:40:05.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-18T19:40:05.988Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-11-18T19:40:05.988Z] 188c0c94c7c5: Pulling fs layer [2020-11-18T19:40:05.988Z] 0ef7d3d256c8: Pulling fs layer [2020-11-18T19:40:05.988Z] de9db76c5a1d: Pulling fs layer [2020-11-18T19:40:05.988Z] 0eba1c9be4d2: Pulling fs layer [2020-11-18T19:40:05.988Z] 0d57e429df01: Pulling fs layer [2020-11-18T19:40:05.988Z] 4e4be7b47b0d: Pulling fs layer [2020-11-18T19:40:05.988Z] e1f770b5df2f: Pulling fs layer [2020-11-18T19:40:05.988Z] 85a0685a4137: Pulling fs layer [2020-11-18T19:40:05.988Z] 0eba1c9be4d2: Waiting [2020-11-18T19:40:05.988Z] 0d57e429df01: Waiting [2020-11-18T19:40:05.988Z] 4e4be7b47b0d: Waiting [2020-11-18T19:40:05.988Z] e1f770b5df2f: Waiting [2020-11-18T19:40:05.988Z] 85a0685a4137: Waiting [2020-11-18T19:40:05.988Z] de9db76c5a1d: Download complete [2020-11-18T19:40:05.988Z] 0ef7d3d256c8: Verifying Checksum [2020-11-18T19:40:05.988Z] 0ef7d3d256c8: Download complete [2020-11-18T19:40:05.988Z] 0d57e429df01: Verifying Checksum [2020-11-18T19:40:05.988Z] 0d57e429df01: Download complete [2020-11-18T19:40:05.988Z] 4e4be7b47b0d: Verifying Checksum [2020-11-18T19:40:05.988Z] 4e4be7b47b0d: Download complete [2020-11-18T19:40:06.260Z] 188c0c94c7c5: Download complete [2020-11-18T19:40:06.529Z] 188c0c94c7c5: Pull complete [2020-11-18T19:40:06.806Z] 0ef7d3d256c8: Pull complete [2020-11-18T19:40:06.806Z] de9db76c5a1d: Pull complete [2020-11-18T19:40:07.753Z] e1f770b5df2f: Verifying Checksum [2020-11-18T19:40:07.753Z] e1f770b5df2f: Download complete [2020-11-18T19:40:09.683Z] 0eba1c9be4d2: Download complete [2020-11-18T19:40:10.305Z] 85a0685a4137: Verifying Checksum [2020-11-18T19:40:10.305Z] 85a0685a4137: Download complete [2020-11-18T19:40:14.539Z] 0eba1c9be4d2: Pull complete [2020-11-18T19:40:14.539Z] 0d57e429df01: Pull complete [2020-11-18T19:40:14.800Z] 4e4be7b47b0d: Pull complete [2020-11-18T19:40:17.360Z] e1f770b5df2f: Pull complete [2020-11-18T19:40:25.559Z] 85a0685a4137: Pull complete [2020-11-18T19:40:25.559Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-11-18T19:40:25.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-18T19:40:25.559Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-11-18T19:40:25.782Z] prd-centos7-docker-4c-2g-12565 does not seem to be running inside a container [2020-11-18T19:40:25.833Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-18T19:40:26.831Z] $ docker top c39fba37ab706f98e36238a9fa51658d6e5fbea2891b2f0f83b82d557463ac83 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-11-18T19:40:27.137Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-11-18T19:40:27.434Z] + set -o pipefail [2020-11-18T19:40:27.434Z] + snyk monitor '--org=edgex-jenkins' [2020-11-18T19:40:35.631Z] [2020-11-18T19:40:35.631Z] Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... [2020-11-18T19:40:35.631Z] [2020-11-18T19:40:35.631Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/5b1ce0bb-bb30-4ba7-a5bf-7d33be3b177e [2020-11-18T19:40:35.631Z] [2020-11-18T19:40:35.631Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-11-18T19:40:35.631Z] [2020-11-18T19:40:35.896Z] [2020-11-18T19:40:35.896Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2020-11-18T19:40:35.896Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-11-18T19:40:35.913Z] $ docker stop --time=1 c39fba37ab706f98e36238a9fa51658d6e5fbea2891b2f0f83b82d557463ac83 [2020-11-18T19:40:39.238Z] $ docker rm -f c39fba37ab706f98e36238a9fa51658d6e5fbea2891b2f0f83b82d557463ac83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-11-18T19:40:40.120Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730, dockerFile=Dockerfile [Pipeline] echo [2020-11-18T19:40:40.122Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-11-18T19:40:40.417Z] + set -o pipefail [2020-11-18T19:40:40.418Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-11-18T19:40:40.418Z] + tee .snyk [2020-11-18T19:40:40.680Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-11-18T19:40:40.680Z] version: v1.14.1 [2020-11-18T19:40:40.680Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-11-18T19:40:40.680Z] ignore: [2020-11-18T19:40:40.680Z] SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. [2020-11-18T19:40:40.680Z] - '*': [2020-11-18T19:40:40.680Z] reason: does not apply # justification for ignoring [2020-11-18T19:40:40.680Z] expires: 2021-01-01T00:00:00 # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14)https://snyk.io/vuln/SNYK-ALPINE312-ONIGURUMA-1017392 [2020-11-18T19:40:40.680Z] SNYK-ALPINE312-JQ-588886: [2020-11-18T19:40:40.680Z] - '*': [2020-11-18T19:40:40.680Z] reason: false positive [2020-11-18T19:40:40.680Z] expires: 2021-01-01T00:00:00 [2020-11-18T19:40:40.680Z] # patch: {} [Pipeline] withCredentials [2020-11-18T19:40:40.753Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:40:41.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-18T19:40:41.351Z] . [Pipeline] withDockerContainer [2020-11-18T19:40:41.452Z] prd-centos7-docker-4c-2g-12565 does not seem to be running inside a container [2020-11-18T19:40:41.499Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-18T19:40:42.237Z] $ docker top 407533eb6bb82d5da61a15c8b571c38465ace1d231983b8eccb9639176f88334 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-18T19:40:42.785Z] + rm -f snykReport.html [Pipeline] echo [2020-11-18T19:40:42.796Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-11-18T19:40:43.088Z] + set -o pipefail [2020-11-18T19:40:43.089Z] + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-snmp-go:dfea19939c3e5952b7f8a352ed4dd87bf2177730 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json [2020-11-18T19:40:43.089Z] + snyk-to-html -o snykReport.html [2020-11-18T19:40:50.547Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-11-18T19:40:50.565Z] $ docker stop --time=1 407533eb6bb82d5da61a15c8b571c38465ace1d231983b8eccb9639176f88334 [2020-11-18T19:40:51.926Z] $ docker rm -f 407533eb6bb82d5da61a15c8b571c38465ace1d231983b8eccb9639176f88334 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [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 [2020-11-18T19:40:53.456Z] + git log --format=format:%s -1 dfea19939c3e5952b7f8a352ed4dd87bf2177730 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:40:53.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-18T19:40:53.770Z] . [Pipeline] withDockerContainer [2020-11-18T19:40:53.876Z] prd-centos7-docker-4c-2g-12565 does not seem to be running inside a container [2020-11-18T19:40:53.935Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-18T19:40:54.642Z] $ docker top 39f4e78567a51505ddf2026efb96cf84d4a81351c1a770e2a8997a4f6ad9ade3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-18T19:40:54.970Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.2.3-dev.6|v1.3.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-18T19:40:55.440Z] + git semver [Pipeline] } [2020-11-18T19:40:55.465Z] $ docker stop --time=1 39f4e78567a51505ddf2026efb96cf84d4a81351c1a770e2a8997a4f6ad9ade3 [2020-11-18T19:40:56.843Z] $ docker rm -f 39f4e78567a51505ddf2026efb96cf84d4a81351c1a770e2a8997a4f6ad9ade3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:40:57.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-18T19:40:57.560Z] [2020-11-18T19:40:57.560Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:40:57.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-18T19:40:57.916Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-11-18T19:40:57.916Z] ab5ef0e58194: Pulling fs layer [2020-11-18T19:40:57.916Z] 9712f1f96733: Pulling fs layer [2020-11-18T19:40:57.916Z] 63f879dbbcfc: Pulling fs layer [2020-11-18T19:40:57.916Z] 0d9ebad4ef96: Pulling fs layer [2020-11-18T19:40:57.916Z] e9a5061849ea: Pulling fs layer [2020-11-18T19:40:57.916Z] d747dcd14b5f: Pulling fs layer [2020-11-18T19:40:57.916Z] 2de7ff778b66: Pulling fs layer [2020-11-18T19:40:57.916Z] 0d9ebad4ef96: Waiting [2020-11-18T19:40:57.916Z] e9a5061849ea: Waiting [2020-11-18T19:40:57.916Z] d747dcd14b5f: Waiting [2020-11-18T19:40:57.916Z] 9712f1f96733: Verifying Checksum [2020-11-18T19:40:57.916Z] 9712f1f96733: Download complete [2020-11-18T19:40:59.844Z] 63f879dbbcfc: Verifying Checksum [2020-11-18T19:40:59.844Z] 63f879dbbcfc: Download complete [2020-11-18T19:40:59.844Z] e9a5061849ea: Verifying Checksum [2020-11-18T19:40:59.845Z] e9a5061849ea: Download complete [2020-11-18T19:40:59.845Z] d747dcd14b5f: Download complete [2020-11-18T19:41:00.796Z] 2de7ff778b66: Verifying Checksum [2020-11-18T19:41:00.796Z] 2de7ff778b66: Download complete [2020-11-18T19:41:01.070Z] ab5ef0e58194: Verifying Checksum [2020-11-18T19:41:01.070Z] ab5ef0e58194: Download complete [2020-11-18T19:41:01.339Z] 0d9ebad4ef96: Verifying Checksum [2020-11-18T19:41:01.339Z] 0d9ebad4ef96: Download complete [2020-11-18T19:41:06.788Z] ab5ef0e58194: Pull complete [2020-11-18T19:41:06.788Z] 9712f1f96733: Pull complete [2020-11-18T19:41:09.350Z] 63f879dbbcfc: Pull complete [2020-11-18T19:41:14.684Z] 0d9ebad4ef96: Pull complete [2020-11-18T19:41:17.246Z] e9a5061849ea: Pull complete [2020-11-18T19:41:17.246Z] d747dcd14b5f: Pull complete [2020-11-18T19:41:20.570Z] 2de7ff778b66: Pull complete [2020-11-18T19:41:20.570Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-11-18T19:41:20.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-18T19:41:20.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-11-18T19:41:20.786Z] prd-centos7-docker-4c-2g-12565 does not seem to be running inside a container [2020-11-18T19:41:20.834Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-11-18T19:41:24.153Z] $ docker top 4a35d76c5b1cbb59b97b8610cc6c48daae597273d139a405db1e004c4d028b92 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-11-18T19:41:24.369Z] provisioning config files... [2020-11-18T19:41:24.379Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config5745436314961003215tmp [2020-11-18T19:41:24.396Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config645556680323558460tmp [2020-11-18T19:41:24.411Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2472173613213099167tmp [Pipeline] { [Pipeline] echo [2020-11-18T19:41:24.465Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:41:24.764Z] ---> sigul-configuration.sh [2020-11-18T19:41:24.764Z] gpg: directory `/root/.gnupg' created [2020-11-18T19:41:24.764Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-11-18T19:41:24.764Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-11-18T19:41:24.764Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-11-18T19:41:24.764Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-11-18T19:41:24.764Z] gpg: CAST5 encrypted data [2020-11-18T19:41:25.027Z] gpg: encrypted with 1 passphrase [2020-11-18T19:41:25.027Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-11-18T19:41:25.333Z] + mkdir /home/jenkins [2020-11-18T19:41:25.333Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-11-18T19:41:25.639Z] + 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 [2020-11-18T19:41:25.650Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:41:25.949Z] ---> sigul-install.sh [2020-11-18T19:41:31.262Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-11-18T19:41:31.566Z] + git tag --list [2020-11-18T19:41:31.566Z] 1.0.0 [2020-11-18T19:41:31.566Z] v0.0.0 [2020-11-18T19:41:31.566Z] v1.1.0 [2020-11-18T19:41:31.566Z] v1.1.1 [2020-11-18T19:41:31.566Z] v1.2.1 [2020-11-18T19:41:31.566Z] v1.2.2 [2020-11-18T19:41:31.566Z] v1.2.2-dev.1 [2020-11-18T19:41:31.566Z] v1.2.2-dev.2 [2020-11-18T19:41:31.566Z] v1.2.3-dev.1 [2020-11-18T19:41:31.566Z] v1.2.3-dev.2 [2020-11-18T19:41:31.566Z] v1.2.3-dev.3 [2020-11-18T19:41:31.566Z] v1.2.3-dev.4 [2020-11-18T19:41:31.566Z] v1.2.3-dev.5 [2020-11-18T19:41:31.566Z] v1.2.3-dev.6 [2020-11-18T19:41:31.566Z] v1.3.0 [Pipeline] sh [2020-11-18T19:41:31.872Z] + lftools sign git-tag v1.3.0 [2020-11-18T19:41:33.263Z] Signing Git tag with Sigul... [2020-11-18T19:41:33.263Z] Signing v1.3.0 [Pipeline] echo [2020-11-18T19:41:34.218Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:41:34.520Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-11-18T19:41:34.531Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-11-18T19:41:34.629Z] $ docker stop --time=1 4a35d76c5b1cbb59b97b8610cc6c48daae597273d139a405db1e004c4d028b92 [2020-11-18T19:41:36.507Z] $ docker rm -f 4a35d76c5b1cbb59b97b8610cc6c48daae597273d139a405db1e004c4d028b92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:41:37.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-18T19:41:37.547Z] . [Pipeline] withDockerContainer [2020-11-18T19:41:37.654Z] prd-centos7-docker-4c-2g-12565 does not seem to be running inside a container [2020-11-18T19:41:37.709Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-18T19:41:38.478Z] $ docker top ea44fac58c085850648ee98627bdebd9970da85dbc0d69c444512f812aee2756 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-18T19:41:38.738Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.2.3-dev.6|v1.3.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-18T19:41:39.130Z] + git semver [Pipeline] } [2020-11-18T19:41:39.148Z] $ docker stop --time=1 ea44fac58c085850648ee98627bdebd9970da85dbc0d69c444512f812aee2756 [2020-11-18T19:41:40.517Z] $ docker rm -f ea44fac58c085850648ee98627bdebd9970da85dbc0d69c444512f812aee2756 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:41:41.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-18T19:41:41.072Z] . [Pipeline] withDockerContainer [2020-11-18T19:41:41.191Z] prd-centos7-docker-4c-2g-12565 does not seem to be running inside a container [2020-11-18T19:41:41.246Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-18T19:41:42.010Z] $ docker top 2d61658dcd84a06be4bbad9d66583cacae421d1228fb616536647535de786e63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-18T19:41:42.281Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.2.3-dev.6|v1.3.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-18T19:41:42.667Z] + git semver [Pipeline] } [2020-11-18T19:41:42.686Z] $ docker stop --time=1 2d61658dcd84a06be4bbad9d66583cacae421d1228fb616536647535de786e63 [2020-11-18T19:41:44.029Z] $ docker rm -f 2d61658dcd84a06be4bbad9d66583cacae421d1228fb616536647535de786e63 [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 [2020-11-18T19:41:45.613Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:41:46.182Z] ---> package-listing.sh [2020-11-18T19:41:46.182Z] ++ facter osfamily [2020-11-18T19:41:46.182Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-18T19:41:46.182Z] + OS_FAMILY=redhat [2020-11-18T19:41:46.182Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_master [2020-11-18T19:41:46.182Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-18T19:41:46.182Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-18T19:41:46.182Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-18T19:41:46.182Z] + PACKAGES=/tmp/packages_start.txt [2020-11-18T19:41:46.182Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2020-11-18T19:41:46.182Z] + PACKAGES=/tmp/packages_end.txt [2020-11-18T19:41:46.182Z] + case "${OS_FAMILY}" in [2020-11-18T19:41:46.182Z] + rpm -qa [2020-11-18T19:41:46.182Z] + sort [2020-11-18T19:41:50.426Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-18T19:41:50.426Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-18T19:41:50.427Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-18T19:41:50.427Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2020-11-18T19:41:50.427Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ [2020-11-18T19:41:50.427Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] echo [2020-11-18T19:41:50.442Z] 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 [2020-11-18T19:41:50.799Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:41:51.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-18T19:41:51.201Z] [2020-11-18T19:41:51.201Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-18T19:41:51.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-18T19:41:51.570Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-18T19:41:51.570Z] df20fa9351a1: Pulling fs layer [2020-11-18T19:41:51.570Z] 36b3adc4ff6f: Pulling fs layer [2020-11-18T19:41:51.570Z] 8ad3a11d3b57: Pulling fs layer [2020-11-18T19:41:51.570Z] 46f8f816bc3b: Pulling fs layer [2020-11-18T19:41:51.570Z] 93b61091891f: Pulling fs layer [2020-11-18T19:41:51.570Z] 93b9cdb0e59b: Pulling fs layer [2020-11-18T19:41:51.570Z] 5e14af77c1be: Pulling fs layer [2020-11-18T19:41:51.570Z] 01666e4c0597: Pulling fs layer [2020-11-18T19:41:51.570Z] aa168da1d23b: Pulling fs layer [2020-11-18T19:41:51.570Z] 46f8f816bc3b: Waiting [2020-11-18T19:41:51.571Z] 93b61091891f: Waiting [2020-11-18T19:41:51.571Z] 93b9cdb0e59b: Waiting [2020-11-18T19:41:51.571Z] 01666e4c0597: Waiting [2020-11-18T19:41:51.571Z] aa168da1d23b: Waiting [2020-11-18T19:41:51.571Z] 5e14af77c1be: Waiting [2020-11-18T19:41:51.571Z] 36b3adc4ff6f: Download complete [2020-11-18T19:41:51.571Z] 46f8f816bc3b: Verifying Checksum [2020-11-18T19:41:51.571Z] 46f8f816bc3b: Download complete [2020-11-18T19:41:51.835Z] df20fa9351a1: Verifying Checksum [2020-11-18T19:41:51.835Z] df20fa9351a1: Download complete [2020-11-18T19:41:51.835Z] 93b61091891f: Verifying Checksum [2020-11-18T19:41:51.835Z] 93b61091891f: Download complete [2020-11-18T19:41:51.835Z] 93b9cdb0e59b: Verifying Checksum [2020-11-18T19:41:51.835Z] 93b9cdb0e59b: Download complete [2020-11-18T19:41:51.835Z] 01666e4c0597: Verifying Checksum [2020-11-18T19:41:51.835Z] 01666e4c0597: Download complete [2020-11-18T19:41:51.835Z] 5e14af77c1be: Verifying Checksum [2020-11-18T19:41:51.835Z] 5e14af77c1be: Download complete [2020-11-18T19:41:51.835Z] 8ad3a11d3b57: Verifying Checksum [2020-11-18T19:41:51.835Z] 8ad3a11d3b57: Download complete [2020-11-18T19:41:52.429Z] df20fa9351a1: Pull complete [2020-11-18T19:41:52.429Z] 36b3adc4ff6f: Pull complete [2020-11-18T19:41:53.852Z] 8ad3a11d3b57: Pull complete [2020-11-18T19:41:54.427Z] 46f8f816bc3b: Pull complete [2020-11-18T19:41:54.692Z] 93b61091891f: Pull complete [2020-11-18T19:41:54.957Z] 93b9cdb0e59b: Pull complete [2020-11-18T19:41:54.957Z] aa168da1d23b: Verifying Checksum [2020-11-18T19:41:54.957Z] aa168da1d23b: Download complete [2020-11-18T19:41:54.957Z] 5e14af77c1be: Pull complete [2020-11-18T19:41:55.221Z] 01666e4c0597: Pull complete [2020-11-18T19:42:01.853Z] aa168da1d23b: Pull complete [2020-11-18T19:42:01.853Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-18T19:42:01.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-18T19:42:01.853Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-18T19:42:02.041Z] prd-centos7-docker-4c-2g-12565 does not seem to be running inside a container [2020-11-18T19:42:02.092Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-18T19:42:05.250Z] $ docker top 47928c8ae43a6e4470d172becdac5470856d4622af73505724ec5487e4435c9a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-18T19:42:05.805Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-18T19:42:06.105Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-18T19:42:06.408Z] + ls /var/log/sa-host [2020-11-18T19:42:06.409Z] + sadf -c /var/log/sa-host/sa05 [2020-11-18T19:42:06.409Z] file_magic: OK [2020-11-18T19:42:06.409Z] HZ: Using current value: 100 [2020-11-18T19:42:06.409Z] file_header: OK [2020-11-18T19:42:06.409Z] 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 [2020-11-18T19:42:06.409Z] Statistics: [2020-11-18T19:42:06.409Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-18T19:42:06.409Z] File successfully converted to sysstat format version 12.2.1 [2020-11-18T19:42:06.409Z] + sadf -c /var/log/sa-host/sa18 [2020-11-18T19:42:06.409Z] file_magic: OK [2020-11-18T19:42:06.409Z] HZ: Using current value: 100 [2020-11-18T19:42:06.409Z] file_header: OK [2020-11-18T19:42:06.409Z] 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 [2020-11-18T19:42:06.409Z] Statistics: [2020-11-18T19:42:06.409Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-18T19:42:06.409Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-18T19:42:07.149Z] provisioning config files... [2020-11-18T19:42:07.169Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7982313988603926202tmp [Pipeline] { [Pipeline] echo [2020-11-18T19:42:07.243Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:42:07.538Z] ---> create-netrc.sh [Pipeline] } [2020-11-18T19:42:07.549Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-18T19:42:07.635Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:42:07.934Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-18T19:42:07.944Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:42:08.240Z] ---> sudo-logs.sh [2020-11-18T19:42:08.240Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-18T19:42:08.253Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:42:08.549Z] ---> job-cost.sh [2020-11-18T19:42:08.549Z] lf-activate-venv: SKIPPING [2020-11-18T19:42:08.549Z] INFO: No Stack... [2020-11-18T19:42:09.504Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-18T19:42:10.078Z] INFO: Archiving Costs [Pipeline] echo [2020-11-18T19:42:10.099Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-18T19:42:10.396Z] ---> logs-deploy.sh [2020-11-18T19:42:10.396Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/18 [2020-11-18T19:42:10.396Z] INFO: archiving workspace using pattern(s): [2020-11-18T19:42:12.322Z] Archives upload complete. [2020-11-18T19:42:12.322Z] INFO: archiving logs to Nexus