Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bdf6c703ff7e4dc9654b1e05af75b33f1f140285 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-ssh3846959767842664596.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh1060327192140555558.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 6a41506d72e8e131afc862d141935157bee59f41 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-ssh8866744782200400069.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh4361516545355849761.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-ssh2766101712983938881.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-491 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 Avoid second fetch Checking out Revision bdf6c703ff7e4dc9654b1e05af75b33f1f140285 (master) 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-ssh8098593284549933562.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bdf6c703ff7e4dc9654b1e05af75b33f1f140285 # timeout=10 Commit message: "Merge pull request #108 from lenny-intel/PublishTopicPrefix" > git rev-list --no-walk 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:26:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:26:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:26:49 ========================================================= 07:26:49 EdgeX Global Pipelines Version Info 07:26:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:26:51 ------------------- 07:26:51 stable info: 07:26:51 ------------------- 07:26:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:26:51 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 07:26:51 Message: update stable to v1.0.195 07:26:51 ------------------- 07:26:51 experimental info: 07:26:51 ------------------- 07:26:51 Commited By: **** collab-it+edgex@linuxfoundation.org 07:26:51 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 07:26:51 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bdf6c70 [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:26:53 provisioning config files... 07:26:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3268927528503164000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:26:53 ---> docker-login.sh 07:26:53 nexus3.edgexfoundry.org:10001 07:26:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:53 Configure a credential helper to remove this warning. See 07:26:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:53 07:26:53 Login Succeeded 07:26:53 nexus3.edgexfoundry.org:10002 07:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:54 Configure a credential helper to remove this warning. See 07:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:54 07:26:54 Login Succeeded 07:26:54 nexus3.edgexfoundry.org:10003 07:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:54 Configure a credential helper to remove this warning. See 07:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:54 07:26:54 Login Succeeded 07:26:54 nexus3.edgexfoundry.org:10004 07:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:54 Configure a credential helper to remove this warning. See 07:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:54 07:26:54 Login Succeeded 07:26:54 docker.io 07:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:54 Configure a credential helper to remove this warning. See 07:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:54 07:26:54 Login Succeeded 07:26:54 ---> docker-login.sh ends [Pipeline] } 07:26:54 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 07:26:55 + git log --format=format:%s -1 bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [Pipeline] echo 07:26:55 GIT_COMMIT: bdf6c703ff7e4dc9654b1e05af75b33f1f140285, Commit Message: Merge pull request #108 from lenny-intel/PublishTopicPrefix [Pipeline] echo 07:26:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:26:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:26:55 07:26:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:26:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:26:56 latest: Pulling from edgex-devops/git-semver 07:26:56 31603596830f: Pulling fs layer 07:26:56 54011a49482f: Pulling fs layer 07:26:56 a6820b24f6d8: Pulling fs layer 07:26:56 f581987b2513: Pulling fs layer 07:26:56 f581987b2513: Waiting 07:26:56 54011a49482f: Verifying Checksum 07:26:56 54011a49482f: Download complete 07:26:56 31603596830f: Verifying Checksum 07:26:56 31603596830f: Download complete 07:26:56 f581987b2513: Verifying Checksum 07:26:56 f581987b2513: Download complete 07:26:56 a6820b24f6d8: Verifying Checksum 07:26:56 a6820b24f6d8: Download complete 07:26:56 31603596830f: Pull complete 07:26:56 54011a49482f: Pull complete 07:26:57 a6820b24f6d8: Pull complete 07:26:57 f581987b2513: Pull complete 07:26:57 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 07:26:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:26:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:26:57 prd-centos7-docker-4c-2g-491 does not seem to be running inside a container 07:26:57 $ 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 07:26:58 $ docker top 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:58 [ssh-agent] Looking for ssh-agent implementation... 07:26:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:59 $ docker exec 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 ssh-agent 07:26:59 SSH_AUTH_SOCK=/tmp/ssh-4uQ99bZSdOA2/agent.14 07:26:59 SSH_AGENT_PID=20 07:26:59 Running ssh-add (command line suppressed) 07:26:59 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4007107309059701428.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4007107309059701428.key) 07:26:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:59 + git tag --points-at HEAD [Pipeline] } 07:26:59 $ docker exec --env ******** --env ******** 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 ssh-agent -k 07:26:59 unset SSH_AUTH_SOCK; 07:26:59 unset SSH_AGENT_PID; 07:26:59 echo Agent pid 20 killed; 07:26:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:26:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:59 [ssh-agent] Looking for ssh-agent implementation... 07:26:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:59 $ docker exec 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 ssh-agent 07:26:59 SSH_AUTH_SOCK=/tmp/ssh-heF5n4smxQHS/agent.54 07:26:59 SSH_AGENT_PID=61 07:26:59 Running ssh-add (command line suppressed) 07:27:00 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1903920653355790875.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1903920653355790875.key) 07:27:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:27:00 + git semver init 07:27:00 # -> Open(): unable to determine branch for HEAD 07:27:00 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 07:27:00 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 07:27:00 # $SEMVER_REMOTE_NAME = origin 07:27:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:27:00 # $SEMVER_USER_NAME = edgex-jenkins 07:27:00 # $SEMVER_BRANCH = master 07:27:00 # $SEMVER_TEMP = /tmp/semver-056136305 07:27:00 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 07:27:00 # '/tmp/semver-056136305' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' 07:27:00 # -> Force: false 07:27:00 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 07:27:00 $ docker exec --env ******** --env ******** 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 ssh-agent -k 07:27:00 unset SSH_AUTH_SOCK; 07:27:00 unset SSH_AGENT_PID; 07:27:00 echo Agent pid 61 killed; 07:27:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:27:01 + git semver [Pipeline] } 07:27:01 $ docker stop --time=1 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 07:27:02 $ docker rm -f 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 [Pipeline] // withDockerContainer [Pipeline] sh 07:27:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:27:03 Stashed 1 file(s) [Pipeline] echo 07:27:03 [edgeXSemver]: initialized semver on version 1.3.2-dev.9 [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 07:27:18 Still waiting to schedule task 07:27:18 ‘prd-centos7-docker-4c-2g-493’ is offline 07:27:18 ‘prd-ubuntu18.04-docker-arm64-4c-16g-490’ doesn’t have label ‘centos7-docker-4c-2g’ 07:27:18 Still waiting to schedule task 07:27:18 ‘prd-ubuntu18.04-docker-arm64-4c-16g-490’ is offline 07:28:12 Running on prd-centos7-docker-4c-2g-494 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 07:28:12 Running in /w/workspace/device-snmp-go/33 [Pipeline] { [Pipeline] checkout 07:28:12 Selected Git installation does not exist. Using Default 07:28:12 The recommended git tool is: NONE 07:28:14 using credential edgex-jenkins-ssh 07:28:14 Cloning the remote Git repository 07:28:15 Avoid second fetch 07:28:15 Checking out Revision bdf6c703ff7e4dc9654b1e05af75b33f1f140285 (master) 07:28:14 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:28:14 > git init /w/workspace/device-snmp-go/33 # timeout=10 07:28:14 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:28:14 > git --version # timeout=10 07:28:14 > git --version # 'git version 2.24.4' 07:28:14 using GIT_SSH to set credentials SSH Credentials for GitHub 07:28:14 [INFO] Currently running in a labeled security context 07:28:14 [INFO] Currently SELinux is 'enforcing' on the host 07:28:14 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/33@tmp/jenkins-gitclient-ssh3429207809061753914.key 07:28:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:28:14 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:28:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:28:14 > git config core.sparsecheckout # timeout=10 07:28:14 > git checkout -f bdf6c703ff7e4dc9654b1e05af75b33f1f140285 # timeout=10 07:28:18 Commit message: "Merge pull request #108 from lenny-intel/PublishTopicPrefix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:28:19 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:28:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:28:20 + sudo service docker restart 07:28:20 + true 07:28:20 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:28:38 provisioning config files... 07:28:38 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/33@tmp/config1998513585698935025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:28:38 ---> docker-login.sh 07:28:38 nexus3.edgexfoundry.org:10001 07:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:28:39 Configure a credential helper to remove this warning. See 07:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:28:39 07:28:39 Login Succeeded 07:28:39 nexus3.edgexfoundry.org:10002 07:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:28:39 Configure a credential helper to remove this warning. See 07:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:28:39 07:28:39 Login Succeeded 07:28:39 nexus3.edgexfoundry.org:10003 07:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:28:39 Configure a credential helper to remove this warning. See 07:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:28:39 07:28:39 Login Succeeded 07:28:39 nexus3.edgexfoundry.org:10004 07:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:28:39 Configure a credential helper to remove this warning. See 07:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:28:39 07:28:39 Login Succeeded 07:28:39 docker.io 07:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:28:39 Configure a credential helper to remove this warning. See 07:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:28:39 07:28:39 Login Succeeded 07:28:39 ---> docker-login.sh ends [Pipeline] } 07:28:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:28:40 ========================================================= 07:28:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 07:28:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:28:40 + 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 . 07:28:40 Sending build context to Docker daemon 360.4kB 07:28:40 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 07:28:40 Step 2/10 : FROM ${BASE} 07:28:40 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 07:28:40 540db60ca938: Pulling fs layer 07:28:40 adcc1eea9eea: Pulling fs layer 07:28:40 4c4ab2625f07: Pulling fs layer 07:28:40 0510c868ecb4: Pulling fs layer 07:28:40 afea3b2eda06: Pulling fs layer 07:28:40 7809a108b3ef: Pulling fs layer 07:28:40 f706445af74f: Pulling fs layer 07:28:40 afea3b2eda06: Waiting 07:28:40 7809a108b3ef: Waiting 07:28:40 f706445af74f: Waiting 07:28:40 0510c868ecb4: Waiting 07:28:40 4c4ab2625f07: Verifying Checksum 07:28:40 4c4ab2625f07: Download complete 07:28:40 adcc1eea9eea: Verifying Checksum 07:28:40 adcc1eea9eea: Download complete 07:28:40 afea3b2eda06: Verifying Checksum 07:28:40 afea3b2eda06: Download complete 07:28:40 7809a108b3ef: Verifying Checksum 07:28:40 7809a108b3ef: Download complete 07:28:40 540db60ca938: Verifying Checksum 07:28:40 540db60ca938: Download complete 07:28:40 540db60ca938: Pull complete 07:28:40 adcc1eea9eea: Pull complete 07:28:40 4c4ab2625f07: Pull complete 07:28:41 f706445af74f: Verifying Checksum 07:28:41 f706445af74f: Download complete 07:28:42 0510c868ecb4: Verifying Checksum 07:28:42 0510c868ecb4: Download complete 07:28:45 0510c868ecb4: Pull complete 07:28:45 afea3b2eda06: Pull complete 07:28:45 7809a108b3ef: Pull complete 07:28:47 f706445af74f: Pull complete 07:28:47 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 07:28:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 07:28:47 ---> b068be0155e3 07:28:47 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 07:28:51 ---> Running in c5d6d405fa2f 07:28:51 Removing intermediate container c5d6d405fa2f 07:28:51 ---> 3435d6ea8450 07:28:51 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 07:28:51 ---> Running in 02fddbaee1b9 07:28:51 Removing intermediate container 02fddbaee1b9 07:28:51 ---> 715af72592ba 07:28:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 07:28:51 ---> Running in c678285aa6f2 07:28:51 Removing intermediate container c678285aa6f2 07:28:51 ---> 8111359361c4 07:28:51 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:28:51 ---> Running in d65b16374a7c 07:28:51 Removing intermediate container d65b16374a7c 07:28:51 ---> af44feecb41d 07:28:51 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:28:51 ---> Running in 1868fea6141b 07:28:52 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:28:53 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:28:53 (1/13) Installing libc-dev (0.7.2-r3) 07:28:53 (2/13) Installing libsodium (1.0.18-r0) 07:28:53 (3/13) Installing pkgconf (1.7.3-r0) 07:28:53 (4/13) Installing libsodium-dev (1.0.18-r0) 07:28:53 (5/13) Installing openssh-keygen (8.4_p1-r3) 07:28:53 (6/13) Installing libedit (20191231.3.1-r1) 07:28:53 (7/13) Installing openssh-client (8.4_p1-r3) 07:28:54 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 07:28:54 (9/13) Installing openssh-server-common (8.4_p1-r3) 07:28:54 (10/13) Installing openssh-server (8.4_p1-r3) 07:28:54 (11/13) Installing openssh (8.4_p1-r3) 07:28:54 (12/13) Installing libzmq (4.3.3-r1) 07:28:54 (13/13) Installing zeromq-dev (4.3.3-r1) 07:28:54 Executing busybox-1.32.1-r6.trigger 07:28:54 OK: 156 MiB in 53 packages 07:28:55 Removing intermediate container 1868fea6141b 07:28:55 ---> 7d6f446ce254 07:28:55 Step 8/10 : WORKDIR /device-snmp-go 07:28:55 ---> Running in 762aa218c127 07:28:55 Removing intermediate container 762aa218c127 07:28:55 ---> b4ec80315497 07:28:55 Step 9/10 : COPY . . 07:28:55 ---> 66e537a7283a 07:28:55 Step 10/10 : RUN go mod download 07:28:55 ---> Running in 0bf7daa05f66 07:29:07 Removing intermediate container 0bf7daa05f66 07:29:07 ---> 6744c4432ccf 07:29:07 Successfully built 6744c4432ccf 07:29:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:29:08 + docker inspect -f . ci-base-image-x86_64 07:29:08 . [Pipeline] withDockerContainer 07:29:08 prd-centos7-docker-4c-2g-494 does not seem to be running inside a container 07:29:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/33 -v /w/workspace/device-snmp-go/33:/w/workspace/device-snmp-go/33:rw,z -v /w/workspace/device-snmp-go/33@tmp:/w/workspace/device-snmp-go/33@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 ******** ci-base-image-x86_64 cat 07:29:08 $ docker top 2d28964b96035a0a82e35fa277e744c0828dcf9c31d41d6fb5cf0b714c33685d -eo pid,comm [Pipeline] { [Pipeline] sh 07:29:09 + go version 07:29:09 go version go1.16.3 linux/amd64 [Pipeline] } 07:29:09 $ docker stop --time=1 2d28964b96035a0a82e35fa277e744c0828dcf9c31d41d6fb5cf0b714c33685d 07:29:10 $ docker rm -f 2d28964b96035a0a82e35fa277e744c0828dcf9c31d41d6fb5cf0b714c33685d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:29:10 + docker inspect -f . ci-base-image-x86_64 07:29:10 . [Pipeline] withDockerContainer 07:29:10 prd-centos7-docker-4c-2g-494 does not seem to be running inside a container 07:29:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/33 -v /w/workspace/device-snmp-go/33:/w/workspace/device-snmp-go/33:rw,z -v /w/workspace/device-snmp-go/33@tmp:/w/workspace/device-snmp-go/33@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 ******** ci-base-image-x86_64 cat 07:29:11 $ docker top cda3e741f251a3cbd10c0eeefb53594e957b1f9e0fcc8bf91e64eb6c3e9d1d29 -eo pid,comm [Pipeline] { [Pipeline] sh 07:29:11 + go mod tidy [Pipeline] sh 07:29:12 + make test 07:29:12 go mod tidy 07:29:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:29:12 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:29:27 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:29:27 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 07:29:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:29:33 gofmt -l . 07:29:33 [ "`gofmt -l .`" = "" ] 07:29:33 ./bin/test-attribution-txt.sh [Pipeline] } 07:29:33 $ docker stop --time=1 cda3e741f251a3cbd10c0eeefb53594e957b1f9e0fcc8bf91e64eb6c3e9d1d29 07:29:35 $ docker rm -f cda3e741f251a3cbd10c0eeefb53594e957b1f9e0fcc8bf91e64eb6c3e9d1d29 [Pipeline] // withDockerContainer [Pipeline] sh 07:29:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:29:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:29:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:29:37 + ls -al . 07:29:37 total 104 07:29:37 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 11 07:29 . 07:29:37 drwxrwxr-x. 4 jenkins jenkins 30 Jun 11 07:28 .. 07:29:37 -rw-rw-r--. 1 jenkins jenkins 6520 Jun 11 07:28 Attribution.txt 07:29:37 drwxrwxr-x. 2 jenkins jenkins 60 Jun 11 07:28 bin 07:29:37 drwxrwxr-x. 3 jenkins jenkins 32 Jun 11 07:28 cmd 07:29:37 -rw-r--r--. 1 jenkins jenkins 7631 Jun 11 07:29 coverage.out 07:29:37 -rw-rw-r--. 1 jenkins jenkins 1459 Jun 11 07:28 Dockerfile 07:29:37 -rw-rw-r--. 1 jenkins jenkins 1057 Jun 11 07:28 Dockerfile.build 07:29:37 -rw-rw-r--. 1 jenkins jenkins 6 Jun 11 07:28 .dockerignore 07:29:37 drwxrwxr-x. 8 jenkins jenkins 162 Jun 11 07:28 .git 07:29:37 drwxrwxr-x. 2 jenkins jenkins 103 Jun 11 07:28 .github 07:29:37 -rw-rw-r--. 1 jenkins jenkins 269 Jun 11 07:28 .gitignore 07:29:37 -rw-rw-r--. 1 jenkins jenkins 222 Jun 11 07:28 go.mod 07:29:37 -rw-r--r--. 1 jenkins jenkins 21016 Jun 11 07:29 go.sum 07:29:37 drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 07:28 internal 07:29:37 -rw-rw-r--. 1 jenkins jenkins 656 Jun 11 07:28 Jenkinsfile 07:29:37 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 11 07:28 LICENSE 07:29:37 -rw-rw-r--. 1 jenkins jenkins 936 Jun 11 07:28 Makefile 07:29:37 -rw-rw-r--. 1 jenkins jenkins 9079 Jun 11 07:28 README.md 07:29:37 -rw-rw-r--. 1 jenkins jenkins 11 Jun 11 07:27 VERSION 07:29:37 -rw-rw-r--. 1 jenkins jenkins 209 Jun 11 07:28 version.go [Pipeline] isUnix [Pipeline] sh 07:29:37 + 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=bdf6c703ff7e4dc9654b1e05af75b33f1f140285 --label arch=amd64 --label version=1.3.2-dev.9 . 07:29:37 Sending build context to Docker daemon 368.6kB 07:29:37 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 07:29:37 Step 2/24 : FROM ${BASE} AS builder 07:29:37 ---> 6744c4432ccf 07:29:37 Step 3/24 : ARG MAKE='make build' 07:29:37 ---> Running in d6b5683fc25e 07:29:37 Removing intermediate container d6b5683fc25e 07:29:37 ---> 073f52ccf38b 07:29:37 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:29:37 ---> Running in 0763725b3f1c 07:29:37 Removing intermediate container 0763725b3f1c 07:29:37 ---> 43edd56d9416 07:29:37 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 07:29:37 ---> Running in 7f6c3550e29f 07:29:37 Removing intermediate container 7f6c3550e29f 07:29:37 ---> c5de18ed2462 07:29:37 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:29:37 ---> Running in 34fd8decfaf6 07:29:38 Removing intermediate container 34fd8decfaf6 07:29:38 ---> 77167dcfebe8 07:29:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:29:38 ---> Running in 34b75e5d1a93 07:29:38 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:29:39 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:29:39 OK: 156 MiB in 53 packages 07:29:40 Removing intermediate container 34b75e5d1a93 07:29:40 ---> bca446bb1776 07:29:40 Step 8/24 : WORKDIR /device-snmp-go 07:29:40 ---> Running in dc53aa766154 07:29:40 Removing intermediate container dc53aa766154 07:29:40 ---> 6a5898534a8d 07:29:40 Step 9/24 : COPY . . 07:29:40 ---> 1875e7e66abe 07:29:40 Step 10/24 : RUN go mod tidy 07:29:40 ---> Running in 8ec6370eaa4e 07:29:40 Removing intermediate container 8ec6370eaa4e 07:29:40 ---> 9713b595cda1 07:29:40 Step 11/24 : RUN make update 07:29:40 ---> Running in b13554207b71 07:29:41 CGO_ENABLED=0 GO111MODULE=on go mod download 07:29:41 Removing intermediate container b13554207b71 07:29:41 ---> 3068539cc943 07:29:41 Step 12/24 : RUN ${MAKE} 07:29:41 ---> Running in 6da054951d90 07:29:41 go mod tidy 07:29:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.9" -o cmd/device-snmp ./cmd 07:29:54 Removing intermediate container 6da054951d90 07:29:54 ---> 85ab1bbb30b1 07:29:54 Step 13/24 : FROM alpine:3.12 07:29:54 3.12: Pulling from library/alpine 07:29:54 339de151aab4: Pulling fs layer 07:29:54 339de151aab4: Verifying Checksum 07:29:54 339de151aab4: Download complete 07:29:54 339de151aab4: Pull complete 07:29:54 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 07:29:54 Status: Downloaded newer image for alpine:3.12 07:29:54 ---> 13621d1b12d4 07:29:54 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 07:29:54 ---> Running in e9a740dbafdb 07:29:54 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:29:54 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:29:54 (1/6) Installing dumb-init (1.2.2-r1) 07:29:54 (2/6) Installing libgcc (9.3.0-r2) 07:29:54 (3/6) Installing libsodium (1.0.18-r0) 07:29:54 (4/6) Installing libstdc++ (9.3.0-r2) 07:29:54 (5/6) Installing libzmq (4.3.3-r0) 07:29:54 (6/6) Installing zeromq (4.3.3-r0) 07:29:54 Executing busybox-1.31.1-r20.trigger 07:29:54 OK: 8 MiB in 20 packages 07:29:54 Removing intermediate container e9a740dbafdb 07:29:54 ---> d37fc4ccd663 07:29:54 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 07:29:55 ---> c751462e8610 07:29:55 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:29:55 ---> dd4f6a8a8755 07:29:55 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 07:29:55 ---> 8ccfc40a7026 07:29:55 Step 18/24 : EXPOSE 59993 07:29:55 ---> Running in 373bceb1cea7 07:29:55 Removing intermediate container 373bceb1cea7 07:29:55 ---> c4339ff55795 07:29:55 Step 19/24 : EXPOSE 161 07:29:55 ---> Running in 71ece33f62a8 07:29:55 Removing intermediate container 71ece33f62a8 07:29:55 ---> 7d0917ec579a 07:29:55 Step 20/24 : ENTRYPOINT ["/device-snmp"] 07:29:55 ---> Running in e3b64e2ff00f 07:29:55 Removing intermediate container e3b64e2ff00f 07:29:55 ---> 3706eb7878d5 07:29:55 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:29:56 ---> Running in cc1eca9aba78 07:29:56 Removing intermediate container cc1eca9aba78 07:29:56 ---> 3b6bfdea8f22 07:29:56 Step 22/24 : LABEL arch=amd64 07:29:56 ---> Running in 1f092bf6b01e 07:29:56 Removing intermediate container 1f092bf6b01e 07:29:56 ---> 8abc19ca2681 07:29:56 Step 23/24 : LABEL git_sha=bdf6c703ff7e4dc9654b1e05af75b33f1f140285 07:29:56 ---> Running in 87a1d8a740aa 07:29:56 Removing intermediate container 87a1d8a740aa 07:29:56 ---> e776ee20327a 07:29:56 Step 24/24 : LABEL version=1.3.2-dev.9 07:29:56 ---> Running in 59885c78d315 07:29:56 Removing intermediate container 59885c78d315 07:29:56 ---> d455dc01fce2 07:29:56 [Warning] One or more build-args [ARCH] were not consumed 07:29:56 Successfully built d455dc01fce2 07:29:56 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:29:56 provisioning config files... 07:29:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/33@tmp/config4342583817808677844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:29:56 ---> docker-login.sh 07:29:56 nexus3.edgexfoundry.org:10001 07:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:56 Configure a credential helper to remove this warning. See 07:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:56 07:29:56 Login Succeeded 07:29:56 nexus3.edgexfoundry.org:10002 07:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:57 Configure a credential helper to remove this warning. See 07:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:57 07:29:57 Login Succeeded 07:29:57 nexus3.edgexfoundry.org:10003 07:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:57 Configure a credential helper to remove this warning. See 07:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:57 07:29:57 Login Succeeded 07:29:57 nexus3.edgexfoundry.org:10004 07:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:57 Configure a credential helper to remove this warning. See 07:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:57 07:29:57 Login Succeeded 07:29:57 docker.io 07:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:57 Configure a credential helper to remove this warning. See 07:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:57 07:29:57 Login Succeeded 07:29:57 ---> docker-login.sh ends [Pipeline] } 07:29:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:29:57 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 07:29:57 bdf6c703ff7e4dc9654b1e05af75b33f1f140285 07:29:57 latest 07:29:57 1.3.2-dev.9 07:29:57 bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 07:29:57 master 07:29:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:29:58 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [Pipeline] isUnix [Pipeline] sh 07:29:58 + docker push nexus3.edgexfoundry.org:10004/device-snmp:bdf6c703ff7e4dc9654b1e05af75b33f1f140285 07:29:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:29:58 323332327dca: Preparing 07:29:58 b0ee14793f4d: Preparing 07:29:58 5ca3ee67a9a3: Preparing 07:29:58 01bed7f10957: Preparing 07:29:58 32f366d666a5: Preparing 07:29:58 32f366d666a5: Layer already exists 07:29:58 b0ee14793f4d: Pushed 07:29:58 323332327dca: Pushed 07:29:58 01bed7f10957: Pushed 07:30:00 5ca3ee67a9a3: Pushed 07:30:00 bdf6c703ff7e4dc9654b1e05af75b33f1f140285: digest: sha256:e96f5bba6561b22c51f4367760ac6f6c9098e7ff21980ddfed1c0b9817dc5442 size: 1365 [Pipeline] isUnix [Pipeline] sh 07:30:00 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 07:30:00 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 07:30:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:30:00 323332327dca: Preparing 07:30:00 b0ee14793f4d: Preparing 07:30:00 5ca3ee67a9a3: Preparing 07:30:00 01bed7f10957: Preparing 07:30:00 32f366d666a5: Preparing 07:30:00 01bed7f10957: Layer already exists 07:30:00 5ca3ee67a9a3: Layer already exists 07:30:00 323332327dca: Layer already exists 07:30:00 b0ee14793f4d: Layer already exists 07:30:00 32f366d666a5: Layer already exists 07:30:00 latest: digest: sha256:e96f5bba6561b22c51f4367760ac6f6c9098e7ff21980ddfed1c0b9817dc5442 size: 1365 [Pipeline] isUnix [Pipeline] sh 07:30:01 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh 07:30:01 + docker push nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.9 07:30:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:30:01 323332327dca: Preparing 07:30:01 b0ee14793f4d: Preparing 07:30:01 5ca3ee67a9a3: Preparing 07:30:01 01bed7f10957: Preparing 07:30:01 32f366d666a5: Preparing 07:30:01 32f366d666a5: Layer already exists 07:30:01 323332327dca: Layer already exists 07:30:01 b0ee14793f4d: Layer already exists 07:30:01 5ca3ee67a9a3: Layer already exists 07:30:01 01bed7f10957: Layer already exists 07:30:01 1.3.2-dev.9: digest: sha256:e96f5bba6561b22c51f4367760ac6f6c9098e7ff21980ddfed1c0b9817dc5442 size: 1365 [Pipeline] isUnix [Pipeline] sh 07:30:01 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh 07:30:02 + docker push nexus3.edgexfoundry.org:10004/device-snmp:bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 07:30:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:30:02 323332327dca: Preparing 07:30:02 b0ee14793f4d: Preparing 07:30:02 5ca3ee67a9a3: Preparing 07:30:02 01bed7f10957: Preparing 07:30:02 32f366d666a5: Preparing 07:30:02 32f366d666a5: Layer already exists 07:30:02 01bed7f10957: Layer already exists 07:30:02 5ca3ee67a9a3: Layer already exists 07:30:02 323332327dca: Layer already exists 07:30:02 b0ee14793f4d: Layer already exists 07:30:02 bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9: digest: sha256:e96f5bba6561b22c51f4367760ac6f6c9098e7ff21980ddfed1c0b9817dc5442 size: 1365 [Pipeline] isUnix [Pipeline] sh 07:30:02 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:master [Pipeline] isUnix [Pipeline] sh 07:30:03 + docker push nexus3.edgexfoundry.org:10004/device-snmp:master 07:30:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:30:03 323332327dca: Preparing 07:30:03 b0ee14793f4d: Preparing 07:30:03 5ca3ee67a9a3: Preparing 07:30:03 01bed7f10957: Preparing 07:30:03 32f366d666a5: Preparing 07:30:03 5ca3ee67a9a3: Layer already exists 07:30:03 32f366d666a5: Layer already exists 07:30:03 01bed7f10957: Layer already exists 07:30:03 323332327dca: Layer already exists 07:30:03 b0ee14793f4d: Layer already exists 07:30:03 master: digest: sha256:e96f5bba6561b22c51f4367760ac6f6c9098e7ff21980ddfed1c0b9817dc5442 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:30:03 ===================================================== [Pipeline] echo 07:30:03 taggedImages: 07:30:03 - nexus3.edgexfoundry.org:10004/device-snmp:bdf6c703ff7e4dc9654b1e05af75b33f1f140285 07:30:03 - nexus3.edgexfoundry.org:10004/device-snmp:latest 07:30:03 - nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.9 07:30:03 - nexus3.edgexfoundry.org:10004/device-snmp:bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 07:30:03 - 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 07:30:04 ---> job-cost.sh 07:30:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fHEy 07:30:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:30:27 lf-activate-venv(): INFO: Adding /tmp/venv-fHEy/bin to PATH 07:30:27 INFO: No Stack... 07:30:27 INFO: Retrieving Pricing Info for: v3-standard-2 07:30:27 INFO: Archiving Costs [Pipeline] sh 07:30:27 + cat /w/workspace/device-snmp-go/33/archives/cost.csv 07:30:27 + cut -d, -f6 [Pipeline] lock 07:30:27 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] 07:30:27 Resource [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] did not exist. Created. 07:30:27 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:30:27 + echo total: 0.05999999865889549 [Pipeline] stash 07:30:27 Stashed 1 file(s) [Pipeline] } 07:30:28 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:30:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-496 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 07:30:43 Running in /w/workspace/device-snmp-go/33 [Pipeline] { [Pipeline] checkout 07:30:44 Selected Git installation does not exist. Using Default 07:30:44 The recommended git tool is: NONE 07:30:49 using credential edgex-jenkins-ssh 07:30:49 Cloning the remote Git repository 07:30:49 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:30:49 > git init /w/workspace/device-snmp-go/33 # timeout=10 07:30:49 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:30:49 > git --version # timeout=10 07:30:50 > git --version # 'git version 2.17.1' 07:30:50 using GIT_SSH to set credentials SSH Credentials for GitHub 07:30:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:30:51 Avoid second fetch 07:30:51 Checking out Revision bdf6c703ff7e4dc9654b1e05af75b33f1f140285 (master) 07:30:50 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:30:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:30:51 > git config core.sparsecheckout # timeout=10 07:30:51 > git checkout -f bdf6c703ff7e4dc9654b1e05af75b33f1f140285 # timeout=10 07:30:55 Commit message: "Merge pull request #108 from lenny-intel/PublishTopicPrefix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:30:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:30:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:30:57 + true 07:30:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:31:15 provisioning config files... 07:31:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/33@tmp/config9014525998575263354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:31:16 ---> docker-login.sh 07:31:16 nexus3.edgexfoundry.org:10001 07:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:17 Configure a credential helper to remove this warning. See 07:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:17 07:31:17 Login Succeeded 07:31:17 nexus3.edgexfoundry.org:10002 07:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:17 Configure a credential helper to remove this warning. See 07:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:17 07:31:17 Login Succeeded 07:31:17 nexus3.edgexfoundry.org:10003 07:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:18 Configure a credential helper to remove this warning. See 07:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:18 07:31:18 Login Succeeded 07:31:18 nexus3.edgexfoundry.org:10004 07:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:18 Configure a credential helper to remove this warning. See 07:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:18 07:31:18 Login Succeeded 07:31:18 docker.io 07:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:19 Configure a credential helper to remove this warning. See 07:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:19 07:31:19 Login Succeeded 07:31:19 ---> docker-login.sh ends [Pipeline] } 07:31:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:31:20 ========================================================= 07:31:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 07:31:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:31:20 + 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 . 07:31:20 Sending build context to Docker daemon 359.4kB 07:31:20 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 07:31:20 Step 2/10 : FROM ${BASE} 07:31:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:31:21 595b0fe564bb: Pulling fs layer 07:31:21 3088b5b3c5c0: Pulling fs layer 07:31:21 5b7225fbf94c: Pulling fs layer 07:31:21 ba82ee9f976e: Pulling fs layer 07:31:21 506bd15cee9f: Pulling fs layer 07:31:21 75a0a4a0db45: Pulling fs layer 07:31:21 618dc40b7e24: Pulling fs layer 07:31:21 506bd15cee9f: Waiting 07:31:21 75a0a4a0db45: Waiting 07:31:21 618dc40b7e24: Waiting 07:31:21 ba82ee9f976e: Waiting 07:31:21 5b7225fbf94c: Verifying Checksum 07:31:21 5b7225fbf94c: Download complete 07:31:21 3088b5b3c5c0: Verifying Checksum 07:31:21 3088b5b3c5c0: Download complete 07:31:21 506bd15cee9f: Download complete 07:31:21 75a0a4a0db45: Download complete 07:31:21 595b0fe564bb: Verifying Checksum 07:31:21 595b0fe564bb: Download complete 07:31:22 595b0fe564bb: Pull complete 07:31:22 3088b5b3c5c0: Pull complete 07:31:23 5b7225fbf94c: Pull complete 07:31:23 618dc40b7e24: Verifying Checksum 07:31:23 618dc40b7e24: Download complete 07:31:24 ba82ee9f976e: Verifying Checksum 07:31:24 ba82ee9f976e: Download complete 07:31:35 ba82ee9f976e: Pull complete 07:31:35 506bd15cee9f: Pull complete 07:31:35 75a0a4a0db45: Pull complete 07:31:39 618dc40b7e24: Pull complete 07:31:39 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 07:31:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 07:31:39 ---> a36622ca3599 07:31:39 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 07:31:41 ---> Running in 7e4cdb42abfd 07:31:42 Removing intermediate container 7e4cdb42abfd 07:31:42 ---> 8ce9e2e6c94e 07:31:42 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 07:31:42 ---> Running in 8d47df34e6d3 07:31:42 Removing intermediate container 8d47df34e6d3 07:31:42 ---> 0bb49e3e4bac 07:31:42 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 07:31:42 ---> Running in dc5215721bfc 07:31:43 Removing intermediate container dc5215721bfc 07:31:43 ---> 849fef76d996 07:31:43 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:31:43 ---> Running in 2847ab40bf0a 07:31:45 Removing intermediate container 2847ab40bf0a 07:31:45 ---> b664d5e5899b 07:31:45 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:31:45 ---> Running in 3fc5bc4e02fa 07:31:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 07:31:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 07:31:48 (1/13) Installing libc-dev (0.7.2-r3) 07:31:48 (2/13) Installing libsodium (1.0.18-r0) 07:31:48 (3/13) Installing pkgconf (1.7.3-r0) 07:31:48 (4/13) Installing libsodium-dev (1.0.18-r0) 07:31:48 (5/13) Installing openssh-keygen (8.4_p1-r3) 07:31:48 (6/13) Installing libedit (20191231.3.1-r1) 07:31:48 (7/13) Installing openssh-client (8.4_p1-r3) 07:31:49 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 07:31:49 (9/13) Installing openssh-server-common (8.4_p1-r3) 07:31:49 (10/13) Installing openssh-server (8.4_p1-r3) 07:31:49 (11/13) Installing openssh (8.4_p1-r3) 07:31:49 (12/13) Installing libzmq (4.3.3-r1) 07:31:49 (13/13) Installing zeromq-dev (4.3.3-r1) 07:31:49 Executing busybox-1.32.1-r6.trigger 07:31:50 OK: 145 MiB in 53 packages 07:31:51 Removing intermediate container 3fc5bc4e02fa 07:31:51 ---> 8136a283d1c5 07:31:51 Step 8/10 : WORKDIR /device-snmp-go 07:31:51 ---> Running in 4b3900b810ef 07:31:52 Removing intermediate container 4b3900b810ef 07:31:52 ---> 1d96ea398960 07:31:52 Step 9/10 : COPY . . 07:31:53 ---> 50b86baff978 07:31:53 Step 10/10 : RUN go mod download 07:31:53 ---> Running in bf6515bc8e2c 07:32:19 Removing intermediate container bf6515bc8e2c 07:32:19 ---> 4dec3eb0f335 07:32:19 Successfully built 4dec3eb0f335 07:32:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:32:20 + docker inspect -f . ci-base-image-arm64 07:32:20 . [Pipeline] withDockerContainer 07:32:20 prd-ubuntu18.04-docker-arm64-4c-16g-496 does not seem to be running inside a container 07:32:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/33 -v /w/workspace/device-snmp-go/33:/w/workspace/device-snmp-go/33:rw,z -v /w/workspace/device-snmp-go/33@tmp:/w/workspace/device-snmp-go/33@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 07:32:22 $ docker top c5a30e0509aaaaa26fe96c4f2c435e737f33651de0ec242e1bd9ec1107457371 -eo pid,comm [Pipeline] { [Pipeline] sh 07:32:23 + go version 07:32:23 go version go1.16.5 linux/arm64 [Pipeline] } 07:32:23 $ docker stop --time=1 c5a30e0509aaaaa26fe96c4f2c435e737f33651de0ec242e1bd9ec1107457371 07:32:25 $ docker rm -f c5a30e0509aaaaa26fe96c4f2c435e737f33651de0ec242e1bd9ec1107457371 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:32:26 + docker inspect -f . ci-base-image-arm64 07:32:26 . [Pipeline] withDockerContainer 07:32:26 prd-ubuntu18.04-docker-arm64-4c-16g-496 does not seem to be running inside a container 07:32:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/33 -v /w/workspace/device-snmp-go/33:/w/workspace/device-snmp-go/33:rw,z -v /w/workspace/device-snmp-go/33@tmp:/w/workspace/device-snmp-go/33@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 07:32:28 $ docker top 16584e0a1ed3177d98a52cd7daffe33a020c239a89d264e99fe197061bf86dd7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:32:29 + go mod tidy [Pipeline] sh 07:32:30 + make test 07:32:30 go mod tidy 07:32:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:32:32 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:33:19 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:33:19 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements 07:33:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:33:46 gofmt -l . 07:33:46 [ "`gofmt -l .`" = "" ] 07:33:46 ./bin/test-attribution-txt.sh [Pipeline] } 07:33:46 $ docker stop --time=1 16584e0a1ed3177d98a52cd7daffe33a020c239a89d264e99fe197061bf86dd7 07:33:48 $ docker rm -f 16584e0a1ed3177d98a52cd7daffe33a020c239a89d264e99fe197061bf86dd7 [Pipeline] // withDockerContainer [Pipeline] sh 07:33:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:33:49 Warning: overwriting stash ‘coverage-report’ 07:33:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:33:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:33:50 + ls -al . 07:33:50 total 128 07:33:50 drwxrwxr-x 7 jenkins jenkins 4096 Jun 11 07:33 . 07:33:50 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 07:30 .. 07:33:50 -rw-rw-r-- 1 jenkins jenkins 6 Jun 11 07:30 .dockerignore 07:33:50 drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 07:30 .git 07:33:50 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 07:30 .github 07:33:50 -rw-rw-r-- 1 jenkins jenkins 269 Jun 11 07:30 .gitignore 07:33:50 -rw-rw-r-- 1 jenkins jenkins 6520 Jun 11 07:30 Attribution.txt 07:33:50 -rw-rw-r-- 1 jenkins jenkins 1459 Jun 11 07:30 Dockerfile 07:33:50 -rw-rw-r-- 1 jenkins jenkins 1057 Jun 11 07:30 Dockerfile.build 07:33:50 -rw-rw-r-- 1 jenkins jenkins 656 Jun 11 07:30 Jenkinsfile 07:33:50 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 11 07:30 LICENSE 07:33:50 -rw-rw-r-- 1 jenkins jenkins 936 Jun 11 07:30 Makefile 07:33:50 -rw-rw-r-- 1 jenkins jenkins 9079 Jun 11 07:30 README.md 07:33:50 -rw-rw-r-- 1 jenkins jenkins 11 Jun 11 07:27 VERSION 07:33:50 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 07:30 bin 07:33:50 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 07:30 cmd 07:33:50 -rw-r--r-- 1 jenkins jenkins 7631 Jun 11 07:33 coverage.out 07:33:50 -rw-rw-r-- 1 jenkins jenkins 222 Jun 11 07:30 go.mod 07:33:50 -rw-r--r-- 1 jenkins jenkins 21016 Jun 11 07:32 go.sum 07:33:50 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 07:30 internal 07:33:50 -rw-rw-r-- 1 jenkins jenkins 209 Jun 11 07:30 version.go [Pipeline] isUnix [Pipeline] sh 07:33:51 + 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=bdf6c703ff7e4dc9654b1e05af75b33f1f140285 --label arch=arm64 --label version=1.3.2-dev.9 . 07:33:51 Sending build context to Docker daemon 367.6kB 07:33:51 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 07:33:51 Step 2/24 : FROM ${BASE} AS builder 07:33:51 ---> 4dec3eb0f335 07:33:51 Step 3/24 : ARG MAKE='make build' 07:33:51 ---> Running in a6f4f22f08e5 07:33:52 Removing intermediate container a6f4f22f08e5 07:33:52 ---> b16a1d8cd254 07:33:52 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:33:52 ---> Running in ca5cbe3b8ea7 07:33:52 Removing intermediate container ca5cbe3b8ea7 07:33:52 ---> d3a1a6ecb931 07:33:52 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 07:33:52 ---> Running in a5e12fbb42a1 07:33:53 Removing intermediate container a5e12fbb42a1 07:33:53 ---> ab781027a8b1 07:33:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:33:53 ---> Running in 7395e86fb19b 07:33:56 Removing intermediate container 7395e86fb19b 07:33:56 ---> 7fd731d79842 07:33:56 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:33:56 ---> Running in 8fed967b8afd 07:33:57 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 07:33:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 07:33:58 OK: 145 MiB in 53 packages 07:33:59 Removing intermediate container 8fed967b8afd 07:33:59 ---> a512757b458c 07:33:59 Step 8/24 : WORKDIR /device-snmp-go 07:33:59 ---> Running in f79faffaafc7 07:34:00 Removing intermediate container f79faffaafc7 07:34:00 ---> 1f59f4002fe0 07:34:00 Step 9/24 : COPY . . 07:34:01 ---> 5702bc3702ee 07:34:01 Step 10/24 : RUN go mod tidy 07:34:01 ---> Running in c778d73fb4a0 07:34:04 Removing intermediate container c778d73fb4a0 07:34:04 ---> 140c0484f9b6 07:34:04 Step 11/24 : RUN make update 07:34:04 ---> Running in 0b1d1c801c09 07:34:05 CGO_ENABLED=0 GO111MODULE=on go mod download 07:34:06 Removing intermediate container 0b1d1c801c09 07:34:06 ---> 78f30e732938 07:34:06 Step 12/24 : RUN ${MAKE} 07:34:06 ---> Running in bd70044e256a 07:34:07 go mod tidy 07:34:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.9" -o cmd/device-snmp ./cmd 07:34:47 Removing intermediate container bd70044e256a 07:34:47 ---> df4098b51b96 07:34:47 Step 13/24 : FROM alpine:3.12 07:34:47 3.12: Pulling from library/alpine 07:34:47 d2f70382dc9a: Pulling fs layer 07:34:47 d2f70382dc9a: Download complete 07:34:47 d2f70382dc9a: Pull complete 07:34:47 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 07:34:47 Status: Downloaded newer image for alpine:3.12 07:34:47 ---> 9852663dfa18 07:34:47 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 07:34:47 ---> Running in 79c60bf6535f 07:34:47 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:34:47 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:34:47 (1/6) Installing dumb-init (1.2.2-r1) 07:34:47 (2/6) Installing libgcc (9.3.0-r2) 07:34:47 (3/6) Installing libsodium (1.0.18-r0) 07:34:47 (4/6) Installing libstdc++ (9.3.0-r2) 07:34:47 (5/6) Installing libzmq (4.3.3-r0) 07:34:47 (6/6) Installing zeromq (4.3.3-r0) 07:34:47 Executing busybox-1.31.1-r20.trigger 07:34:47 OK: 8 MiB in 20 packages 07:34:48 Removing intermediate container 79c60bf6535f 07:34:48 ---> 92b9850d46f4 07:34:48 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 07:34:49 ---> e343fc54ca58 07:34:49 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:34:50 ---> f09d7a8cff7f 07:34:50 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 07:34:51 ---> 8aa320d0d866 07:34:51 Step 18/24 : EXPOSE 59993 07:34:51 ---> Running in badb2d6faae3 07:34:51 Removing intermediate container badb2d6faae3 07:34:51 ---> e3443930f2d0 07:34:51 Step 19/24 : EXPOSE 161 07:34:51 ---> Running in 1d5ae535818c 07:34:52 Removing intermediate container 1d5ae535818c 07:34:52 ---> b2ed805d7906 07:34:52 Step 20/24 : ENTRYPOINT ["/device-snmp"] 07:34:52 ---> Running in e48137637742 07:34:53 Removing intermediate container e48137637742 07:34:53 ---> 75fc9b905a98 07:34:53 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:34:53 ---> Running in 06df792e45b2 07:34:53 Removing intermediate container 06df792e45b2 07:34:53 ---> c3c0c56bff98 07:34:53 Step 22/24 : LABEL arch=arm64 07:34:54 ---> Running in 15c1919acf7d 07:34:54 Removing intermediate container 15c1919acf7d 07:34:54 ---> 755ff1904376 07:34:54 Step 23/24 : LABEL git_sha=bdf6c703ff7e4dc9654b1e05af75b33f1f140285 07:34:54 ---> Running in cdbea99f02af 07:34:55 Removing intermediate container cdbea99f02af 07:34:55 ---> 64c42a2b61ca 07:34:55 Step 24/24 : LABEL version=1.3.2-dev.9 07:34:55 ---> Running in b8636bf0ee7c 07:34:55 Removing intermediate container b8636bf0ee7c 07:34:55 ---> d42d0169ae53 07:34:55 [Warning] One or more build-args [ARCH] were not consumed 07:34:55 Successfully built d42d0169ae53 07:34:55 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 07:34:55 provisioning config files... 07:34:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/33@tmp/config2782642127635336904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:56 ---> docker-login.sh 07:34:56 nexus3.edgexfoundry.org:10001 07:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:56 Configure a credential helper to remove this warning. See 07:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:56 07:34:56 Login Succeeded 07:34:56 nexus3.edgexfoundry.org:10002 07:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:57 Configure a credential helper to remove this warning. See 07:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:57 07:34:57 Login Succeeded 07:34:57 nexus3.edgexfoundry.org:10003 07:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:57 Configure a credential helper to remove this warning. See 07:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:57 07:34:57 Login Succeeded 07:34:57 nexus3.edgexfoundry.org:10004 07:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:58 Configure a credential helper to remove this warning. See 07:34:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:58 07:34:58 Login Succeeded 07:34:58 docker.io 07:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:59 Configure a credential helper to remove this warning. See 07:34:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:59 07:34:59 Login Succeeded 07:34:59 ---> docker-login.sh ends [Pipeline] } 07:34:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:34:59 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 07:34:59 bdf6c703ff7e4dc9654b1e05af75b33f1f140285 07:34:59 latest 07:34:59 1.3.2-dev.9 07:34:59 bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 07:34:59 master 07:34:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:34:59 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [Pipeline] isUnix [Pipeline] sh 07:35:00 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:bdf6c703ff7e4dc9654b1e05af75b33f1f140285 07:35:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:35:00 cf743cec8b0b: Preparing 07:35:00 eeca33b1068f: Preparing 07:35:00 3743cdf0919f: Preparing 07:35:00 3000f555b257: Preparing 07:35:00 3fbe34a1663b: Preparing 07:35:00 3fbe34a1663b: Layer already exists 07:35:00 eeca33b1068f: Pushed 07:35:00 cf743cec8b0b: Pushed 07:35:00 3000f555b257: Pushed 07:35:03 3743cdf0919f: Pushed 07:35:03 bdf6c703ff7e4dc9654b1e05af75b33f1f140285: digest: sha256:b17dbb351c253c8e4de7d73a8f2eb736564eefeedc19f15bf8e3346b8064417b size: 1365 [Pipeline] isUnix [Pipeline] sh 07:35:03 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:35:04 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 07:35:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:35:04 cf743cec8b0b: Preparing 07:35:04 eeca33b1068f: Preparing 07:35:04 3743cdf0919f: Preparing 07:35:04 3000f555b257: Preparing 07:35:04 3fbe34a1663b: Preparing 07:35:04 3743cdf0919f: Layer already exists 07:35:04 eeca33b1068f: Layer already exists 07:35:04 cf743cec8b0b: Layer already exists 07:35:04 3fbe34a1663b: Layer already exists 07:35:04 3000f555b257: Layer already exists 07:35:04 latest: digest: sha256:b17dbb351c253c8e4de7d73a8f2eb736564eefeedc19f15bf8e3346b8064417b size: 1365 [Pipeline] isUnix [Pipeline] sh 07:35:04 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh 07:35:05 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.9 07:35:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:35:05 cf743cec8b0b: Preparing 07:35:05 eeca33b1068f: Preparing 07:35:05 3743cdf0919f: Preparing 07:35:05 3000f555b257: Preparing 07:35:05 3fbe34a1663b: Preparing 07:35:05 eeca33b1068f: Layer already exists 07:35:05 3743cdf0919f: Layer already exists 07:35:05 3fbe34a1663b: Layer already exists 07:35:05 cf743cec8b0b: Layer already exists 07:35:05 3000f555b257: Layer already exists 07:35:05 1.3.2-dev.9: digest: sha256:b17dbb351c253c8e4de7d73a8f2eb736564eefeedc19f15bf8e3346b8064417b size: 1365 [Pipeline] isUnix [Pipeline] sh 07:35:05 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh 07:35:06 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 07:35:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:35:06 cf743cec8b0b: Preparing 07:35:06 eeca33b1068f: Preparing 07:35:06 3743cdf0919f: Preparing 07:35:06 3000f555b257: Preparing 07:35:06 3fbe34a1663b: Preparing 07:35:06 3743cdf0919f: Layer already exists 07:35:06 3000f555b257: Layer already exists 07:35:06 3fbe34a1663b: Layer already exists 07:35:06 eeca33b1068f: Layer already exists 07:35:06 cf743cec8b0b: Layer already exists 07:35:06 bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9: digest: sha256:b17dbb351c253c8e4de7d73a8f2eb736564eefeedc19f15bf8e3346b8064417b size: 1365 [Pipeline] isUnix [Pipeline] sh 07:35:06 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [Pipeline] isUnix [Pipeline] sh 07:35:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:master 07:35:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:35:07 cf743cec8b0b: Preparing 07:35:07 eeca33b1068f: Preparing 07:35:07 3743cdf0919f: Preparing 07:35:07 3000f555b257: Preparing 07:35:07 3fbe34a1663b: Preparing 07:35:07 cf743cec8b0b: Layer already exists 07:35:07 3000f555b257: Layer already exists 07:35:07 3fbe34a1663b: Layer already exists 07:35:07 eeca33b1068f: Layer already exists 07:35:07 3743cdf0919f: Layer already exists 07:35:07 master: digest: sha256:b17dbb351c253c8e4de7d73a8f2eb736564eefeedc19f15bf8e3346b8064417b size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:35:07 ===================================================== [Pipeline] echo 07:35:07 taggedImages: 07:35:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:bdf6c703ff7e4dc9654b1e05af75b33f1f140285 07:35:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 07:35:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.9 07:35:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 07:35:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 07:35:07 ---> job-cost.sh 07:35:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fIhW 07:35:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:37:08 lf-activate-venv(): INFO: Adding /tmp/venv-fIhW/bin to PATH 07:37:08 INFO: No Stack... 07:37:08 INFO: Retrieving Pricing Info for: v2-standard-4 07:37:09 INFO: Archiving Costs [Pipeline] sh 07:37:09 + cat /w/workspace/device-snmp-go/33/archives/cost.csv 07:37:09 + cut -d, -f6 [Pipeline] lock 07:37:09 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] 07:37:09 Resource [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] did not exist. Created. 07:37:09 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:37:10 /w/workspace/device-snmp-go/33@tmp/durable-1132d857/script.sh: 1: /w/workspace/device-snmp-go/33@tmp/durable-1132d857/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:37:10 + echo total: 0.18000000715255737 [Pipeline] stash 07:37:10 Warning: overwriting stash ‘stack-cost’ 07:37:10 Stashed 1 file(s) [Pipeline] } 07:37:10 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-33-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 07:37:11 provisioning config files... 07:37:11 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config1146470206021113199tmp [Pipeline] { [Pipeline] sh 07:37:11 + set +x 07:37:11 + curl -s https://codecov.io/bash 07:37:11 + bash -s -- 07:37:11 07:37:11 _____ _ 07:37:11 / ____| | | 07:37:11 | | ___ __| | ___ ___ _____ __ 07:37:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:37:11 | |___| (_) | (_| | __/ (_| (_) \ V / 07:37:11 \_____\___/ \__,_|\___|\___\___/ \_/ 07:37:11 Bash-1.0.3 07:37:11 07:37:11 07:37:11 ==> git version 2.24.4 found 07:37:11 ==> 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 07:37:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:37:11 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:37:11 ==> Jenkins CI detected. 07:37:11 project root: . 07:37:11 --> token set from env 07:37:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:37:11 ==> Running gcov in . (disable via -X gcov) 07:37:11 ==> Python coveragepy not found 07:37:11 ==> Searching for coverage reports in: 07:37:11 + . 07:37:11 -> Found 1 reports 07:37:11 ==> Detecting git/mercurial file structure 07:37:11 ==> Reading reports 07:37:11 + ./coverage.out bytes=7631 07:37:11 ==> Appending adjustments 07:37:11 https://docs.codecov.io/docs/fixing-reports 07:37:11 + Found adjustments 07:37:11 ==> Gzipping contents 07:37:11 4.0K /tmp/codecov.W6RnAX.gz 07:37:11 ==> Uploading reports 07:37:11 url: https://codecov.io 07:37:11 query: branch=master&commit=bdf6c703ff7e4dc9654b1e05af75b33f1f140285&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:37:11 -> Pinging Codecov 07:37:11 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=bdf6c703ff7e4dc9654b1e05af75b33f1f140285&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:37:12 -> Uploading to 07:37:12 https://storage.googleapis.com/codecov/v4/raw/2021-06-11/6C56EA5C29638FB4528AC87E60AF5AE0/bdf6c703ff7e4dc9654b1e05af75b33f1f140285/a1946d78-9cba-4d19-aace-02d64c3ad3c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210611T073711Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1941014b09fcb7ba8acaab6f6c741618897340bfadb4ae5911e1f41208b314f8 07:37:12 % Total % Received % Xferd Average Speed Time Time Time Current 07:37:12 Dload Upload Total Spent Left Speed 07:37:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1383 0 0 100 1383 0 4510 --:--:-- --:--:-- --:--:-- 4519 07:37:12 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [Pipeline] } 07:37:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:37:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:37:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:37:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:37:13 07:37:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 07:37:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:37:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:37:14 188c0c94c7c5: Pulling fs layer 07:37:14 0ef7d3d256c8: Pulling fs layer 07:37:14 de9db76c5a1d: Pulling fs layer 07:37:14 0eba1c9be4d2: Pulling fs layer 07:37:14 0d57e429df01: Pulling fs layer 07:37:14 4e4be7b47b0d: Pulling fs layer 07:37:14 e1f770b5df2f: Pulling fs layer 07:37:14 85a0685a4137: Pulling fs layer 07:37:14 4e4be7b47b0d: Waiting 07:37:14 e1f770b5df2f: Waiting 07:37:14 85a0685a4137: Waiting 07:37:14 0eba1c9be4d2: Waiting 07:37:14 0d57e429df01: Waiting 07:37:14 de9db76c5a1d: Verifying Checksum 07:37:14 de9db76c5a1d: Download complete 07:37:14 0ef7d3d256c8: Verifying Checksum 07:37:14 0ef7d3d256c8: Download complete 07:37:14 0d57e429df01: Verifying Checksum 07:37:14 0d57e429df01: Download complete 07:37:14 188c0c94c7c5: Verifying Checksum 07:37:14 4e4be7b47b0d: Verifying Checksum 07:37:14 4e4be7b47b0d: Download complete 07:37:14 188c0c94c7c5: Pull complete 07:37:14 0ef7d3d256c8: Pull complete 07:37:14 de9db76c5a1d: Pull complete 07:37:16 e1f770b5df2f: Verifying Checksum 07:37:16 e1f770b5df2f: Download complete 07:37:17 0eba1c9be4d2: Verifying Checksum 07:37:17 0eba1c9be4d2: Download complete 07:37:17 85a0685a4137: Verifying Checksum 07:37:17 85a0685a4137: Download complete 07:37:20 0eba1c9be4d2: Pull complete 07:37:20 0d57e429df01: Pull complete 07:37:20 4e4be7b47b0d: Pull complete 07:37:21 e1f770b5df2f: Pull complete 07:37:24 85a0685a4137: Pull complete 07:37:24 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 07:37:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:37:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 07:37:24 prd-centos7-docker-4c-2g-491 does not seem to be running inside a container 07:37:24 $ 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 07:37:28 $ docker top 1e5ddee4a248f2b97e547c7af35104fc64e8e992128cb90624a778e9f93cb1dc -eo pid,comm [Pipeline] { [Pipeline] echo 07:37:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 07:37:28 + set -o pipefail 07:37:28 + snyk monitor '--org=edgex-jenkins' 07:37:46 07:37:46 Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... 07:37:46 07:37:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/f448477c-c05b-4ddf-96b2-06c872d6fef3 07:37:46 07:37:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:37:46 07:37:46 [Pipeline] } 07:37:46 $ docker stop --time=1 1e5ddee4a248f2b97e547c7af35104fc64e8e992128cb90624a778e9f93cb1dc 07:37:48 $ docker rm -f 1e5ddee4a248f2b97e547c7af35104fc64e8e992128cb90624a778e9f93cb1dc [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 07:37:49 + git log --format=format:%s -1 bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [Pipeline] isUnix [Pipeline] sh 07:37:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:37:49 . [Pipeline] withDockerContainer 07:37:49 prd-centos7-docker-4c-2g-491 does not seem to be running inside a container 07:37:49 $ 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 07:37:50 $ docker top 908ed613eb3ccee2e227646b7e04b605f093f19495476968d9309a648e743cab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:37:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:37:50 [ssh-agent] Looking for ssh-agent implementation... 07:37:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:37:50 $ docker exec 908ed613eb3ccee2e227646b7e04b605f093f19495476968d9309a648e743cab ssh-agent 07:37:50 SSH_AUTH_SOCK=/tmp/ssh-w4JcYfsd0NVS/agent.13 07:37:50 SSH_AGENT_PID=20 07:37:50 Running ssh-add (command line suppressed) 07:37:50 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4563332186327100859.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4563332186327100859.key) 07:37:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:37:51 + git semver tag 07:37:51 # -> Open(): unable to determine branch for HEAD 07:37:51 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 07:37:51 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 07:37:51 # $SEMVER_REMOTE_NAME = origin 07:37:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:37:51 # $SEMVER_USER_NAME = edgex-jenkins 07:37:51 # $SEMVER_BRANCH = master 07:37:51 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 07:37:51 # bdf6c703ff7e4dc9654b1e05af75b33f1f140285 HEAD 07:37:51 # -> Force: false 07:37:51 # f2e7cff570b1e0d9e1e1319e7b02f3aaecf9f6f0 refs/tags/v1.3.2-dev.9 [Pipeline] } 07:37:51 $ docker exec --env ******** --env ******** 908ed613eb3ccee2e227646b7e04b605f093f19495476968d9309a648e743cab ssh-agent -k 07:37:51 unset SSH_AUTH_SOCK; 07:37:51 unset SSH_AGENT_PID; 07:37:51 echo Agent pid 20 killed; 07:37:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:37:51 + git semver [Pipeline] } 07:37:51 $ docker stop --time=1 908ed613eb3ccee2e227646b7e04b605f093f19495476968d9309a648e743cab 07:37:52 $ docker rm -f 908ed613eb3ccee2e227646b7e04b605f093f19495476968d9309a648e743cab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:37:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:37:53 07:37:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:37:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:37:53 0.23.1-centos7: Pulling from edgex-lftools 07:37:53 ab5ef0e58194: Pulling fs layer 07:37:53 9712f1f96733: Pulling fs layer 07:37:53 63f879dbbcfc: Pulling fs layer 07:37:53 0d9ebad4ef96: Pulling fs layer 07:37:53 e9a5061849ea: Pulling fs layer 07:37:53 d747dcd14b5f: Pulling fs layer 07:37:53 2de7ff778b66: Pulling fs layer 07:37:53 e9a5061849ea: Waiting 07:37:53 d747dcd14b5f: Waiting 07:37:53 2de7ff778b66: Waiting 07:37:53 0d9ebad4ef96: Waiting 07:37:53 9712f1f96733: Verifying Checksum 07:37:53 9712f1f96733: Download complete 07:37:55 63f879dbbcfc: Verifying Checksum 07:37:55 63f879dbbcfc: Download complete 07:37:55 e9a5061849ea: Verifying Checksum 07:37:55 e9a5061849ea: Download complete 07:37:55 d747dcd14b5f: Verifying Checksum 07:37:55 d747dcd14b5f: Download complete 07:37:55 0d9ebad4ef96: Verifying Checksum 07:37:55 0d9ebad4ef96: Download complete 07:37:55 ab5ef0e58194: Verifying Checksum 07:37:55 ab5ef0e58194: Download complete 07:37:55 2de7ff778b66: Verifying Checksum 07:37:55 2de7ff778b66: Download complete 07:37:58 ab5ef0e58194: Pull complete 07:37:58 9712f1f96733: Pull complete 07:37:59 63f879dbbcfc: Pull complete 07:38:02 0d9ebad4ef96: Pull complete 07:38:02 e9a5061849ea: Pull complete 07:38:02 d747dcd14b5f: Pull complete 07:38:03 2de7ff778b66: Pull complete 07:38:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:38:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:38:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:38:03 prd-centos7-docker-4c-2g-491 does not seem to be running inside a container 07:38:03 $ 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 07:38:09 $ docker top 1cbb86472c7e841faa384228eeaac0fb2ab2b369314e34f17c5c756312d1fb94 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:38:09 provisioning config files... 07:38:09 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2737583299182854442tmp 07:38:09 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config189216657191133444tmp 07:38:09 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config875335247506459096tmp [Pipeline] { [Pipeline] echo 07:38:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:38:09 ---> sigul-configuration.sh 07:38:09 gpg: directory `/root/.gnupg' created 07:38:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:38:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:38:09 gpg: keyring `/root/.gnupg/secring.gpg' created 07:38:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:38:09 gpg: CAST5 encrypted data 07:38:09 gpg: encrypted with 1 passphrase 07:38:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:38:10 + mkdir /home/jenkins 07:38:10 + mkdir /home/jenkins/sigul [Pipeline] sh 07:38:10 + 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 07:38:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:38:10 ---> sigul-install.sh 07:38:16 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 07:38:16 + git tag --list 07:38:16 1.0.0 07:38:16 v0.0.0 07:38:16 v1.1.0 07:38:16 v1.1.1 07:38:16 v1.2.2 07:38:16 v1.3.0 07:38:16 v1.3.1 07:38:16 v1.3.1-dev.1 07:38:16 v1.3.1-dev.2 07:38:16 v1.3.1-dev.3 07:38:16 v1.3.1-dev.4 07:38:16 v1.3.2-dev.1 07:38:16 v1.3.2-dev.2 07:38:16 v1.3.2-dev.3 07:38:16 v1.3.2-dev.4 07:38:16 v1.3.2-dev.5 07:38:16 v1.3.2-dev.6 07:38:16 v1.3.2-dev.7 07:38:16 v1.3.2-dev.8 07:38:16 v1.3.2-dev.9 [Pipeline] sh 07:38:16 + lftools sign git-tag v1.3.2-dev.9 07:38:17 Signing Git tag with Sigul... 07:38:17 Signing v1.3.2-dev.9 [Pipeline] echo 07:38:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:38:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:38:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:38:18 $ docker stop --time=1 1cbb86472c7e841faa384228eeaac0fb2ab2b369314e34f17c5c756312d1fb94 07:38:19 $ docker rm -f 1cbb86472c7e841faa384228eeaac0fb2ab2b369314e34f17c5c756312d1fb94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 07:38:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:38:20 . [Pipeline] withDockerContainer 07:38:20 prd-centos7-docker-4c-2g-491 does not seem to be running inside a container 07:38:20 $ 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 07:38:21 $ docker top f4c92e672f1d9659d3ff0277b6cbcd2a925c5e8ce3f4daf3ff0aa46dda4a2088 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:38:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:38:21 [ssh-agent] Looking for ssh-agent implementation... 07:38:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:38:21 $ docker exec f4c92e672f1d9659d3ff0277b6cbcd2a925c5e8ce3f4daf3ff0aa46dda4a2088 ssh-agent 07:38:21 SSH_AUTH_SOCK=/tmp/ssh-ekWsEEitcCH0/agent.14 07:38:21 SSH_AGENT_PID=21 07:38:21 Running ssh-add (command line suppressed) 07:38:21 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7939251361423135023.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7939251361423135023.key) 07:38:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:38:21 + git semver bump pre 07:38:21 # -> Open(): unable to determine branch for HEAD 07:38:21 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 07:38:21 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 07:38:21 # $SEMVER_REMOTE_NAME = origin 07:38:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:38:21 # $SEMVER_USER_NAME = edgex-jenkins 07:38:21 # $SEMVER_BRANCH = master 07:38:21 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 07:38:21 1.3.2-dev.10 [Pipeline] } 07:38:21 $ docker exec --env ******** --env ******** f4c92e672f1d9659d3ff0277b6cbcd2a925c5e8ce3f4daf3ff0aa46dda4a2088 ssh-agent -k 07:38:21 unset SSH_AUTH_SOCK; 07:38:21 unset SSH_AGENT_PID; 07:38:21 echo Agent pid 21 killed; 07:38:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:38:22 + git semver [Pipeline] } 07:38:22 $ docker stop --time=1 f4c92e672f1d9659d3ff0277b6cbcd2a925c5e8ce3f4daf3ff0aa46dda4a2088 07:38:23 $ docker rm -f f4c92e672f1d9659d3ff0277b6cbcd2a925c5e8ce3f4daf3ff0aa46dda4a2088 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:38:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:38:24 . [Pipeline] withDockerContainer 07:38:24 prd-centos7-docker-4c-2g-491 does not seem to be running inside a container 07:38:24 $ 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 07:38:24 $ docker top c697832c9e663f9f9021f54fbb6839b39c375a7474a243ae3d7852f1c8be91a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:38:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:38:24 [ssh-agent] Looking for ssh-agent implementation... 07:38:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:38:24 $ docker exec c697832c9e663f9f9021f54fbb6839b39c375a7474a243ae3d7852f1c8be91a3 ssh-agent 07:38:24 SSH_AUTH_SOCK=/tmp/ssh-Wd4jN0ONYf0V/agent.13 07:38:24 SSH_AGENT_PID=20 07:38:25 Running ssh-add (command line suppressed) 07:38:25 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5878654281481041540.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5878654281481041540.key) 07:38:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:38:25 + git semver push 07:38:25 # -> Open(): unable to determine branch for HEAD 07:38:25 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 07:38:25 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 07:38:25 # $SEMVER_REMOTE_NAME = origin 07:38:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:38:25 # $SEMVER_USER_NAME = edgex-jenkins 07:38:25 # $SEMVER_BRANCH = master 07:38:25 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 07:38:30 $ docker exec --env ******** --env ******** c697832c9e663f9f9021f54fbb6839b39c375a7474a243ae3d7852f1c8be91a3 ssh-agent -k 07:38:30 unset SSH_AUTH_SOCK; 07:38:30 unset SSH_AGENT_PID; 07:38:30 echo Agent pid 20 killed; 07:38:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:38:31 + git semver [Pipeline] } 07:38:31 $ docker stop --time=1 c697832c9e663f9f9021f54fbb6839b39c375a7474a243ae3d7852f1c8be91a3 07:38:32 $ docker rm -f c697832c9e663f9f9021f54fbb6839b39c375a7474a243ae3d7852f1c8be91a3 [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 07:38:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:38:34 ---> package-listing.sh 07:38:34 ++ facter osfamily 07:38:34 ++ tr '[:upper:]' '[:lower:]' 07:38:34 + OS_FAMILY=redhat 07:38:34 + workspace=/w/workspace/gexfoundry_device-snmp-go_master 07:38:34 + START_PACKAGES=/tmp/packages_start.txt 07:38:34 + END_PACKAGES=/tmp/packages_end.txt 07:38:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:38:34 + PACKAGES=/tmp/packages_start.txt 07:38:34 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 07:38:34 + PACKAGES=/tmp/packages_end.txt 07:38:34 + case "${OS_FAMILY}" in 07:38:34 + sort 07:38:34 + rpm -qa 07:38:35 + '[' -f /tmp/packages_start.txt ']' 07:38:35 + '[' -f /tmp/packages_end.txt ']' 07:38:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:38:35 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 07:38:35 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ 07:38:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] echo 07:38:35 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 07:38:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:38:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:38:35 07:38:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:38:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:38:36 alpine: Pulling from edgex-lftools-log-publisher 07:38:36 df20fa9351a1: Pulling fs layer 07:38:36 36b3adc4ff6f: Pulling fs layer 07:38:36 8ad3a11d3b57: Pulling fs layer 07:38:36 46f8f816bc3b: Pulling fs layer 07:38:36 93b61091891f: Pulling fs layer 07:38:36 93b9cdb0e59b: Pulling fs layer 07:38:36 5e14af77c1be: Pulling fs layer 07:38:36 01666e4c0597: Pulling fs layer 07:38:36 aa168da1d23b: Pulling fs layer 07:38:36 46f8f816bc3b: Waiting 07:38:36 93b61091891f: Waiting 07:38:36 93b9cdb0e59b: Waiting 07:38:36 5e14af77c1be: Waiting 07:38:36 01666e4c0597: Waiting 07:38:36 aa168da1d23b: Waiting 07:38:36 36b3adc4ff6f: Verifying Checksum 07:38:36 36b3adc4ff6f: Download complete 07:38:36 46f8f816bc3b: Verifying Checksum 07:38:36 46f8f816bc3b: Download complete 07:38:36 df20fa9351a1: Verifying Checksum 07:38:36 df20fa9351a1: Download complete 07:38:36 93b9cdb0e59b: Verifying Checksum 07:38:36 93b9cdb0e59b: Download complete 07:38:36 93b61091891f: Verifying Checksum 07:38:36 93b61091891f: Download complete 07:38:36 5e14af77c1be: Verifying Checksum 07:38:36 5e14af77c1be: Download complete 07:38:36 01666e4c0597: Verifying Checksum 07:38:36 01666e4c0597: Download complete 07:38:36 8ad3a11d3b57: Verifying Checksum 07:38:36 8ad3a11d3b57: Download complete 07:38:36 df20fa9351a1: Pull complete 07:38:36 36b3adc4ff6f: Pull complete 07:38:37 8ad3a11d3b57: Pull complete 07:38:37 46f8f816bc3b: Pull complete 07:38:37 93b61091891f: Pull complete 07:38:37 93b9cdb0e59b: Pull complete 07:38:37 5e14af77c1be: Pull complete 07:38:37 01666e4c0597: Pull complete 07:38:38 aa168da1d23b: Verifying Checksum 07:38:38 aa168da1d23b: Download complete 07:38:42 aa168da1d23b: Pull complete 07:38:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:38:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:38:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:38:42 prd-centos7-docker-4c-2g-491 does not seem to be running inside a container 07:38:42 $ 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 07:38:44 $ docker top 0dac2c754a78226e8b06d7b64b8f1572e881c0fca42ad4c37066fb6a081ec5ef -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:45 + touch /tmp/pre-build-complete [Pipeline] sh 07:38:45 + mkdir -p /var/log/sa [Pipeline] sh 07:38:45 + ls /var/log/sa-host 07:38:45 + sadf -c /var/log/sa-host/sa05 07:38:45 file_magic: OK 07:38:45 HZ: Using current value: 100 07:38:45 file_header: OK 07:38:45 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 07:38:45 Statistics: 07:38:45 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:38:45 File successfully converted to sysstat format version 12.2.1 07:38:45 + sadf -c /var/log/sa-host/sa11 07:38:45 file_magic: OK 07:38:45 HZ: Using current value: 100 07:38:45 file_header: OK 07:38:45 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 07:38:45 Statistics: 07:38:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:38:45 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:46 provisioning config files... 07:38:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config6687122933430282913tmp [Pipeline] { [Pipeline] echo 07:38:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:38:46 ---> create-netrc.sh [Pipeline] } 07:38:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:38:47 ---> python-tools-install.sh [Pipeline] echo 07:38:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:38:47 ---> sudo-logs.sh 07:38:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:38:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:38:47 ---> job-cost.sh 07:38:47 lf-activate-venv: SKIPPING 07:38:47 DEBUG: total: 0.18000000715255737 07:38:47 INFO: Retrieving Stack Cost... 07:38:48 INFO: Retrieving Pricing Info for: v3-standard-2 07:38:49 INFO: Archiving Costs [Pipeline] echo 07:38:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:38:49 ---> logs-deploy.sh 07:38:49 lf-activate-venv: SKIPPING 07:38:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/33 07:38:49 INFO: archiving workspace using pattern(s): 07:38:50 Archives upload complete. 07:38:50 INFO: archiving logs to Nexus 07:38:51 ---> uname -a: 07:38:51 Linux prd-centos7-docker-4c-2g-491.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 07:38:51 07:38:51 07:38:51 ---> lscpu: 07:38:51 Architecture: x86_64 07:38:51 CPU op-mode(s): 32-bit, 64-bit 07:38:51 Byte Order: Little Endian 07:38:51 Address sizes: 40 bits physical, 48 bits virtual 07:38:51 CPU(s): 2 07:38:51 On-line CPU(s) list: 0,1 07:38:51 Thread(s) per core: 1 07:38:51 Core(s) per socket: 1 07:38:51 Socket(s): 2 07:38:51 NUMA node(s): 1 07:38:51 Vendor ID: AuthenticAMD 07:38:51 CPU family: 23 07:38:51 Model: 49 07:38:51 Model name: AMD EPYC-Rome Processor 07:38:51 Stepping: 0 07:38:51 CPU MHz: 2800.000 07:38:51 BogoMIPS: 5600.00 07:38:51 Virtualization: AMD-V 07:38:51 Hypervisor vendor: KVM 07:38:51 Virtualization type: full 07:38:51 L1d cache: 64 KiB 07:38:51 L1i cache: 64 KiB 07:38:51 L2 cache: 1 MiB 07:38:51 L3 cache: 32 MiB 07:38:51 NUMA node0 CPU(s): 0,1 07:38:51 Vulnerability Itlb multihit: Not affected 07:38:51 Vulnerability L1tf: Not affected 07:38:51 Vulnerability Mds: Not affected 07:38:51 Vulnerability Meltdown: Not affected 07:38:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:38:51 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:38:51 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:38:51 Vulnerability Srbds: Not affected 07:38:51 Vulnerability Tsx async abort: Not affected 07:38:51 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 07:38:51 07:38:51 07:38:51 ---> nproc: 07:38:51 2 07:38:51 07:38:51 07:38:51 ---> df -h: 07:38:51 Filesystem Size Used Available Use% Mounted on 07:38:51 overlay 40.0G 8.9G 31.1G 22% / 07:38:51 tmpfs 64.0M 0 64.0M 0% /dev 07:38:51 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 07:38:51 shm 64.0M 0 64.0M 0% /dev/shm 07:38:51 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 07:38:51 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 07:38:51 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 07:38:51 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 07:38:51 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-snmp-go_master@tmp 07:38:51 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 07:38:51 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 07:38:51 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 07:38:51 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 07:38:51 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-snmp-go_master 07:38:51 07:38:51 07:38:51 ---> free -m: 07:38:51 total used free shared buff/cache available 07:38:51 Mem: 7821 1177 3259 0 3384 6562 07:38:51 Swap: 1023 0 1023 07:38:51 07:38:51 07:38:51 ---> ip addr: 07:38:51 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:38:51 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:38:51 inet 127.0.0.1/8 scope host lo 07:38:51 valid_lft forever preferred_lft forever 07:38:51 inet6 ::1/128 scope host 07:38:51 valid_lft forever preferred_lft forever 07:38:51 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:38:51 link/ether fa:16:3e:18:2e:dd brd ff:ff:ff:ff:ff:ff 07:38:51 inet 10.30.123.69/23 brd 10.30.123.255 scope global dynamic eth0 07:38:51 valid_lft 85649sec preferred_lft 85649sec 07:38:51 inet6 fe80::f816:3eff:fe18:2edd/64 scope link 07:38:51 valid_lft forever preferred_lft forever 07:38:51 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:38:51 link/ether 02:42:18:df:a9:c4 brd ff:ff:ff:ff:ff:ff 07:38:51 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:38:51 valid_lft forever preferred_lft forever 07:38:51 inet6 fe80::42:18ff:fedf:a9c4/64 scope link 07:38:51 valid_lft forever preferred_lft forever 07:38:51 07:38:51 07:38:51 ---> sar -b -r -n DEV: 07:38:51 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/11/21 _x86_64_ (2 CPU) 07:38:51 07:38:51 07:26:09 LINUX RESTART (2 CPU) 07:38:51 07:38:51 07:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:38:51 07:28:01 5.08 0.17 4.91 0.00 22.65 144.67 0.00 07:38:51 07:29:01 0.43 0.00 0.43 0.00 0.00 7.51 0.00 07:38:51 07:30:01 0.23 0.00 0.23 0.00 0.00 3.32 0.00 07:38:51 07:31:01 0.28 0.00 0.28 0.00 0.00 4.55 0.00 07:38:51 07:32:01 0.27 0.00 0.27 0.00 0.00 3.70 0.00 07:38:51 07:33:01 0.30 0.00 0.30 0.00 0.00 4.05 0.00 07:38:51 07:34:01 0.17 0.00 0.17 0.00 0.00 1.88 0.00 07:38:51 07:35:01 0.28 0.00 0.28 0.00 0.00 3.22 0.00 07:38:51 07:36:01 0.25 0.00 0.25 0.00 0.00 2.57 0.00 07:38:51 07:37:01 0.25 0.00 0.25 0.00 0.00 2.80 0.00 07:38:51 07:38:01 117.00 0.03 116.96 0.00 3.73 32870.57 0.00 07:38:51 Average: 11.33 0.02 11.31 0.00 2.40 3006.20 0.00 07:38:51 07:38:51 07:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:38:51 07:28:01 5461688 0 808532 10.10 2620 1736100 1256880 13.88 577420 1571648 20 07:38:51 07:29:01 5461596 0 808616 10.10 2620 1736108 1242476 13.72 580860 1568636 20 07:38:51 07:30:01 5465420 0 804792 10.05 2620 1736108 1205552 13.31 576832 1570764 8 07:38:51 07:31:01 5464284 0 805920 10.06 2620 1736116 1205420 13.31 576364 1571436 16 07:38:51 07:32:01 5456720 0 813480 10.16 2620 1736120 1244780 13.74 578804 1576196 20 07:38:51 07:33:01 5462388 0 807812 10.09 2620 1736120 1199092 13.24 573572 1576196 16 07:38:51 07:34:01 5461764 0 808424 10.09 2620 1736132 1199092 13.24 574416 1576196 8 07:38:51 07:35:01 5453452 0 816732 10.20 2620 1736136 1199140 13.24 582508 1576196 8 07:38:51 07:36:01 5453872 0 816308 10.19 2620 1736140 1199092 13.24 582260 1576196 8 07:38:51 07:37:01 5452644 0 817532 10.21 2620 1736144 1205716 13.31 584376 1575052 20 07:38:51 07:38:01 3963576 0 1037588 12.96 2620 3005156 1396708 15.42 797696 2672768 549252 07:38:51 Average: 5323400 0 831431 10.38 2620 1851489 1232177 13.60 598646 1673753 49945 07:38:51 07:38:51 07:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:38:51 07:28:01 eth0 11.68 6.53 9.89 2.92 0.00 0.00 0.00 0.00 07:38:51 07:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:29:01 eth0 1.08 0.28 0.32 0.20 0.00 0.00 0.00 0.00 07:38:51 07:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:30:01 eth0 1.25 0.32 0.33 0.20 0.00 0.00 0.00 0.00 07:38:51 07:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:31:01 eth0 0.55 0.23 0.27 0.19 0.00 0.00 0.00 0.00 07:38:51 07:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:32:01 eth0 2.10 2.15 0.20 14.18 0.00 0.00 0.00 0.00 07:38:51 07:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:33:01 eth0 0.10 0.08 0.01 0.18 0.00 0.00 0.00 0.00 07:38:51 07:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:34:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:38:51 07:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:35:01 eth0 0.27 0.13 0.07 0.01 0.00 0.00 0.00 0.00 07:38:51 07:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:36:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:38:51 07:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:37:01 eth0 1.07 1.15 0.14 6.46 0.00 0.00 0.00 0.00 07:38:51 07:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:38:01 eth0 839.57 768.87 7670.65 69.71 0.00 0.00 0.00 0.00 07:38:51 07:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 07:38:01 docker0 64.37 69.64 5.16 386.97 0.00 0.00 0.00 0.00 07:38:51 Average: eth0 78.04 70.94 698.77 8.56 0.00 0.00 0.00 0.00 07:38:51 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:38:51 Average: docker0 5.86 6.33 0.47 35.20 0.00 0.00 0.00 0.00 07:38:51 07:38:51 07:38:51 ---> sar -P ALL: 07:38:51 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/11/21 _x86_64_ (2 CPU) 07:38:51 07:38:51 07:26:09 LINUX RESTART (2 CPU) 07:38:51 07:38:51 07:27:01 CPU %user %nice %system %iowait %steal %idle 07:38:51 07:28:01 all 0.32 0.00 0.18 0.03 0.06 99.41 07:38:51 07:28:01 0 0.39 0.00 0.17 0.05 0.05 99.35 07:38:51 07:28:01 1 0.25 0.00 0.18 0.02 0.07 99.48 07:38:51 07:29:01 all 0.08 0.00 0.04 0.00 0.05 99.83 07:38:51 07:29:01 0 0.08 0.00 0.03 0.00 0.05 99.83 07:38:51 07:29:01 1 0.07 0.00 0.05 0.00 0.05 99.83 07:38:51 07:30:01 all 0.10 0.00 0.08 0.00 0.04 99.77 07:38:51 07:30:01 0 0.15 0.00 0.12 0.00 0.03 99.70 07:38:51 07:30:01 1 0.05 0.00 0.05 0.00 0.05 99.85 07:38:51 07:31:01 all 0.08 0.00 0.03 0.00 0.03 99.86 07:38:51 07:31:01 0 0.13 0.00 0.03 0.00 0.03 99.80 07:38:51 07:31:01 1 0.03 0.00 0.02 0.00 0.03 99.92 07:38:51 07:32:01 all 0.18 0.00 0.05 0.00 0.03 99.74 07:38:51 07:32:01 0 0.20 0.00 0.05 0.00 0.03 99.72 07:38:51 07:32:01 1 0.15 0.00 0.05 0.00 0.03 99.77 07:38:51 07:33:01 all 0.03 0.00 0.03 0.00 0.04 99.91 07:38:51 07:33:01 0 0.03 0.00 0.02 0.00 0.07 99.88 07:38:51 07:33:01 1 0.02 0.00 0.03 0.00 0.02 99.93 07:38:51 07:34:01 all 0.03 0.00 0.04 0.00 0.03 99.90 07:38:51 07:34:01 0 0.02 0.00 0.07 0.00 0.05 99.87 07:38:51 07:34:01 1 0.03 0.00 0.02 0.00 0.02 99.93 07:38:51 07:35:01 all 0.02 0.00 0.03 0.00 0.03 99.92 07:38:51 07:35:01 0 0.02 0.00 0.02 0.00 0.03 99.93 07:38:51 07:35:01 1 0.02 0.00 0.03 0.00 0.03 99.92 07:38:51 07:36:01 all 0.03 0.00 0.02 0.00 0.04 99.91 07:38:51 07:36:01 0 0.03 0.00 0.02 0.00 0.05 99.90 07:38:51 07:36:01 1 0.03 0.00 0.02 0.00 0.03 99.92 07:38:51 07:37:01 all 0.04 0.00 0.03 0.00 0.04 99.89 07:38:51 07:37:01 0 0.03 0.00 0.03 0.00 0.03 99.90 07:38:51 07:37:01 1 0.05 0.00 0.02 0.00 0.05 99.88 07:38:51 07:38:01 all 18.11 0.00 7.58 2.96 0.09 71.26 07:38:51 07:38:01 0 18.79 0.00 7.62 2.75 0.09 70.75 07:38:51 07:38:01 1 17.44 0.00 7.55 3.17 0.09 71.76 07:38:51 07:38:51 Average: CPU %user %nice %system %iowait %steal %idle 07:38:51 Average: all 1.66 0.00 0.71 0.26 0.04 97.33 07:38:51 Average: 0 1.73 0.00 0.71 0.24 0.05 97.27 07:38:51 Average: 1 1.58 0.00 0.70 0.28 0.04 97.40 07:38:51 07:38:51 07:38:51