Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 606392e67fd6f15a83b9053fe6b082513b001f24 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-176’ is offline; ‘prd-centos7-docker-4c-2g-181’ is offline; ‘prd-centos7-docker-4c-2g-189’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-179’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-186’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-187’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-188’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-191 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 with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # 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/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 606392e67fd6f15a83b9053fe6b082513b001f24 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 606392e67fd6f15a83b9053fe6b082513b001f24 # timeout=10 Commit message: "Merge pull request #61 from hahattan/issue-60" > git rev-list --no-walk c3a411597e9cf6081b038267f0590ff316b15934 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-17T09:07:10.398Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-17T09:07:10.686Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-17T09:07:10.811Z] ========================================================= [2020-09-17T09:07:10.811Z] EdgeX Global Pipelines Version Info [2020-09-17T09:07:10.811Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:07:12.460Z] ------------------- [2020-09-17T09:07:12.460Z] stable info: [2020-09-17T09:07:12.460Z] ------------------- [2020-09-17T09:07:12.460Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-17T09:07:12.460Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-17T09:07:12.460Z] Message: update stable to v1.0.122 [2020-09-17T09:07:13.407Z] ------------------- [2020-09-17T09:07:13.407Z] experimental info: [2020-09-17T09:07:13.407Z] ------------------- [2020-09-17T09:07:13.407Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-17T09:07:13.407Z] Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 [2020-09-17T09:07:13.407Z] Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-17T09:07:13.771Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2020-09-17T09:07:13.875Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2020-09-17T09:07:13.975Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-17T09:07:14.077Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-17T09:07:14.191Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-17T09:07:14.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-17T09:07:14.531Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-17T09:07:14.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-17T09:07:14.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-17T09:07:14.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-17T09:07:14.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-17T09:07:15.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2020-09-17T09:07:15.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-17T09:07:15.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-17T09:07:15.424Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T09:07:15.532Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T09:07:15.668Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T09:07:15.801Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T09:07:15.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-17T09:07:16.038Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-17T09:07:16.136Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-17T09:07:16.235Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-17T09:07:16.388Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-09-17T09:07:16.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-09-17T09:07:16.620Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-09-17T09:07:16.735Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 606392e67fd6f15a83b9053fe6b082513b001f24 [Pipeline] echo [2020-09-17T09:07:16.862Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 606392e [Pipeline] echo [2020-09-17T09:07:16.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T09:07:17.633Z] + git log --format=format:%s -1 606392e67fd6f15a83b9053fe6b082513b001f24 [Pipeline] echo [2020-09-17T09:07:17.710Z] GIT_COMMIT: 606392e67fd6f15a83b9053fe6b082513b001f24, Commit Message: Merge pull request #61 from hahattan/issue-60 [Pipeline] echo [2020-09-17T09:07:17.771Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:07:18.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T09:07:18.543Z] [2020-09-17T09:07:18.543Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:07:18.935Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T09:07:19.516Z] latest: Pulling from edgex-devops/git-semver [2020-09-17T09:07:19.516Z] 31603596830f: Pulling fs layer [2020-09-17T09:07:19.516Z] 2a8b12db71e7: Pulling fs layer [2020-09-17T09:07:19.516Z] 6ca5941a6612: Pulling fs layer [2020-09-17T09:07:19.516Z] ecc8261a40a4: Pulling fs layer [2020-09-17T09:07:19.516Z] ecc8261a40a4: Waiting [2020-09-17T09:07:19.787Z] 2a8b12db71e7: Verifying Checksum [2020-09-17T09:07:19.787Z] 2a8b12db71e7: Download complete [2020-09-17T09:07:19.787Z] 31603596830f: Verifying Checksum [2020-09-17T09:07:19.787Z] 31603596830f: Download complete [2020-09-17T09:07:20.050Z] ecc8261a40a4: Verifying Checksum [2020-09-17T09:07:20.050Z] ecc8261a40a4: Download complete [2020-09-17T09:07:20.050Z] 6ca5941a6612: Verifying Checksum [2020-09-17T09:07:20.050Z] 6ca5941a6612: Download complete [2020-09-17T09:07:20.312Z] 31603596830f: Pull complete [2020-09-17T09:07:20.312Z] 2a8b12db71e7: Pull complete [2020-09-17T09:07:20.892Z] 6ca5941a6612: Pull complete [2020-09-17T09:07:21.153Z] ecc8261a40a4: Pull complete [2020-09-17T09:07:21.153Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-17T09:07:21.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T09:07:21.154Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-17T09:07:21.269Z] prd-centos7-docker-4c-2g-191 does not seem to be running inside a container [2020-09-17T09:07:21.382Z] $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T09:07:23.227Z] $ docker top 1d83daf18e88b402a73dbce58c2ef17dad1d5a2cb644214874a8df600e954cb4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T09:07:23.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T09:07:23.553Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T09:07:23.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T09:07:23.743Z] $ docker exec 1d83daf18e88b402a73dbce58c2ef17dad1d5a2cb644214874a8df600e954cb4 ssh-agent [2020-09-17T09:07:23.900Z] SSH_AUTH_SOCK=/tmp/ssh-UVIvOjoDG8mM/agent.11 [2020-09-17T09:07:23.900Z] SSH_AGENT_PID=16 [2020-09-17T09:07:23.911Z] Running ssh-add (command line suppressed) [2020-09-17T09:07:24.030Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2227796953560977454.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2227796953560977454.key) [2020-09-17T09:07:24.079Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T09:07:24.484Z] + git describe --exact-match --tags HEAD [2020-09-17T09:07:24.484Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-17T09:07:24.515Z] $ docker exec --env ******** --env ******** 1d83daf18e88b402a73dbce58c2ef17dad1d5a2cb644214874a8df600e954cb4 ssh-agent -k [2020-09-17T09:07:24.643Z] unset SSH_AUTH_SOCK; [2020-09-17T09:07:24.644Z] unset SSH_AGENT_PID; [2020-09-17T09:07:24.644Z] echo Agent pid 16 killed; [2020-09-17T09:07:24.688Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-17T09:07:24.787Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-17T09:07:24.787Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-17T09:07:24.893Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T09:07:24.893Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T09:07:25.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T09:07:25.064Z] $ docker exec 1d83daf18e88b402a73dbce58c2ef17dad1d5a2cb644214874a8df600e954cb4 ssh-agent [2020-09-17T09:07:25.220Z] SSH_AUTH_SOCK=/tmp/ssh-fvKd7lAJOLaH/agent.45 [2020-09-17T09:07:25.220Z] SSH_AGENT_PID=50 [2020-09-17T09:07:25.227Z] Running ssh-add (command line suppressed) [2020-09-17T09:07:25.338Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5633601171022627764.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5633601171022627764.key) [2020-09-17T09:07:25.389Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T09:07:25.727Z] + git semver init [2020-09-17T09:07:25.727Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T09:07:25.727Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2020-09-17T09:07:25.727Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2020-09-17T09:07:25.727Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T09:07:25.727Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T09:07:25.727Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T09:07:25.727Z] # $SEMVER_BRANCH = master [2020-09-17T09:07:25.727Z] # $SEMVER_TEMP = /tmp/semver-843855027 [2020-09-17T09:07:25.727Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2020-09-17T09:07:25.994Z] # '/tmp/semver-843855027' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' [2020-09-17T09:07:25.994Z] # -> Force: false [2020-09-17T09:07:25.994Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2020-09-17T09:07:26.010Z] $ docker exec --env ******** --env ******** 1d83daf18e88b402a73dbce58c2ef17dad1d5a2cb644214874a8df600e954cb4 ssh-agent -k [2020-09-17T09:07:26.127Z] unset SSH_AUTH_SOCK; [2020-09-17T09:07:26.127Z] unset SSH_AGENT_PID; [2020-09-17T09:07:26.127Z] echo Agent pid 50 killed; [2020-09-17T09:07:26.175Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T09:07:26.663Z] + git semver [Pipeline] } [2020-09-17T09:07:26.682Z] $ docker stop --time=1 1d83daf18e88b402a73dbce58c2ef17dad1d5a2cb644214874a8df600e954cb4 [2020-09-17T09:07:28.048Z] $ docker rm -f 1d83daf18e88b402a73dbce58c2ef17dad1d5a2cb644214874a8df600e954cb4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-17T09:07:28.755Z] Stashed 22 file(s) [Pipeline] echo [2020-09-17T09:07:28.758Z] [edgeXSemver]: initialized semver on version 1.2.3-dev.3 [Pipeline] echo [2020-09-17T09:07:28.874Z] Archived original version: [1.2.3-dev.3] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-17T09:07:44.367Z] Still waiting to schedule task [2020-09-17T09:07:44.367Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-17T09:07:44.372Z] Still waiting to schedule task [2020-09-17T09:07:44.373Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-17T09:10:29.167Z] Running on prd-centos7-docker-4c-2g-195 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2020-09-17T09:10:29.231Z] Running in /w/workspace/device-snmp-go/14 [Pipeline] { [Pipeline] checkout [2020-09-17T09:10:35.731Z] using credential edgex-jenkins-ssh [2020-09-17T09:10:35.797Z] Cloning the remote Git repository [2020-09-17T09:10:35.797Z] Cloning with configured refspecs honoured and without tags [2020-09-17T09:10:35.835Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-09-17T09:10:35.926Z] > git init /w/workspace/device-snmp-go/14 # timeout=10 [2020-09-17T09:10:36.012Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-09-17T09:10:36.012Z] > git --version # timeout=10 [2020-09-17T09:10:36.032Z] > git --version # 'git version 2.16.5' [2020-09-17T09:10:36.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:10:36.118Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:10:36.857Z] Fetching without tags [2020-09-17T09:10:37.366Z] Checking out Revision 606392e67fd6f15a83b9053fe6b082513b001f24 (master) [2020-09-17T09:10:36.663Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-09-17T09:10:36.679Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:10:36.757Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-09-17T09:10:36.865Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-09-17T09:10:36.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:10:36.870Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:10:37.378Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T09:10:37.385Z] > git checkout -f 606392e67fd6f15a83b9053fe6b082513b001f24 # timeout=10 [2020-09-17T09:10:41.510Z] Commit message: "Merge pull request #61 from hahattan/issue-60" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T09:10:42.341Z] ========================================================= [2020-09-17T09:10:42.341Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-17T09:10:42.341Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:10:43.381Z] + 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-09-17T09:10:44.036Z] Sending build context to Docker daemon 362kB [2020-09-17T09:10:44.036Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-17T09:10:44.036Z] Step 2/10 : FROM ${BASE} [2020-09-17T09:10:44.036Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-17T09:10:44.036Z] df20fa9351a1: Pulling fs layer [2020-09-17T09:10:44.036Z] ed8968b2872e: Pulling fs layer [2020-09-17T09:10:44.036Z] a92cc7c5fd73: Pulling fs layer [2020-09-17T09:10:44.036Z] e871e8e8d7a9: Pulling fs layer [2020-09-17T09:10:44.036Z] e73272ec9a57: Pulling fs layer [2020-09-17T09:10:44.036Z] 1e910a182e73: Pulling fs layer [2020-09-17T09:10:44.036Z] 4e634b169226: Pulling fs layer [2020-09-17T09:10:44.036Z] e871e8e8d7a9: Waiting [2020-09-17T09:10:44.036Z] e73272ec9a57: Waiting [2020-09-17T09:10:44.036Z] 1e910a182e73: Waiting [2020-09-17T09:10:44.036Z] 4e634b169226: Waiting [2020-09-17T09:10:44.036Z] a92cc7c5fd73: Download complete [2020-09-17T09:10:44.036Z] ed8968b2872e: Verifying Checksum [2020-09-17T09:10:44.036Z] ed8968b2872e: Download complete [2020-09-17T09:10:44.316Z] e73272ec9a57: Download complete [2020-09-17T09:10:44.316Z] 1e910a182e73: Download complete [2020-09-17T09:10:44.316Z] df20fa9351a1: Verifying Checksum [2020-09-17T09:10:44.316Z] df20fa9351a1: Download complete [2020-09-17T09:10:44.956Z] df20fa9351a1: Pull complete [2020-09-17T09:10:45.230Z] ed8968b2872e: Pull complete [2020-09-17T09:10:45.230Z] a92cc7c5fd73: Pull complete [2020-09-17T09:10:48.655Z] 4e634b169226: Verifying Checksum [2020-09-17T09:10:48.655Z] 4e634b169226: Download complete [2020-09-17T09:10:52.945Z] e871e8e8d7a9: Verifying Checksum [2020-09-17T09:10:52.945Z] e871e8e8d7a9: Download complete [2020-09-17T09:11:01.282Z] e871e8e8d7a9: Pull complete [2020-09-17T09:11:01.282Z] e73272ec9a57: Pull complete [2020-09-17T09:11:01.282Z] 1e910a182e73: Pull complete [2020-09-17T09:11:06.655Z] 4e634b169226: Pull complete [2020-09-17T09:11:06.943Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-17T09:11:06.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-17T09:11:06.943Z] ---> f7629b54cfaa [2020-09-17T09:11:06.943Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T09:11:07.224Z] ---> Running in a3aa508c0d68 [2020-09-17T09:11:07.224Z] Removing intermediate container a3aa508c0d68 [2020-09-17T09:11:07.224Z] ---> 6c031927c226 [2020-09-17T09:11:07.224Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T09:11:07.489Z] ---> Running in 98ad33ea3e83 [2020-09-17T09:11:07.489Z] Removing intermediate container 98ad33ea3e83 [2020-09-17T09:11:07.489Z] ---> 9658c743d867 [2020-09-17T09:11:07.489Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-09-17T09:11:07.767Z] ---> Running in afa4660813ed [2020-09-17T09:11:08.037Z] Removing intermediate container afa4660813ed [2020-09-17T09:11:08.037Z] ---> b4eb057384cb [2020-09-17T09:11:08.037Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T09:11:08.037Z] ---> Running in dbe0afc89918 [2020-09-17T09:11:10.012Z] Removing intermediate container dbe0afc89918 [2020-09-17T09:11:10.012Z] ---> c340410cd152 [2020-09-17T09:11:10.012Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T09:11:10.012Z] ---> Running in 1222fdd78737 [2020-09-17T09:11:10.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T09:11:11.565Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T09:11:12.174Z] OK: 166 MiB in 39 packages [2020-09-17T09:11:12.764Z] Removing intermediate container 1222fdd78737 [2020-09-17T09:11:12.764Z] ---> 7bdf9efc0a8e [2020-09-17T09:11:12.764Z] Step 8/10 : WORKDIR /device-snmp-go [2020-09-17T09:11:12.764Z] ---> Running in 5876ec8eff53 [2020-09-17T09:11:12.764Z] Removing intermediate container 5876ec8eff53 [2020-09-17T09:11:12.764Z] ---> 6473e762c50a [2020-09-17T09:11:12.764Z] Step 9/10 : COPY . . [2020-09-17T09:11:13.770Z] ---> 7dc67236c105 [2020-09-17T09:11:13.770Z] Step 10/10 : RUN go mod download [2020-09-17T09:11:13.770Z] ---> Running in c8286ccabb63 [2020-09-17T09:11:28.920Z] Removing intermediate container c8286ccabb63 [2020-09-17T09:11:28.920Z] ---> 57b30c797f96 [2020-09-17T09:11:28.920Z] Successfully built 57b30c797f96 [2020-09-17T09:11:28.920Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:11:29.305Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T09:11:29.305Z] . [Pipeline] withDockerContainer [2020-09-17T09:11:29.454Z] prd-centos7-docker-4c-2g-195 does not seem to be running inside a container [2020-09-17T09:11:29.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/14 -v /w/workspace/device-snmp-go/14:/w/workspace/device-snmp-go/14:rw,z -v /w/workspace/device-snmp-go/14@tmp:/w/workspace/device-snmp-go/14@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 ******** ci-base-image-x86_64 cat [2020-09-17T09:11:30.784Z] $ docker top 2e2d655e3ba47c17d999053029b81a061247455b1497309222e82abd6d05ed96 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T09:11:31.458Z] + go version [2020-09-17T09:11:31.458Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-17T09:11:31.576Z] $ docker stop --time=1 2e2d655e3ba47c17d999053029b81a061247455b1497309222e82abd6d05ed96 [2020-09-17T09:11:33.121Z] $ docker rm -f 2e2d655e3ba47c17d999053029b81a061247455b1497309222e82abd6d05ed96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T09:11:35.296Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T09:11:35.626Z] + ls -al . [2020-09-17T09:11:35.626Z] total 76 [2020-09-17T09:11:35.626Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 09:10 . [2020-09-17T09:11:35.626Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 17 09:10 .. [2020-09-17T09:11:35.626Z] -rw-rw-r--. 1 jenkins jenkins 4405 Sep 17 09:10 Attribution.txt [2020-09-17T09:11:35.626Z] drwxrwxr-x. 2 jenkins jenkins 87 Sep 17 09:10 bin [2020-09-17T09:11:35.626Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 09:10 cmd [2020-09-17T09:11:35.626Z] -rw-rw-r--. 1 jenkins jenkins 1002 Sep 17 09:10 Dockerfile [2020-09-17T09:11:35.626Z] -rw-rw-r--. 1 jenkins jenkins 409 Sep 17 09:10 Dockerfile.build [2020-09-17T09:11:35.626Z] -rw-rw-r--. 1 jenkins jenkins 6 Sep 17 09:10 .dockerignore [2020-09-17T09:11:35.626Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 17 09:10 .git [2020-09-17T09:11:35.626Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 09:10 .github [2020-09-17T09:11:35.626Z] -rw-rw-r--. 1 jenkins jenkins 272 Sep 17 09:10 .gitignore [2020-09-17T09:11:35.626Z] -rw-rw-r--. 1 jenkins jenkins 203 Sep 17 09:10 go.mod [2020-09-17T09:11:35.626Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 17 09:10 internal [2020-09-17T09:11:35.626Z] -rw-rw-r--. 1 jenkins jenkins 656 Sep 17 09:10 Jenkinsfile [2020-09-17T09:11:35.626Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 09:10 LICENSE [2020-09-17T09:11:35.626Z] -rw-rw-r--. 1 jenkins jenkins 937 Sep 17 09:10 Makefile [2020-09-17T09:11:35.626Z] drwxrwxr-x. 2 jenkins jenkins 84 Sep 17 09:10 profiles [2020-09-17T09:11:35.626Z] -rw-rw-r--. 1 jenkins jenkins 12398 Sep 17 09:10 README.md [2020-09-17T09:11:35.626Z] drwxrwxr-x. 3 jenkins jenkins 61 Sep 17 09:10 .semver [2020-09-17T09:11:35.626Z] -rw-rw-r--. 1 jenkins jenkins 11 Sep 17 09:07 VERSION [2020-09-17T09:11:35.626Z] -rw-rw-r--. 1 jenkins jenkins 209 Sep 17 09:10 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:11:35.979Z] + 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=606392e67fd6f15a83b9053fe6b082513b001f24 --label arch=amd64 --label version=1.2.3-dev.3 . [2020-09-17T09:11:35.979Z] Sending build context to Docker daemon 362kB [2020-09-17T09:11:36.258Z] Step 1/26 : ARG BASE=golang:1.15-alpine [2020-09-17T09:11:36.258Z] Step 2/26 : FROM ${BASE} AS builder [2020-09-17T09:11:36.258Z] ---> 57b30c797f96 [2020-09-17T09:11:36.258Z] Step 3/26 : ARG MAKE='make build' [2020-09-17T09:11:36.258Z] ---> Running in a6d5fc8a9058 [2020-09-17T09:11:36.522Z] Removing intermediate container a6d5fc8a9058 [2020-09-17T09:11:36.522Z] ---> 1e4fa4233582 [2020-09-17T09:11:36.522Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T09:11:36.522Z] ---> Running in ed650a10f14f [2020-09-17T09:11:36.788Z] Removing intermediate container ed650a10f14f [2020-09-17T09:11:36.788Z] ---> a3f926f3ae56 [2020-09-17T09:11:36.788Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T09:11:36.788Z] ---> Running in 21dd85de7801 [2020-09-17T09:11:37.056Z] Removing intermediate container 21dd85de7801 [2020-09-17T09:11:37.056Z] ---> f99c1b820752 [2020-09-17T09:11:37.056Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T09:11:37.056Z] ---> Running in 152d88c27549 [2020-09-17T09:11:38.481Z] Removing intermediate container 152d88c27549 [2020-09-17T09:11:38.481Z] ---> ef5d709ece9b [2020-09-17T09:11:38.481Z] Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T09:11:38.481Z] ---> Running in 0bd8a28cc8cd [2020-09-17T09:11:39.083Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T09:11:41.873Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T09:11:44.458Z] OK: 166 MiB in 39 packages [2020-09-17T09:11:45.129Z] Removing intermediate container 0bd8a28cc8cd [2020-09-17T09:11:45.129Z] ---> c74521120a62 [2020-09-17T09:11:45.129Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2020-09-17T09:11:45.129Z] ---> Running in 4c0abbaf77a7 [2020-09-17T09:11:45.430Z] Removing intermediate container 4c0abbaf77a7 [2020-09-17T09:11:45.430Z] ---> 878264b09881 [2020-09-17T09:11:45.430Z] Step 9/26 : COPY go.mod . [2020-09-17T09:11:45.693Z] ---> 7250a7b15597 [2020-09-17T09:11:45.693Z] Step 10/26 : COPY Makefile . [2020-09-17T09:11:45.959Z] ---> 2de62655e64d [2020-09-17T09:11:45.959Z] Step 11/26 : RUN make update [2020-09-17T09:11:45.959Z] ---> Running in 35e756df338a [2020-09-17T09:11:46.554Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-17T09:11:47.164Z] Removing intermediate container 35e756df338a [2020-09-17T09:11:47.164Z] ---> d6ba5def451b [2020-09-17T09:11:47.164Z] Step 12/26 : COPY . . [2020-09-17T09:11:47.746Z] ---> ce56a78ef628 [2020-09-17T09:11:47.746Z] Step 13/26 : RUN ${MAKE} [2020-09-17T09:11:48.019Z] ---> Running in a264577717c5 [2020-09-17T09:11:48.662Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.3-dev.3" -o cmd/device-snmp-go ./cmd [2020-09-17T09:12:01.269Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-17T09:12:04.678Z] Removing intermediate container a264577717c5 [2020-09-17T09:12:04.678Z] ---> d56be93fb802 [2020-09-17T09:12:04.678Z] Step 14/26 : FROM alpine [2020-09-17T09:12:04.953Z] latest: Pulling from library/alpine [2020-09-17T09:12:04.953Z] df20fa9351a1: Already exists [2020-09-17T09:12:05.273Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-17T09:12:05.273Z] Status: Downloaded newer image for alpine:latest [2020-09-17T09:12:05.273Z] ---> a24bb4013296 [2020-09-17T09:12:05.273Z] Step 15/26 : ENV APP_PORT=49993 [2020-09-17T09:12:05.273Z] ---> Running in c8fa7dfd49d4 [2020-09-17T09:12:05.551Z] Removing intermediate container c8fa7dfd49d4 [2020-09-17T09:12:05.551Z] ---> 87fb629c792d [2020-09-17T09:12:05.551Z] Step 16/26 : EXPOSE $APP_PORT [2020-09-17T09:12:05.551Z] ---> Running in 025bc68acbe3 [2020-09-17T09:12:05.839Z] Removing intermediate container 025bc68acbe3 [2020-09-17T09:12:05.839Z] ---> b0008d03c1d1 [2020-09-17T09:12:05.839Z] Step 17/26 : ENV DEVICE_PORT=161 [2020-09-17T09:12:05.839Z] ---> Running in 063ee84e5726 [2020-09-17T09:12:06.135Z] Removing intermediate container 063ee84e5726 [2020-09-17T09:12:06.135Z] ---> 10b787f23772 [2020-09-17T09:12:06.135Z] Step 18/26 : EXPOSE $DEVICE_PORT [2020-09-17T09:12:06.135Z] ---> Running in 5aef5dd6ffc9 [2020-09-17T09:12:06.407Z] Removing intermediate container 5aef5dd6ffc9 [2020-09-17T09:12:06.407Z] ---> 1ccd13ff9442 [2020-09-17T09:12:06.407Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2020-09-17T09:12:07.132Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-198 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2020-09-17T09:12:07.234Z] Running in /w/workspace/device-snmp-go/14 [Pipeline] { [Pipeline] checkout [2020-09-17T09:12:07.385Z] ---> 27866586f7a1 [2020-09-17T09:12:07.385Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2020-09-17T09:12:07.385Z] ---> a858e914d733 [2020-09-17T09:12:07.385Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2020-09-17T09:12:07.649Z] ---> e436038ac83b [2020-09-17T09:12:07.649Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2020-09-17T09:12:07.913Z] ---> Running in ecfc32f63a03 [2020-09-17T09:12:07.913Z] Removing intermediate container ecfc32f63a03 [2020-09-17T09:12:07.913Z] ---> 232d3e728c2f [2020-09-17T09:12:07.913Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-17T09:12:08.179Z] ---> Running in ee17d601f2d7 [2020-09-17T09:12:08.179Z] Removing intermediate container ee17d601f2d7 [2020-09-17T09:12:08.179Z] ---> 04e97636cfca [2020-09-17T09:12:08.179Z] Step 24/26 : LABEL arch=amd64 [2020-09-17T09:12:08.451Z] ---> Running in 824ae26feb70 [2020-09-17T09:12:08.452Z] Removing intermediate container 824ae26feb70 [2020-09-17T09:12:08.452Z] ---> 5ee42984c7f2 [2020-09-17T09:12:08.452Z] Step 25/26 : LABEL git_sha=606392e67fd6f15a83b9053fe6b082513b001f24 [2020-09-17T09:12:08.452Z] ---> Running in 842c6704845e [2020-09-17T09:12:08.717Z] Removing intermediate container 842c6704845e [2020-09-17T09:12:08.717Z] ---> 844b7af582dc [2020-09-17T09:12:08.717Z] Step 26/26 : LABEL version=1.2.3-dev.3 [2020-09-17T09:12:08.717Z] ---> Running in aaac6b911d17 [2020-09-17T09:12:08.981Z] Removing intermediate container aaac6b911d17 [2020-09-17T09:12:08.981Z] ---> 17588f14832e [2020-09-17T09:12:08.981Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T09:12:08.981Z] Successfully built 17588f14832e [2020-09-17T09:12:08.981Z] Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-09-17T09:12:09.563Z] provisioning config files... [2020-09-17T09:12:09.648Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/14@tmp/config2244086463703264621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:12:10.087Z] ---> docker-login.sh [2020-09-17T09:12:10.087Z] nexus3.edgexfoundry.org:10001 [2020-09-17T09:12:10.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:12:10.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:12:10.359Z] Configure a credential helper to remove this warning. See [2020-09-17T09:12:10.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:12:10.359Z] [2020-09-17T09:12:10.359Z] Login Succeeded [2020-09-17T09:12:10.359Z] nexus3.edgexfoundry.org:10002 [2020-09-17T09:12:10.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:12:10.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:12:10.656Z] Configure a credential helper to remove this warning. See [2020-09-17T09:12:10.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:12:10.656Z] [2020-09-17T09:12:10.656Z] Login Succeeded [2020-09-17T09:12:10.656Z] nexus3.edgexfoundry.org:10003 [2020-09-17T09:12:10.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:12:10.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:12:10.933Z] Configure a credential helper to remove this warning. See [2020-09-17T09:12:10.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:12:10.933Z] [2020-09-17T09:12:10.933Z] Login Succeeded [2020-09-17T09:12:10.933Z] nexus3.edgexfoundry.org:10004 [2020-09-17T09:12:11.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:12:11.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:12:11.205Z] Configure a credential helper to remove this warning. See [2020-09-17T09:12:11.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:12:11.205Z] [2020-09-17T09:12:11.205Z] Login Succeeded [2020-09-17T09:12:11.205Z] docker.io [2020-09-17T09:12:11.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:12:11.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:12:11.750Z] Configure a credential helper to remove this warning. See [2020-09-17T09:12:11.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:12:11.750Z] [2020-09-17T09:12:11.750Z] Login Succeeded [2020-09-17T09:12:11.750Z] ---> docker-login.sh ends [Pipeline] } [2020-09-17T09:12:11.764Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T09:12:12.034Z] [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: [2020-09-17T09:12:12.034Z] 606392e67fd6f15a83b9053fe6b082513b001f24 [2020-09-17T09:12:12.034Z] latest [2020-09-17T09:12:12.034Z] 1.2.3-dev.3 [2020-09-17T09:12:12.034Z] 606392e67fd6f15a83b9053fe6b082513b001f24-1.2.3-dev.3 [2020-09-17T09:12:12.034Z] master [2020-09-17T09:12:12.034Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:12.662Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:606392e67fd6f15a83b9053fe6b082513b001f24 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:12.998Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:606392e67fd6f15a83b9053fe6b082513b001f24 [2020-09-17T09:12:12.999Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-09-17T09:12:12.999Z] e6924cf530d1: Preparing [2020-09-17T09:12:12.999Z] d218eba6b9e8: Preparing [2020-09-17T09:12:12.999Z] df5a0d1ec151: Preparing [2020-09-17T09:12:12.999Z] 50644c29ef5a: Preparing [2020-09-17T09:12:12.999Z] 50644c29ef5a: Layer already exists [2020-09-17T09:12:13.007Z] using credential edgex-jenkins-ssh [2020-09-17T09:12:13.256Z] Cloning the remote Git repository [2020-09-17T09:12:13.257Z] Cloning with configured refspecs honoured and without tags [2020-09-17T09:12:13.310Z] e6924cf530d1: Pushed [2020-09-17T09:12:13.310Z] d218eba6b9e8: Pushed [2020-09-17T09:12:13.384Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-09-17T09:12:13.514Z] > git init /w/workspace/device-snmp-go/14 # timeout=10 [2020-09-17T09:12:14.447Z] Fetching without tags [2020-09-17T09:12:14.784Z] df5a0d1ec151: Pushed [2020-09-17T09:12:14.785Z] 606392e67fd6f15a83b9053fe6b082513b001f24: digest: sha256:d711e1a3155d2700203c83b28b879b1fcb111e0e9182911a792483b197a8c1af size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:13.598Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-09-17T09:12:13.599Z] > git --version # timeout=10 [2020-09-17T09:12:13.619Z] > git --version # 'git version 2.17.1' [2020-09-17T09:12:13.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:12:13.682Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:12:14.371Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-09-17T09:12:14.391Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:12:14.423Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-09-17T09:12:14.460Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-09-17T09:12:14.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:12:14.473Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:12:14.916Z] Checking out Revision 606392e67fd6f15a83b9053fe6b082513b001f24 (master) [2020-09-17T09:12:15.117Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:15.478Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [2020-09-17T09:12:15.478Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-09-17T09:12:15.478Z] e6924cf530d1: Preparing [2020-09-17T09:12:15.478Z] d218eba6b9e8: Preparing [2020-09-17T09:12:15.478Z] df5a0d1ec151: Preparing [2020-09-17T09:12:15.478Z] 50644c29ef5a: Preparing [2020-09-17T09:12:15.478Z] df5a0d1ec151: Layer already exists [2020-09-17T09:12:15.478Z] e6924cf530d1: Layer already exists [2020-09-17T09:12:15.478Z] 50644c29ef5a: Layer already exists [2020-09-17T09:12:15.478Z] d218eba6b9e8: Layer already exists [2020-09-17T09:12:15.478Z] latest: digest: sha256:d711e1a3155d2700203c83b28b879b1fcb111e0e9182911a792483b197a8c1af size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:15.842Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.3-dev.3 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:16.185Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.3-dev.3 [2020-09-17T09:12:16.185Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-09-17T09:12:16.185Z] e6924cf530d1: Preparing [2020-09-17T09:12:16.185Z] d218eba6b9e8: Preparing [2020-09-17T09:12:16.185Z] df5a0d1ec151: Preparing [2020-09-17T09:12:16.185Z] 50644c29ef5a: Preparing [2020-09-17T09:12:16.185Z] e6924cf530d1: Layer already exists [2020-09-17T09:12:16.185Z] d218eba6b9e8: Layer already exists [2020-09-17T09:12:16.185Z] 50644c29ef5a: Layer already exists [2020-09-17T09:12:16.185Z] df5a0d1ec151: Layer already exists [2020-09-17T09:12:16.185Z] 1.2.3-dev.3: digest: sha256:d711e1a3155d2700203c83b28b879b1fcb111e0e9182911a792483b197a8c1af size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:14.968Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T09:12:15.029Z] > git checkout -f 606392e67fd6f15a83b9053fe6b082513b001f24 # timeout=10 [2020-09-17T09:12:16.504Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:606392e67fd6f15a83b9053fe6b082513b001f24-1.2.3-dev.3 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:16.819Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:606392e67fd6f15a83b9053fe6b082513b001f24-1.2.3-dev.3 [2020-09-17T09:12:16.819Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-09-17T09:12:16.819Z] e6924cf530d1: Preparing [2020-09-17T09:12:16.819Z] d218eba6b9e8: Preparing [2020-09-17T09:12:16.819Z] df5a0d1ec151: Preparing [2020-09-17T09:12:16.819Z] 50644c29ef5a: Preparing [2020-09-17T09:12:16.819Z] d218eba6b9e8: Layer already exists [2020-09-17T09:12:16.819Z] 50644c29ef5a: Layer already exists [2020-09-17T09:12:16.819Z] df5a0d1ec151: Layer already exists [2020-09-17T09:12:16.819Z] e6924cf530d1: Layer already exists [2020-09-17T09:12:16.819Z] 606392e67fd6f15a83b9053fe6b082513b001f24-1.2.3-dev.3: digest: sha256:d711e1a3155d2700203c83b28b879b1fcb111e0e9182911a792483b197a8c1af size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:17.465Z] + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:17.789Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [2020-09-17T09:12:17.789Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] [2020-09-17T09:12:17.789Z] e6924cf530d1: Preparing [2020-09-17T09:12:17.789Z] d218eba6b9e8: Preparing [2020-09-17T09:12:17.789Z] df5a0d1ec151: Preparing [2020-09-17T09:12:17.789Z] 50644c29ef5a: Preparing [2020-09-17T09:12:17.789Z] 50644c29ef5a: Layer already exists [2020-09-17T09:12:17.789Z] e6924cf530d1: Layer already exists [2020-09-17T09:12:17.789Z] df5a0d1ec151: Layer already exists [2020-09-17T09:12:17.789Z] d218eba6b9e8: Layer already exists [2020-09-17T09:12:17.789Z] master: digest: sha256:d711e1a3155d2700203c83b28b879b1fcb111e0e9182911a792483b197a8c1af size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T09:12:17.987Z] ===================================================== [Pipeline] echo [2020-09-17T09:12:18.033Z] taggedImages: [2020-09-17T09:12:18.033Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:606392e67fd6f15a83b9053fe6b082513b001f24 [2020-09-17T09:12:18.033Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [2020-09-17T09:12:18.033Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.3-dev.3 [2020-09-17T09:12:18.033Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:606392e67fd6f15a83b9053fe6b082513b001f24-1.2.3-dev.3 [2020-09-17T09:12:18.033Z] - 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-09-17T09:12:19.384Z] Commit message: "Merge pull request #61 from hahattan/issue-60" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T09:12:20.323Z] ========================================================= [2020-09-17T09:12:20.323Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-17T09:12:20.323Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:21.478Z] + 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-09-17T09:12:22.169Z] Sending build context to Docker daemon 362kB [2020-09-17T09:12:22.169Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-17T09:12:22.169Z] Step 2/10 : FROM ${BASE} [2020-09-17T09:12:22.774Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-17T09:12:22.774Z] b538f80385f9: Pulling fs layer [2020-09-17T09:12:22.774Z] 74f711af9a0d: Pulling fs layer [2020-09-17T09:12:22.774Z] 99f96fe45779: Pulling fs layer [2020-09-17T09:12:22.774Z] 8529a6b9a6be: Pulling fs layer [2020-09-17T09:12:22.774Z] 45590311c82a: Pulling fs layer [2020-09-17T09:12:22.774Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-17T09:12:22.774Z] 209524e5b208: Pulling fs layer [2020-09-17T09:12:22.774Z] 45590311c82a: Waiting [2020-09-17T09:12:22.774Z] 69ca0ff8b7b3: Waiting [2020-09-17T09:12:22.774Z] 8529a6b9a6be: Waiting [2020-09-17T09:12:22.774Z] 209524e5b208: Waiting [2020-09-17T09:12:22.774Z] 99f96fe45779: Verifying Checksum [2020-09-17T09:12:22.774Z] 99f96fe45779: Download complete [2020-09-17T09:12:22.774Z] 74f711af9a0d: Verifying Checksum [2020-09-17T09:12:22.774Z] 74f711af9a0d: Download complete [2020-09-17T09:12:22.774Z] 45590311c82a: Verifying Checksum [2020-09-17T09:12:22.774Z] 45590311c82a: Download complete [2020-09-17T09:12:22.774Z] 69ca0ff8b7b3: Download complete [2020-09-17T09:12:22.774Z] b538f80385f9: Verifying Checksum [2020-09-17T09:12:22.774Z] b538f80385f9: Download complete [2020-09-17T09:12:23.380Z] b538f80385f9: Pull complete [2020-09-17T09:12:23.997Z] 74f711af9a0d: Pull complete [2020-09-17T09:12:24.277Z] 99f96fe45779: Pull complete [2020-09-17T09:12:25.720Z] 209524e5b208: Verifying Checksum [2020-09-17T09:12:25.720Z] 209524e5b208: Download complete [2020-09-17T09:12:26.705Z] 8529a6b9a6be: Verifying Checksum [2020-09-17T09:12:26.705Z] 8529a6b9a6be: Download complete [2020-09-17T09:12:36.913Z] 8529a6b9a6be: Pull complete [2020-09-17T09:12:37.200Z] 45590311c82a: Pull complete [2020-09-17T09:12:37.476Z] 69ca0ff8b7b3: Pull complete [2020-09-17T09:12:41.810Z] 209524e5b208: Pull complete [2020-09-17T09:12:41.810Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-17T09:12:41.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-17T09:12:41.810Z] ---> 5bddaf1c2fca [2020-09-17T09:12:41.810Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T09:12:44.448Z] ---> Running in c10ac9df72be [2020-09-17T09:12:44.448Z] Removing intermediate container c10ac9df72be [2020-09-17T09:12:44.448Z] ---> 298921a06373 [2020-09-17T09:12:44.448Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T09:12:44.448Z] ---> Running in 0452337999b4 [2020-09-17T09:12:45.047Z] Removing intermediate container 0452337999b4 [2020-09-17T09:12:45.047Z] ---> d0886be55db8 [2020-09-17T09:12:45.047Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-09-17T09:12:45.047Z] ---> Running in fd33a0f9ccdc [2020-09-17T09:12:45.646Z] Removing intermediate container fd33a0f9ccdc [2020-09-17T09:12:45.646Z] ---> be0bf49ec46e [2020-09-17T09:12:45.646Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T09:12:45.646Z] ---> Running in 44308c39b5df [2020-09-17T09:12:48.286Z] Removing intermediate container 44308c39b5df [2020-09-17T09:12:48.286Z] ---> e7cf7070049c [2020-09-17T09:12:48.286Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T09:12:48.286Z] ---> Running in 80337ec48654 [2020-09-17T09:12:49.732Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T09:12:51.699Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T09:12:53.135Z] OK: 142 MiB in 39 packages [2020-09-17T09:12:54.575Z] Removing intermediate container 80337ec48654 [2020-09-17T09:12:54.575Z] ---> 22515e94c037 [2020-09-17T09:12:54.575Z] Step 8/10 : WORKDIR /device-snmp-go [2020-09-17T09:12:54.575Z] ---> Running in 14355e4a53b6 [2020-09-17T09:12:55.176Z] Removing intermediate container 14355e4a53b6 [2020-09-17T09:12:55.176Z] ---> 457ab2fd45c9 [2020-09-17T09:12:55.176Z] Step 9/10 : COPY . . [2020-09-17T09:12:55.788Z] ---> ca16a2eacaab [2020-09-17T09:12:55.788Z] Step 10/10 : RUN go mod download [2020-09-17T09:12:56.064Z] ---> Running in 4dd23f8f6e66 [2020-09-17T09:13:11.161Z] Removing intermediate container 4dd23f8f6e66 [2020-09-17T09:13:11.161Z] ---> c5dc1276793b [2020-09-17T09:13:11.161Z] Successfully built c5dc1276793b [2020-09-17T09:13:11.161Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:13:11.567Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T09:13:11.567Z] . [Pipeline] withDockerContainer [2020-09-17T09:13:11.854Z] prd-ubuntu18.04-docker-arm64-4c-16g-198 does not seem to be running inside a container [2020-09-17T09:13:11.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/14 -v /w/workspace/device-snmp-go/14:/w/workspace/device-snmp-go/14:rw,z -v /w/workspace/device-snmp-go/14@tmp:/w/workspace/device-snmp-go/14@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 ******** ci-base-image-arm64 cat [2020-09-17T09:13:13.848Z] $ docker top 9193dc1d7745127a508732db628effd0893d558e4415ccb4d708c14423937714 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T09:13:15.263Z] + go version [2020-09-17T09:13:15.263Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-17T09:13:15.290Z] $ docker stop --time=1 9193dc1d7745127a508732db628effd0893d558e4415ccb4d708c14423937714 [2020-09-17T09:13:17.276Z] $ docker rm -f 9193dc1d7745127a508732db628effd0893d558e4415ccb4d708c14423937714 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T09:13:18.544Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T09:13:18.889Z] + ls -al . [2020-09-17T09:13:18.889Z] total 108 [2020-09-17T09:13:18.889Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 09:12 . [2020-09-17T09:13:18.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 09:12 .. [2020-09-17T09:13:18.889Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 17 09:12 .dockerignore [2020-09-17T09:13:18.889Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 09:12 .git [2020-09-17T09:13:18.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:12 .github [2020-09-17T09:13:18.889Z] -rw-rw-r-- 1 jenkins jenkins 272 Sep 17 09:12 .gitignore [2020-09-17T09:13:18.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:12 .semver [2020-09-17T09:13:18.889Z] -rw-rw-r-- 1 jenkins jenkins 4405 Sep 17 09:12 Attribution.txt [2020-09-17T09:13:18.889Z] -rw-rw-r-- 1 jenkins jenkins 1002 Sep 17 09:12 Dockerfile [2020-09-17T09:13:18.889Z] -rw-rw-r-- 1 jenkins jenkins 409 Sep 17 09:12 Dockerfile.build [2020-09-17T09:13:18.889Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 17 09:12 Jenkinsfile [2020-09-17T09:13:18.889Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 09:12 LICENSE [2020-09-17T09:13:18.889Z] -rw-rw-r-- 1 jenkins jenkins 937 Sep 17 09:12 Makefile [2020-09-17T09:13:18.889Z] -rw-rw-r-- 1 jenkins jenkins 12398 Sep 17 09:12 README.md [2020-09-17T09:13:18.889Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 17 09:07 VERSION [2020-09-17T09:13:18.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:12 bin [2020-09-17T09:13:18.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:12 cmd [2020-09-17T09:13:18.889Z] -rw-rw-r-- 1 jenkins jenkins 203 Sep 17 09:12 go.mod [2020-09-17T09:13:18.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:12 internal [2020-09-17T09:13:18.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:12 profiles [2020-09-17T09:13:18.889Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 17 09:12 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:13:19.247Z] + 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=606392e67fd6f15a83b9053fe6b082513b001f24 --label arch=arm64 --label version=1.2.3-dev.3 . [2020-09-17T09:13:19.522Z] Sending build context to Docker daemon 362kB [2020-09-17T09:13:19.522Z] Step 1/26 : ARG BASE=golang:1.15-alpine [2020-09-17T09:13:19.522Z] Step 2/26 : FROM ${BASE} AS builder [2020-09-17T09:13:19.522Z] ---> c5dc1276793b [2020-09-17T09:13:19.522Z] Step 3/26 : ARG MAKE='make build' [2020-09-17T09:13:19.795Z] ---> Running in 9dcef1a57a1c [2020-09-17T09:13:20.393Z] Removing intermediate container 9dcef1a57a1c [2020-09-17T09:13:20.393Z] ---> 7149eccd5cea [2020-09-17T09:13:20.393Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T09:13:20.393Z] ---> Running in 0c1cd024e347 [2020-09-17T09:13:20.678Z] Removing intermediate container 0c1cd024e347 [2020-09-17T09:13:20.678Z] ---> f54cbf4e29c5 [2020-09-17T09:13:20.678Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T09:13:20.952Z] ---> Running in c74e7166d286 [2020-09-17T09:13:21.285Z] Removing intermediate container c74e7166d286 [2020-09-17T09:13:21.285Z] ---> 6bb59b0232b6 [2020-09-17T09:13:21.285Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T09:13:21.575Z] ---> Running in 64289843fe33 [2020-09-17T09:13:24.213Z] Removing intermediate container 64289843fe33 [2020-09-17T09:13:24.213Z] ---> 08cb0a242b20 [2020-09-17T09:13:24.213Z] Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T09:13:24.213Z] ---> Running in f20dd486c868 [2020-09-17T09:13:25.650Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T09:13:26.625Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T09:13:27.608Z] OK: 142 MiB in 39 packages [2020-09-17T09:13:29.050Z] Removing intermediate container f20dd486c868 [2020-09-17T09:13:29.050Z] ---> 1ba1ddb2dfc3 [2020-09-17T09:13:29.050Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2020-09-17T09:13:29.050Z] ---> Running in f9d172345a52 [2020-09-17T09:13:29.646Z] Removing intermediate container f9d172345a52 [2020-09-17T09:13:29.646Z] ---> 1d9e91b0b33d [2020-09-17T09:13:29.646Z] Step 9/26 : COPY go.mod . [2020-09-17T09:13:30.251Z] ---> 2c107e29a241 [2020-09-17T09:13:30.251Z] Step 10/26 : COPY Makefile . [2020-09-17T09:13:30.849Z] ---> 2b78bee0507c [2020-09-17T09:13:30.849Z] Step 11/26 : RUN make update [2020-09-17T09:13:31.122Z] ---> Running in 2ab85d1e3ae4 [2020-09-17T09:13:32.554Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-17T09:13:33.999Z] Removing intermediate container 2ab85d1e3ae4 [2020-09-17T09:13:33.999Z] ---> c5f61bc3d875 [2020-09-17T09:13:33.999Z] Step 12/26 : COPY . . [2020-09-17T09:13:34.594Z] ---> 0e5f93ad18a7 [2020-09-17T09:13:34.594Z] Step 13/26 : RUN ${MAKE} [2020-09-17T09:13:34.884Z] ---> Running in 9c4542c8aca0 [2020-09-17T09:13:36.324Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.3-dev.3" -o cmd/device-snmp-go ./cmd [2020-09-17T09:14:03.228Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-17T09:14:06.625Z] Removing intermediate container 9c4542c8aca0 [2020-09-17T09:14:06.625Z] ---> 95102902ec1f [2020-09-17T09:14:06.625Z] Step 14/26 : FROM alpine [2020-09-17T09:14:06.625Z] latest: Pulling from library/alpine [2020-09-17T09:14:06.625Z] b538f80385f9: Already exists [2020-09-17T09:14:06.625Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-17T09:14:06.625Z] Status: Downloaded newer image for alpine:latest [2020-09-17T09:14:06.625Z] ---> 62ee0e9f8440 [2020-09-17T09:14:06.625Z] Step 15/26 : ENV APP_PORT=49993 [2020-09-17T09:14:06.901Z] ---> Running in 48223ad3e4af [2020-09-17T09:14:07.175Z] Removing intermediate container 48223ad3e4af [2020-09-17T09:14:07.175Z] ---> e43863a931b3 [2020-09-17T09:14:07.175Z] Step 16/26 : EXPOSE $APP_PORT [2020-09-17T09:14:07.449Z] ---> Running in f4c6531ecf74 [2020-09-17T09:14:08.051Z] Removing intermediate container f4c6531ecf74 [2020-09-17T09:14:08.051Z] ---> e3266560c1e8 [2020-09-17T09:14:08.051Z] Step 17/26 : ENV DEVICE_PORT=161 [2020-09-17T09:14:08.051Z] ---> Running in eaa43ba02335 [2020-09-17T09:14:08.650Z] Removing intermediate container eaa43ba02335 [2020-09-17T09:14:08.650Z] ---> d8f7a11d2d0e [2020-09-17T09:14:08.650Z] Step 18/26 : EXPOSE $DEVICE_PORT [2020-09-17T09:14:08.650Z] ---> Running in 9cae30c21b8c [2020-09-17T09:14:09.249Z] Removing intermediate container 9cae30c21b8c [2020-09-17T09:14:09.249Z] ---> ac3019d50a65 [2020-09-17T09:14:09.249Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2020-09-17T09:14:10.695Z] ---> f71fd630eb07 [2020-09-17T09:14:10.695Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2020-09-17T09:14:11.290Z] ---> 29c32543f078 [2020-09-17T09:14:11.290Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2020-09-17T09:14:12.269Z] ---> 74407f5672f4 [2020-09-17T09:14:12.269Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2020-09-17T09:14:12.269Z] ---> Running in f484466b2593 [2020-09-17T09:14:12.540Z] Removing intermediate container f484466b2593 [2020-09-17T09:14:12.540Z] ---> 53aeb80c11f1 [2020-09-17T09:14:12.540Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-17T09:14:12.817Z] ---> Running in 13cdff8997af [2020-09-17T09:14:13.092Z] Removing intermediate container 13cdff8997af [2020-09-17T09:14:13.092Z] ---> 98b79945ed4a [2020-09-17T09:14:13.092Z] Step 24/26 : LABEL arch=arm64 [2020-09-17T09:14:13.365Z] ---> Running in f17bed34d7ce [2020-09-17T09:14:13.966Z] Removing intermediate container f17bed34d7ce [2020-09-17T09:14:13.966Z] ---> da49b09954e8 [2020-09-17T09:14:13.966Z] Step 25/26 : LABEL git_sha=606392e67fd6f15a83b9053fe6b082513b001f24 [2020-09-17T09:14:13.966Z] ---> Running in daa4873efb2d [2020-09-17T09:14:14.564Z] Removing intermediate container daa4873efb2d [2020-09-17T09:14:14.564Z] ---> c4ff1d6a0813 [2020-09-17T09:14:14.564Z] Step 26/26 : LABEL version=1.2.3-dev.3 [2020-09-17T09:14:14.564Z] ---> Running in 4aab1d20e0d0 [2020-09-17T09:14:15.166Z] Removing intermediate container 4aab1d20e0d0 [2020-09-17T09:14:15.166Z] ---> 7963e41dd371 [2020-09-17T09:14:15.166Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T09:14:15.166Z] Successfully built 7963e41dd371 [2020-09-17T09:14:15.166Z] 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-09-17T09:14:15.593Z] provisioning config files... [2020-09-17T09:14:15.648Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/14@tmp/config4628357514217528273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:14:16.100Z] ---> docker-login.sh [2020-09-17T09:14:16.100Z] nexus3.edgexfoundry.org:10001 [2020-09-17T09:14:16.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:14:16.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:14:16.650Z] Configure a credential helper to remove this warning. See [2020-09-17T09:14:16.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:14:16.650Z] [2020-09-17T09:14:16.650Z] Login Succeeded [2020-09-17T09:14:16.650Z] nexus3.edgexfoundry.org:10002 [2020-09-17T09:14:17.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:14:17.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:14:17.248Z] Configure a credential helper to remove this warning. See [2020-09-17T09:14:17.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:14:17.248Z] [2020-09-17T09:14:17.248Z] Login Succeeded [2020-09-17T09:14:17.248Z] nexus3.edgexfoundry.org:10003 [2020-09-17T09:14:17.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:14:18.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:14:18.823Z] Configure a credential helper to remove this warning. See [2020-09-17T09:14:18.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:14:18.823Z] [2020-09-17T09:14:18.823Z] Login Succeeded [2020-09-17T09:14:18.823Z] nexus3.edgexfoundry.org:10004 [2020-09-17T09:14:19.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:14:19.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:14:19.720Z] Configure a credential helper to remove this warning. See [2020-09-17T09:14:19.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:14:19.720Z] [2020-09-17T09:14:19.720Z] Login Succeeded [2020-09-17T09:14:19.720Z] docker.io [2020-09-17T09:14:19.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:14:20.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:14:20.598Z] Configure a credential helper to remove this warning. See [2020-09-17T09:14:20.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:14:20.598Z] [2020-09-17T09:14:20.598Z] Login Succeeded [2020-09-17T09:14:20.598Z] ---> docker-login.sh ends [Pipeline] } [2020-09-17T09:14:20.617Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T09:14:20.845Z] [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: [2020-09-17T09:14:20.845Z] 606392e67fd6f15a83b9053fe6b082513b001f24 [2020-09-17T09:14:20.845Z] latest [2020-09-17T09:14:20.845Z] 1.2.3-dev.3 [2020-09-17T09:14:20.845Z] 606392e67fd6f15a83b9053fe6b082513b001f24-1.2.3-dev.3 [2020-09-17T09:14:20.845Z] master [2020-09-17T09:14:20.845Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:14:21.662Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:606392e67fd6f15a83b9053fe6b082513b001f24 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:14:22.443Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:606392e67fd6f15a83b9053fe6b082513b001f24 [2020-09-17T09:14:22.443Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-09-17T09:14:22.443Z] 569a6bf23220: Preparing [2020-09-17T09:14:22.443Z] 07a9deb5d826: Preparing [2020-09-17T09:14:22.443Z] ebf2ac2cedfb: Preparing [2020-09-17T09:14:22.443Z] e2f13739ad41: Preparing [2020-09-17T09:14:22.776Z] e2f13739ad41: Layer already exists [2020-09-17T09:14:22.776Z] 569a6bf23220: Pushed [2020-09-17T09:14:22.776Z] 07a9deb5d826: Pushed [2020-09-17T09:14:25.478Z] ebf2ac2cedfb: Pushed [2020-09-17T09:14:25.478Z] 606392e67fd6f15a83b9053fe6b082513b001f24: digest: sha256:db3e09f6cac00b8363d2fbe54f0063f2d29a67cd9a0a85c24ebab7bac98487f9 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:14:25.830Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:14:26.171Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [2020-09-17T09:14:26.171Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-09-17T09:14:26.171Z] 569a6bf23220: Preparing [2020-09-17T09:14:26.171Z] 07a9deb5d826: Preparing [2020-09-17T09:14:26.171Z] ebf2ac2cedfb: Preparing [2020-09-17T09:14:26.171Z] e2f13739ad41: Preparing [2020-09-17T09:14:26.446Z] ebf2ac2cedfb: Layer already exists [2020-09-17T09:14:26.446Z] 569a6bf23220: Layer already exists [2020-09-17T09:14:26.446Z] e2f13739ad41: Layer already exists [2020-09-17T09:14:26.446Z] 07a9deb5d826: Layer already exists [2020-09-17T09:14:26.446Z] latest: digest: sha256:db3e09f6cac00b8363d2fbe54f0063f2d29a67cd9a0a85c24ebab7bac98487f9 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:14:26.790Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.3-dev.3 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:14:27.127Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.3-dev.3 [2020-09-17T09:14:27.127Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-09-17T09:14:27.127Z] 569a6bf23220: Preparing [2020-09-17T09:14:27.127Z] 07a9deb5d826: Preparing [2020-09-17T09:14:27.127Z] ebf2ac2cedfb: Preparing [2020-09-17T09:14:27.127Z] e2f13739ad41: Preparing [2020-09-17T09:14:27.401Z] 07a9deb5d826: Layer already exists [2020-09-17T09:14:27.401Z] 569a6bf23220: Layer already exists [2020-09-17T09:14:27.401Z] ebf2ac2cedfb: Layer already exists [2020-09-17T09:14:27.401Z] e2f13739ad41: Layer already exists [2020-09-17T09:14:27.401Z] 1.2.3-dev.3: digest: sha256:db3e09f6cac00b8363d2fbe54f0063f2d29a67cd9a0a85c24ebab7bac98487f9 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:14:27.743Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:606392e67fd6f15a83b9053fe6b082513b001f24-1.2.3-dev.3 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:14:28.085Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:606392e67fd6f15a83b9053fe6b082513b001f24-1.2.3-dev.3 [2020-09-17T09:14:28.085Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-09-17T09:14:28.085Z] 569a6bf23220: Preparing [2020-09-17T09:14:28.085Z] 07a9deb5d826: Preparing [2020-09-17T09:14:28.085Z] ebf2ac2cedfb: Preparing [2020-09-17T09:14:28.085Z] e2f13739ad41: Preparing [2020-09-17T09:14:28.361Z] ebf2ac2cedfb: Layer already exists [2020-09-17T09:14:28.361Z] 569a6bf23220: Layer already exists [2020-09-17T09:14:28.361Z] e2f13739ad41: Layer already exists [2020-09-17T09:14:28.361Z] 07a9deb5d826: Layer already exists [2020-09-17T09:14:28.361Z] 606392e67fd6f15a83b9053fe6b082513b001f24-1.2.3-dev.3: digest: sha256:db3e09f6cac00b8363d2fbe54f0063f2d29a67cd9a0a85c24ebab7bac98487f9 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:14:28.714Z] + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:14:29.063Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [2020-09-17T09:14:29.063Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] [2020-09-17T09:14:29.343Z] 569a6bf23220: Preparing [2020-09-17T09:14:29.343Z] 07a9deb5d826: Preparing [2020-09-17T09:14:29.343Z] ebf2ac2cedfb: Preparing [2020-09-17T09:14:29.343Z] e2f13739ad41: Preparing [2020-09-17T09:14:29.343Z] ebf2ac2cedfb: Layer already exists [2020-09-17T09:14:29.343Z] 569a6bf23220: Layer already exists [2020-09-17T09:14:29.343Z] 07a9deb5d826: Layer already exists [2020-09-17T09:14:29.343Z] e2f13739ad41: Layer already exists [2020-09-17T09:14:29.343Z] master: digest: sha256:db3e09f6cac00b8363d2fbe54f0063f2d29a67cd9a0a85c24ebab7bac98487f9 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T09:14:29.576Z] ===================================================== [Pipeline] echo [2020-09-17T09:14:29.635Z] taggedImages: [2020-09-17T09:14:29.635Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:606392e67fd6f15a83b9053fe6b082513b001f24 [2020-09-17T09:14:29.635Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [2020-09-17T09:14:29.635Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.3-dev.3 [2020-09-17T09:14:29.635Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:606392e67fd6f15a83b9053fe6b082513b001f24-1.2.3-dev.3 [2020-09-17T09:14:29.635Z] - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64: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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-09-17T09:14:31.821Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-09-17T09:14:31.823Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-09-17T09:14:31.898Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:14:32.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-17T09:14:32.253Z] [2020-09-17T09:14:32.253Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:14:32.623Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-17T09:14:32.623Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-09-17T09:14:32.623Z] cbdbe7a5bc2a: Pulling fs layer [2020-09-17T09:14:32.623Z] 408f87550127: Pulling fs layer [2020-09-17T09:14:32.623Z] fe522b08c979: Pulling fs layer [2020-09-17T09:14:32.623Z] 221eaa008020: Pulling fs layer [2020-09-17T09:14:32.623Z] 2a4607e5d6b9: Pulling fs layer [2020-09-17T09:14:32.623Z] 8f79b27c4fd2: Pulling fs layer [2020-09-17T09:14:32.623Z] e5c8dbe1645b: Pulling fs layer [2020-09-17T09:14:32.623Z] 23e8b3b47431: Pulling fs layer [2020-09-17T09:14:32.623Z] 5c568d65a230: Pulling fs layer [2020-09-17T09:14:32.623Z] 8f79b27c4fd2: Waiting [2020-09-17T09:14:32.623Z] 23e8b3b47431: Waiting [2020-09-17T09:14:32.623Z] 221eaa008020: Waiting [2020-09-17T09:14:32.623Z] e5c8dbe1645b: Waiting [2020-09-17T09:14:32.623Z] 2a4607e5d6b9: Waiting [2020-09-17T09:14:32.623Z] 5c568d65a230: Waiting [2020-09-17T09:14:32.623Z] fe522b08c979: Verifying Checksum [2020-09-17T09:14:32.623Z] fe522b08c979: Download complete [2020-09-17T09:14:32.623Z] 408f87550127: Verifying Checksum [2020-09-17T09:14:32.623Z] 408f87550127: Download complete [2020-09-17T09:14:32.623Z] 2a4607e5d6b9: Verifying Checksum [2020-09-17T09:14:32.623Z] 2a4607e5d6b9: Download complete [2020-09-17T09:14:32.895Z] 8f79b27c4fd2: Verifying Checksum [2020-09-17T09:14:32.895Z] 8f79b27c4fd2: Download complete [2020-09-17T09:14:32.895Z] cbdbe7a5bc2a: Download complete [2020-09-17T09:14:33.157Z] cbdbe7a5bc2a: Pull complete [2020-09-17T09:14:33.421Z] 408f87550127: Pull complete [2020-09-17T09:14:33.687Z] fe522b08c979: Pull complete [2020-09-17T09:14:34.640Z] e5c8dbe1645b: Verifying Checksum [2020-09-17T09:14:34.640Z] e5c8dbe1645b: Download complete [2020-09-17T09:14:36.050Z] 23e8b3b47431: Verifying Checksum [2020-09-17T09:14:36.050Z] 23e8b3b47431: Download complete [2020-09-17T09:14:36.050Z] 5c568d65a230: Verifying Checksum [2020-09-17T09:14:36.050Z] 5c568d65a230: Download complete [2020-09-17T09:14:36.630Z] 221eaa008020: Verifying Checksum [2020-09-17T09:14:36.630Z] 221eaa008020: Download complete [2020-09-17T09:14:41.955Z] 221eaa008020: Pull complete [2020-09-17T09:14:41.955Z] 2a4607e5d6b9: Pull complete [2020-09-17T09:14:41.955Z] 8f79b27c4fd2: Pull complete [2020-09-17T09:14:43.349Z] e5c8dbe1645b: Pull complete [2020-09-17T09:14:47.589Z] 23e8b3b47431: Pull complete [2020-09-17T09:14:48.538Z] 5c568d65a230: Pull complete [2020-09-17T09:14:48.801Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-09-17T09:14:48.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-17T09:14:48.801Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-09-17T09:14:48.959Z] prd-centos7-docker-4c-2g-191 does not seem to be running inside a container [2020-09-17T09:14:49.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-snmp-go_master:/ws -w /ws --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-09-17T09:14:49.835Z] $ docker top cb44a20be20aa8701ee30e0a30874c0f1279325bf379668014b9fdbc50470643 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T09:14:50.353Z] + snyk monitor '--org=edgex-jenkins' [2020-09-17T09:14:56.965Z] [2020-09-17T09:14:56.966Z] Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... [2020-09-17T09:14:56.966Z] [2020-09-17T09:14:56.966Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/c1d446de-27da-44d0-aa78-c272b36a6512 [2020-09-17T09:14:56.966Z] [2020-09-17T09:14:56.966Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-09-17T09:14:56.966Z] [2020-09-17T09:14:56.966Z] [2020-09-17T09:14:56.966Z] Snyk CLI supports Node.js 8 and higher. [2020-09-17T09:14:56.966Z] Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. [2020-09-17T09:14:56.966Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-09-17T09:14:56.966Z] [2020-09-17T09:14:56.966Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-09-17T09:14:56.966Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-09-17T09:14:56.982Z] $ docker stop --time=1 cb44a20be20aa8701ee30e0a30874c0f1279325bf379668014b9fdbc50470643 [2020-09-17T09:14:58.917Z] $ docker rm -f cb44a20be20aa8701ee30e0a30874c0f1279325bf379668014b9fdbc50470643 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:15:00.142Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T09:15:00.142Z] [2020-09-17T09:15:00.142Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:15:00.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T09:15:00.560Z] latest: Pulling from edgex-devops/edgex-klar [2020-09-17T09:15:00.560Z] e7c96db7181b: Pulling fs layer [2020-09-17T09:15:00.560Z] 1868ca2cb446: Pulling fs layer [2020-09-17T09:15:00.560Z] 136be5d0fe8e: Pulling fs layer [2020-09-17T09:15:00.560Z] 894bfe63afcb: Pulling fs layer [2020-09-17T09:15:00.560Z] 894bfe63afcb: Waiting [2020-09-17T09:15:00.560Z] 1868ca2cb446: Verifying Checksum [2020-09-17T09:15:00.560Z] 1868ca2cb446: Download complete [2020-09-17T09:15:00.560Z] 136be5d0fe8e: Verifying Checksum [2020-09-17T09:15:00.560Z] 136be5d0fe8e: Download complete [2020-09-17T09:15:00.560Z] e7c96db7181b: Verifying Checksum [2020-09-17T09:15:00.560Z] e7c96db7181b: Download complete [2020-09-17T09:15:00.831Z] 894bfe63afcb: Verifying Checksum [2020-09-17T09:15:00.831Z] 894bfe63afcb: Download complete [2020-09-17T09:15:00.831Z] e7c96db7181b: Pull complete [2020-09-17T09:15:01.104Z] 1868ca2cb446: Pull complete [2020-09-17T09:15:01.104Z] 136be5d0fe8e: Pull complete [2020-09-17T09:15:01.371Z] 894bfe63afcb: Pull complete [2020-09-17T09:15:01.371Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-09-17T09:15:01.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T09:15:01.371Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-09-17T09:15:01.471Z] prd-centos7-docker-4c-2g-191 does not seem to be running inside a container [2020-09-17T09:15:01.516Z] $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-17T09:15:02.613Z] $ docker top 9d67c785883b5463b5cb99fadb0a280f9bcec9e060c0613e8645b5bb108c5551 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T09:15:03.163Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:606392e67fd6f15a83b9053fe6b082513b001f24 [2020-09-17T09:15:03.163Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T09:15:07.600Z] $ docker stop --time=1 9d67c785883b5463b5cb99fadb0a280f9bcec9e060c0613e8645b5bb108c5551 [2020-09-17T09:15:08.933Z] $ docker rm -f 9d67c785883b5463b5cb99fadb0a280f9bcec9e060c0613e8645b5bb108c5551 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:15:09.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T09:15:09.478Z] . [Pipeline] withDockerContainer [2020-09-17T09:15:09.579Z] prd-centos7-docker-4c-2g-191 does not seem to be running inside a container [2020-09-17T09:15:09.638Z] $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-17T09:15:10.238Z] $ docker top 35776b817411933ec443d02e2b336010f39b2435fab8d7997c3f8f02a4a0924b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T09:15:10.955Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:606392e67fd6f15a83b9053fe6b082513b001f24 [2020-09-17T09:15:10.955Z] + tee [2020-09-17T09:15:10.955Z] clair timeout 1m0s [2020-09-17T09:15:10.955Z] docker timeout: 1m0s [2020-09-17T09:15:10.955Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T09:15:11.657Z] $ docker stop --time=1 35776b817411933ec443d02e2b336010f39b2435fab8d7997c3f8f02a4a0924b [2020-09-17T09:15:13.022Z] $ docker rm -f 35776b817411933ec443d02e2b336010f39b2435fab8d7997c3f8f02a4a0924b [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-17T09:15:13.541Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo [2020-09-17T09:15:13.554Z] Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-snmp-go_master/clair-reports/clair_results_docker-device-snmp-go_606392e67fd6f15a83b9053fe6b082513b001f24.html [Pipeline] writeFile [Pipeline] step [2020-09-17T09:15:13.611Z] Archiving artifacts [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:15:13.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T09:15:13.958Z] . [Pipeline] withDockerContainer [2020-09-17T09:15:14.055Z] prd-centos7-docker-4c-2g-191 does not seem to be running inside a container [2020-09-17T09:15:14.104Z] $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-17T09:15:14.911Z] $ docker top 74f65611e071a2302852470cab5532deb7b6f5b56acd41276428b7f467a879c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T09:15:15.438Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:606392e67fd6f15a83b9053fe6b082513b001f24 [2020-09-17T09:15:15.438Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T09:15:19.823Z] $ docker stop --time=1 74f65611e071a2302852470cab5532deb7b6f5b56acd41276428b7f467a879c1 [2020-09-17T09:15:21.180Z] $ docker rm -f 74f65611e071a2302852470cab5532deb7b6f5b56acd41276428b7f467a879c1 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:15:21.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T09:15:21.694Z] . [Pipeline] withDockerContainer [2020-09-17T09:15:21.807Z] prd-centos7-docker-4c-2g-191 does not seem to be running inside a container [2020-09-17T09:15:21.862Z] $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-17T09:15:22.428Z] $ docker top 789c93720dfa5ebe861c73b272601f107f108a9d8534d69b80e51103df2e5b7c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T09:15:22.999Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:606392e67fd6f15a83b9053fe6b082513b001f24 [2020-09-17T09:15:22.999Z] + tee [2020-09-17T09:15:22.999Z] clair timeout 1m0s [2020-09-17T09:15:22.999Z] docker timeout: 1m0s [2020-09-17T09:15:22.999Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T09:15:23.718Z] $ docker stop --time=1 789c93720dfa5ebe861c73b272601f107f108a9d8534d69b80e51103df2e5b7c [2020-09-17T09:15:25.072Z] $ docker rm -f 789c93720dfa5ebe861c73b272601f107f108a9d8534d69b80e51103df2e5b7c [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-17T09:15:25.538Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo [2020-09-17T09:15:25.551Z] Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-snmp-go_master/clair-reports/clair_results_docker-device-snmp-go-arm64_606392e67fd6f15a83b9053fe6b082513b001f24.html [Pipeline] writeFile [Pipeline] step [2020-09-17T09:15:25.604Z] Archiving artifacts [Pipeline] } [Pipeline] // script [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] unstash [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:15:26.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T09:15:26.634Z] . [Pipeline] withDockerContainer [2020-09-17T09:15:26.729Z] prd-centos7-docker-4c-2g-191 does not seem to be running inside a container [2020-09-17T09:15:26.771Z] $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T09:15:27.446Z] $ docker top d650a89226067767bb9e395e35c2793a02e527e760fed565bf82f4562e75d6ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T09:15:27.771Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T09:15:27.771Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T09:15:27.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T09:15:27.971Z] $ docker exec d650a89226067767bb9e395e35c2793a02e527e760fed565bf82f4562e75d6ad ssh-agent [2020-09-17T09:15:28.133Z] SSH_AUTH_SOCK=/tmp/ssh-4cLrE1YQJFW5/agent.11 [2020-09-17T09:15:28.133Z] SSH_AGENT_PID=16 [2020-09-17T09:15:28.140Z] Running ssh-add (command line suppressed) [2020-09-17T09:15:28.265Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2527348871182249277.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_2527348871182249277.key) [2020-09-17T09:15:28.317Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T09:15:28.701Z] + git semver tag [2020-09-17T09:15:28.701Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T09:15:28.701Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2020-09-17T09:15:28.701Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2020-09-17T09:15:28.701Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T09:15:28.701Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T09:15:28.701Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T09:15:28.701Z] # $SEMVER_BRANCH = master [2020-09-17T09:15:28.701Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2020-09-17T09:15:28.701Z] # 606392e67fd6f15a83b9053fe6b082513b001f24 HEAD [2020-09-17T09:15:28.701Z] # -> Force: false [2020-09-17T09:15:28.701Z] # b349b0556591390fd6491c7ef3ecbd17f1ddfe44 refs/tags/v1.2.3-dev.3 [Pipeline] } [2020-09-17T09:15:28.716Z] $ docker exec --env ******** --env ******** d650a89226067767bb9e395e35c2793a02e527e760fed565bf82f4562e75d6ad ssh-agent -k [2020-09-17T09:15:28.843Z] unset SSH_AUTH_SOCK; [2020-09-17T09:15:28.843Z] unset SSH_AGENT_PID; [2020-09-17T09:15:28.843Z] echo Agent pid 16 killed; [2020-09-17T09:15:28.893Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T09:15:29.427Z] + git semver [Pipeline] } [2020-09-17T09:15:29.445Z] $ docker stop --time=1 d650a89226067767bb9e395e35c2793a02e527e760fed565bf82f4562e75d6ad [2020-09-17T09:15:30.808Z] $ docker rm -f d650a89226067767bb9e395e35c2793a02e527e760fed565bf82f4562e75d6ad [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:15:31.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-17T09:15:31.456Z] [2020-09-17T09:15:31.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:15:31.800Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-17T09:15:31.800Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-09-17T09:15:31.800Z] ab5ef0e58194: Pulling fs layer [2020-09-17T09:15:31.800Z] 9712f1f96733: Pulling fs layer [2020-09-17T09:15:31.800Z] 63f879dbbcfc: Pulling fs layer [2020-09-17T09:15:31.800Z] 0d9ebad4ef96: Pulling fs layer [2020-09-17T09:15:31.800Z] e9a5061849ea: Pulling fs layer [2020-09-17T09:15:31.800Z] d747dcd14b5f: Pulling fs layer [2020-09-17T09:15:31.800Z] 2de7ff778b66: Pulling fs layer [2020-09-17T09:15:31.800Z] e9a5061849ea: Waiting [2020-09-17T09:15:31.800Z] d747dcd14b5f: Waiting [2020-09-17T09:15:31.800Z] 0d9ebad4ef96: Waiting [2020-09-17T09:15:31.800Z] 2de7ff778b66: Waiting [2020-09-17T09:15:31.800Z] 9712f1f96733: Verifying Checksum [2020-09-17T09:15:31.800Z] 9712f1f96733: Download complete [2020-09-17T09:15:33.725Z] 63f879dbbcfc: Verifying Checksum [2020-09-17T09:15:33.725Z] 63f879dbbcfc: Download complete [2020-09-17T09:15:33.725Z] e9a5061849ea: Verifying Checksum [2020-09-17T09:15:33.725Z] e9a5061849ea: Download complete [2020-09-17T09:15:33.987Z] d747dcd14b5f: Verifying Checksum [2020-09-17T09:15:33.988Z] d747dcd14b5f: Download complete [2020-09-17T09:15:34.253Z] 2de7ff778b66: Verifying Checksum [2020-09-17T09:15:34.253Z] 2de7ff778b66: Download complete [2020-09-17T09:15:34.515Z] 0d9ebad4ef96: Verifying Checksum [2020-09-17T09:15:34.515Z] 0d9ebad4ef96: Download complete [2020-09-17T09:15:34.515Z] ab5ef0e58194: Verifying Checksum [2020-09-17T09:15:34.515Z] ab5ef0e58194: Download complete [2020-09-17T09:15:37.849Z] ab5ef0e58194: Pull complete [2020-09-17T09:15:37.850Z] 9712f1f96733: Pull complete [2020-09-17T09:15:41.168Z] 63f879dbbcfc: Pull complete [2020-09-17T09:15:46.479Z] 0d9ebad4ef96: Pull complete [2020-09-17T09:15:47.437Z] e9a5061849ea: Pull complete [2020-09-17T09:15:47.437Z] d747dcd14b5f: Pull complete [2020-09-17T09:15:50.004Z] 2de7ff778b66: Pull complete [2020-09-17T09:15:50.004Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-09-17T09:15:50.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-17T09:15:50.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-09-17T09:15:50.163Z] prd-centos7-docker-4c-2g-191 does not seem to be running inside a container [2020-09-17T09:15:50.205Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-09-17T09:15:53.903Z] $ docker top 7bf31fb1714564d6acc9dc2a5d56f70bb866e1a2b2d20794a1ef76f753026685 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-09-17T09:15:54.134Z] provisioning config files... [2020-09-17T09:15:54.147Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4650755317475940718tmp [2020-09-17T09:15:54.165Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3134353895629771466tmp [2020-09-17T09:15:54.179Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config1290579108957976925tmp [Pipeline] { [Pipeline] echo [2020-09-17T09:15:54.234Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:15:54.530Z] ---> sigul-configuration.sh [2020-09-17T09:15:54.530Z] gpg: directory `/root/.gnupg' created [2020-09-17T09:15:54.530Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-09-17T09:15:54.530Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-09-17T09:15:54.530Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-09-17T09:15:54.530Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-09-17T09:15:54.530Z] gpg: CAST5 encrypted data [2020-09-17T09:15:54.794Z] gpg: encrypted with 1 passphrase [2020-09-17T09:15:54.794Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-09-17T09:15:55.092Z] + mkdir /home/jenkins [2020-09-17T09:15:55.092Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-09-17T09:15:55.389Z] + 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-09-17T09:15:55.404Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:15:55.702Z] ---> sigul-install.sh [2020-09-17T09:16:01.018Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-09-17T09:16:01.321Z] + git tag --list [2020-09-17T09:16:01.321Z] v1.2.3-dev.3 [Pipeline] sh [2020-09-17T09:16:01.622Z] + lftools sign git-tag v1.2.3-dev.3 [2020-09-17T09:16:02.656Z] Signing Git tag with Sigul... [2020-09-17T09:16:02.656Z] Signing v1.2.3-dev.3 [Pipeline] echo [2020-09-17T09:16:03.705Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:16:03.999Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-09-17T09:16:04.012Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-09-17T09:16:04.261Z] $ docker stop --time=1 7bf31fb1714564d6acc9dc2a5d56f70bb866e1a2b2d20794a1ef76f753026685 [2020-09-17T09:16:06.270Z] $ docker rm -f 7bf31fb1714564d6acc9dc2a5d56f70bb866e1a2b2d20794a1ef76f753026685 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:16:07.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T09:16:07.125Z] . [Pipeline] withDockerContainer [2020-09-17T09:16:07.226Z] prd-centos7-docker-4c-2g-191 does not seem to be running inside a container [2020-09-17T09:16:07.271Z] $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T09:16:07.998Z] $ docker top 9268ed407ced1587a4d82030685411029849f6b879737d6c23b8f264d68329bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T09:16:08.329Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T09:16:08.329Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T09:16:08.515Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T09:16:08.519Z] $ docker exec 9268ed407ced1587a4d82030685411029849f6b879737d6c23b8f264d68329bc ssh-agent [2020-09-17T09:16:08.689Z] SSH_AUTH_SOCK=/tmp/ssh-kVYP0qU5shqX/agent.12 [2020-09-17T09:16:08.689Z] SSH_AGENT_PID=17 [2020-09-17T09:16:08.696Z] Running ssh-add (command line suppressed) [2020-09-17T09:16:08.813Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5148975303361385663.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5148975303361385663.key) [2020-09-17T09:16:08.864Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T09:16:09.203Z] + git semver bump pre [2020-09-17T09:16:09.203Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T09:16:09.203Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2020-09-17T09:16:09.203Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2020-09-17T09:16:09.203Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T09:16:09.203Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T09:16:09.203Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T09:16:09.203Z] # $SEMVER_BRANCH = master [2020-09-17T09:16:09.203Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2020-09-17T09:16:09.203Z] 1.2.3-dev.4 [Pipeline] } [2020-09-17T09:16:09.216Z] $ docker exec --env ******** --env ******** 9268ed407ced1587a4d82030685411029849f6b879737d6c23b8f264d68329bc ssh-agent -k [2020-09-17T09:16:09.326Z] unset SSH_AUTH_SOCK; [2020-09-17T09:16:09.327Z] unset SSH_AGENT_PID; [2020-09-17T09:16:09.327Z] echo Agent pid 17 killed; [2020-09-17T09:16:09.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T09:16:09.853Z] + git semver [Pipeline] } [2020-09-17T09:16:09.871Z] $ docker stop --time=1 9268ed407ced1587a4d82030685411029849f6b879737d6c23b8f264d68329bc [2020-09-17T09:16:11.232Z] $ docker rm -f 9268ed407ced1587a4d82030685411029849f6b879737d6c23b8f264d68329bc [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:16:11.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T09:16:11.869Z] . [Pipeline] withDockerContainer [2020-09-17T09:16:11.971Z] prd-centos7-docker-4c-2g-191 does not seem to be running inside a container [2020-09-17T09:16:12.013Z] $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T09:16:12.627Z] $ docker top 73e68ba4f8bdd252c7b77f9cc7a5ef49cb27a9b44bdd3923bed516f0ef5c6964 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T09:16:12.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T09:16:12.945Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T09:16:13.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T09:16:13.128Z] $ docker exec 73e68ba4f8bdd252c7b77f9cc7a5ef49cb27a9b44bdd3923bed516f0ef5c6964 ssh-agent [2020-09-17T09:16:13.299Z] SSH_AUTH_SOCK=/tmp/ssh-dW0F7F0jyAgz/agent.11 [2020-09-17T09:16:13.299Z] SSH_AGENT_PID=16 [2020-09-17T09:16:13.306Z] Running ssh-add (command line suppressed) [2020-09-17T09:16:13.426Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3462701748366886554.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3462701748366886554.key) [2020-09-17T09:16:13.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T09:16:13.824Z] + git semver push [2020-09-17T09:16:13.824Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T09:16:13.824Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2020-09-17T09:16:13.824Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2020-09-17T09:16:13.824Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T09:16:13.824Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T09:16:13.824Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T09:16:13.824Z] # $SEMVER_BRANCH = master [2020-09-17T09:16:13.824Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2020-09-17T09:16:20.435Z] $ docker exec --env ******** --env ******** 73e68ba4f8bdd252c7b77f9cc7a5ef49cb27a9b44bdd3923bed516f0ef5c6964 ssh-agent -k [2020-09-17T09:16:20.547Z] unset SSH_AUTH_SOCK; [2020-09-17T09:16:20.547Z] unset SSH_AGENT_PID; [2020-09-17T09:16:20.547Z] echo Agent pid 16 killed; [2020-09-17T09:16:20.594Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T09:16:21.207Z] + git semver [Pipeline] } [2020-09-17T09:16:21.225Z] $ docker stop --time=1 73e68ba4f8bdd252c7b77f9cc7a5ef49cb27a9b44bdd3923bed516f0ef5c6964 [2020-09-17T09:16:22.579Z] $ docker rm -f 73e68ba4f8bdd252c7b77f9cc7a5ef49cb27a9b44bdd3923bed516f0ef5c6964 [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-09-17T09:16:24.111Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:16:24.709Z] ---> package-listing.sh [2020-09-17T09:16:24.709Z] ++ facter osfamily [2020-09-17T09:16:24.709Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-17T09:16:24.709Z] + OS_FAMILY=redhat [2020-09-17T09:16:24.709Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_master [2020-09-17T09:16:24.709Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-17T09:16:24.709Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-17T09:16:24.709Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-17T09:16:24.709Z] + PACKAGES=/tmp/packages_start.txt [2020-09-17T09:16:24.709Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2020-09-17T09:16:24.709Z] + PACKAGES=/tmp/packages_end.txt [2020-09-17T09:16:24.709Z] + case "${OS_FAMILY}" in [2020-09-17T09:16:24.709Z] + rpm -qa [2020-09-17T09:16:24.709Z] + sort [2020-09-17T09:16:29.010Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-17T09:16:29.010Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-17T09:16:29.010Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-17T09:16:29.010Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2020-09-17T09:16:29.010Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ [2020-09-17T09:16:29.010Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:16:29.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T09:16:29.518Z] [2020-09-17T09:16:29.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:16:29.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T09:16:29.941Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-17T09:16:29.941Z] df20fa9351a1: Pulling fs layer [2020-09-17T09:16:29.941Z] 36b3adc4ff6f: Pulling fs layer [2020-09-17T09:16:29.941Z] 8ad3a11d3b57: Pulling fs layer [2020-09-17T09:16:29.941Z] 46f8f816bc3b: Pulling fs layer [2020-09-17T09:16:29.941Z] 0dadc02b9964: Pulling fs layer [2020-09-17T09:16:29.941Z] ce6a7cf60c04: Pulling fs layer [2020-09-17T09:16:29.941Z] 7a184a31f384: Pulling fs layer [2020-09-17T09:16:29.941Z] 0879bd2ef858: Pulling fs layer [2020-09-17T09:16:29.941Z] ce6a7cf60c04: Waiting [2020-09-17T09:16:29.941Z] 7a184a31f384: Waiting [2020-09-17T09:16:29.941Z] 0879bd2ef858: Waiting [2020-09-17T09:16:29.941Z] 46f8f816bc3b: Waiting [2020-09-17T09:16:29.941Z] 0dadc02b9964: Waiting [2020-09-17T09:16:29.941Z] 36b3adc4ff6f: Verifying Checksum [2020-09-17T09:16:29.941Z] 36b3adc4ff6f: Download complete [2020-09-17T09:16:29.941Z] 46f8f816bc3b: Verifying Checksum [2020-09-17T09:16:29.941Z] 46f8f816bc3b: Download complete [2020-09-17T09:16:30.221Z] df20fa9351a1: Verifying Checksum [2020-09-17T09:16:30.221Z] df20fa9351a1: Download complete [2020-09-17T09:16:30.221Z] 0dadc02b9964: Verifying Checksum [2020-09-17T09:16:30.221Z] 0dadc02b9964: Download complete [2020-09-17T09:16:30.221Z] ce6a7cf60c04: Verifying Checksum [2020-09-17T09:16:30.221Z] ce6a7cf60c04: Download complete [2020-09-17T09:16:30.221Z] 7a184a31f384: Verifying Checksum [2020-09-17T09:16:30.221Z] 7a184a31f384: Download complete [2020-09-17T09:16:30.487Z] df20fa9351a1: Pull complete [2020-09-17T09:16:30.487Z] 36b3adc4ff6f: Pull complete [2020-09-17T09:16:30.488Z] 8ad3a11d3b57: Verifying Checksum [2020-09-17T09:16:30.488Z] 8ad3a11d3b57: Download complete [2020-09-17T09:16:31.071Z] 0879bd2ef858: Verifying Checksum [2020-09-17T09:16:31.071Z] 0879bd2ef858: Download complete [2020-09-17T09:16:31.340Z] 8ad3a11d3b57: Pull complete [2020-09-17T09:16:31.340Z] 46f8f816bc3b: Pull complete [2020-09-17T09:16:31.632Z] 0dadc02b9964: Pull complete [2020-09-17T09:16:31.916Z] ce6a7cf60c04: Pull complete [2020-09-17T09:16:31.916Z] 7a184a31f384: Pull complete [2020-09-17T09:16:33.955Z] 0879bd2ef858: Pull complete [2020-09-17T09:16:33.955Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-17T09:16:34.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T09:16:34.219Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-17T09:16:34.357Z] prd-centos7-docker-4c-2g-191 does not seem to be running inside a container [2020-09-17T09:16:34.419Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-17T09:16:38.744Z] $ docker top 0a821b86bb9d3a4d6ec576ec724196df015bd02111c7900a6b50e6f34bb8ef16 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T09:16:39.437Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-17T09:16:39.822Z] + ls /var/log/sa-host [2020-09-17T09:16:39.822Z] + sadf -c /var/log/sa-host/sa05 [2020-09-17T09:16:39.822Z] file_magic: OK [2020-09-17T09:16:39.822Z] HZ: Using current value: 100 [2020-09-17T09:16:39.822Z] file_header: OK [2020-09-17T09:16:39.822Z] 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-09-17T09:16:39.822Z] Statistics: [2020-09-17T09:16:39.822Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T09:16:39.822Z] File successfully converted to sysstat format version 12.2.1 [2020-09-17T09:16:39.822Z] + sadf -c /var/log/sa-host/sa17 [2020-09-17T09:16:39.822Z] file_magic: OK [2020-09-17T09:16:39.822Z] HZ: Using current value: 100 [2020-09-17T09:16:39.822Z] file_header: OK [2020-09-17T09:16:39.822Z] 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-09-17T09:16:39.822Z] Statistics: [2020-09-17T09:16:39.822Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T09:16:39.822Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T09:16:39.923Z] provisioning config files... [2020-09-17T09:16:39.955Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4158173148522689941tmp [Pipeline] { [Pipeline] echo [2020-09-17T09:16:40.035Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:16:40.429Z] ---> create-netrc.sh [Pipeline] echo [2020-09-17T09:16:40.445Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:16:40.763Z] ---> logs-deploy.sh [2020-09-17T09:16:40.763Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/14 [2020-09-17T09:16:40.763Z] INFO: archiving workspace using pattern(s): [2020-09-17T09:16:42.214Z] Archives upload complete. [2020-09-17T09:16:42.214Z] INFO: archiving logs to Nexus