Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/master/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1873 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 # timeout=10 Commit message: "Merge pull request #63 from lenny-intel/dependabot" > git rev-list --no-walk 606392e67fd6f15a83b9053fe6b082513b001f24 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:56:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:56:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:56:01 ========================================================= 00:56:01 EdgeX Global Pipelines Version Info 00:56:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:56:03 ------------------- 00:56:03 stable info: 00:56:03 ------------------- 00:56:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:56:03 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 00:56:03 Message: update stable to v1.0.131 00:56:04 ------------------- 00:56:04 experimental info: 00:56:04 ------------------- 00:56:04 Commited By: **** collab-it+edgex@linuxfoundation.org 00:56:04 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 00:56:04 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 00:56:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 00:56:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 00:56:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:56:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:56:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:56:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:56:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:56:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:56:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:56:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:56:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:56:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo 00:56:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:56:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:56:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:56:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:56:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:56:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:56:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:56:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:56:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:56:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:56:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:56:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:56:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:56:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 00:56:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 00:56:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 00:56:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 [Pipeline] echo 00:56:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 848f206 [Pipeline] echo 00:56:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:56:08 + git log --format=format:%s -1 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 [Pipeline] echo 00:56:08 GIT_COMMIT: 848f2065905ad4eb93e9b774cef4a4ef5a1cd264, Commit Message: Merge pull request #63 from lenny-intel/dependabot [Pipeline] echo 00:56:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:56:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:56:10 00:56:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:56:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:56:10 latest: Pulling from edgex-devops/git-semver 00:56:10 31603596830f: Pulling fs layer 00:56:10 2a8b12db71e7: Pulling fs layer 00:56:10 6ca5941a6612: Pulling fs layer 00:56:10 ecc8261a40a4: Pulling fs layer 00:56:10 ecc8261a40a4: Waiting 00:56:10 2a8b12db71e7: Verifying Checksum 00:56:10 2a8b12db71e7: Download complete 00:56:10 31603596830f: Verifying Checksum 00:56:10 31603596830f: Download complete 00:56:11 ecc8261a40a4: Verifying Checksum 00:56:11 ecc8261a40a4: Download complete 00:56:11 6ca5941a6612: Verifying Checksum 00:56:11 6ca5941a6612: Download complete 00:56:11 31603596830f: Pull complete 00:56:11 2a8b12db71e7: Pull complete 00:56:12 6ca5941a6612: Pull complete 00:56:12 ecc8261a40a4: Pull complete 00:56:12 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:56:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:56:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:56:13 prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container 00:56:13 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:56:15 $ docker top d196c3828aa8b3b8cb64d67025e084b487f98cce135413c68c66bcca8bf89f94 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:56:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:56:16 [ssh-agent] Looking for ssh-agent implementation... 00:56:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:56:16 $ docker exec d196c3828aa8b3b8cb64d67025e084b487f98cce135413c68c66bcca8bf89f94 ssh-agent 00:56:16 SSH_AUTH_SOCK=/tmp/ssh-J23R2eh9ckK5/agent.12 00:56:16 SSH_AGENT_PID=17 00:56:16 Running ssh-add (command line suppressed) 00:56:16 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5500518263353090130.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5500518263353090130.key) 00:56:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:56:17 + git describe --exact-match --tags HEAD 00:56:17 fatal: no tag exactly matches '848f2065905ad4eb93e9b774cef4a4ef5a1cd264' [Pipeline] } 00:56:17 $ docker exec --env ******** --env ******** d196c3828aa8b3b8cb64d67025e084b487f98cce135413c68c66bcca8bf89f94 ssh-agent -k 00:56:17 unset SSH_AUTH_SOCK; 00:56:17 unset SSH_AGENT_PID; 00:56:17 echo Agent pid 17 killed; 00:56:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 00:56:17 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 00:56:17 This usually means this commit has not been tagged. [Pipeline] sshagent 00:56:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:56:17 [ssh-agent] Looking for ssh-agent implementation... 00:56:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:56:18 $ docker exec d196c3828aa8b3b8cb64d67025e084b487f98cce135413c68c66bcca8bf89f94 ssh-agent 00:56:18 SSH_AUTH_SOCK=/tmp/ssh-WwdtuNyCQiR8/agent.47 00:56:18 SSH_AGENT_PID=52 00:56:18 Running ssh-add (command line suppressed) 00:56:18 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6276759196373471759.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6276759196373471759.key) 00:56:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:56:19 + git semver init 00:56:19 # -> Open(): unable to determine branch for HEAD 00:56:19 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 00:56:19 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 00:56:19 # $SEMVER_REMOTE_NAME = origin 00:56:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:56:19 # $SEMVER_USER_NAME = edgex-jenkins 00:56:19 # $SEMVER_BRANCH = master 00:56:19 # $SEMVER_TEMP = /tmp/semver-195910164 00:56:19 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 00:56:19 # '/tmp/semver-195910164' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' 00:56:19 # -> Force: false 00:56:19 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 00:56:19 $ docker exec --env ******** --env ******** d196c3828aa8b3b8cb64d67025e084b487f98cce135413c68c66bcca8bf89f94 ssh-agent -k 00:56:19 unset SSH_AUTH_SOCK; 00:56:19 unset SSH_AGENT_PID; 00:56:19 echo Agent pid 52 killed; 00:56:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:56:20 + git semver [Pipeline] } 00:56:20 $ docker stop --time=1 d196c3828aa8b3b8cb64d67025e084b487f98cce135413c68c66bcca8bf89f94 00:56:22 $ docker rm -f d196c3828aa8b3b8cb64d67025e084b487f98cce135413c68c66bcca8bf89f94 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 00:56:23 Stashed 23 file(s) [Pipeline] echo 00:56:23 [edgeXSemver]: initialized semver on version 1.2.3-dev.4 [Pipeline] echo 00:56:23 Archived original version: [1.2.3-dev.4] [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 00:56:38 Still waiting to schedule task 00:56:38 ‘prd-centos7-docker-4c-2g-1866’ is offline; ‘prd-centos7-docker-4c-2g-1870’ is offline; ‘prd-centos7-docker-4c-2g-1874’ is offline; ‘prd-centos7-docker-4c-2g-1875’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1868’ doesn’t have label ‘centos7-docker-4c-2g’ 00:56:38 Still waiting to schedule task 00:56:38 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1868’ is offline 00:57:48 Running on prd-centos7-docker-4c-2g-1876 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 00:57:48 Running in /w/workspace/device-snmp-go/15 [Pipeline] { [Pipeline] checkout 00:57:51 using credential edgex-jenkins-ssh 00:57:51 Cloning the remote Git repository 00:57:51 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 00:57:51 > git init /w/workspace/device-snmp-go/15 # timeout=10 00:57:51 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:57:51 > git --version # timeout=10 00:57:51 > git --version # 'git version 2.16.5' 00:57:51 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:57:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:57:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:57:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:57:52 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:57:52 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:57:52 Checking out Revision 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 (master) 00:57:52 > git config core.sparsecheckout # timeout=10 00:57:52 > git checkout -f 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 # timeout=10 00:57:56 Commit message: "Merge pull request #63 from lenny-intel/dependabot" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:57:57 ========================================================= 00:57:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:57:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:57:57 + 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 . 00:57:57 Sending build context to Docker daemon 433.7kB 00:57:57 Step 1/10 : ARG BASE=golang:1.15-alpine 00:57:57 Step 2/10 : FROM ${BASE} 00:57:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:57:58 df20fa9351a1: Pulling fs layer 00:57:58 ed8968b2872e: Pulling fs layer 00:57:58 a92cc7c5fd73: Pulling fs layer 00:57:58 e871e8e8d7a9: Pulling fs layer 00:57:58 e73272ec9a57: Pulling fs layer 00:57:58 1e910a182e73: Pulling fs layer 00:57:58 4e634b169226: Pulling fs layer 00:57:58 e73272ec9a57: Waiting 00:57:58 4e634b169226: Waiting 00:57:58 1e910a182e73: Waiting 00:57:58 e871e8e8d7a9: Waiting 00:57:58 a92cc7c5fd73: Verifying Checksum 00:57:58 a92cc7c5fd73: Download complete 00:57:58 ed8968b2872e: Verifying Checksum 00:57:58 ed8968b2872e: Download complete 00:57:58 e73272ec9a57: Verifying Checksum 00:57:58 e73272ec9a57: Download complete 00:57:58 1e910a182e73: Verifying Checksum 00:57:58 1e910a182e73: Download complete 00:57:58 df20fa9351a1: Verifying Checksum 00:57:58 df20fa9351a1: Download complete 00:57:58 df20fa9351a1: Pull complete 00:57:58 ed8968b2872e: Pull complete 00:57:58 a92cc7c5fd73: Pull complete 00:58:00 4e634b169226: Verifying Checksum 00:58:00 4e634b169226: Download complete 00:58:01 e871e8e8d7a9: Download complete 00:58:06 e871e8e8d7a9: Pull complete 00:58:06 e73272ec9a57: Pull complete 00:58:06 1e910a182e73: Pull complete 00:58:11 4e634b169226: Pull complete 00:58:11 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 00:58:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:58:11 ---> f7629b54cfaa 00:58:11 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 00:58:11 ---> Running in c0fb072a6bda 00:58:11 Removing intermediate container c0fb072a6bda 00:58:11 ---> 35a3ec0c13cf 00:58:11 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 00:58:11 ---> Running in f9c7a2045fd3 00:58:11 Removing intermediate container f9c7a2045fd3 00:58:11 ---> 9aced00296d2 00:58:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 00:58:11 ---> Running in 46e91b6c812b 00:58:12 Removing intermediate container 46e91b6c812b 00:58:12 ---> d0d4a4ead590 00:58:12 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:58:12 ---> Running in 77309397c4e9 00:58:14 Removing intermediate container 77309397c4e9 00:58:14 ---> 020fb9cd7cc5 00:58:14 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:58:14 ---> Running in 5d3740a66d9e 00:58:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:58:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:58:15 OK: 166 MiB in 39 packages 00:58:16 Removing intermediate container 5d3740a66d9e 00:58:16 ---> b94872b70e81 00:58:16 Step 8/10 : WORKDIR /device-snmp-go 00:58:16 ---> Running in 21cff736d431 00:58:16 Removing intermediate container 21cff736d431 00:58:16 ---> d013856f1819 00:58:16 Step 9/10 : COPY . . 00:58:17 ---> efe06ca1a6a9 00:58:17 Step 10/10 : RUN go mod download 00:58:17 ---> Running in 9103897962ec 00:58:29 Removing intermediate container 9103897962ec 00:58:29 ---> f9d784bf3dd2 00:58:29 Successfully built f9d784bf3dd2 00:58:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:58:29 + docker inspect -f . ci-base-image-x86_64 00:58:29 . [Pipeline] withDockerContainer 00:58:29 prd-centos7-docker-4c-2g-1876 does not seem to be running inside a container 00:58:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/15 -v /w/workspace/device-snmp-go/15:/w/workspace/device-snmp-go/15:rw,z -v /w/workspace/device-snmp-go/15@tmp:/w/workspace/device-snmp-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:58:31 $ docker top 39a1fb8f5c36dd83ed9415d5454d766062efc891de6c5af4fe0d9923ebe2e1c9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:58:31 + go version 00:58:31 go version go1.15.2 linux/amd64 [Pipeline] } 00:58:31 $ docker stop --time=1 39a1fb8f5c36dd83ed9415d5454d766062efc891de6c5af4fe0d9923ebe2e1c9 00:58:33 $ docker rm -f 39a1fb8f5c36dd83ed9415d5454d766062efc891de6c5af4fe0d9923ebe2e1c9 [Pipeline] // withDockerContainer [Pipeline] } 00:58:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1877 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] // script [Pipeline] { [Pipeline] } [Pipeline] // stage [Pipeline] ws 00:58:33 Running in /w/workspace/device-snmp-go/15 [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:58:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:58:36 + ls -al . 00:58:36 total 76 00:58:36 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 29 00:57 . 00:58:36 drwxrwxr-x. 4 jenkins jenkins 30 Sep 29 00:57 .. 00:58:36 -rw-rw-r--. 1 jenkins jenkins 4405 Sep 29 00:57 Attribution.txt 00:58:36 drwxrwxr-x. 2 jenkins jenkins 87 Sep 29 00:57 bin 00:58:36 drwxrwxr-x. 3 jenkins jenkins 32 Sep 29 00:57 cmd 00:58:36 -rw-rw-r--. 1 jenkins jenkins 1002 Sep 29 00:57 Dockerfile 00:58:36 -rw-rw-r--. 1 jenkins jenkins 409 Sep 29 00:57 Dockerfile.build 00:58:36 -rw-rw-r--. 1 jenkins jenkins 6 Sep 29 00:57 .dockerignore 00:58:36 drwxrwxr-x. 8 jenkins jenkins 162 Sep 29 00:57 .git 00:58:36 drwxrwxr-x. 2 jenkins jenkins 60 Sep 29 00:57 .github 00:58:36 -rw-rw-r--. 1 jenkins jenkins 272 Sep 29 00:57 .gitignore 00:58:36 -rw-rw-r--. 1 jenkins jenkins 203 Sep 29 00:57 go.mod 00:58:36 drwxrwxr-x. 3 jenkins jenkins 20 Sep 29 00:57 internal 00:58:36 -rw-rw-r--. 1 jenkins jenkins 656 Sep 29 00:57 Jenkinsfile 00:58:36 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 29 00:57 LICENSE 00:58:36 -rw-rw-r--. 1 jenkins jenkins 937 Sep 29 00:57 Makefile 00:58:36 drwxrwxr-x. 2 jenkins jenkins 84 Sep 29 00:57 profiles 00:58:36 -rw-rw-r--. 1 jenkins jenkins 12398 Sep 29 00:57 README.md 00:58:36 drwxrwxr-x. 3 jenkins jenkins 61 Sep 29 00:57 .semver 00:58:36 -rw-rw-r--. 1 jenkins jenkins 11 Sep 29 00:56 VERSION 00:58:36 -rw-rw-r--. 1 jenkins jenkins 209 Sep 29 00:57 version.go [Pipeline] isUnix [Pipeline] sh 00:58:37 + 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=848f2065905ad4eb93e9b774cef4a4ef5a1cd264 --label arch=amd64 --label version=1.2.3-dev.4 . 00:58:37 Sending build context to Docker daemon 433.7kB 00:58:37 Step 1/26 : ARG BASE=golang:1.15-alpine 00:58:37 Step 2/26 : FROM ${BASE} AS builder 00:58:37 ---> f9d784bf3dd2 00:58:37 Step 3/26 : ARG MAKE='make build' 00:58:37 ---> Running in 44a25c937038 00:58:37 Removing intermediate container 44a25c937038 00:58:37 ---> d8ce2eb4eaad 00:58:37 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 00:58:37 ---> Running in bd1d8f3e9e30 00:58:37 Removing intermediate container bd1d8f3e9e30 00:58:37 ---> 2b1ad54e9ca0 00:58:37 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:58:37 ---> Running in e2f1d3db32de 00:58:37 Removing intermediate container e2f1d3db32de 00:58:37 ---> ac8622fde53d 00:58:37 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:58:37 ---> Running in eab0ddc469d8 00:58:38 using credential edgex-jenkins-ssh 00:58:38 Cloning the remote Git repository 00:58:38 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 00:58:39 Removing intermediate container eab0ddc469d8 00:58:39 ---> 780a06b54ea3 00:58:39 Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:58:39 ---> Running in e4887b6c610f 00:58:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:58:38 > git init /w/workspace/device-snmp-go/15 # timeout=10 00:58:38 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:58:38 > git --version # timeout=10 00:58:38 > git --version # 'git version 2.17.1' 00:58:38 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:39 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:58:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:39 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:58:39 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:58:39 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:58:40 Checking out Revision 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 (master) 00:58:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:58:41 OK: 166 MiB in 39 packages 00:58:40 > git config core.sparsecheckout # timeout=10 00:58:40 > git checkout -f 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 # timeout=10 00:58:41 Removing intermediate container e4887b6c610f 00:58:41 ---> 82194a886333 00:58:41 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 00:58:41 ---> Running in d1ab8e1a5036 00:58:41 Removing intermediate container d1ab8e1a5036 00:58:41 ---> 13ed837d4d35 00:58:41 Step 9/26 : COPY go.mod . 00:58:41 ---> f9ce96b07565 00:58:41 Step 10/26 : COPY Makefile . 00:58:42 ---> 579b6049c31a 00:58:42 Step 11/26 : RUN make update 00:58:42 ---> Running in 2c368b7e22e6 00:58:42 CGO_ENABLED=0 GO111MODULE=on go mod download 00:58:42 Removing intermediate container 2c368b7e22e6 00:58:42 ---> 3026093f7d9b 00:58:42 Step 12/26 : COPY . . 00:58:43 ---> 142b4a1b727a 00:58:43 Step 13/26 : RUN ${MAKE} 00:58:43 ---> Running in e3f079cd973f 00:58:44 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.3-dev.4" -o cmd/device-snmp-go ./cmd 00:58:44 Commit message: "Merge pull request #63 from lenny-intel/dependabot" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:58:45 ========================================================= 00:58:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:58:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:58:46 + 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 . 00:58:47 Sending build context to Docker daemon 433.7kB 00:58:47 Step 1/10 : ARG BASE=golang:1.15-alpine 00:58:47 Step 2/10 : FROM ${BASE} 00:58:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:58:48 b538f80385f9: Pulling fs layer 00:58:48 74f711af9a0d: Pulling fs layer 00:58:48 99f96fe45779: Pulling fs layer 00:58:48 8529a6b9a6be: Pulling fs layer 00:58:48 45590311c82a: Pulling fs layer 00:58:48 69ca0ff8b7b3: Pulling fs layer 00:58:48 209524e5b208: Pulling fs layer 00:58:48 8529a6b9a6be: Waiting 00:58:48 45590311c82a: Waiting 00:58:48 69ca0ff8b7b3: Waiting 00:58:48 209524e5b208: Waiting 00:58:48 99f96fe45779: Verifying Checksum 00:58:48 99f96fe45779: Download complete 00:58:48 74f711af9a0d: Verifying Checksum 00:58:48 74f711af9a0d: Download complete 00:58:48 45590311c82a: Verifying Checksum 00:58:48 45590311c82a: Download complete 00:58:48 69ca0ff8b7b3: Verifying Checksum 00:58:48 69ca0ff8b7b3: Download complete 00:58:48 b538f80385f9: Verifying Checksum 00:58:48 b538f80385f9: Download complete 00:58:48 b538f80385f9: Pull complete 00:58:49 74f711af9a0d: Pull complete 00:58:50 99f96fe45779: Pull complete 00:58:50 209524e5b208: Verifying Checksum 00:58:50 209524e5b208: Download complete 00:58:52 8529a6b9a6be: Download complete 00:58:52 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:58:55 Removing intermediate container e3f079cd973f 00:58:55 ---> ac1951a7b4c7 00:58:55 Step 14/26 : FROM alpine 00:58:55 latest: Pulling from library/alpine 00:58:55 df20fa9351a1: Already exists 00:58:55 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 00:58:55 Status: Downloaded newer image for alpine:latest 00:58:55 ---> a24bb4013296 00:58:55 Step 15/26 : ENV APP_PORT=49993 00:58:56 ---> Running in ac7af3ffa7ad 00:58:56 Removing intermediate container ac7af3ffa7ad 00:58:56 ---> 0c07924aa9de 00:58:56 Step 16/26 : EXPOSE $APP_PORT 00:58:56 ---> Running in 3799e23ef850 00:58:56 Removing intermediate container 3799e23ef850 00:58:56 ---> a5d7c844db78 00:58:56 Step 17/26 : ENV DEVICE_PORT=161 00:58:56 ---> Running in 31986b50da59 00:58:56 Removing intermediate container 31986b50da59 00:58:56 ---> 71e812308485 00:58:56 Step 18/26 : EXPOSE $DEVICE_PORT 00:58:56 ---> Running in ce6d3878f854 00:58:56 Removing intermediate container ce6d3878f854 00:58:56 ---> 0940518d9588 00:58:56 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 00:58:57 ---> 5b3d1d2990fb 00:58:57 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 00:58:57 ---> 465475ff2048 00:58:57 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 00:58:57 ---> d4ecea16d2bf 00:58:57 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 00:58:58 ---> Running in ddb25e78e08e 00:58:58 Removing intermediate container ddb25e78e08e 00:58:58 ---> ca0ef970dcbd 00:58:58 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:58:58 ---> Running in 3ce066e4c505 00:58:58 Removing intermediate container 3ce066e4c505 00:58:58 ---> a0da6fcfda3d 00:58:58 Step 24/26 : LABEL arch=amd64 00:58:58 ---> Running in 4f072ef42caa 00:58:58 Removing intermediate container 4f072ef42caa 00:58:58 ---> 47d057ef5827 00:58:58 Step 25/26 : LABEL git_sha=848f2065905ad4eb93e9b774cef4a4ef5a1cd264 00:58:58 ---> Running in 7a877c33f7d8 00:58:58 Removing intermediate container 7a877c33f7d8 00:58:58 ---> da3fecebee0d 00:58:58 Step 26/26 : LABEL version=1.2.3-dev.4 00:58:58 ---> Running in e929d2e61bde 00:58:58 Removing intermediate container e929d2e61bde 00:58:58 ---> 0e2e5cd978e8 00:58:58 [Warning] One or more build-args [ARCH] were not consumed 00:58:58 Successfully built 0e2e5cd978e8 00:58:59 Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:58:59 provisioning config files... 00:58:59 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/15@tmp/config3700755253619744219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:58:59 ---> docker-login.sh 00:58:59 nexus3.edgexfoundry.org:10001 00:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:00 Configure a credential helper to remove this warning. See 00:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:00 00:59:00 Login Succeeded 00:59:00 nexus3.edgexfoundry.org:10002 00:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:00 Configure a credential helper to remove this warning. See 00:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:00 00:59:00 Login Succeeded 00:59:00 nexus3.edgexfoundry.org:10003 00:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:00 Configure a credential helper to remove this warning. See 00:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:00 00:59:00 Login Succeeded 00:59:00 nexus3.edgexfoundry.org:10004 00:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:00 Configure a credential helper to remove this warning. See 00:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:00 00:59:00 Login Succeeded 00:59:00 docker.io 00:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:01 Configure a credential helper to remove this warning. See 00:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:01 00:59:01 Login Succeeded 00:59:01 ---> docker-login.sh ends [Pipeline] } 00:59:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:59:01 [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: 00:59:01 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 00:59:01 latest 00:59:01 1.2.3-dev.4 00:59:01 848f2065905ad4eb93e9b774cef4a4ef5a1cd264-1.2.3-dev.4 00:59:01 master 00:59:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:59:01 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:848f2065905ad4eb93e9b774cef4a4ef5a1cd264 [Pipeline] isUnix [Pipeline] sh 00:59:02 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:848f2065905ad4eb93e9b774cef4a4ef5a1cd264 00:59:02 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 00:59:02 a20ee99a9026: Preparing 00:59:02 4920c276bd1b: Preparing 00:59:02 265751a98ddf: Preparing 00:59:02 50644c29ef5a: Preparing 00:59:02 50644c29ef5a: Layer already exists 00:59:02 8529a6b9a6be: Pull complete 00:59:02 45590311c82a: Pull complete 00:59:02 69ca0ff8b7b3: Pull complete 00:59:02 a20ee99a9026: Pushed 00:59:02 4920c276bd1b: Pushed 00:59:03 265751a98ddf: Pushed 00:59:03 848f2065905ad4eb93e9b774cef4a4ef5a1cd264: digest: sha256:e3f1fa04d63435a40060cc55a2818c69cf70db73a05bd83c353c877b39b90c66 size: 1154 [Pipeline] isUnix [Pipeline] sh 00:59:03 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [Pipeline] isUnix [Pipeline] sh 00:59:04 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest 00:59:04 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 00:59:04 a20ee99a9026: Preparing 00:59:04 4920c276bd1b: Preparing 00:59:04 265751a98ddf: Preparing 00:59:04 50644c29ef5a: Preparing 00:59:04 265751a98ddf: Layer already exists 00:59:04 4920c276bd1b: Layer already exists 00:59:04 a20ee99a9026: Layer already exists 00:59:04 50644c29ef5a: Layer already exists 00:59:04 latest: digest: sha256:e3f1fa04d63435a40060cc55a2818c69cf70db73a05bd83c353c877b39b90c66 size: 1154 [Pipeline] isUnix [Pipeline] sh 00:59:04 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh 00:59:04 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.3-dev.4 00:59:04 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 00:59:04 a20ee99a9026: Preparing 00:59:04 4920c276bd1b: Preparing 00:59:04 265751a98ddf: Preparing 00:59:04 50644c29ef5a: Preparing 00:59:04 50644c29ef5a: Layer already exists 00:59:04 4920c276bd1b: Layer already exists 00:59:04 265751a98ddf: Layer already exists 00:59:04 a20ee99a9026: Layer already exists 00:59:04 1.2.3-dev.4: digest: sha256:e3f1fa04d63435a40060cc55a2818c69cf70db73a05bd83c353c877b39b90c66 size: 1154 [Pipeline] isUnix [Pipeline] sh 00:59:05 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:848f2065905ad4eb93e9b774cef4a4ef5a1cd264-1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh 00:59:05 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:848f2065905ad4eb93e9b774cef4a4ef5a1cd264-1.2.3-dev.4 00:59:05 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 00:59:05 a20ee99a9026: Preparing 00:59:05 4920c276bd1b: Preparing 00:59:05 265751a98ddf: Preparing 00:59:05 50644c29ef5a: Preparing 00:59:05 50644c29ef5a: Layer already exists 00:59:05 4920c276bd1b: Layer already exists 00:59:05 265751a98ddf: Layer already exists 00:59:05 a20ee99a9026: Layer already exists 00:59:05 848f2065905ad4eb93e9b774cef4a4ef5a1cd264-1.2.3-dev.4: digest: sha256:e3f1fa04d63435a40060cc55a2818c69cf70db73a05bd83c353c877b39b90c66 size: 1154 [Pipeline] isUnix [Pipeline] sh 00:59:05 209524e5b208: Pull complete 00:59:05 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 00:59:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:59:05 ---> 5bddaf1c2fca 00:59:05 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 00:59:05 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh 00:59:06 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master 00:59:06 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 00:59:06 a20ee99a9026: Preparing 00:59:06 4920c276bd1b: Preparing 00:59:06 265751a98ddf: Preparing 00:59:06 50644c29ef5a: Preparing 00:59:06 50644c29ef5a: Layer already exists 00:59:06 265751a98ddf: Layer already exists 00:59:06 4920c276bd1b: Layer already exists 00:59:06 a20ee99a9026: Layer already exists 00:59:06 master: digest: sha256:e3f1fa04d63435a40060cc55a2818c69cf70db73a05bd83c353c877b39b90c66 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:59:06 ===================================================== [Pipeline] echo 00:59:06 taggedImages: 00:59:06 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:848f2065905ad4eb93e9b774cef4a4ef5a1cd264 00:59:06 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest 00:59:06 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.3-dev.4 00:59:06 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:848f2065905ad4eb93e9b774cef4a4ef5a1cd264-1.2.3-dev.4 00:59:06 - 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] } 00:59:08 ---> Running in c1a16464a1d1 00:59:08 Removing intermediate container c1a16464a1d1 00:59:08 ---> 1a768579980f 00:59:08 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 00:59:08 ---> Running in 9a551afe730b 00:59:09 Removing intermediate container 9a551afe730b 00:59:09 ---> e9b69705da02 00:59:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 00:59:09 ---> Running in f38eaef7e376 00:59:09 Removing intermediate container f38eaef7e376 00:59:09 ---> cf6fd6775e2f 00:59:09 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:59:10 ---> Running in 2f6b66fbd800 00:59:12 Removing intermediate container 2f6b66fbd800 00:59:12 ---> 1a2ea0d85231 00:59:12 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:59:12 ---> Running in 44553ad67f49 00:59:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:59:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:59:15 OK: 142 MiB in 39 packages 00:59:16 Removing intermediate container 44553ad67f49 00:59:16 ---> 6cee9278c62b 00:59:16 Step 8/10 : WORKDIR /device-snmp-go 00:59:16 ---> Running in 5e1a2cca2b46 00:59:17 Removing intermediate container 5e1a2cca2b46 00:59:17 ---> a240781ffccd 00:59:17 Step 9/10 : COPY . . 00:59:18 ---> 77b441d342b5 00:59:18 Step 10/10 : RUN go mod download 00:59:18 ---> Running in 62055be0a2ab 00:59:33 Removing intermediate container 62055be0a2ab 00:59:33 ---> 97e34c2bcd96 00:59:33 Successfully built 97e34c2bcd96 00:59:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:59:33 + docker inspect -f . ci-base-image-arm64 00:59:33 . [Pipeline] withDockerContainer 00:59:33 prd-ubuntu18.04-docker-arm64-4c-16g-1877 does not seem to be running inside a container 00:59:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/15 -v /w/workspace/device-snmp-go/15:/w/workspace/device-snmp-go/15:rw,z -v /w/workspace/device-snmp-go/15@tmp:/w/workspace/device-snmp-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:59:35 $ docker top f1ba78a9a234ec9b109228045d84ab4800b11da9f148b601dd1b574769d87956 -eo pid,comm [Pipeline] { [Pipeline] sh 00:59:37 + go version 00:59:37 go version go1.15.2 linux/arm64 [Pipeline] } 00:59:37 $ docker stop --time=1 f1ba78a9a234ec9b109228045d84ab4800b11da9f148b601dd1b574769d87956 00:59:39 $ docker rm -f f1ba78a9a234ec9b109228045d84ab4800b11da9f148b601dd1b574769d87956 [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 00:59:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:59:40 + ls -al . 00:59:40 total 108 00:59:40 drwxrwxr-x 9 jenkins jenkins 4096 Sep 29 00:58 . 00:59:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 00:58 .. 00:59:40 -rw-rw-r-- 1 jenkins jenkins 6 Sep 29 00:58 .dockerignore 00:59:40 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 00:58 .git 00:59:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 00:58 .github 00:59:40 -rw-rw-r-- 1 jenkins jenkins 272 Sep 29 00:58 .gitignore 00:59:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 00:58 .semver 00:59:40 -rw-rw-r-- 1 jenkins jenkins 4405 Sep 29 00:58 Attribution.txt 00:59:40 -rw-rw-r-- 1 jenkins jenkins 1002 Sep 29 00:58 Dockerfile 00:59:40 -rw-rw-r-- 1 jenkins jenkins 409 Sep 29 00:58 Dockerfile.build 00:59:40 -rw-rw-r-- 1 jenkins jenkins 656 Sep 29 00:58 Jenkinsfile 00:59:40 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 29 00:58 LICENSE 00:59:40 -rw-rw-r-- 1 jenkins jenkins 937 Sep 29 00:58 Makefile 00:59:40 -rw-rw-r-- 1 jenkins jenkins 12398 Sep 29 00:58 README.md 00:59:40 -rw-rw-r-- 1 jenkins jenkins 11 Sep 29 00:56 VERSION 00:59:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 00:58 bin 00:59:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 00:58 cmd 00:59:40 -rw-rw-r-- 1 jenkins jenkins 203 Sep 29 00:58 go.mod 00:59:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 00:58 internal 00:59:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 00:58 profiles 00:59:40 -rw-rw-r-- 1 jenkins jenkins 209 Sep 29 00:58 version.go [Pipeline] isUnix [Pipeline] sh 00:59:41 + 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=848f2065905ad4eb93e9b774cef4a4ef5a1cd264 --label arch=arm64 --label version=1.2.3-dev.4 . 00:59:41 Sending build context to Docker daemon 433.7kB 00:59:41 Step 1/26 : ARG BASE=golang:1.15-alpine 00:59:41 Step 2/26 : FROM ${BASE} AS builder 00:59:41 ---> 97e34c2bcd96 00:59:41 Step 3/26 : ARG MAKE='make build' 00:59:41 ---> Running in a6244cb534c2 00:59:41 Removing intermediate container a6244cb534c2 00:59:41 ---> 0372a50b5907 00:59:41 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 00:59:42 ---> Running in a1e3063d99d7 00:59:42 Removing intermediate container a1e3063d99d7 00:59:42 ---> b96edfc4f44c 00:59:42 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:59:42 ---> Running in a2de940689da 00:59:43 Removing intermediate container a2de940689da 00:59:43 ---> 1bd331f19555 00:59:43 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:59:43 ---> Running in b4c2e8485752 00:59:46 Removing intermediate container b4c2e8485752 00:59:46 ---> 5952a9c0766d 00:59:46 Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:59:46 ---> Running in 88a6567c6e51 00:59:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:59:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:59:49 OK: 142 MiB in 39 packages 00:59:50 Removing intermediate container 88a6567c6e51 00:59:50 ---> bbe5bb29b2a3 00:59:50 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 00:59:50 ---> Running in c1fa1e5a4cc0 00:59:50 Removing intermediate container c1fa1e5a4cc0 00:59:50 ---> 34be27e526a9 00:59:50 Step 9/26 : COPY go.mod . 00:59:51 ---> 3207a03a2b74 00:59:51 Step 10/26 : COPY Makefile . 00:59:52 ---> e4e7c55b6989 00:59:52 Step 11/26 : RUN make update 00:59:52 ---> Running in 8b58a0e39625 00:59:53 CGO_ENABLED=0 GO111MODULE=on go mod download 00:59:55 Removing intermediate container 8b58a0e39625 00:59:55 ---> dd438f259c8a 00:59:55 Step 12/26 : COPY . . 00:59:55 ---> 0a2a370807da 00:59:55 Step 13/26 : RUN ${MAKE} 00:59:55 ---> Running in 4eef2bc21fe2 00:59:57 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.3-dev.4" -o cmd/device-snmp-go ./cmd 01:00:19 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:00:26 Removing intermediate container 4eef2bc21fe2 01:00:26 ---> 267bca77236e 01:00:26 Step 14/26 : FROM alpine 01:00:26 latest: Pulling from library/alpine 01:00:26 b538f80385f9: Already exists 01:00:27 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:00:27 Status: Downloaded newer image for alpine:latest 01:00:27 ---> 62ee0e9f8440 01:00:27 Step 15/26 : ENV APP_PORT=49993 01:00:27 ---> Running in 452a0636620f 01:00:27 Removing intermediate container 452a0636620f 01:00:27 ---> 446865e4eb6e 01:00:27 Step 16/26 : EXPOSE $APP_PORT 01:00:27 ---> Running in ba3b3ad15043 01:00:28 Removing intermediate container ba3b3ad15043 01:00:28 ---> 0f205eba319a 01:00:28 Step 17/26 : ENV DEVICE_PORT=161 01:00:28 ---> Running in 89cf1b170039 01:00:29 Removing intermediate container 89cf1b170039 01:00:29 ---> 497bb2824c84 01:00:29 Step 18/26 : EXPOSE $DEVICE_PORT 01:00:29 ---> Running in 6b12351c5a0e 01:00:29 Removing intermediate container 6b12351c5a0e 01:00:29 ---> e8c7369f6221 01:00:29 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 01:00:30 ---> b352a0376c8d 01:00:30 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 01:00:31 ---> 9537b582979d 01:00:31 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 01:00:32 ---> 5d1fe1f09120 01:00:32 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 01:00:32 ---> Running in b88ea57344ab 01:00:33 Removing intermediate container b88ea57344ab 01:00:33 ---> 88e690227fc0 01:00:33 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:00:33 ---> Running in 3145d9cf9d46 01:00:33 Removing intermediate container 3145d9cf9d46 01:00:33 ---> b8a643f2cea5 01:00:33 Step 24/26 : LABEL arch=arm64 01:00:33 ---> Running in 5b99ac81f3db 01:00:34 Removing intermediate container 5b99ac81f3db 01:00:34 ---> a83300ef1307 01:00:34 Step 25/26 : LABEL git_sha=848f2065905ad4eb93e9b774cef4a4ef5a1cd264 01:00:34 ---> Running in 67745aac9835 01:00:34 Removing intermediate container 67745aac9835 01:00:34 ---> 317ea8206fda 01:00:34 Step 26/26 : LABEL version=1.2.3-dev.4 01:00:34 ---> Running in d2fd9bf36184 01:00:35 Removing intermediate container d2fd9bf36184 01:00:35 ---> 0c35d47d252b 01:00:35 [Warning] One or more build-args [ARCH] were not consumed 01:00:35 Successfully built 0c35d47d252b 01:00:35 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 01:00:35 provisioning config files... 01:00:35 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/15@tmp/config2446872033189800486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:36 ---> docker-login.sh 01:00:36 nexus3.edgexfoundry.org:10001 01:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:36 Configure a credential helper to remove this warning. See 01:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:36 01:00:36 Login Succeeded 01:00:36 nexus3.edgexfoundry.org:10002 01:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:37 Configure a credential helper to remove this warning. See 01:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:37 01:00:37 Login Succeeded 01:00:37 nexus3.edgexfoundry.org:10003 01:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:37 Configure a credential helper to remove this warning. See 01:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:37 01:00:37 Login Succeeded 01:00:37 nexus3.edgexfoundry.org:10004 01:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:38 Configure a credential helper to remove this warning. See 01:00:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:38 01:00:38 Login Succeeded 01:00:38 docker.io 01:00:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:38 Configure a credential helper to remove this warning. See 01:00:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:38 01:00:38 Login Succeeded 01:00:38 ---> docker-login.sh ends [Pipeline] } 01:00:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:00:39 [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: 01:00:39 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 01:00:39 latest 01:00:39 1.2.3-dev.4 01:00:39 848f2065905ad4eb93e9b774cef4a4ef5a1cd264-1.2.3-dev.4 01:00:39 master 01:00:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:00:39 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:848f2065905ad4eb93e9b774cef4a4ef5a1cd264 [Pipeline] isUnix [Pipeline] sh 01:00:39 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:848f2065905ad4eb93e9b774cef4a4ef5a1cd264 01:00:39 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 01:00:39 c601eaddb5a8: Preparing 01:00:39 622f72c66f4e: Preparing 01:00:39 2a4e6392e22b: Preparing 01:00:39 e2f13739ad41: Preparing 01:00:40 e2f13739ad41: Layer already exists 01:00:40 622f72c66f4e: Pushed 01:00:40 c601eaddb5a8: Pushed 01:00:42 2a4e6392e22b: Pushed 01:00:42 848f2065905ad4eb93e9b774cef4a4ef5a1cd264: digest: sha256:c0bee9c2a8ce748282ab561db479b52fd81aca2cd32a71bf4dd4fcfc68739e98 size: 1154 [Pipeline] isUnix [Pipeline] sh 01:00:43 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:00:43 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest 01:00:43 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 01:00:43 c601eaddb5a8: Preparing 01:00:43 622f72c66f4e: Preparing 01:00:43 2a4e6392e22b: Preparing 01:00:43 e2f13739ad41: Preparing 01:00:43 622f72c66f4e: Layer already exists 01:00:43 e2f13739ad41: Layer already exists 01:00:43 c601eaddb5a8: Layer already exists 01:00:43 2a4e6392e22b: Layer already exists 01:00:43 latest: digest: sha256:c0bee9c2a8ce748282ab561db479b52fd81aca2cd32a71bf4dd4fcfc68739e98 size: 1154 [Pipeline] isUnix [Pipeline] sh 01:00:44 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh 01:00:44 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.3-dev.4 01:00:44 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 01:00:44 c601eaddb5a8: Preparing 01:00:44 622f72c66f4e: Preparing 01:00:44 2a4e6392e22b: Preparing 01:00:44 e2f13739ad41: Preparing 01:00:44 622f72c66f4e: Layer already exists 01:00:44 e2f13739ad41: Layer already exists 01:00:44 2a4e6392e22b: Layer already exists 01:00:44 c601eaddb5a8: Layer already exists 01:00:44 1.2.3-dev.4: digest: sha256:c0bee9c2a8ce748282ab561db479b52fd81aca2cd32a71bf4dd4fcfc68739e98 size: 1154 [Pipeline] isUnix [Pipeline] sh 01:00:45 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:848f2065905ad4eb93e9b774cef4a4ef5a1cd264-1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh 01:00:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:848f2065905ad4eb93e9b774cef4a4ef5a1cd264-1.2.3-dev.4 01:00:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 01:00:45 c601eaddb5a8: Preparing 01:00:45 622f72c66f4e: Preparing 01:00:45 2a4e6392e22b: Preparing 01:00:45 e2f13739ad41: Preparing 01:00:45 e2f13739ad41: Layer already exists 01:00:45 c601eaddb5a8: Layer already exists 01:00:45 622f72c66f4e: Layer already exists 01:00:45 2a4e6392e22b: Layer already exists 01:00:45 848f2065905ad4eb93e9b774cef4a4ef5a1cd264-1.2.3-dev.4: digest: sha256:c0bee9c2a8ce748282ab561db479b52fd81aca2cd32a71bf4dd4fcfc68739e98 size: 1154 [Pipeline] isUnix [Pipeline] sh 01:00:46 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh 01:00:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master 01:00:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 01:00:46 c601eaddb5a8: Preparing 01:00:46 622f72c66f4e: Preparing 01:00:46 2a4e6392e22b: Preparing 01:00:46 e2f13739ad41: Preparing 01:00:46 e2f13739ad41: Layer already exists 01:00:46 2a4e6392e22b: Layer already exists 01:00:46 c601eaddb5a8: Layer already exists 01:00:46 622f72c66f4e: Layer already exists 01:00:46 master: digest: sha256:c0bee9c2a8ce748282ab561db479b52fd81aca2cd32a71bf4dd4fcfc68739e98 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:00:47 ===================================================== [Pipeline] echo 01:00:47 taggedImages: 01:00:47 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:848f2065905ad4eb93e9b774cef4a4ef5a1cd264 01:00:47 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest 01:00:47 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.3-dev.4 01:00:47 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:848f2065905ad4eb93e9b774cef4a4ef5a1cd264-1.2.3-dev.4 01:00:47 - 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 01:00:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 01:00:48 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 01:00:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:00:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 01:00:49 01:00:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 01:00:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 01:00:50 1.317.0: Pulling from edgex-devops/edgex-snyk-go 01:00:50 cbdbe7a5bc2a: Pulling fs layer 01:00:50 408f87550127: Pulling fs layer 01:00:50 fe522b08c979: Pulling fs layer 01:00:50 221eaa008020: Pulling fs layer 01:00:50 2a4607e5d6b9: Pulling fs layer 01:00:50 8f79b27c4fd2: Pulling fs layer 01:00:50 e5c8dbe1645b: Pulling fs layer 01:00:50 23e8b3b47431: Pulling fs layer 01:00:50 5c568d65a230: Pulling fs layer 01:00:50 5c568d65a230: Waiting 01:00:50 221eaa008020: Waiting 01:00:50 2a4607e5d6b9: Waiting 01:00:50 8f79b27c4fd2: Waiting 01:00:50 23e8b3b47431: Waiting 01:00:50 e5c8dbe1645b: Waiting 01:00:50 fe522b08c979: Verifying Checksum 01:00:50 fe522b08c979: Download complete 01:00:50 408f87550127: Verifying Checksum 01:00:50 408f87550127: Download complete 01:00:50 2a4607e5d6b9: Verifying Checksum 01:00:50 2a4607e5d6b9: Download complete 01:00:50 8f79b27c4fd2: Verifying Checksum 01:00:50 8f79b27c4fd2: Download complete 01:00:50 cbdbe7a5bc2a: Download complete 01:00:51 cbdbe7a5bc2a: Pull complete 01:00:52 408f87550127: Pull complete 01:00:52 fe522b08c979: Pull complete 01:00:52 e5c8dbe1645b: Download complete 01:00:56 23e8b3b47431: Verifying Checksum 01:00:56 23e8b3b47431: Download complete 01:00:57 5c568d65a230: Download complete 01:01:01 221eaa008020: Verifying Checksum 01:01:01 221eaa008020: Download complete 01:01:17 221eaa008020: Pull complete 01:01:17 2a4607e5d6b9: Pull complete 01:01:17 8f79b27c4fd2: Pull complete 01:01:18 e5c8dbe1645b: Pull complete 01:01:24 23e8b3b47431: Pull complete 01:01:28 5c568d65a230: Pull complete 01:01:28 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 01:01:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 01:01:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 01:01:29 prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container 01:01:29 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 01:01:32 $ docker top 4f68112ae5705fef6850582c8efc2579a26804dfe2e3485b73c8268830084908 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:33 + snyk monitor '--org=edgex-jenkins' 01:01:49 01:01:49 Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... 01:01:49 01:01:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/d41a1fa4-f278-41af-9856-cb2d41f7dd17 01:01:49 01:01:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:01:49 01:01:49 01:01:49 Snyk CLI supports Node.js 8 and higher. 01:01:49 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 01:01:49 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 01:01:49 01:01:49 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 01:01:49 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 01:01:49 $ docker stop --time=1 4f68112ae5705fef6850582c8efc2579a26804dfe2e3485b73c8268830084908 01:01:52 $ docker rm -f 4f68112ae5705fef6850582c8efc2579a26804dfe2e3485b73c8268830084908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:01:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 01:01:54 01:01:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 01:01:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 01:01:54 latest: Pulling from edgex-devops/edgex-klar 01:01:54 e7c96db7181b: Pulling fs layer 01:01:54 1868ca2cb446: Pulling fs layer 01:01:54 136be5d0fe8e: Pulling fs layer 01:01:54 894bfe63afcb: Pulling fs layer 01:01:54 894bfe63afcb: Waiting 01:01:54 1868ca2cb446: Verifying Checksum 01:01:54 1868ca2cb446: Download complete 01:01:54 136be5d0fe8e: Download complete 01:01:55 e7c96db7181b: Verifying Checksum 01:01:55 e7c96db7181b: Download complete 01:01:55 894bfe63afcb: Verifying Checksum 01:01:55 894bfe63afcb: Download complete 01:01:56 e7c96db7181b: Pull complete 01:01:56 1868ca2cb446: Pull complete 01:01:56 136be5d0fe8e: Pull complete 01:01:57 894bfe63afcb: Pull complete 01:01:57 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 01:01:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 01:01:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 01:01:57 prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container 01:01:57 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 01:01:59 $ docker top 3ae3dd8f3e0aab083a4ff79d5ce0b2ab553bedf9b13b95abcb73ded21b11ac10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:00 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:848f2065905ad4eb93e9b774cef4a4ef5a1cd264 01:02:00 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 01:02:05 $ docker stop --time=1 3ae3dd8f3e0aab083a4ff79d5ce0b2ab553bedf9b13b95abcb73ded21b11ac10 01:02:07 $ docker rm -f 3ae3dd8f3e0aab083a4ff79d5ce0b2ab553bedf9b13b95abcb73ded21b11ac10 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 01:02:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 01:02:07 . [Pipeline] withDockerContainer 01:02:08 prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container 01:02:08 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 01:02:09 $ docker top 38ef57871101a01a3fafeb6530922c7c2c66e3e74b9f64fa4dd55aba6dbb4c95 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:10 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:848f2065905ad4eb93e9b774cef4a4ef5a1cd264 01:02:10 + tee 01:02:10 clair timeout 1m0s 01:02:10 docker timeout: 1m0s 01:02:10 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 01:02:11 $ docker stop --time=1 38ef57871101a01a3fafeb6530922c7c2c66e3e74b9f64fa4dd55aba6dbb4c95 01:02:12 $ docker rm -f 38ef57871101a01a3fafeb6530922c7c2c66e3e74b9f64fa4dd55aba6dbb4c95 [Pipeline] // withDockerContainer [Pipeline] sh 01:02:13 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo 01:02:13 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-snmp-go_master/clair-reports/clair_results_docker-device-snmp-go_848f2065905ad4eb93e9b774cef4a4ef5a1cd264.html [Pipeline] writeFile [Pipeline] step 01:02:13 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 01:02:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 01:02:14 . [Pipeline] withDockerContainer 01:02:14 prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container 01:02:14 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 01:02:16 $ docker top 0d3cd59debd43c9c57b84e55af378d1dbf8863691ca1d920d1ad76a44d6a6f5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:16 + tee 01:02:16 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:848f2065905ad4eb93e9b774cef4a4ef5a1cd264 [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 01:02:20 $ docker stop --time=1 0d3cd59debd43c9c57b84e55af378d1dbf8863691ca1d920d1ad76a44d6a6f5f 01:02:22 $ docker rm -f 0d3cd59debd43c9c57b84e55af378d1dbf8863691ca1d920d1ad76a44d6a6f5f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 01:02:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 01:02:22 . [Pipeline] withDockerContainer 01:02:22 prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container 01:02:23 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 01:02:23 $ docker top 2131956e38fd05cefe2766d62f9f1ee233d42dec5ac1084e2f5b9db63ca30b91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:24 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:848f2065905ad4eb93e9b774cef4a4ef5a1cd264 01:02:24 + tee 01:02:24 clair timeout 1m0s 01:02:24 docker timeout: 1m0s 01:02:24 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 01:02:25 $ docker stop --time=1 2131956e38fd05cefe2766d62f9f1ee233d42dec5ac1084e2f5b9db63ca30b91 01:02:27 $ docker rm -f 2131956e38fd05cefe2766d62f9f1ee233d42dec5ac1084e2f5b9db63ca30b91 [Pipeline] // withDockerContainer [Pipeline] sh 01:02:27 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo 01:02:27 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-snmp-go_master/clair-reports/clair_results_docker-device-snmp-go-arm64_848f2065905ad4eb93e9b774cef4a4ef5a1cd264.html [Pipeline] writeFile [Pipeline] step 01:02:27 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 01:02:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:02:29 . [Pipeline] withDockerContainer 01:02:29 prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container 01:02:29 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:02:30 $ docker top a6e4448a6a91c4f0d3d14ecd183cfd0ba868f14bf2d02a5f520dbe767a52b516 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:02:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:02:30 [ssh-agent] Looking for ssh-agent implementation... 01:02:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:02:30 $ docker exec a6e4448a6a91c4f0d3d14ecd183cfd0ba868f14bf2d02a5f520dbe767a52b516 ssh-agent 01:02:31 SSH_AUTH_SOCK=/tmp/ssh-6Cv2XrqjTRyd/agent.12 01:02:31 SSH_AGENT_PID=18 01:02:31 Running ssh-add (command line suppressed) 01:02:31 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5034821466583710168.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5034821466583710168.key) 01:02:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:02:32 + git semver tag 01:02:32 # -> Open(): unable to determine branch for HEAD 01:02:32 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 01:02:32 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 01:02:32 # $SEMVER_REMOTE_NAME = origin 01:02:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:02:32 # $SEMVER_USER_NAME = edgex-jenkins 01:02:32 # $SEMVER_BRANCH = master 01:02:32 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 01:02:32 # 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 HEAD 01:02:32 # -> Force: false 01:02:32 # cfa17efcfda4b6213de99a5c0d849c0e6c1f805a refs/tags/v1.2.3-dev.4 [Pipeline] } 01:02:32 $ docker exec --env ******** --env ******** a6e4448a6a91c4f0d3d14ecd183cfd0ba868f14bf2d02a5f520dbe767a52b516 ssh-agent -k 01:02:32 unset SSH_AUTH_SOCK; 01:02:32 unset SSH_AGENT_PID; 01:02:32 echo Agent pid 18 killed; 01:02:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:02:32 + git semver [Pipeline] } 01:02:32 $ docker stop --time=1 a6e4448a6a91c4f0d3d14ecd183cfd0ba868f14bf2d02a5f520dbe767a52b516 01:02:34 $ docker rm -f a6e4448a6a91c4f0d3d14ecd183cfd0ba868f14bf2d02a5f520dbe767a52b516 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 01:02:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:02:35 01:02:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 01:02:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:02:35 0.23.1-centos7: Pulling from edgex-lftools 01:02:35 ab5ef0e58194: Pulling fs layer 01:02:35 9712f1f96733: Pulling fs layer 01:02:35 63f879dbbcfc: Pulling fs layer 01:02:35 0d9ebad4ef96: Pulling fs layer 01:02:35 e9a5061849ea: Pulling fs layer 01:02:35 d747dcd14b5f: Pulling fs layer 01:02:35 2de7ff778b66: Pulling fs layer 01:02:35 0d9ebad4ef96: Waiting 01:02:35 e9a5061849ea: Waiting 01:02:35 d747dcd14b5f: Waiting 01:02:35 2de7ff778b66: Waiting 01:02:35 9712f1f96733: Verifying Checksum 01:02:35 9712f1f96733: Download complete 01:02:40 63f879dbbcfc: Verifying Checksum 01:02:40 63f879dbbcfc: Download complete 01:02:41 e9a5061849ea: Verifying Checksum 01:02:41 e9a5061849ea: Download complete 01:02:41 d747dcd14b5f: Verifying Checksum 01:02:41 d747dcd14b5f: Download complete 01:02:41 0d9ebad4ef96: Verifying Checksum 01:02:41 0d9ebad4ef96: Download complete 01:02:42 2de7ff778b66: Verifying Checksum 01:02:42 2de7ff778b66: Download complete 01:02:42 ab5ef0e58194: Verifying Checksum 01:02:42 ab5ef0e58194: Download complete 01:02:49 ab5ef0e58194: Pull complete 01:02:49 9712f1f96733: Pull complete 01:02:51 63f879dbbcfc: Pull complete 01:03:02 0d9ebad4ef96: Pull complete 01:03:03 e9a5061849ea: Pull complete 01:03:03 d747dcd14b5f: Pull complete 01:03:07 2de7ff778b66: Pull complete 01:03:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:03:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:03:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 01:03:07 prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container 01:03:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:03:11 $ docker top cbd7dce393d2d480829720aaf50a63dda288c9cdd458f910d469362811d81846 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:03:11 provisioning config files... 01:03:11 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config5886656531808530225tmp 01:03:11 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2825366435034200047tmp 01:03:11 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config1074455582810100254tmp [Pipeline] { [Pipeline] echo 01:03:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:03:11 ---> sigul-configuration.sh 01:03:12 gpg: directory `/root/.gnupg' created 01:03:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:03:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:03:12 gpg: keyring `/root/.gnupg/secring.gpg' created 01:03:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:03:12 gpg: CAST5 encrypted data 01:03:12 gpg: encrypted with 1 passphrase 01:03:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:03:12 + mkdir /home/jenkins 01:03:12 + mkdir /home/jenkins/sigul [Pipeline] sh 01:03:13 + 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 01:03:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:03:13 ---> sigul-install.sh 01:03:22 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 01:03:22 + git tag --list 01:03:22 1.0.0 01:03:22 v0.0.0 01:03:22 v1.1.0 01:03:22 v1.1.1 01:03:22 v1.2.0 01:03:22 v1.2.1 01:03:22 v1.2.2 01:03:22 v1.2.2-dev.1 01:03:22 v1.2.2-dev.2 01:03:22 v1.2.3-dev.1 01:03:22 v1.2.3-dev.2 01:03:22 v1.2.3-dev.3 01:03:22 v1.2.3-dev.4 [Pipeline] sh 01:03:23 + lftools sign git-tag v1.2.3-dev.4 01:03:25 Signing Git tag with Sigul... 01:03:25 Signing v1.2.3-dev.4 [Pipeline] echo 01:03:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:03:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:03:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:03:26 $ docker stop --time=1 cbd7dce393d2d480829720aaf50a63dda288c9cdd458f910d469362811d81846 01:03:28 $ docker rm -f cbd7dce393d2d480829720aaf50a63dda288c9cdd458f910d469362811d81846 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 01:03:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:03:29 . [Pipeline] withDockerContainer 01:03:29 prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container 01:03:30 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:03:31 $ docker top 602bf23e5de808daad5423ba7a292912a3686d5287cec57496531e312fb8c4ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:03:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:03:31 [ssh-agent] Looking for ssh-agent implementation... 01:03:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:03:32 $ docker exec 602bf23e5de808daad5423ba7a292912a3686d5287cec57496531e312fb8c4ff ssh-agent 01:03:32 SSH_AUTH_SOCK=/tmp/ssh-r139xkwSUeX7/agent.11 01:03:32 SSH_AGENT_PID=16 01:03:32 Running ssh-add (command line suppressed) 01:03:32 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_252304612978162183.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_252304612978162183.key) 01:03:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:03:33 + git semver bump pre 01:03:33 # -> Open(): unable to determine branch for HEAD 01:03:33 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 01:03:33 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 01:03:33 # $SEMVER_REMOTE_NAME = origin 01:03:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:03:33 # $SEMVER_USER_NAME = edgex-jenkins 01:03:33 # $SEMVER_BRANCH = master 01:03:33 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 01:03:33 1.2.3-dev.5 [Pipeline] } 01:03:33 $ docker exec --env ******** --env ******** 602bf23e5de808daad5423ba7a292912a3686d5287cec57496531e312fb8c4ff ssh-agent -k 01:03:33 unset SSH_AUTH_SOCK; 01:03:33 unset SSH_AGENT_PID; 01:03:33 echo Agent pid 16 killed; 01:03:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:03:34 + git semver [Pipeline] } 01:03:34 $ docker stop --time=1 602bf23e5de808daad5423ba7a292912a3686d5287cec57496531e312fb8c4ff 01:03:36 $ docker rm -f 602bf23e5de808daad5423ba7a292912a3686d5287cec57496531e312fb8c4ff [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 01:03:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:03:36 . [Pipeline] withDockerContainer 01:03:36 prd-centos7-docker-4c-2g-1873 does not seem to be running inside a container 01:03:37 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:03:38 $ docker top 3e40fbdcc2b8bc85b35b5b8780dac588aad709c5e2d666d8faa2e50852af6ce9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:03:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:03:38 [ssh-agent] Looking for ssh-agent implementation... 01:03:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:03:38 $ docker exec 3e40fbdcc2b8bc85b35b5b8780dac588aad709c5e2d666d8faa2e50852af6ce9 ssh-agent 01:03:38 SSH_AUTH_SOCK=/tmp/ssh-rZzWYul60F0p/agent.12 01:03:38 SSH_AGENT_PID=17 01:03:38 Running ssh-add (command line suppressed) 01:03:39 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4964278678261852839.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4964278678261852839.key) 01:03:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:03:39 + git semver push 01:03:39 # -> Open(): unable to determine branch for HEAD 01:03:39 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 01:03:39 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 01:03:39 # $SEMVER_REMOTE_NAME = origin 01:03:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:03:39 # $SEMVER_USER_NAME = edgex-jenkins 01:03:39 # $SEMVER_BRANCH = master 01:03:39 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 01:03:46 $ docker exec --env ******** --env ******** 3e40fbdcc2b8bc85b35b5b8780dac588aad709c5e2d666d8faa2e50852af6ce9 ssh-agent -k 01:03:46 unset SSH_AUTH_SOCK; 01:03:46 unset SSH_AGENT_PID; 01:03:46 echo Agent pid 17 killed; 01:03:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:03:47 + git semver [Pipeline] } 01:03:47 $ docker stop --time=1 3e40fbdcc2b8bc85b35b5b8780dac588aad709c5e2d666d8faa2e50852af6ce9 01:03:48 $ docker rm -f 3e40fbdcc2b8bc85b35b5b8780dac588aad709c5e2d666d8faa2e50852af6ce9 [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 01:03:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:03:51 ---> package-listing.sh 01:03:51 ++ facter osfamily 01:03:51 ++ tr '[:upper:]' '[:lower:]' 01:03:51 + OS_FAMILY=redhat 01:03:51 + workspace=/w/workspace/gexfoundry_device-snmp-go_master 01:03:51 + START_PACKAGES=/tmp/packages_start.txt 01:03:51 + END_PACKAGES=/tmp/packages_end.txt 01:03:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:03:51 + PACKAGES=/tmp/packages_start.txt 01:03:51 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 01:03:51 + PACKAGES=/tmp/packages_end.txt 01:03:51 + case "${OS_FAMILY}" in 01:03:51 + rpm -qa 01:03:51 + sort 01:03:56 + '[' -f /tmp/packages_start.txt ']' 01:03:56 + '[' -f /tmp/packages_end.txt ']' 01:03:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:03:56 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 01:03:56 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ 01:03:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:03:57 provisioning config files... 01:03:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7335287587184665880tmp [Pipeline] { [Pipeline] echo 01:03:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:03:57 ---> create-netrc.sh [Pipeline] } 01:03:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:03:57 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:03:58 ---> python-tools-install.sh 01:03:58 Generating Requirements File 01:05:34 Python 3.6.8 01:05:34 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 01:05:34 aiohttp==3.6.2 01:05:34 appdirs==1.4.3 01:05:34 argcomplete==1.12.1 01:05:34 aspy.yaml==1.3.0 01:05:34 async-timeout==3.0.1 01:05:34 attrs==19.3.0 01:05:34 Babel==2.8.0 01:05:34 beautifulsoup4==4.8.2 01:05:34 boto3==1.11.6 01:05:34 botocore==1.14.6 01:05:34 bs4==0.0.1 01:05:34 cachetools==4.1.1 01:05:34 certifi==2019.11.28 01:05:34 cffi==1.14.3 01:05:34 cfgv==2.0.1 01:05:34 chardet==3.0.4 01:05:34 click==7.1 01:05:34 cliff==3.4.0 01:05:34 cmd2==1.3.10 01:05:34 colorama==0.4.3 01:05:34 cryptography==3.1.1 01:05:34 debtcollector==2.2.0 01:05:34 decorator==4.4.2 01:05:34 defusedxml==0.6.0 01:05:34 Deprecated==1.2.7 01:05:34 distlib==0.3.1 01:05:34 distro==1.2.0 01:05:34 dnspython==1.16.0 01:05:34 docker==4.2.0 01:05:34 docutils==0.15.2 01:05:34 dogpile.cache==1.0.2 01:05:34 email-validator==1.0.5 01:05:34 filelock==3.0.12 01:05:34 future==0.18.2 01:05:34 google-auth==1.22.0 01:05:34 httplib2==0.17.0 01:05:34 identify==1.4.11 01:05:34 idna==2.9 01:05:34 idna-ssl==1.1.0 01:05:34 importlib-metadata==1.7.0 01:05:34 importlib-resources==1.5.0 01:05:34 iso8601==0.1.13 01:05:34 Jinja2==2.11.1 01:05:34 jmespath==0.10.0 01:05:34 jsonpatch==1.26 01:05:34 jsonpointer==2.0 01:05:34 jsonschema==3.2.0 01:05:34 keystoneauth1==4.2.1 01:05:34 kubernetes==11.0.0 01:05:34 lftools==0.34.2 01:05:34 lxml==4.5.0 01:05:34 MarkupSafe==0.23 01:05:34 msgpack==1.0.0 01:05:34 multi-key-dict==2.0.3 01:05:34 multidict==4.7.6 01:05:34 munch==2.5.0 01:05:34 netaddr==0.8.0 01:05:34 netifaces==0.10.9 01:05:34 niet==1.4.2 01:05:34 nodeenv==1.3.5 01:05:34 oauth2client==4.1.3 01:05:34 oauthlib==3.1.0 01:05:34 openstacksdk==0.50.0 01:05:34 os-client-config==2.1.0 01:05:34 os-service-types==1.7.0 01:05:34 osc-lib==2.2.1 01:05:34 oslo.config==8.3.2 01:05:34 oslo.context==3.1.1 01:05:34 oslo.i18n==5.0.1 01:05:34 oslo.log==4.4.0 01:05:34 oslo.serialization==4.0.1 01:05:34 oslo.utils==4.6.0 01:05:34 packaging==20.4 01:05:34 pbr==5.4.4 01:05:34 pluggy==0.13.1 01:05:34 prettytable==0.7.2 01:05:34 py==1.9.0 01:05:34 pyasn1==0.4.8 01:05:34 pyasn1-modules==0.2.8 01:05:34 pycparser==2.20 01:05:34 pygerrit2==2.0.10 01:05:34 PyGithub==1.46 01:05:34 pyinotify==0.9.6 01:05:34 PyJWT==1.7.1 01:05:34 pyparsing==2.4.7 01:05:34 pyperclip==1.8.0 01:05:34 pyroute2==0.4.13 01:05:34 pyrsistent==0.15.7 01:05:34 PySocks==1.6.8 01:05:34 python-cinderclient==7.2.0 01:05:34 python-dateutil==2.8.1 01:05:34 python-heatclient==2.2.1 01:05:34 python-jenkins==1.7.0 01:05:34 python-keystoneclient==4.1.1 01:05:34 python-magnumclient==3.2.1 01:05:34 python-novaclient==17.2.1 01:05:34 python-openstackclient==5.3.1 01:05:34 python-swiftclient==3.10.1 01:05:34 pytz==2020.1 01:05:34 PyYAML==5.3 01:05:34 requests==2.23.0 01:05:34 requests-oauthlib==1.3.0 01:05:34 requestsexceptions==1.4.0 01:05:34 rfc3986==1.4.0 01:05:34 rpm==4.11.3 01:05:34 rsa==4.0 01:05:34 ruamel.yaml==0.16.10 01:05:34 ruamel.yaml.clib==0.2.0 01:05:34 s3transfer==0.3.3 01:05:34 shade==1.27.2 01:05:34 simplejson==3.17.2 01:05:34 six==1.14.0 01:05:34 soupsieve==2.0 01:05:34 stevedore==3.2.2 01:05:34 tabulate==0.8.6 01:05:34 toml==0.10.0 01:05:34 tox==3.20.0 01:05:34 tqdm==4.43.0 01:05:34 typing-extensions==3.7.4.3 01:05:34 urllib3==1.25.8 01:05:34 virtualenv==20.0.31 01:05:34 wcwidth==0.2.5 01:05:34 websocket-client==0.57.0 01:05:34 wrapt==1.12.1 01:05:34 xdg==3.0.2 01:05:34 xmltodict==0.12.0 01:05:34 yarl==1.6.0 01:05:34 yq==2.11.1 01:05:34 zipp==3.2.0 01:05:34 Cache entry deserialization failed, entry ignored 01:05:38 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 01:05:43 Python 2.7.5 01:05:44 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 01:05:44 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 01:05:44 ansible==2.9.7 01:05:44 Babel==0.9.6 01:05:44 backports.ssl-match-hostname==3.5.0.1 01:05:44 beautifulsoup4==4.4.1 01:05:44 bodhi==2.11.0 01:05:44 bodhi-client==2.11.0 01:05:44 CCColUtils==1.4 01:05:44 cffi==1.6.0 01:05:44 chardet==2.2.1 01:05:44 click==6.7 01:05:44 cloud-init==18.5 01:05:44 configobj==4.7.2 01:05:44 cryptography==1.7.2 01:05:44 decorator==3.4.0 01:05:44 distro==1.2.0 01:05:44 enum34==1.0.4 01:05:44 fedpkg==1.38 01:05:44 futures==3.1.1 01:05:44 gitdb==0.6.4 01:05:44 GitPython==1.0.1 01:05:44 html5lib==0.999 01:05:44 httplib2==0.9.2 01:05:44 idna==2.4 01:05:44 iniparse==0.4 01:05:44 ipaddress==1.0.16 01:05:44 IPy==0.75 01:05:44 javapackages==1.0.0 01:05:44 Jinja2==2.7.2 01:05:44 jmespath==0.9.4 01:05:44 jsonpatch==1.2 01:05:44 jsonpointer==1.9 01:05:44 kerberos==1.1 01:05:44 kitchen==1.1.1 01:05:44 langtable==0.0.31 01:05:44 lockfile==0.9.1 01:05:44 lxml==3.2.1 01:05:44 MarkupSafe==0.11 01:05:44 munch==2.0.2 01:05:44 offtrac==0.1.0 01:05:44 openidc-client==0.6.0 01:05:44 packagedb-cli==2.14.1 01:05:44 paramiko==2.1.1 01:05:44 perf==0.1 01:05:44 ply==3.4 01:05:44 policycoreutils-default-encoding==0.1 01:05:44 prettytable==0.7.2 01:05:44 pyasn1==0.1.9 01:05:44 pycparser==2.14 01:05:44 pycurl==7.19.0 01:05:44 pygobject==3.22.0 01:05:44 pygpgme==0.3 01:05:44 pyliblzma==0.5.3 01:05:44 pyOpenSSL==0.13.1 01:05:44 pyparsing==1.5.6 01:05:44 pyserial==2.6 01:05:44 python-augeas==0.5.0 01:05:44 python-bugzilla==2.3.0 01:05:44 python-dateutil==1.5 01:05:44 python-fedora==0.10.0 01:05:44 python-linux-procfs==0.4.9 01:05:44 python-yubico==1.2.3 01:05:44 pyudev==0.15 01:05:44 pyusb==1.0.0b1 01:05:44 pyxattr==0.5.1 01:05:44 PyYAML==3.10 01:05:44 requests==2.6.0 01:05:44 requests-kerberos==0.7.0 01:05:44 rpkg==1.60 01:05:44 schedutils==0.4 01:05:44 seobject==0.1 01:05:44 sepolicy==1.1 01:05:44 six==1.9.0 01:05:44 smmap==0.9.0 01:05:44 urlgrabber==3.10 01:05:44 urllib3==1.10.2 01:05:44 virtualenv==15.1.0 01:05:44 yum-langpacks==0.4.2 01:05:44 yum-metadata-parser==1.1.4 [Pipeline] echo 01:05:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:05:45 ---> sudo-logs.sh 01:05:45 Archiving 'sudo' log.. [Pipeline] echo 01:05:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:05:45 ---> job-cost.sh 01:05:45 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-C5F2 01:05:57 Cache entry deserialization failed, entry ignored 01:05:57 Cache entry deserialization failed, entry ignored 01:05:57 Cache entry deserialization failed, entry ignored 01:05:58 Cache entry deserialization failed, entry ignored 01:05:58 Cache entry deserialization failed, entry ignored 01:05:58 Cache entry deserialization failed, entry ignored 01:05:58 Cache entry deserialization failed, entry ignored 01:05:58 Cache entry deserialization failed, entry ignored 01:05:58 Cache entry deserialization failed, entry ignored 01:05:58 Cache entry deserialization failed, entry ignored 01:05:58 Cache entry deserialization failed, entry ignored 01:05:59 Cache entry deserialization failed, entry ignored 01:05:59 Cache entry deserialization failed, entry ignored 01:06:04 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:06:43 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 01:06:43 01:06:43 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 01:06:43 01:06:43 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 01:06:43 lf-activate-venv(): INFO: Adding /tmp/venv-C5F2/bin to PATH 01:06:43 INFO: No Stack... 01:06:43 INFO: Retrieving Pricing Info for: v1-standard-2 01:06:43 INFO: Archiving Costs [Pipeline] echo 01:06:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:06:44 ---> logs-deploy.sh 01:06:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/15 01:06:44 INFO: archiving workspace using pattern(s): 01:06:46 Archives upload complete. 01:06:46 INFO: archiving logs to Nexus