Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 36f220337c15c882742676291291e5935134de27 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh661563803490429448.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3553965388762566206.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/master/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1111378213368437340.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6623724005382492627.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9156200369608644688.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-322 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_master@tmp/jenkins-gitclient-ssh1633418000308929915.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 36f220337c15c882742676291291e5935134de27 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 36f220337c15c882742676291291e5935134de27 # timeout=10 Commit message: "Merge pull request #102 from lenny-intel/service-info" > git rev-list --no-walk 9351a662b217a128018db5c2b0fd8a407906271b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:44:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:44:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:44:57 ========================================================= 01:44:57 EdgeX Global Pipelines Version Info 01:44:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:44:59 ------------------- 01:44:59 stable info: 01:44:59 ------------------- 01:44:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:44:59 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 01:44:59 Message: update stable to v1.0.192 01:44:59 ------------------- 01:44:59 experimental info: 01:44:59 ------------------- 01:44:59 Commited By: **** collab-it+edgex@linuxfoundation.org 01:44:59 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 01:44:59 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:44:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 01:44:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 01:44:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:44:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 36f220337c15c882742676291291e5935134de27 [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 36f2203 [Pipeline] echo 01:45:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:00 provisioning config files... 01:45:00 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4323414503176463090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:01 ---> docker-login.sh 01:45:01 nexus3.edgexfoundry.org:10001 01:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:01 Configure a credential helper to remove this warning. See 01:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:01 01:45:01 Login Succeeded 01:45:01 nexus3.edgexfoundry.org:10002 01:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:01 Configure a credential helper to remove this warning. See 01:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:01 01:45:01 Login Succeeded 01:45:01 nexus3.edgexfoundry.org:10003 01:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:01 Configure a credential helper to remove this warning. See 01:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:01 01:45:01 Login Succeeded 01:45:01 nexus3.edgexfoundry.org:10004 01:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:02 Configure a credential helper to remove this warning. See 01:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:02 01:45:02 Login Succeeded 01:45:02 docker.io 01:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:02 Configure a credential helper to remove this warning. See 01:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:02 01:45:02 Login Succeeded 01:45:02 ---> docker-login.sh ends [Pipeline] } 01:45:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:45:03 + git log --format=format:%s -1 36f220337c15c882742676291291e5935134de27 [Pipeline] echo 01:45:03 GIT_COMMIT: 36f220337c15c882742676291291e5935134de27, Commit Message: Merge pull request #102 from lenny-intel/service-info [Pipeline] echo 01:45:03 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:45:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:45:04 01:45:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:45:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:45:04 latest: Pulling from edgex-devops/git-semver 01:45:04 31603596830f: Pulling fs layer 01:45:04 54011a49482f: Pulling fs layer 01:45:04 a6820b24f6d8: Pulling fs layer 01:45:04 f581987b2513: Pulling fs layer 01:45:04 f581987b2513: Waiting 01:45:04 54011a49482f: Verifying Checksum 01:45:04 54011a49482f: Download complete 01:45:04 31603596830f: Verifying Checksum 01:45:04 31603596830f: Download complete 01:45:04 f581987b2513: Verifying Checksum 01:45:04 f581987b2513: Download complete 01:45:04 a6820b24f6d8: Verifying Checksum 01:45:04 a6820b24f6d8: Download complete 01:45:04 31603596830f: Pull complete 01:45:05 54011a49482f: Pull complete 01:45:05 a6820b24f6d8: Pull complete 01:45:06 f581987b2513: Pull complete 01:45:06 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 01:45:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:45:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:45:06 prd-centos7-docker-4c-2g-322 does not seem to be running inside a container 01:45:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:45:07 $ docker top 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:07 [ssh-agent] Looking for ssh-agent implementation... 01:45:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:07 $ docker exec 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 ssh-agent 01:45:07 SSH_AUTH_SOCK=/tmp/ssh-vGdUEW5mKaxH/agent.14 01:45:07 SSH_AGENT_PID=20 01:45:07 Running ssh-add (command line suppressed) 01:45:07 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6516290580435552391.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6516290580435552391.key) 01:45:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:08 + git tag --points-at HEAD [Pipeline] } 01:45:08 $ docker exec --env ******** --env ******** 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 ssh-agent -k 01:45:08 unset SSH_AUTH_SOCK; 01:45:08 unset SSH_AGENT_PID; 01:45:08 echo Agent pid 20 killed; 01:45:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:45:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:08 [ssh-agent] Looking for ssh-agent implementation... 01:45:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:08 $ docker exec 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 ssh-agent 01:45:08 SSH_AUTH_SOCK=/tmp/ssh-e1Y4gmHgsvbX/agent.53 01:45:08 SSH_AGENT_PID=60 01:45:08 Running ssh-add (command line suppressed) 01:45:08 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_9095802130510726997.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_9095802130510726997.key) 01:45:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:08 + git semver init 01:45:08 # -> Open(): unable to determine branch for HEAD 01:45:08 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 01:45:08 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 01:45:08 # $SEMVER_REMOTE_NAME = origin 01:45:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:45:08 # $SEMVER_USER_NAME = edgex-jenkins 01:45:08 # $SEMVER_BRANCH = master 01:45:08 # $SEMVER_TEMP = /tmp/semver-427995106 01:45:08 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 01:45:09 # '/tmp/semver-427995106' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' 01:45:09 # -> Force: false 01:45:09 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 01:45:09 $ docker exec --env ******** --env ******** 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 ssh-agent -k 01:45:09 unset SSH_AUTH_SOCK; 01:45:09 unset SSH_AGENT_PID; 01:45:09 echo Agent pid 60 killed; 01:45:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:45:09 + git semver [Pipeline] } 01:45:09 $ docker stop --time=1 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 01:45:10 $ docker rm -f 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 [Pipeline] // withDockerContainer [Pipeline] sh 01:45:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:45:11 Stashed 1 file(s) [Pipeline] echo 01:45:11 [edgeXSemver]: initialized semver on version 1.3.2-dev.7 [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 01:45:26 Still waiting to schedule task 01:45:26 ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ 01:45:26 ‘prd-centos7-builder-2c-1g-321’ doesn’t have label ‘centos7-docker-4c-2g’ 01:45:26 ‘prd-centos7-docker-4c-2g-309’ is offline 01:45:26 ‘prd-centos7-docker-4c-2g-316’ is offline 01:45:26 ‘prd-centos7-docker-4c-2g-319’ is offline 01:45:26 ‘prd-centos7-docker-4c-2g-323’ is offline 01:45:26 ‘prd-centos7-docker-4c-2g-324’ is offline 01:45:26 ‘prd-ubuntu18.04-docker-arm64-4c-16g-320’ doesn’t have label ‘centos7-docker-4c-2g’ 01:45:26 Still waiting to schedule task 01:45:26 ‘prd-ubuntu18.04-docker-arm64-4c-16g-320’ is offline 01:46:42 Running on prd-centos7-docker-4c-2g-327 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 01:46:42 Running in /w/workspace/device-snmp-go/31 [Pipeline] { [Pipeline] checkout 01:46:42 Selected Git installation does not exist. Using Default 01:46:42 The recommended git tool is: NONE 01:46:45 using credential edgex-jenkins-ssh 01:46:45 Cloning the remote Git repository 01:46:45 Avoid second fetch 01:46:45 Checking out Revision 36f220337c15c882742676291291e5935134de27 (master) 01:46:44 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 01:46:44 > git init /w/workspace/device-snmp-go/31 # timeout=10 01:46:44 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:46:44 > git --version # timeout=10 01:46:44 > git --version # 'git version 2.24.4' 01:46:44 using GIT_SSH to set credentials SSH Credentials for GitHub 01:46:44 [INFO] Currently running in a labeled security context 01:46:44 [INFO] Currently SELinux is 'enforcing' on the host 01:46:44 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/31@tmp/jenkins-gitclient-ssh2774624332486969357.key 01:46:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:46:45 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:46:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:46:45 > git config core.sparsecheckout # timeout=10 01:46:45 > git checkout -f 36f220337c15c882742676291291e5935134de27 # timeout=10 01:46:49 Commit message: "Merge pull request #102 from lenny-intel/service-info" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:46:50 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 01:46:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:46:50 + sudo service docker restart 01:46:50 + true 01:46:50 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:09 provisioning config files... 01:47:09 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/31@tmp/config2169903295709282823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:09 ---> docker-login.sh 01:47:09 nexus3.edgexfoundry.org:10001 01:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:10 Configure a credential helper to remove this warning. See 01:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:10 01:47:10 Login Succeeded 01:47:10 nexus3.edgexfoundry.org:10002 01:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:10 Configure a credential helper to remove this warning. See 01:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:10 01:47:10 Login Succeeded 01:47:10 nexus3.edgexfoundry.org:10003 01:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:10 Configure a credential helper to remove this warning. See 01:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:10 01:47:10 Login Succeeded 01:47:10 nexus3.edgexfoundry.org:10004 01:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:10 Configure a credential helper to remove this warning. See 01:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:10 01:47:10 Login Succeeded 01:47:10 docker.io 01:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:10 Configure a credential helper to remove this warning. See 01:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:10 01:47:10 Login Succeeded 01:47:10 ---> docker-login.sh ends [Pipeline] } 01:47:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:47:11 ========================================================= 01:47:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 01:47:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:47:11 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 01:47:11 Sending build context to Docker daemon 353.3kB 01:47:11 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 01:47:11 Step 2/10 : FROM ${BASE} 01:47:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 01:47:11 540db60ca938: Pulling fs layer 01:47:11 adcc1eea9eea: Pulling fs layer 01:47:11 4c4ab2625f07: Pulling fs layer 01:47:11 0510c868ecb4: Pulling fs layer 01:47:11 afea3b2eda06: Pulling fs layer 01:47:11 7809a108b3ef: Pulling fs layer 01:47:11 f706445af74f: Pulling fs layer 01:47:11 afea3b2eda06: Waiting 01:47:11 7809a108b3ef: Waiting 01:47:11 f706445af74f: Waiting 01:47:11 0510c868ecb4: Waiting 01:47:11 4c4ab2625f07: Verifying Checksum 01:47:11 4c4ab2625f07: Download complete 01:47:11 adcc1eea9eea: Verifying Checksum 01:47:11 adcc1eea9eea: Download complete 01:47:11 afea3b2eda06: Verifying Checksum 01:47:11 afea3b2eda06: Download complete 01:47:11 7809a108b3ef: Verifying Checksum 01:47:11 7809a108b3ef: Download complete 01:47:11 540db60ca938: Verifying Checksum 01:47:11 540db60ca938: Download complete 01:47:11 540db60ca938: Pull complete 01:47:12 adcc1eea9eea: Pull complete 01:47:12 4c4ab2625f07: Pull complete 01:47:13 f706445af74f: Verifying Checksum 01:47:13 f706445af74f: Download complete 01:47:14 0510c868ecb4: Verifying Checksum 01:47:14 0510c868ecb4: Download complete 01:47:18 0510c868ecb4: Pull complete 01:47:18 afea3b2eda06: Pull complete 01:47:18 7809a108b3ef: Pull complete 01:47:19 f706445af74f: Pull complete 01:47:20 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 01:47:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:47:20 ---> b068be0155e3 01:47:20 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 01:47:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-325 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 01:47:27 Running in /w/workspace/device-snmp-go/31 [Pipeline] { [Pipeline] checkout 01:47:27 Selected Git installation does not exist. Using Default 01:47:27 The recommended git tool is: NONE 01:47:32 using credential edgex-jenkins-ssh 01:47:32 Cloning the remote Git repository 01:47:32 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 01:47:32 > git init /w/workspace/device-snmp-go/31 # timeout=10 01:47:32 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:47:32 > git --version # timeout=10 01:47:32 > git --version # 'git version 2.17.1' 01:47:32 using GIT_SSH to set credentials SSH Credentials for GitHub 01:47:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:47:33 Avoid second fetch 01:47:33 Checking out Revision 36f220337c15c882742676291291e5935134de27 (master) 01:47:33 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:47:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:47:33 > git config core.sparsecheckout # timeout=10 01:47:33 > git checkout -f 36f220337c15c882742676291291e5935134de27 # timeout=10 01:47:38 ---> Running in a61c92adadc9 01:47:38 Removing intermediate container a61c92adadc9 01:47:38 ---> 3e37d5465d24 01:47:38 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:47:38 ---> Running in f3e458b9858b 01:47:38 Removing intermediate container f3e458b9858b 01:47:38 ---> da16bd7fbc42 01:47:38 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 01:47:38 ---> Running in 70652f9e3615 01:47:38 Removing intermediate container 70652f9e3615 01:47:38 ---> 9786fff1116b 01:47:38 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:47:38 ---> Running in 6633494e0279 01:47:38 Commit message: "Merge pull request #102 from lenny-intel/service-info" 01:47:38 Removing intermediate container 6633494e0279 01:47:38 ---> b89d3e04b2ee 01:47:38 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:47:38 ---> Running in 176b2875a8b4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:47:39 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:47:39 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 01:47:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:47:39 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:47:40 (1/13) Installing libc-dev (0.7.2-r3) 01:47:40 (2/13) Installing libsodium (1.0.18-r0) 01:47:40 + sudo service docker restart 01:47:40 + true 01:47:40 (3/13) Installing pkgconf (1.7.3-r0) 01:47:40 (4/13) Installing libsodium-dev (1.0.18-r0) 01:47:40 (5/13) Installing openssh-keygen (8.4_p1-r3) 01:47:40 (6/13) Installing libedit (20191231.3.1-r1) 01:47:40 (7/13) Installing openssh-client (8.4_p1-r3) 01:47:41 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 01:47:41 (9/13) Installing openssh-server-common (8.4_p1-r3) 01:47:41 (10/13) Installing openssh-server (8.4_p1-r3) 01:47:41 (11/13) Installing openssh (8.4_p1-r3) 01:47:41 (12/13) Installing libzmq (4.3.3-r1) 01:47:41 (13/13) Installing zeromq-dev (4.3.3-r1) 01:47:41 Executing busybox-1.32.1-r6.trigger 01:47:41 OK: 156 MiB in 53 packages 01:47:42 Removing intermediate container 176b2875a8b4 01:47:42 ---> 58bd11ec03e0 01:47:42 Step 8/10 : WORKDIR /device-snmp-go 01:47:43 ---> Running in c49f67910abb 01:47:43 Removing intermediate container c49f67910abb 01:47:43 ---> 09f592cbe8d5 01:47:43 Step 9/10 : COPY . . 01:47:43 ---> f56a2fc1a020 01:47:43 Step 10/10 : RUN go mod download 01:47:43 ---> Running in f0fb814d35ce [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:58 provisioning config files... 01:47:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/31@tmp/config5375153086425986860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:59 ---> docker-login.sh 01:47:59 nexus3.edgexfoundry.org:10001 01:47:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:00 Configure a credential helper to remove this warning. See 01:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:00 01:48:00 Login Succeeded 01:48:00 nexus3.edgexfoundry.org:10002 01:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:00 Configure a credential helper to remove this warning. See 01:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:00 01:48:00 Login Succeeded 01:48:00 nexus3.edgexfoundry.org:10003 01:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:01 Configure a credential helper to remove this warning. See 01:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:01 01:48:01 Login Succeeded 01:48:01 nexus3.edgexfoundry.org:10004 01:48:01 Removing intermediate container f0fb814d35ce 01:48:01 ---> 1b9172513119 01:48:01 Successfully built 1b9172513119 01:48:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:02 Configure a credential helper to remove this warning. See 01:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:02 01:48:02 Login Succeeded 01:48:02 docker.io 01:48:02 + docker inspect -f . ci-base-image-x86_64 01:48:02 . [Pipeline] withDockerContainer 01:48:02 prd-centos7-docker-4c-2g-327 does not seem to be running inside a container 01:48:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:02 $ docker top 8623877fc629458fb3dc78a57757c6342413bbbf31cc5acccc2f9292b85613fa -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:03 Configure a credential helper to remove this warning. See 01:48:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:03 01:48:03 Login Succeeded 01:48:03 ---> docker-login.sh ends [Pipeline] } 01:48:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 01:48:03 + go version 01:48:03 go version go1.16.3 linux/amd64 [Pipeline] } 01:48:03 $ docker stop --time=1 8623877fc629458fb3dc78a57757c6342413bbbf31cc5acccc2f9292b85613fa 01:48:04 $ docker rm -f 8623877fc629458fb3dc78a57757c6342413bbbf31cc5acccc2f9292b85613fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo 01:48:04 ========================================================= 01:48:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 01:48:04 ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:48:04 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 01:48:04 + docker inspect -f . ci-base-image-x86_64 01:48:04 . [Pipeline] withDockerContainer 01:48:04 prd-centos7-docker-4c-2g-327 does not seem to be running inside a container 01:48:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:48:05 Sending build context to Docker daemon 352.3kB 01:48:05 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 01:48:05 Step 2/10 : FROM ${BASE} 01:48:05 $ docker top 1d84550596b6559be215c3c29a8fa44c36e655d4d10dc048bc9915c8375b1f32 -eo pid,comm 01:48:05 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:48:05 595b0fe564bb: Pulling fs layer 01:48:05 7186ed65a4f7: Pulling fs layer 01:48:05 316046926c0a: Pulling fs layer 01:48:05 4ebd0625c992: Pulling fs layer 01:48:05 207e8628e3a3: Pulling fs layer 01:48:05 c791037a9be2: Pulling fs layer 01:48:05 ffd874e62e21: Pulling fs layer 01:48:05 4ebd0625c992: Waiting 01:48:05 c791037a9be2: Waiting 01:48:05 ffd874e62e21: Waiting 01:48:05 207e8628e3a3: Waiting 01:48:05 316046926c0a: Verifying Checksum 01:48:05 316046926c0a: Download complete 01:48:05 7186ed65a4f7: Verifying Checksum 01:48:05 7186ed65a4f7: Download complete 01:48:05 207e8628e3a3: Download complete [Pipeline] { [Pipeline] sh 01:48:05 c791037a9be2: Verifying Checksum 01:48:05 c791037a9be2: Download complete 01:48:05 595b0fe564bb: Verifying Checksum 01:48:05 595b0fe564bb: Download complete 01:48:05 + go mod tidy [Pipeline] sh 01:48:06 595b0fe564bb: Pull complete 01:48:06 + make test 01:48:06 go mod tidy 01:48:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:48:06 ? github.com/edgexfoundry/device-snmp-go [no test files] 01:48:06 7186ed65a4f7: Pull complete 01:48:07 316046926c0a: Pull complete 01:48:07 ffd874e62e21: Verifying Checksum 01:48:07 ffd874e62e21: Download complete 01:48:09 4ebd0625c992: Download complete 01:48:19 4ebd0625c992: Pull complete 01:48:19 207e8628e3a3: Pull complete 01:48:20 c791037a9be2: Pull complete 01:48:23 ffd874e62e21: Pull complete 01:48:23 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 01:48:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 01:48:23 ---> cfc18b08335c 01:48:23 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 01:48:25 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 01:48:25 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 01:48:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:48:25 ---> Running in e67fb942eb90 01:48:25 Removing intermediate container e67fb942eb90 01:48:25 ---> 546fe327442f 01:48:25 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:48:26 ---> Running in 97be4cfc955e 01:48:26 Removing intermediate container 97be4cfc955e 01:48:26 ---> e075432f8839 01:48:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 01:48:26 ---> Running in be34217e5c61 01:48:27 Removing intermediate container be34217e5c61 01:48:27 ---> 5b6a6c4e7a53 01:48:27 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:48:27 ---> Running in a5a59c1b3529 01:48:29 gofmt -l . 01:48:29 [ "`gofmt -l .`" = "" ] 01:48:29 ./bin/test-attribution-txt.sh [Pipeline] } 01:48:29 $ docker stop --time=1 1d84550596b6559be215c3c29a8fa44c36e655d4d10dc048bc9915c8375b1f32 01:48:29 Removing intermediate container a5a59c1b3529 01:48:29 ---> 4acdf0944dcb 01:48:29 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:48:29 ---> Running in 07cf493986ac 01:48:30 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:48:30 $ docker rm -f 1d84550596b6559be215c3c29a8fa44c36e655d4d10dc048bc9915c8375b1f32 [Pipeline] // withDockerContainer [Pipeline] sh 01:48:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:48:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 01:48:31 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:48:32 (1/13) Installing libc-dev (0.7.2-r3) 01:48:32 (2/13) Installing libsodium (1.0.18-r0) 01:48:33 (3/13) Installing pkgconf (1.7.3-r0) 01:48:33 (4/13) Installing libsodium-dev (1.0.18-r0) 01:48:33 (5/13) Installing openssh-keygen (8.4_p1-r3) 01:48:33 (6/13) Installing libedit (20191231.3.1-r1) 01:48:33 (7/13) Installing openssh-client (8.4_p1-r3) [Pipeline] sh 01:48:33 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 01:48:33 (9/13) Installing openssh-server-common (8.4_p1-r3) 01:48:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:48:34 (10/13) Installing openssh-server (8.4_p1-r3) 01:48:34 (11/13) Installing openssh (8.4_p1-r3) 01:48:34 + ls -al . 01:48:34 total 104 01:48:34 drwxrwxr-x. 7 jenkins jenkins 4096 May 26 01:48 . 01:48:34 drwxrwxr-x. 4 jenkins jenkins 30 May 26 01:46 .. 01:48:34 -rw-rw-r--. 1 jenkins jenkins 6520 May 26 01:46 Attribution.txt 01:48:34 drwxrwxr-x. 2 jenkins jenkins 60 May 26 01:46 bin 01:48:34 drwxrwxr-x. 3 jenkins jenkins 32 May 26 01:46 cmd 01:48:34 -rw-r--r--. 1 jenkins jenkins 7631 May 26 01:48 coverage.out 01:48:34 -rw-rw-r--. 1 jenkins jenkins 1459 May 26 01:46 Dockerfile 01:48:34 -rw-rw-r--. 1 jenkins jenkins 1057 May 26 01:46 Dockerfile.build 01:48:34 -rw-rw-r--. 1 jenkins jenkins 6 May 26 01:46 .dockerignore 01:48:34 drwxrwxr-x. 8 jenkins jenkins 162 May 26 01:46 .git 01:48:34 drwxrwxr-x. 2 jenkins jenkins 103 May 26 01:46 .github 01:48:34 -rw-rw-r--. 1 jenkins jenkins 269 May 26 01:46 .gitignore 01:48:34 -rw-rw-r--. 1 jenkins jenkins 222 May 26 01:46 go.mod 01:48:34 -rw-r--r--. 1 jenkins jenkins 21438 May 26 01:48 go.sum 01:48:34 drwxrwxr-x. 3 jenkins jenkins 20 May 26 01:46 internal 01:48:34 -rw-rw-r--. 1 jenkins jenkins 656 May 26 01:46 Jenkinsfile 01:48:34 -rw-rw-r--. 1 jenkins jenkins 11340 May 26 01:46 LICENSE 01:48:34 -rw-rw-r--. 1 jenkins jenkins 936 May 26 01:46 Makefile 01:48:34 -rw-rw-r--. 1 jenkins jenkins 9079 May 26 01:46 README.md 01:48:34 -rw-rw-r--. 1 jenkins jenkins 11 May 26 01:45 VERSION 01:48:34 -rw-rw-r--. 1 jenkins jenkins 209 May 26 01:46 version.go [Pipeline] isUnix [Pipeline] sh 01:48:34 (12/13) Installing libzmq (4.3.3-r1) 01:48:34 (13/13) Installing zeromq-dev (4.3.3-r1) 01:48:34 Executing busybox-1.32.1-r6.trigger 01:48:34 OK: 145 MiB in 53 packages 01:48:34 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=36f220337c15c882742676291291e5935134de27 --label arch=amd64 --label version=1.3.2-dev.7 . 01:48:34 Sending build context to Docker daemon 361.5kB 01:48:34 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 01:48:34 Step 2/24 : FROM ${BASE} AS builder 01:48:34 ---> 1b9172513119 01:48:34 Step 3/24 : ARG MAKE='make build' 01:48:34 ---> Running in c195cf1ee513 01:48:34 Removing intermediate container c195cf1ee513 01:48:34 ---> dc72f0b82052 01:48:34 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:48:34 ---> Running in 0cf21e85a650 01:48:34 Removing intermediate container 0cf21e85a650 01:48:34 ---> fae2d27fbe06 01:48:34 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:48:34 ---> Running in 6ffd1d806eaf 01:48:34 Removing intermediate container 6ffd1d806eaf 01:48:34 ---> 3d382aeac4cd 01:48:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:48:34 ---> Running in 57e3a5bff626 01:48:35 Removing intermediate container 57e3a5bff626 01:48:35 ---> c5f8ddb4c7cb 01:48:35 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:48:35 ---> Running in ab60c8e0c509 01:48:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:48:35 Removing intermediate container 07cf493986ac 01:48:35 ---> 77304d3583a7 01:48:35 Step 8/10 : WORKDIR /device-snmp-go 01:48:35 ---> Running in 6ad77e9dbfd9 01:48:36 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:48:36 Removing intermediate container 6ad77e9dbfd9 01:48:36 ---> 49dbc5d49b73 01:48:36 Step 9/10 : COPY . . 01:48:36 OK: 156 MiB in 53 packages 01:48:37 Removing intermediate container ab60c8e0c509 01:48:37 ---> 1b76e037c485 01:48:37 Step 8/24 : WORKDIR /device-snmp-go 01:48:37 ---> Running in 0a3687122a7f 01:48:37 Removing intermediate container 0a3687122a7f 01:48:37 ---> 3429735cbda1 01:48:37 Step 9/24 : COPY . . 01:48:37 ---> fe85a5712e62 01:48:37 Step 10/24 : RUN go mod tidy 01:48:37 ---> Running in a1f9e8457d65 01:48:37 ---> 9855693838a4 01:48:37 Step 10/10 : RUN go mod download 01:48:37 ---> Running in bf02d49e4822 01:48:37 Removing intermediate container a1f9e8457d65 01:48:37 ---> e9ce128b7d3d 01:48:37 Step 11/24 : RUN make update 01:48:37 ---> Running in 4405165d1d88 01:48:38 CGO_ENABLED=0 GO111MODULE=on go mod download 01:48:38 Removing intermediate container 4405165d1d88 01:48:38 ---> 28e04fb77761 01:48:38 Step 12/24 : RUN ${MAKE} 01:48:38 ---> Running in 1b3275979ba3 01:48:39 go mod tidy 01:48:39 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.7" -o cmd/device-snmp ./cmd 01:48:51 Removing intermediate container 1b3275979ba3 01:48:51 ---> 6f2d5d8f3600 01:48:51 Step 13/24 : FROM alpine:3.12 01:48:51 3.12: Pulling from library/alpine 01:48:51 339de151aab4: Pulling fs layer 01:48:51 339de151aab4: Verifying Checksum 01:48:51 339de151aab4: Download complete 01:48:51 339de151aab4: Pull complete 01:48:51 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 01:48:51 Status: Downloaded newer image for alpine:3.12 01:48:51 ---> 13621d1b12d4 01:48:51 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 01:48:51 ---> Running in 27469e877ab5 01:48:51 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:48:51 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:48:51 (1/6) Installing dumb-init (1.2.2-r1) 01:48:51 (2/6) Installing libgcc (9.3.0-r2) 01:48:51 (3/6) Installing libsodium (1.0.18-r0) 01:48:51 (4/6) Installing libstdc++ (9.3.0-r2) 01:48:51 (5/6) Installing libzmq (4.3.3-r0) 01:48:51 (6/6) Installing zeromq (4.3.3-r0) 01:48:51 Executing busybox-1.31.1-r20.trigger 01:48:51 OK: 8 MiB in 20 packages 01:48:52 Removing intermediate container 27469e877ab5 01:48:52 ---> 666827aab468 01:48:52 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 01:48:52 ---> a6015098c59f 01:48:52 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 01:48:52 ---> 3e81f8312ce4 01:48:52 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 01:48:53 ---> 454d90e4d88d 01:48:53 Step 18/24 : EXPOSE 59993 01:48:53 ---> Running in a8f302d71c38 01:48:53 Removing intermediate container a8f302d71c38 01:48:53 ---> 85acd7732055 01:48:53 Step 19/24 : EXPOSE 161 01:48:53 ---> Running in f021cfd7ddc5 01:48:53 Removing intermediate container f021cfd7ddc5 01:48:53 ---> a3481b450616 01:48:53 Step 20/24 : ENTRYPOINT ["/device-snmp"] 01:48:53 ---> Running in 9980a83a4ec0 01:48:53 Removing intermediate container 9980a83a4ec0 01:48:53 ---> 41c5ba800ee9 01:48:53 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:48:53 ---> Running in 7d9594a2de79 01:48:53 Removing intermediate container 7d9594a2de79 01:48:53 ---> 4849be177675 01:48:53 Step 22/24 : LABEL arch=amd64 01:48:53 ---> Running in 6b0f96c75528 01:48:53 Removing intermediate container 6b0f96c75528 01:48:53 ---> a1fb99d8bd0b 01:48:53 Step 23/24 : LABEL git_sha=36f220337c15c882742676291291e5935134de27 01:48:53 ---> Running in d9071d1295e4 01:48:53 Removing intermediate container d9071d1295e4 01:48:53 ---> 1430f7ded8cb 01:48:53 Step 24/24 : LABEL version=1.3.2-dev.7 01:48:53 ---> Running in ddb50c136f7c 01:48:54 Removing intermediate container ddb50c136f7c 01:48:54 ---> 28d017315f61 01:48:54 [Warning] One or more build-args [ARCH] were not consumed 01:48:54 Successfully built 28d017315f61 01:48:54 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:54 provisioning config files... 01:48:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/31@tmp/config614205763042805109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:54 ---> docker-login.sh 01:48:54 nexus3.edgexfoundry.org:10001 01:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:54 Configure a credential helper to remove this warning. See 01:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:54 01:48:54 Login Succeeded 01:48:54 nexus3.edgexfoundry.org:10002 01:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:54 Configure a credential helper to remove this warning. See 01:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:54 01:48:54 Login Succeeded 01:48:54 nexus3.edgexfoundry.org:10003 01:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:54 Configure a credential helper to remove this warning. See 01:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:54 01:48:54 Login Succeeded 01:48:54 nexus3.edgexfoundry.org:10004 01:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:54 Configure a credential helper to remove this warning. See 01:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:54 01:48:54 Login Succeeded 01:48:54 docker.io 01:48:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:55 Configure a credential helper to remove this warning. See 01:48:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:55 01:48:55 Login Succeeded 01:48:55 ---> docker-login.sh ends [Pipeline] } 01:48:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:48:55 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 01:48:55 36f220337c15c882742676291291e5935134de27 01:48:55 latest 01:48:55 1.3.2-dev.7 01:48:55 36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 01:48:55 master 01:48:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:48:55 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:36f220337c15c882742676291291e5935134de27 [Pipeline] isUnix [Pipeline] sh 01:48:56 + docker push nexus3.edgexfoundry.org:10004/device-snmp:36f220337c15c882742676291291e5935134de27 01:48:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 01:48:56 701dade29681: Preparing 01:48:56 03dbfa4997d1: Preparing 01:48:56 773f42566d1f: Preparing 01:48:56 ffcf8f6b8241: Preparing 01:48:56 32f366d666a5: Preparing 01:48:56 32f366d666a5: Layer already exists 01:48:56 701dade29681: Pushed 01:48:56 03dbfa4997d1: Pushed 01:48:56 ffcf8f6b8241: Pushed 01:48:57 773f42566d1f: Pushed 01:48:57 36f220337c15c882742676291291e5935134de27: digest: sha256:c25c2bd3baaf00afc20312b5972ad52fd688b21ed4e128dfe80aee8ca06bb1c0 size: 1365 [Pipeline] isUnix [Pipeline] sh 01:48:58 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 01:48:58 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 01:48:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 01:48:58 701dade29681: Preparing 01:48:58 03dbfa4997d1: Preparing 01:48:58 773f42566d1f: Preparing 01:48:58 ffcf8f6b8241: Preparing 01:48:58 32f366d666a5: Preparing 01:48:58 32f366d666a5: Layer already exists 01:48:58 03dbfa4997d1: Layer already exists 01:48:58 701dade29681: Layer already exists 01:48:58 773f42566d1f: Layer already exists 01:48:58 ffcf8f6b8241: Layer already exists 01:48:58 latest: digest: sha256:c25c2bd3baaf00afc20312b5972ad52fd688b21ed4e128dfe80aee8ca06bb1c0 size: 1365 [Pipeline] isUnix [Pipeline] sh 01:48:58 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh 01:48:59 + docker push nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.7 01:48:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 01:48:59 701dade29681: Preparing 01:48:59 03dbfa4997d1: Preparing 01:48:59 773f42566d1f: Preparing 01:48:59 ffcf8f6b8241: Preparing 01:48:59 32f366d666a5: Preparing 01:48:59 32f366d666a5: Layer already exists 01:48:59 03dbfa4997d1: Layer already exists 01:48:59 701dade29681: Layer already exists 01:48:59 ffcf8f6b8241: Layer already exists 01:48:59 773f42566d1f: Layer already exists 01:48:59 1.3.2-dev.7: digest: sha256:c25c2bd3baaf00afc20312b5972ad52fd688b21ed4e128dfe80aee8ca06bb1c0 size: 1365 [Pipeline] isUnix [Pipeline] sh 01:48:59 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh 01:48:59 + docker push nexus3.edgexfoundry.org:10004/device-snmp:36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 01:48:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 01:48:59 701dade29681: Preparing 01:48:59 03dbfa4997d1: Preparing 01:48:59 773f42566d1f: Preparing 01:48:59 ffcf8f6b8241: Preparing 01:48:59 32f366d666a5: Preparing 01:48:59 03dbfa4997d1: Layer already exists 01:48:59 ffcf8f6b8241: Layer already exists 01:48:59 701dade29681: Layer already exists 01:48:59 773f42566d1f: Layer already exists 01:48:59 32f366d666a5: Layer already exists 01:48:59 36f220337c15c882742676291291e5935134de27-1.3.2-dev.7: digest: sha256:c25c2bd3baaf00afc20312b5972ad52fd688b21ed4e128dfe80aee8ca06bb1c0 size: 1365 [Pipeline] isUnix [Pipeline] sh 01:49:00 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:master [Pipeline] isUnix [Pipeline] sh 01:49:00 + docker push nexus3.edgexfoundry.org:10004/device-snmp:master 01:49:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 01:49:00 701dade29681: Preparing 01:49:00 03dbfa4997d1: Preparing 01:49:00 773f42566d1f: Preparing 01:49:00 ffcf8f6b8241: Preparing 01:49:00 32f366d666a5: Preparing 01:49:00 701dade29681: Layer already exists 01:49:00 32f366d666a5: Layer already exists 01:49:00 773f42566d1f: Layer already exists 01:49:00 03dbfa4997d1: Layer already exists 01:49:00 ffcf8f6b8241: Layer already exists 01:49:00 master: digest: sha256:c25c2bd3baaf00afc20312b5972ad52fd688b21ed4e128dfe80aee8ca06bb1c0 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:49:00 ===================================================== [Pipeline] echo 01:49:00 taggedImages: 01:49:00 - nexus3.edgexfoundry.org:10004/device-snmp:36f220337c15c882742676291291e5935134de27 01:49:00 - nexus3.edgexfoundry.org:10004/device-snmp:latest 01:49:00 - nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.7 01:49:00 - nexus3.edgexfoundry.org:10004/device-snmp:36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 01:49:00 - nexus3.edgexfoundry.org:10004/device-snmp:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 01:49:01 ---> job-cost.sh 01:49:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TuZK 01:49:04 Removing intermediate container bf02d49e4822 01:49:04 ---> 99d9eb73bf07 01:49:04 Successfully built 99d9eb73bf07 01:49:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:49:05 + docker inspect -f . ci-base-image-arm64 01:49:05 . [Pipeline] withDockerContainer 01:49:05 prd-ubuntu18.04-docker-arm64-4c-16g-325 does not seem to be running inside a container 01:49:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:49:06 $ docker top 8e72682e2cbcdffe23424afbc4ef5c8bf30fd73f565a8e955999d889627627f0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:49:07 + go version 01:49:07 go version go1.16.3 linux/arm64 [Pipeline] } 01:49:07 $ docker stop --time=1 8e72682e2cbcdffe23424afbc4ef5c8bf30fd73f565a8e955999d889627627f0 01:49:09 $ docker rm -f 8e72682e2cbcdffe23424afbc4ef5c8bf30fd73f565a8e955999d889627627f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:49:10 + docker inspect -f . ci-base-image-arm64 01:49:10 . [Pipeline] withDockerContainer 01:49:10 prd-ubuntu18.04-docker-arm64-4c-16g-325 does not seem to be running inside a container 01:49:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:49:12 $ docker top c103c60deb30cc1555bb43e5f109a61a2e027e39715cb4f2ea0ae4e9b833da15 -eo pid,comm [Pipeline] { [Pipeline] sh 01:49:13 + go mod tidy 01:49:13 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] sh 01:49:15 + make test 01:49:15 go mod tidy 01:49:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:49:17 ? github.com/edgexfoundry/device-snmp-go [no test files] 01:49:31 lf-activate-venv(): INFO: Adding /tmp/venv-TuZK/bin to PATH 01:49:31 INFO: No Stack... 01:49:31 INFO: Retrieving Pricing Info for: v3-standard-2 01:49:31 INFO: Archiving Costs [Pipeline] sh 01:49:31 + cat /w/workspace/device-snmp-go/31/archives/cost.csv 01:49:31 + cut -d, -f6 [Pipeline] lock 01:49:31 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] 01:49:32 Resource [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] did not exist. Created. 01:49:32 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:49:32 + echo total: 0.05999999865889549 [Pipeline] stash 01:49:32 Stashed 1 file(s) [Pipeline] } 01:49:32 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:50:14 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 01:50:14 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements 01:50:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:50:32 gofmt -l . 01:50:32 [ "`gofmt -l .`" = "" ] 01:50:32 ./bin/test-attribution-txt.sh [Pipeline] } 01:50:33 $ docker stop --time=1 c103c60deb30cc1555bb43e5f109a61a2e027e39715cb4f2ea0ae4e9b833da15 01:50:35 $ docker rm -f c103c60deb30cc1555bb43e5f109a61a2e027e39715cb4f2ea0ae4e9b833da15 [Pipeline] // withDockerContainer [Pipeline] sh 01:50:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:50:36 Warning: overwriting stash ‘coverage-report’ 01:50:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:50:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:50:37 + ls -al . 01:50:37 total 128 01:50:37 drwxrwxr-x 7 jenkins jenkins 4096 May 26 01:50 . 01:50:37 drwxrwxr-x 4 jenkins jenkins 4096 May 26 01:47 .. 01:50:37 -rw-rw-r-- 1 jenkins jenkins 6 May 26 01:47 .dockerignore 01:50:37 drwxrwxr-x 8 jenkins jenkins 4096 May 26 01:47 .git 01:50:37 drwxrwxr-x 2 jenkins jenkins 4096 May 26 01:47 .github 01:50:37 -rw-rw-r-- 1 jenkins jenkins 269 May 26 01:47 .gitignore 01:50:37 -rw-rw-r-- 1 jenkins jenkins 6520 May 26 01:47 Attribution.txt 01:50:37 -rw-rw-r-- 1 jenkins jenkins 1459 May 26 01:47 Dockerfile 01:50:37 -rw-rw-r-- 1 jenkins jenkins 1057 May 26 01:47 Dockerfile.build 01:50:37 -rw-rw-r-- 1 jenkins jenkins 656 May 26 01:47 Jenkinsfile 01:50:37 -rw-rw-r-- 1 jenkins jenkins 11340 May 26 01:47 LICENSE 01:50:37 -rw-rw-r-- 1 jenkins jenkins 936 May 26 01:47 Makefile 01:50:37 -rw-rw-r-- 1 jenkins jenkins 9079 May 26 01:47 README.md 01:50:37 -rw-rw-r-- 1 jenkins jenkins 11 May 26 01:45 VERSION 01:50:37 drwxrwxr-x 2 jenkins jenkins 4096 May 26 01:47 bin 01:50:37 drwxrwxr-x 3 jenkins jenkins 4096 May 26 01:47 cmd 01:50:37 -rw-r--r-- 1 jenkins jenkins 7631 May 26 01:50 coverage.out 01:50:37 -rw-rw-r-- 1 jenkins jenkins 222 May 26 01:47 go.mod 01:50:37 -rw-r--r-- 1 jenkins jenkins 21438 May 26 01:49 go.sum 01:50:37 drwxrwxr-x 3 jenkins jenkins 4096 May 26 01:47 internal 01:50:37 -rw-rw-r-- 1 jenkins jenkins 209 May 26 01:47 version.go [Pipeline] isUnix [Pipeline] sh 01:50:38 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=36f220337c15c882742676291291e5935134de27 --label arch=arm64 --label version=1.3.2-dev.7 . 01:50:38 Sending build context to Docker daemon 360.4kB 01:50:38 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 01:50:38 Step 2/24 : FROM ${BASE} AS builder 01:50:38 ---> 99d9eb73bf07 01:50:38 Step 3/24 : ARG MAKE='make build' 01:50:38 ---> Running in 218963c18272 01:50:39 Removing intermediate container 218963c18272 01:50:39 ---> 621dbc6c4c12 01:50:39 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:50:39 ---> Running in 3d3712dbd98b 01:50:39 Removing intermediate container 3d3712dbd98b 01:50:39 ---> 9a6a1381eb2c 01:50:39 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:50:39 ---> Running in d30ff315cda0 01:50:40 Removing intermediate container d30ff315cda0 01:50:40 ---> 65b3e062a630 01:50:40 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:50:40 ---> Running in 2ccb70bf3e31 01:50:43 Removing intermediate container 2ccb70bf3e31 01:50:43 ---> 988c4b6180ae 01:50:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:50:43 ---> Running in ec86c5e429ea 01:50:44 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:50:45 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:50:46 OK: 145 MiB in 53 packages 01:50:47 Removing intermediate container ec86c5e429ea 01:50:47 ---> 509f7fb40f2e 01:50:47 Step 8/24 : WORKDIR /device-snmp-go 01:50:47 ---> Running in 246125dd8bdd 01:50:48 Removing intermediate container 246125dd8bdd 01:50:48 ---> af107bd9f9e1 01:50:48 Step 9/24 : COPY . . 01:50:49 ---> 109ba3ca780b 01:50:49 Step 10/24 : RUN go mod tidy 01:50:49 ---> Running in dcb15890b2df 01:50:52 Removing intermediate container dcb15890b2df 01:50:52 ---> f4a168f1d19a 01:50:52 Step 11/24 : RUN make update 01:50:52 ---> Running in aff5bff7e547 01:50:54 CGO_ENABLED=0 GO111MODULE=on go mod download 01:50:55 Removing intermediate container aff5bff7e547 01:50:55 ---> e6f47a4387aa 01:50:55 Step 12/24 : RUN ${MAKE} 01:50:55 ---> Running in c47b2b213d46 01:50:56 go mod tidy 01:50:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.7" -o cmd/device-snmp ./cmd 01:51:44 Removing intermediate container c47b2b213d46 01:51:44 ---> 5d552d837031 01:51:44 Step 13/24 : FROM alpine:3.12 01:51:44 3.12: Pulling from library/alpine 01:51:44 d2f70382dc9a: Pulling fs layer 01:51:44 d2f70382dc9a: Verifying Checksum 01:51:44 d2f70382dc9a: Download complete 01:51:44 d2f70382dc9a: Pull complete 01:51:44 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 01:51:44 Status: Downloaded newer image for alpine:3.12 01:51:44 ---> 9852663dfa18 01:51:44 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 01:51:44 ---> Running in 75cbcb1e298a 01:51:44 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:51:44 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:51:44 (1/6) Installing dumb-init (1.2.2-r1) 01:51:44 (2/6) Installing libgcc (9.3.0-r2) 01:51:44 (3/6) Installing libsodium (1.0.18-r0) 01:51:44 (4/6) Installing libstdc++ (9.3.0-r2) 01:51:44 (5/6) Installing libzmq (4.3.3-r0) 01:51:44 (6/6) Installing zeromq (4.3.3-r0) 01:51:44 Executing busybox-1.31.1-r20.trigger 01:51:44 OK: 8 MiB in 20 packages 01:51:44 Removing intermediate container 75cbcb1e298a 01:51:44 ---> 640f09007c9a 01:51:44 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 01:51:45 ---> e33856672174 01:51:45 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 01:51:46 ---> 8b5be807dad4 01:51:46 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 01:51:46 ---> b8d84336f07e 01:51:46 Step 18/24 : EXPOSE 59993 01:51:47 ---> Running in 7dc067ddab90 01:51:47 Removing intermediate container 7dc067ddab90 01:51:47 ---> 68e22f575ce3 01:51:47 Step 19/24 : EXPOSE 161 01:51:47 ---> Running in 0a8fb3193a43 01:51:48 Removing intermediate container 0a8fb3193a43 01:51:48 ---> 8f0f11bb8af0 01:51:48 Step 20/24 : ENTRYPOINT ["/device-snmp"] 01:51:48 ---> Running in 95dd85cafe23 01:51:49 Removing intermediate container 95dd85cafe23 01:51:49 ---> 3aee1ba1f876 01:51:49 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:51:49 ---> Running in 420411949c45 01:51:49 Removing intermediate container 420411949c45 01:51:49 ---> da64a38e10b1 01:51:49 Step 22/24 : LABEL arch=arm64 01:51:49 ---> Running in cd9060ec5ea0 01:51:50 Removing intermediate container cd9060ec5ea0 01:51:50 ---> 74fc795887ed 01:51:50 Step 23/24 : LABEL git_sha=36f220337c15c882742676291291e5935134de27 01:51:50 ---> Running in 6b177191bc32 01:51:50 Removing intermediate container 6b177191bc32 01:51:50 ---> f56b9365f53d 01:51:50 Step 24/24 : LABEL version=1.3.2-dev.7 01:51:50 ---> Running in 724697bf2987 01:51:51 Removing intermediate container 724697bf2987 01:51:51 ---> 595eee21b958 01:51:51 [Warning] One or more build-args [ARCH] were not consumed 01:51:51 Successfully built 595eee21b958 01:51:51 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:51:51 provisioning config files... 01:51:51 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/31@tmp/config8174586619651415205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:51:52 ---> docker-login.sh 01:51:52 nexus3.edgexfoundry.org:10001 01:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:52 Configure a credential helper to remove this warning. See 01:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:52 01:51:52 Login Succeeded 01:51:52 nexus3.edgexfoundry.org:10002 01:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:53 Configure a credential helper to remove this warning. See 01:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:53 01:51:53 Login Succeeded 01:51:53 nexus3.edgexfoundry.org:10003 01:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:53 Configure a credential helper to remove this warning. See 01:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:53 01:51:53 Login Succeeded 01:51:53 nexus3.edgexfoundry.org:10004 01:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:54 Configure a credential helper to remove this warning. See 01:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:54 01:51:54 Login Succeeded 01:51:54 docker.io 01:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:55 Configure a credential helper to remove this warning. See 01:51:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:55 01:51:55 Login Succeeded 01:51:55 ---> docker-login.sh ends [Pipeline] } 01:51:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:51:55 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 01:51:55 36f220337c15c882742676291291e5935134de27 01:51:55 latest 01:51:55 1.3.2-dev.7 01:51:55 36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 01:51:55 master 01:51:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:51:55 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:36f220337c15c882742676291291e5935134de27 [Pipeline] isUnix [Pipeline] sh 01:51:56 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:36f220337c15c882742676291291e5935134de27 01:51:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 01:51:56 298f583f5cee: Preparing 01:51:56 bf04fa68afc6: Preparing 01:51:56 836e026d8174: Preparing 01:51:56 710b8085b650: Preparing 01:51:56 3fbe34a1663b: Preparing 01:51:56 3fbe34a1663b: Layer already exists 01:51:56 298f583f5cee: Pushed 01:51:56 bf04fa68afc6: Pushed 01:51:56 710b8085b650: Pushed 01:51:59 836e026d8174: Pushed 01:51:59 36f220337c15c882742676291291e5935134de27: digest: sha256:33930b32ce851db28b0ac4781d58871329ebfc76e67dbed64ca22bffd9751b41 size: 1365 [Pipeline] isUnix [Pipeline] sh 01:52:00 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:52:00 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 01:52:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 01:52:00 298f583f5cee: Preparing 01:52:00 bf04fa68afc6: Preparing 01:52:00 836e026d8174: Preparing 01:52:00 710b8085b650: Preparing 01:52:00 3fbe34a1663b: Preparing 01:52:00 bf04fa68afc6: Layer already exists 01:52:00 3fbe34a1663b: Layer already exists 01:52:00 298f583f5cee: Layer already exists 01:52:00 710b8085b650: Layer already exists 01:52:00 836e026d8174: Layer already exists 01:52:00 latest: digest: sha256:33930b32ce851db28b0ac4781d58871329ebfc76e67dbed64ca22bffd9751b41 size: 1365 [Pipeline] isUnix [Pipeline] sh 01:52:01 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh 01:52:01 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.7 01:52:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 01:52:01 298f583f5cee: Preparing 01:52:01 bf04fa68afc6: Preparing 01:52:01 836e026d8174: Preparing 01:52:01 710b8085b650: Preparing 01:52:01 3fbe34a1663b: Preparing 01:52:01 bf04fa68afc6: Layer already exists 01:52:01 298f583f5cee: Layer already exists 01:52:01 710b8085b650: Layer already exists 01:52:01 836e026d8174: Layer already exists 01:52:01 3fbe34a1663b: Layer already exists 01:52:01 1.3.2-dev.7: digest: sha256:33930b32ce851db28b0ac4781d58871329ebfc76e67dbed64ca22bffd9751b41 size: 1365 [Pipeline] isUnix [Pipeline] sh 01:52:02 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh 01:52:02 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 01:52:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 01:52:02 298f583f5cee: Preparing 01:52:02 bf04fa68afc6: Preparing 01:52:02 836e026d8174: Preparing 01:52:02 710b8085b650: Preparing 01:52:02 3fbe34a1663b: Preparing 01:52:02 bf04fa68afc6: Layer already exists 01:52:02 3fbe34a1663b: Layer already exists 01:52:02 836e026d8174: Layer already exists 01:52:02 298f583f5cee: Layer already exists 01:52:02 710b8085b650: Layer already exists 01:52:02 36f220337c15c882742676291291e5935134de27-1.3.2-dev.7: digest: sha256:33930b32ce851db28b0ac4781d58871329ebfc76e67dbed64ca22bffd9751b41 size: 1365 [Pipeline] isUnix [Pipeline] sh 01:52:02 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [Pipeline] isUnix [Pipeline] sh 01:52:03 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:master 01:52:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 01:52:03 298f583f5cee: Preparing 01:52:03 bf04fa68afc6: Preparing 01:52:03 836e026d8174: Preparing 01:52:03 710b8085b650: Preparing 01:52:03 3fbe34a1663b: Preparing 01:52:03 710b8085b650: Layer already exists 01:52:03 bf04fa68afc6: Layer already exists 01:52:03 836e026d8174: Layer already exists 01:52:03 298f583f5cee: Layer already exists 01:52:03 3fbe34a1663b: Layer already exists 01:52:03 master: digest: sha256:33930b32ce851db28b0ac4781d58871329ebfc76e67dbed64ca22bffd9751b41 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:52:03 ===================================================== [Pipeline] echo 01:52:03 taggedImages: 01:52:03 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:36f220337c15c882742676291291e5935134de27 01:52:03 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 01:52:03 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.7 01:52:03 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 01:52:03 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 01:52:04 ---> job-cost.sh 01:52:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-p7b0 01:53:00 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:55:07 lf-activate-venv(): INFO: Adding /tmp/venv-p7b0/bin to PATH 01:55:07 INFO: No Stack... 01:55:07 INFO: Retrieving Pricing Info for: v2-standard-4 01:55:07 INFO: Archiving Costs [Pipeline] sh 01:55:07 + cat /w/workspace/device-snmp-go/31/archives/cost.csv 01:55:07 + cut -d, -f6 [Pipeline] lock 01:55:07 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] 01:55:07 Resource [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] did not exist. Created. 01:55:07 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:55:08 /w/workspace/device-snmp-go/31@tmp/durable-66567cb5/script.sh: 1: /w/workspace/device-snmp-go/31@tmp/durable-66567cb5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:55:08 + echo total: 0.18000000715255737 [Pipeline] stash 01:55:08 Warning: overwriting stash ‘stack-cost’ 01:55:08 Stashed 1 file(s) [Pipeline] } 01:55:08 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:55:09 provisioning config files... 01:55:09 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3799583264140278094tmp [Pipeline] { [Pipeline] sh 01:55:09 + set +x 01:55:09 + curl -s https://codecov.io/bash 01:55:09 + bash -s -- 01:55:09 01:55:09 _____ _ 01:55:09 / ____| | | 01:55:09 | | ___ __| | ___ ___ _____ __ 01:55:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:55:09 | |___| (_) | (_| | __/ (_| (_) \ V / 01:55:09 \_____\___/ \__,_|\___|\___\___/ \_/ 01:55:09 Bash-1.0.3 01:55:09 01:55:09 01:55:09 ==> git version 2.24.4 found 01:55:09 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 01:55:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:55:09 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:55:09 ==> Jenkins CI detected. 01:55:09 project root: . 01:55:09 --> token set from env 01:55:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:55:10 ==> Running gcov in . (disable via -X gcov) 01:55:10 ==> Python coveragepy not found 01:55:10 ==> Searching for coverage reports in: 01:55:10 + . 01:55:10 -> Found 1 reports 01:55:10 ==> Detecting git/mercurial file structure 01:55:10 ==> Reading reports 01:55:10 + ./coverage.out bytes=7631 01:55:10 ==> Appending adjustments 01:55:10 https://docs.codecov.io/docs/fixing-reports 01:55:10 + Found adjustments 01:55:10 ==> Gzipping contents 01:55:10 4.0K /tmp/codecov.IhPnq4.gz 01:55:10 ==> Uploading reports 01:55:10 url: https://codecov.io 01:55:10 query: branch=master&commit=36f220337c15c882742676291291e5935134de27&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:55:10 -> Pinging Codecov 01:55:10 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=36f220337c15c882742676291291e5935134de27&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:55:10 -> Uploading to 01:55:10 https://storage.googleapis.com/codecov/v4/raw/2021-05-26/6C56EA5C29638FB4528AC87E60AF5AE0/36f220337c15c882742676291291e5935134de27/b257be71-35c1-4f9e-8a48-bcbae21ed438.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210526T015510Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6c8d952242c78a6175b141c25e9359c349210bed8bf907e2ee186b9290dafe46 01:55:10 % Total % Received % Xferd Average Speed Time Time Time Current 01:55:10 Dload Upload Total Spent Left Speed 01:55:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 2500 --:--:-- --:--:-- --:--:-- 2500 01:55:11 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/36f220337c15c882742676291291e5935134de27 [Pipeline] } 01:55:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:55:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:55:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:55:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:55:12 01:55:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 01:55:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:55:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:55:12 188c0c94c7c5: Pulling fs layer 01:55:12 0ef7d3d256c8: Pulling fs layer 01:55:12 de9db76c5a1d: Pulling fs layer 01:55:12 0eba1c9be4d2: Pulling fs layer 01:55:12 0d57e429df01: Pulling fs layer 01:55:12 4e4be7b47b0d: Pulling fs layer 01:55:12 e1f770b5df2f: Pulling fs layer 01:55:12 85a0685a4137: Pulling fs layer 01:55:12 0d57e429df01: Waiting 01:55:12 4e4be7b47b0d: Waiting 01:55:12 e1f770b5df2f: Waiting 01:55:12 85a0685a4137: Waiting 01:55:12 0eba1c9be4d2: Waiting 01:55:12 de9db76c5a1d: Download complete 01:55:12 0ef7d3d256c8: Verifying Checksum 01:55:12 0ef7d3d256c8: Download complete 01:55:12 0d57e429df01: Verifying Checksum 01:55:12 0d57e429df01: Download complete 01:55:12 188c0c94c7c5: Verifying Checksum 01:55:12 188c0c94c7c5: Download complete 01:55:12 4e4be7b47b0d: Verifying Checksum 01:55:12 4e4be7b47b0d: Download complete 01:55:12 188c0c94c7c5: Pull complete 01:55:13 0ef7d3d256c8: Pull complete 01:55:13 de9db76c5a1d: Pull complete 01:55:14 e1f770b5df2f: Verifying Checksum 01:55:14 e1f770b5df2f: Download complete 01:55:16 0eba1c9be4d2: Verifying Checksum 01:55:16 0eba1c9be4d2: Download complete 01:55:16 85a0685a4137: Verifying Checksum 01:55:16 85a0685a4137: Download complete 01:55:19 0eba1c9be4d2: Pull complete 01:55:19 0d57e429df01: Pull complete 01:55:20 4e4be7b47b0d: Pull complete 01:55:20 e1f770b5df2f: Pull complete 01:55:27 85a0685a4137: Pull complete 01:55:27 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 01:55:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:55:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 01:55:27 prd-centos7-docker-4c-2g-322 does not seem to be running inside a container 01:55:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:55:28 $ docker top 59afa47c695c008a4ea2489c58814fbcea451b72f94ac29ed9401cb533066975 -eo pid,comm [Pipeline] { [Pipeline] echo 01:55:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 01:55:28 + set -o pipefail 01:55:28 + snyk monitor '--org=edgex-jenkins' 01:55:43 01:55:43 Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... 01:55:43 01:55:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/2dcc2b02-5340-4e6a-be37-050de02c3791 01:55:43 01:55:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:55:43 01:55:43 [Pipeline] } 01:55:43 $ docker stop --time=1 59afa47c695c008a4ea2489c58814fbcea451b72f94ac29ed9401cb533066975 01:55:45 $ docker rm -f 59afa47c695c008a4ea2489c58814fbcea451b72f94ac29ed9401cb533066975 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:55:46 + git log --format=format:%s -1 36f220337c15c882742676291291e5935134de27 [Pipeline] isUnix [Pipeline] sh 01:55:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:55:46 . [Pipeline] withDockerContainer 01:55:47 prd-centos7-docker-4c-2g-322 does not seem to be running inside a container 01:55:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:55:47 $ docker top 61b73fb32eb01e9bc2b0009bc0343edb032b6d1ce77c609d4e1fb8679c4bbd7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:55:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:55:47 [ssh-agent] Looking for ssh-agent implementation... 01:55:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:55:47 $ docker exec 61b73fb32eb01e9bc2b0009bc0343edb032b6d1ce77c609d4e1fb8679c4bbd7f ssh-agent 01:55:47 SSH_AUTH_SOCK=/tmp/ssh-USPfcQbXxgYJ/agent.13 01:55:47 SSH_AGENT_PID=19 01:55:47 Running ssh-add (command line suppressed) 01:55:48 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8121966400680423348.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8121966400680423348.key) 01:55:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:55:48 + git semver tag 01:55:48 # -> Open(): unable to determine branch for HEAD 01:55:48 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 01:55:48 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 01:55:48 # $SEMVER_REMOTE_NAME = origin 01:55:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:55:48 # $SEMVER_USER_NAME = edgex-jenkins 01:55:48 # $SEMVER_BRANCH = master 01:55:48 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 01:55:48 # 36f220337c15c882742676291291e5935134de27 HEAD 01:55:48 # -> Force: false 01:55:48 # b2abb8c107d40c87f4cc07792538b96c1f713e32 refs/tags/v1.3.2-dev.7 [Pipeline] } 01:55:48 $ docker exec --env ******** --env ******** 61b73fb32eb01e9bc2b0009bc0343edb032b6d1ce77c609d4e1fb8679c4bbd7f ssh-agent -k 01:55:48 unset SSH_AUTH_SOCK; 01:55:48 unset SSH_AGENT_PID; 01:55:48 echo Agent pid 19 killed; 01:55:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:55:48 + git semver [Pipeline] } 01:55:48 $ docker stop --time=1 61b73fb32eb01e9bc2b0009bc0343edb032b6d1ce77c609d4e1fb8679c4bbd7f 01:55:50 $ docker rm -f 61b73fb32eb01e9bc2b0009bc0343edb032b6d1ce77c609d4e1fb8679c4bbd7f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 01:55:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:55:50 01:55:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 01:55:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:55:50 0.23.1-centos7: Pulling from edgex-lftools 01:55:50 ab5ef0e58194: Pulling fs layer 01:55:50 9712f1f96733: Pulling fs layer 01:55:50 63f879dbbcfc: Pulling fs layer 01:55:50 0d9ebad4ef96: Pulling fs layer 01:55:50 e9a5061849ea: Pulling fs layer 01:55:50 d747dcd14b5f: Pulling fs layer 01:55:50 2de7ff778b66: Pulling fs layer 01:55:50 e9a5061849ea: Waiting 01:55:50 d747dcd14b5f: Waiting 01:55:50 2de7ff778b66: Waiting 01:55:50 0d9ebad4ef96: Waiting 01:55:50 9712f1f96733: Verifying Checksum 01:55:50 9712f1f96733: Download complete 01:55:52 63f879dbbcfc: Verifying Checksum 01:55:52 63f879dbbcfc: Download complete 01:55:52 e9a5061849ea: Verifying Checksum 01:55:52 e9a5061849ea: Download complete 01:55:52 d747dcd14b5f: Verifying Checksum 01:55:52 d747dcd14b5f: Download complete 01:55:52 2de7ff778b66: Verifying Checksum 01:55:52 2de7ff778b66: Download complete 01:55:52 0d9ebad4ef96: Verifying Checksum 01:55:52 0d9ebad4ef96: Download complete 01:55:52 ab5ef0e58194: Verifying Checksum 01:55:52 ab5ef0e58194: Download complete 01:55:56 ab5ef0e58194: Pull complete 01:55:56 9712f1f96733: Pull complete 01:55:56 63f879dbbcfc: Pull complete 01:56:00 0d9ebad4ef96: Pull complete 01:56:00 e9a5061849ea: Pull complete 01:56:00 d747dcd14b5f: Pull complete 01:56:01 2de7ff778b66: Pull complete 01:56:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:56:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:56:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 01:56:01 prd-centos7-docker-4c-2g-322 does not seem to be running inside a container 01:56:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:56:05 $ docker top 313b65a18ee4d5fe79ee8f3df5e65d5edc420de6c5ebdf14e44e811e1db8c99e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:56:06 provisioning config files... 01:56:06 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7442033938374612365tmp 01:56:06 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config6255010419363644137tmp 01:56:06 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4565063351831396270tmp [Pipeline] { [Pipeline] echo 01:56:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:56:06 ---> sigul-configuration.sh 01:56:06 gpg: directory `/root/.gnupg' created 01:56:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:56:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:56:06 gpg: keyring `/root/.gnupg/secring.gpg' created 01:56:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:56:06 gpg: CAST5 encrypted data 01:56:06 gpg: encrypted with 1 passphrase 01:56:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:56:06 + mkdir /home/jenkins 01:56:06 + mkdir /home/jenkins/sigul [Pipeline] sh 01:56:07 + 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:56:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:56:07 ---> sigul-install.sh 01:56:12 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 01:56:12 + git tag --list 01:56:12 1.0.0 01:56:12 v0.0.0 01:56:12 v1.1.0 01:56:12 v1.1.1 01:56:12 v1.2.2 01:56:12 v1.3.0 01:56:12 v1.3.1 01:56:12 v1.3.1-dev.1 01:56:12 v1.3.1-dev.2 01:56:12 v1.3.1-dev.3 01:56:12 v1.3.1-dev.4 01:56:12 v1.3.2-dev.1 01:56:12 v1.3.2-dev.2 01:56:12 v1.3.2-dev.3 01:56:12 v1.3.2-dev.4 01:56:12 v1.3.2-dev.5 01:56:12 v1.3.2-dev.6 01:56:12 v1.3.2-dev.7 [Pipeline] sh 01:56:13 + lftools sign git-tag v1.3.2-dev.7 01:56:13 Signing Git tag with Sigul... 01:56:13 Signing v1.3.2-dev.7 [Pipeline] echo 01:56:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:56:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:56:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:56:15 $ docker stop --time=1 313b65a18ee4d5fe79ee8f3df5e65d5edc420de6c5ebdf14e44e811e1db8c99e 01:56:17 $ docker rm -f 313b65a18ee4d5fe79ee8f3df5e65d5edc420de6c5ebdf14e44e811e1db8c99e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 01:56:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:56:17 . [Pipeline] withDockerContainer 01:56:17 prd-centos7-docker-4c-2g-322 does not seem to be running inside a container 01:56:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:56:18 $ docker top cf46cdcb62240b286447146fae3f964efcf4e85de15d19fcd89d683013aa8229 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:56:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:18 [ssh-agent] Looking for ssh-agent implementation... 01:56:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:18 $ docker exec cf46cdcb62240b286447146fae3f964efcf4e85de15d19fcd89d683013aa8229 ssh-agent 01:56:18 SSH_AUTH_SOCK=/tmp/ssh-kcoslZ1LoiiO/agent.14 01:56:18 SSH_AGENT_PID=20 01:56:18 Running ssh-add (command line suppressed) 01:56:18 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1938231989312074941.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1938231989312074941.key) 01:56:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:18 + git semver bump pre 01:56:18 # -> Open(): unable to determine branch for HEAD 01:56:18 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 01:56:18 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 01:56:18 # $SEMVER_REMOTE_NAME = origin 01:56:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:56:18 # $SEMVER_USER_NAME = edgex-jenkins 01:56:18 # $SEMVER_BRANCH = master 01:56:18 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 01:56:18 1.3.2-dev.8 [Pipeline] } 01:56:18 $ docker exec --env ******** --env ******** cf46cdcb62240b286447146fae3f964efcf4e85de15d19fcd89d683013aa8229 ssh-agent -k 01:56:18 unset SSH_AUTH_SOCK; 01:56:18 unset SSH_AGENT_PID; 01:56:18 echo Agent pid 20 killed; 01:56:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:56:19 + git semver [Pipeline] } 01:56:19 $ docker stop --time=1 cf46cdcb62240b286447146fae3f964efcf4e85de15d19fcd89d683013aa8229 01:56:20 $ docker rm -f cf46cdcb62240b286447146fae3f964efcf4e85de15d19fcd89d683013aa8229 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 01:56:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:56:20 . [Pipeline] withDockerContainer 01:56:21 prd-centos7-docker-4c-2g-322 does not seem to be running inside a container 01:56:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:56:21 $ docker top 0040bf9db048a32204e890a37beb501d331ecca008bc62f00c3f276a1b8235ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:56:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:21 [ssh-agent] Looking for ssh-agent implementation... 01:56:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:21 $ docker exec 0040bf9db048a32204e890a37beb501d331ecca008bc62f00c3f276a1b8235ee ssh-agent 01:56:21 SSH_AUTH_SOCK=/tmp/ssh-fEqCGFQB5zAz/agent.14 01:56:21 SSH_AGENT_PID=20 01:56:21 Running ssh-add (command line suppressed) 01:56:22 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8262784388361335463.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8262784388361335463.key) 01:56:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:22 + git semver push 01:56:22 # -> Open(): unable to determine branch for HEAD 01:56:22 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 01:56:22 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 01:56:22 # $SEMVER_REMOTE_NAME = origin 01:56:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:56:22 # $SEMVER_USER_NAME = edgex-jenkins 01:56:22 # $SEMVER_BRANCH = master 01:56:22 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 01:56:25 $ docker exec --env ******** --env ******** 0040bf9db048a32204e890a37beb501d331ecca008bc62f00c3f276a1b8235ee ssh-agent -k 01:56:25 unset SSH_AUTH_SOCK; 01:56:25 unset SSH_AGENT_PID; 01:56:25 echo Agent pid 20 killed; 01:56:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:56:26 + git semver [Pipeline] } 01:56:26 $ docker stop --time=1 0040bf9db048a32204e890a37beb501d331ecca008bc62f00c3f276a1b8235ee 01:56:27 $ docker rm -f 0040bf9db048a32204e890a37beb501d331ecca008bc62f00c3f276a1b8235ee [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:56:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:56:28 ---> package-listing.sh 01:56:28 ++ facter osfamily 01:56:28 ++ tr '[:upper:]' '[:lower:]' 01:56:28 + OS_FAMILY=redhat 01:56:28 + workspace=/w/workspace/gexfoundry_device-snmp-go_master 01:56:28 + START_PACKAGES=/tmp/packages_start.txt 01:56:28 + END_PACKAGES=/tmp/packages_end.txt 01:56:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:56:28 + PACKAGES=/tmp/packages_start.txt 01:56:28 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 01:56:28 + PACKAGES=/tmp/packages_end.txt 01:56:28 + case "${OS_FAMILY}" in 01:56:28 + sort 01:56:28 + rpm -qa 01:56:29 + '[' -f /tmp/packages_start.txt ']' 01:56:29 + '[' -f /tmp/packages_end.txt ']' 01:56:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:56:29 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 01:56:29 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ 01:56:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] echo 01:56:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:56:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:56:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:56:30 01:56:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:56:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:56:31 alpine: Pulling from edgex-lftools-log-publisher 01:56:31 df20fa9351a1: Pulling fs layer 01:56:31 36b3adc4ff6f: Pulling fs layer 01:56:31 8ad3a11d3b57: Pulling fs layer 01:56:31 46f8f816bc3b: Pulling fs layer 01:56:31 93b61091891f: Pulling fs layer 01:56:31 93b9cdb0e59b: Pulling fs layer 01:56:31 5e14af77c1be: Pulling fs layer 01:56:31 01666e4c0597: Pulling fs layer 01:56:31 aa168da1d23b: Pulling fs layer 01:56:31 93b9cdb0e59b: Waiting 01:56:31 5e14af77c1be: Waiting 01:56:31 01666e4c0597: Waiting 01:56:31 aa168da1d23b: Waiting 01:56:31 46f8f816bc3b: Waiting 01:56:31 93b61091891f: Waiting 01:56:31 36b3adc4ff6f: Verifying Checksum 01:56:31 36b3adc4ff6f: Download complete 01:56:31 46f8f816bc3b: Verifying Checksum 01:56:31 46f8f816bc3b: Download complete 01:56:31 df20fa9351a1: Verifying Checksum 01:56:31 df20fa9351a1: Download complete 01:56:31 93b9cdb0e59b: Verifying Checksum 01:56:31 93b9cdb0e59b: Download complete 01:56:31 5e14af77c1be: Verifying Checksum 01:56:31 5e14af77c1be: Download complete 01:56:31 93b61091891f: Verifying Checksum 01:56:31 93b61091891f: Download complete 01:56:31 01666e4c0597: Verifying Checksum 01:56:31 01666e4c0597: Download complete 01:56:31 df20fa9351a1: Pull complete 01:56:31 36b3adc4ff6f: Pull complete 01:56:31 8ad3a11d3b57: Verifying Checksum 01:56:31 8ad3a11d3b57: Download complete 01:56:32 8ad3a11d3b57: Pull complete 01:56:32 46f8f816bc3b: Pull complete 01:56:32 93b61091891f: Pull complete 01:56:32 93b9cdb0e59b: Pull complete 01:56:32 5e14af77c1be: Pull complete 01:56:32 01666e4c0597: Pull complete 01:56:32 aa168da1d23b: Verifying Checksum 01:56:32 aa168da1d23b: Download complete 01:56:38 aa168da1d23b: Pull complete 01:56:38 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:56:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:56:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:56:38 prd-centos7-docker-4c-2g-322 does not seem to be running inside a container 01:56:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:56:41 $ docker top 669fa5e268c30ce8268f03278a4ecfba72eb7dcc4404c21299700e6043a099f0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:56:41 + touch /tmp/pre-build-complete [Pipeline] sh 01:56:41 + mkdir -p /var/log/sa [Pipeline] sh 01:56:42 + ls /var/log/sa-host 01:56:42 + sadf -c /var/log/sa-host/sa05 01:56:42 file_magic: OK 01:56:42 HZ: Using current value: 100 01:56:42 file_header: OK 01:56:42 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 01:56:42 Statistics: 01:56:42 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:56:42 File successfully converted to sysstat format version 12.2.1 01:56:42 + sadf -c /var/log/sa-host/sa26 01:56:42 file_magic: OK 01:56:42 HZ: Using current value: 100 01:56:42 file_header: OK 01:56:42 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 01:56:42 Statistics: 01:56:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:56:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:42 provisioning config files... 01:56:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config5527201999637964867tmp [Pipeline] { [Pipeline] echo 01:56:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:56:42 ---> create-netrc.sh [Pipeline] } 01:56:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:56:42 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:56:42 ---> python-tools-install.sh [Pipeline] echo 01:56:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:56:43 ---> sudo-logs.sh 01:56:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:56:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:56:43 ---> job-cost.sh 01:56:43 lf-activate-venv: SKIPPING 01:56:43 DEBUG: total: 0.18000000715255737 01:56:43 INFO: Retrieving Stack Cost... 01:56:44 INFO: Retrieving Pricing Info for: v3-standard-2 01:56:44 INFO: Archiving Costs [Pipeline] echo 01:56:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:56:45 ---> logs-deploy.sh 01:56:45 lf-activate-venv: SKIPPING 01:56:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/31 01:56:45 INFO: archiving workspace using pattern(s): 01:56:45 Archives upload complete. 01:56:45 INFO: archiving logs to Nexus 01:56:46 ---> uname -a: 01:56:46 Linux prd-centos7-docker-4c-2g-322.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 01:56:46 01:56:46 01:56:46 ---> lscpu: 01:56:46 Architecture: x86_64 01:56:46 CPU op-mode(s): 32-bit, 64-bit 01:56:46 Byte Order: Little Endian 01:56:46 Address sizes: 40 bits physical, 48 bits virtual 01:56:46 CPU(s): 2 01:56:46 On-line CPU(s) list: 0,1 01:56:46 Thread(s) per core: 1 01:56:46 Core(s) per socket: 1 01:56:46 Socket(s): 2 01:56:46 NUMA node(s): 1 01:56:46 Vendor ID: AuthenticAMD 01:56:46 CPU family: 23 01:56:46 Model: 49 01:56:46 Model name: AMD EPYC-Rome Processor 01:56:46 Stepping: 0 01:56:46 CPU MHz: 2800.000 01:56:46 BogoMIPS: 5600.00 01:56:46 Virtualization: AMD-V 01:56:46 Hypervisor vendor: KVM 01:56:46 Virtualization type: full 01:56:46 L1d cache: 64 KiB 01:56:46 L1i cache: 64 KiB 01:56:46 L2 cache: 1 MiB 01:56:46 L3 cache: 32 MiB 01:56:46 NUMA node0 CPU(s): 0,1 01:56:46 Vulnerability Itlb multihit: Not affected 01:56:46 Vulnerability L1tf: Not affected 01:56:46 Vulnerability Mds: Not affected 01:56:46 Vulnerability Meltdown: Not affected 01:56:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:56:46 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:56:46 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:56:46 Vulnerability Srbds: Not affected 01:56:46 Vulnerability Tsx async abort: Not affected 01:56:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 01:56:46 01:56:46 01:56:46 ---> nproc: 01:56:46 2 01:56:46 01:56:46 01:56:46 ---> df -h: 01:56:46 Filesystem Size Used Available Use% Mounted on 01:56:46 overlay 40.0G 8.9G 31.1G 22% / 01:56:46 tmpfs 64.0M 0 64.0M 0% /dev 01:56:46 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 01:56:46 shm 64.0M 0 64.0M 0% /dev/shm 01:56:46 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 01:56:46 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 01:56:46 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 01:56:46 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 01:56:46 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 01:56:46 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 01:56:46 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 01:56:46 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 01:56:46 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-snmp-go_master 01:56:46 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-snmp-go_master@tmp 01:56:46 01:56:46 01:56:46 ---> free -m: 01:56:46 total used free shared buff/cache available 01:56:46 Mem: 7821 1289 3147 0 3384 6448 01:56:46 Swap: 1023 0 1023 01:56:46 01:56:46 01:56:46 ---> ip addr: 01:56:46 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 01:56:46 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 01:56:46 inet 127.0.0.1/8 scope host lo 01:56:46 valid_lft forever preferred_lft forever 01:56:46 inet6 ::1/128 scope host 01:56:46 valid_lft forever preferred_lft forever 01:56:46 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 01:56:46 link/ether fa:16:3e:d2:4b:49 brd ff:ff:ff:ff:ff:ff 01:56:46 inet 10.30.122.168/23 brd 10.30.123.255 scope global dynamic eth0 01:56:46 valid_lft 85660sec preferred_lft 85660sec 01:56:46 inet6 fe80::f816:3eff:fed2:4b49/64 scope link 01:56:46 valid_lft forever preferred_lft forever 01:56:46 3: docker0: mtu 1500 qdisc noqueue state DOWN 01:56:46 link/ether 02:42:2e:ff:0c:94 brd ff:ff:ff:ff:ff:ff 01:56:46 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 01:56:46 valid_lft forever preferred_lft forever 01:56:46 inet6 fe80::42:2eff:feff:c94/64 scope link 01:56:46 valid_lft forever preferred_lft forever 01:56:46 01:56:46 01:56:46 ---> sar -b -r -n DEV: 01:56:46 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/26/21 _x86_64_ (2 CPU) 01:56:46 01:56:46 01:44:15 LINUX RESTART (2 CPU) 01:56:46 01:56:46 01:45:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:56:46 01:46:01 18.37 1.22 17.16 0.00 755.63 2933.64 0.00 01:56:46 01:47:01 0.77 0.00 0.77 0.00 0.00 11.44 0.00 01:56:46 01:48:01 0.15 0.00 0.15 0.00 0.00 1.60 0.00 01:56:46 01:49:01 0.27 0.00 0.27 0.00 0.00 3.51 0.00 01:56:46 01:50:01 0.27 0.00 0.27 0.00 0.00 3.43 0.00 01:56:46 01:51:01 0.48 0.00 0.48 0.00 0.00 6.26 0.00 01:56:46 01:52:01 0.22 0.00 0.22 0.00 0.00 3.86 0.00 01:56:46 01:53:01 0.25 0.00 0.25 0.00 0.00 2.58 0.00 01:56:46 01:54:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 01:56:46 01:55:01 0.62 0.00 0.62 0.00 0.00 6.48 0.00 01:56:46 01:56:01 131.01 0.03 130.97 0.00 3.73 33183.90 0.00 01:56:46 Average: 13.88 0.11 13.77 0.00 69.03 3287.89 0.00 01:56:46 01:56:46 01:45:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:56:46 01:46:01 5461792 0 808456 10.09 2620 1736072 1310248 14.47 563736 1583004 8 01:56:46 01:47:01 5468328 0 801912 10.01 2620 1736080 1230948 13.59 558768 1582672 8 01:56:46 01:48:01 5466304 0 803936 10.04 2620 1736080 1230972 13.59 564140 1579400 8 01:56:46 01:49:01 5465792 0 804444 10.04 2620 1736084 1230960 13.59 564724 1579400 8 01:56:46 01:50:01 5465808 0 804420 10.04 2620 1736092 1230996 13.59 561644 1582800 8 01:56:46 01:51:01 5465836 0 804392 10.04 2620 1736092 1225848 13.53 561696 1582800 8 01:56:46 01:52:01 5468800 0 801416 10.01 2620 1736104 1205228 13.31 559384 1582848 8 01:56:46 01:53:01 5456488 0 813724 10.16 2620 1736108 1205372 13.31 571516 1582848 8 01:56:46 01:54:01 5457140 0 813068 10.15 2620 1736112 1205228 13.31 572616 1581376 8 01:56:46 01:55:01 5453648 0 816556 10.20 2620 1736116 1205324 13.31 576060 1581376 8 01:56:46 01:56:01 3841352 0 1107020 13.82 2620 3057948 1212768 13.39 838668 2738016 601568 01:56:46 Average: 5315572 0 834486 10.42 2620 1856263 1226717 13.54 590268 1686958 54695 01:56:46 01:56:46 01:45:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:56:46 01:46:01 eth0 70.04 52.40 337.89 13.41 0.00 0.00 0.00 0.00 01:56:46 01:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:46:01 docker0 1.38 1.18 0.30 2.56 0.00 0.00 0.00 0.00 01:56:46 01:47:01 eth0 2.13 0.52 0.67 0.39 0.00 0.00 0.00 0.00 01:56:46 01:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:48:01 eth0 3.98 0.68 1.05 0.55 0.00 0.00 0.00 0.00 01:56:46 01:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:49:01 eth0 2.08 0.42 0.46 0.24 0.00 0.00 0.00 0.00 01:56:46 01:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:50:01 eth0 1.48 0.47 0.42 0.27 0.00 0.00 0.00 0.00 01:56:46 01:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:51:01 eth0 1.02 0.73 0.59 0.41 0.00 0.00 0.00 0.00 01:56:46 01:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:52:01 eth0 0.58 0.08 0.06 0.01 0.00 0.00 0.00 0.00 01:56:46 01:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:53:01 eth0 0.60 0.32 0.28 0.20 0.00 0.00 0.00 0.00 01:56:46 01:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:54:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:56:46 01:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:55:01 eth0 0.22 0.20 0.08 0.07 0.00 0.00 0.00 0.00 01:56:46 01:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:56:01 eth0 866.44 786.74 7676.42 70.33 0.00 0.00 0.00 0.00 01:56:46 01:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 01:56:01 docker0 65.71 68.48 5.29 386.21 0.00 0.00 0.00 0.00 01:56:46 Average: eth0 86.26 76.62 729.04 7.81 0.00 0.00 0.00 0.00 01:56:46 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:56:46 Average: docker0 6.10 6.33 0.51 35.35 0.00 0.00 0.00 0.00 01:56:46 01:56:46 01:56:46 ---> sar -P ALL: 01:56:46 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/26/21 _x86_64_ (2 CPU) 01:56:46 01:56:46 01:44:15 LINUX RESTART (2 CPU) 01:56:46 01:56:46 01:45:01 CPU %user %nice %system %iowait %steal %idle 01:56:46 01:46:01 all 2.94 0.00 1.71 0.42 0.04 94.88 01:56:46 01:46:01 0 3.31 0.00 1.79 0.56 0.03 94.31 01:56:46 01:46:01 1 2.57 0.00 1.63 0.29 0.05 95.46 01:56:46 01:47:01 all 0.09 0.00 0.07 0.00 0.03 99.81 01:56:46 01:47:01 0 0.07 0.00 0.10 0.00 0.03 99.80 01:56:46 01:47:01 1 0.12 0.00 0.03 0.00 0.03 99.82 01:56:46 01:48:01 all 0.13 0.00 0.04 0.00 0.03 99.79 01:56:46 01:48:01 0 0.12 0.00 0.05 0.00 0.03 99.80 01:56:46 01:48:01 1 0.15 0.00 0.03 0.00 0.03 99.78 01:56:46 01:49:01 all 0.18 0.00 0.07 0.00 0.03 99.72 01:56:46 01:49:01 0 0.30 0.00 0.05 0.00 0.02 99.63 01:56:46 01:49:01 1 0.05 0.00 0.08 0.00 0.05 99.82 01:56:46 01:50:01 all 0.20 0.00 0.04 0.00 0.03 99.72 01:56:46 01:50:01 0 0.32 0.00 0.05 0.00 0.02 99.62 01:56:46 01:50:01 1 0.08 0.00 0.03 0.00 0.05 99.83 01:56:46 01:51:01 all 0.12 0.00 0.05 0.00 0.03 99.81 01:56:46 01:51:01 0 0.10 0.00 0.07 0.00 0.02 99.82 01:56:46 01:51:01 1 0.13 0.00 0.03 0.00 0.03 99.80 01:56:46 01:52:01 all 0.16 0.00 0.05 0.00 0.03 99.76 01:56:46 01:52:01 0 0.10 0.00 0.07 0.00 0.03 99.80 01:56:46 01:52:01 1 0.22 0.00 0.03 0.00 0.03 99.72 01:56:46 01:53:01 all 0.12 0.00 0.08 0.00 0.02 99.79 01:56:46 01:53:01 0 0.10 0.00 0.12 0.00 0.02 99.77 01:56:46 01:53:01 1 0.13 0.00 0.03 0.00 0.02 99.82 01:56:46 01:54:01 all 0.13 0.00 0.05 0.00 0.03 99.80 01:56:46 01:54:01 0 0.13 0.00 0.08 0.00 0.03 99.75 01:56:46 01:54:01 1 0.12 0.00 0.02 0.00 0.02 99.85 01:56:46 01:55:01 all 0.14 0.00 0.05 0.00 0.03 99.77 01:56:46 01:55:01 0 0.25 0.00 0.05 0.00 0.02 99.68 01:56:46 01:55:01 1 0.03 0.00 0.05 0.00 0.05 99.87 01:56:46 01:56:01 all 21.41 0.00 9.83 2.61 0.09 66.06 01:56:46 01:56:01 0 22.08 0.00 9.69 2.08 0.07 66.09 01:56:46 01:56:01 1 20.76 0.00 9.97 3.14 0.11 66.03 01:56:46 01:56:46 Average: CPU %user %nice %system %iowait %steal %idle 01:56:46 Average: all 2.23 0.00 1.05 0.26 0.04 96.42 01:56:46 Average: 0 2.34 0.00 1.05 0.23 0.03 96.35 01:56:46 Average: 1 2.13 0.00 1.04 0.30 0.04 96.48 01:56:46 01:56:46 01:56:46