Pull request #100 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 57cb4ad9f342aba946ca6cd4c707869a45f27a71+36f220337c15c882742676291291e5935134de27 (d91df17fa94ee33c8ac295d47f3e36412715f732) 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-ssh8717690879513259937.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7822312460456617034.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-100/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/PR-100/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3225986109165868946.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7192719575801983378.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-100/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/PR-100/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1136192755725209399.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-324 in /w/workspace/gexfoundry_device-snmp-go_PR-100 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-100 # 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_PR-100@tmp/jenkins-gitclient-ssh475572825609569206.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 remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [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_PR-100@tmp/jenkins-gitclient-ssh9205916439738982902.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 36f220337c15c882742676291291e5935134de27 into PR head commit 57cb4ad9f342aba946ca6cd4c707869a45f27a71 Merge succeeded, producing 57cb4ad9f342aba946ca6cd4c707869a45f27a71 Checking out Revision 57cb4ad9f342aba946ca6cd4c707869a45f27a71 (PR-100) > git config core.sparsecheckout # timeout=10 > git checkout -f 57cb4ad9f342aba946ca6cd4c707869a45f27a71 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-snmp-go_PR-100@tmp/jenkins-gitclient-ssh1855904334732539377.key > git merge 36f220337c15c882742676291291e5935134de27 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57cb4ad9f342aba946ca6cd4c707869a45f27a71 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:45:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:45:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:45:46 ========================================================= 01:45:46 EdgeX Global Pipelines Version Info 01:45:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9d6357bcddde696a4c85c15c815c1fa368d70fcf # timeout=10 01:45:48 ------------------- 01:45:48 stable info: 01:45:48 ------------------- 01:45:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:45:48 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 01:45:48 Message: update stable to v1.0.192 01:45:49 ------------------- 01:45:49 experimental info: 01:45:49 ------------------- 01:45:49 Commited By: **** collab-it+edgex@linuxfoundation.org 01:45:49 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 01:45:49 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-100 [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-100 [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-100 [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57cb4ad9f342aba946ca6cd4c707869a45f27a71 [Pipeline] echo 01:45:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57cb4ad [Pipeline] echo 01:45:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:50 provisioning config files... 01:45:50 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-100@tmp/config6426810336806582038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:50 ---> docker-login.sh 01:45:50 nexus3.edgexfoundry.org:10001 01:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:51 Configure a credential helper to remove this warning. See 01:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:51 01:45:51 Login Succeeded 01:45:51 nexus3.edgexfoundry.org:10002 01:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:51 Configure a credential helper to remove this warning. See 01:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:51 01:45:51 Login Succeeded 01:45:51 nexus3.edgexfoundry.org:10003 01:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:51 Configure a credential helper to remove this warning. See 01:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:51 01:45:51 Login Succeeded 01:45:51 nexus3.edgexfoundry.org:10004 01:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:51 Configure a credential helper to remove this warning. See 01:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:51 01:45:51 Login Succeeded 01:45:51 docker.io 01:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:51 Configure a credential helper to remove this warning. See 01:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:51 01:45:51 Login Succeeded 01:45:51 ---> docker-login.sh ends [Pipeline] } 01:45:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:45:52 + git log --format=format:%s -1 57cb4ad9f342aba946ca6cd4c707869a45f27a71 [Pipeline] echo 01:45:52 GIT_COMMIT: 57cb4ad9f342aba946ca6cd4c707869a45f27a71, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 01:45:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:45:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:45:52 01:45:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:45:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:45:53 latest: Pulling from edgex-devops/git-semver 01:45:53 31603596830f: Pulling fs layer 01:45:53 54011a49482f: Pulling fs layer 01:45:53 a6820b24f6d8: Pulling fs layer 01:45:53 f581987b2513: Pulling fs layer 01:45:53 f581987b2513: Waiting 01:45:53 54011a49482f: Verifying Checksum 01:45:53 54011a49482f: Download complete 01:45:53 31603596830f: Verifying Checksum 01:45:53 31603596830f: Download complete 01:45:53 f581987b2513: Verifying Checksum 01:45:53 f581987b2513: Download complete 01:45:53 a6820b24f6d8: Verifying Checksum 01:45:53 a6820b24f6d8: Download complete 01:45:53 31603596830f: Pull complete 01:45:53 54011a49482f: Pull complete 01:45:54 a6820b24f6d8: Pull complete 01:45:54 f581987b2513: Pull complete 01:45:54 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 01:45:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:45:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:45:54 prd-centos7-docker-4c-2g-324 does not seem to be running inside a container 01:45:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-100 -v /w/workspace/gexfoundry_device-snmp-go_PR-100:/w/workspace/gexfoundry_device-snmp-go_PR-100:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-100@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-100@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:45:56 $ docker top 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:56 [ssh-agent] Looking for ssh-agent implementation... 01:45:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:56 $ docker exec 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce ssh-agent 01:45:56 SSH_AUTH_SOCK=/tmp/ssh-3A4QGazUkHoa/agent.14 01:45:56 SSH_AGENT_PID=20 01:45:56 Running ssh-add (command line suppressed) 01:45:56 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-100@tmp/private_key_3704809760468538021.key (/w/workspace/gexfoundry_device-snmp-go_PR-100@tmp/private_key_3704809760468538021.key) 01:45:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:56 + git tag --points-at HEAD [Pipeline] } 01:45:56 $ docker exec --env ******** --env ******** 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce ssh-agent -k 01:45:56 unset SSH_AUTH_SOCK; 01:45:56 unset SSH_AGENT_PID; 01:45:56 echo Agent pid 20 killed; 01:45:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:45:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:57 [ssh-agent] Looking for ssh-agent implementation... 01:45:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:57 $ docker exec 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce ssh-agent 01:45:57 SSH_AUTH_SOCK=/tmp/ssh-ywMCZ0pv7XZv/agent.51 01:45:57 SSH_AGENT_PID=58 01:45:57 Running ssh-add (command line suppressed) 01:45:57 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-100@tmp/private_key_4571862374809082639.key (/w/workspace/gexfoundry_device-snmp-go_PR-100@tmp/private_key_4571862374809082639.key) 01:45:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:57 + git semver init 01:45:57 # -> Open(): unable to determine branch for HEAD 01:45:57 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-100/.git 01:45:57 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-100 01:45:57 # $SEMVER_REMOTE_NAME = origin 01:45:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:45:57 # $SEMVER_USER_NAME = edgex-jenkins 01:45:57 # $SEMVER_BRANCH = PR-100 01:45:57 # $SEMVER_TEMP = /tmp/semver-222717050 01:45:57 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 01:45:57 # '/tmp/semver-222717050' -> '/w/workspace/gexfoundry_device-snmp-go_PR-100/.semver' 01:45:57 # -> Force: false 01:45:57 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-100/.semver [Pipeline] } 01:45:57 $ docker exec --env ******** --env ******** 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce ssh-agent -k 01:45:58 unset SSH_AUTH_SOCK; 01:45:58 unset SSH_AGENT_PID; 01:45:58 echo Agent pid 58 killed; 01:45:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:45:58 + git semver [Pipeline] } 01:45:58 $ docker stop --time=1 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce 01:45:59 $ docker rm -f 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce [Pipeline] // withDockerContainer [Pipeline] sh 01:46:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:46:00 Stashed 1 file(s) [Pipeline] echo 01:46:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 01:46:15 Still waiting to schedule task 01:46:15 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:46:15 Still waiting to schedule task 01:46:15 ‘prd-ubuntu18.04-docker-arm64-4c-16g-320’ is offline 01:47:39 Running on prd-centos7-docker-4c-2g-329 in /w/workspace/gexfoundry_device-snmp-go_PR-100 [Pipeline] { [Pipeline] ws 01:47:39 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 01:47:39 Selected Git installation does not exist. Using Default 01:47:39 The recommended git tool is: NONE 01:47:41 using credential edgex-jenkins-ssh 01:47:41 Cloning the remote Git repository 01:47:41 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 01:47:41 > git init /w/workspace/device-snmp-go/2 # timeout=10 01:47:42 Merging remotes/origin/master commit 36f220337c15c882742676291291e5935134de27 into PR head commit 57cb4ad9f342aba946ca6cd4c707869a45f27a71 01:47:42 Merge succeeded, producing 57cb4ad9f342aba946ca6cd4c707869a45f27a71 01:47:42 Checking out Revision 57cb4ad9f342aba946ca6cd4c707869a45f27a71 (PR-100) 01:47:41 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:47:41 > git --version # timeout=10 01:47:41 > git --version # 'git version 2.24.4' 01:47:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:47:41 [INFO] Currently running in a labeled security context 01:47:41 [INFO] Currently SELinux is 'enforcing' on the host 01:47:41 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh8884464403596387984.key 01:47:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:47:42 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:47:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:47:42 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:47:42 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:47:42 using GIT_SSH to set credentials SSH Credentials for GitHub 01:47:42 [INFO] Currently running in a labeled security context 01:47:42 [INFO] Currently SELinux is 'enforcing' on the host 01:47:42 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh4199182827329224859.key 01:47:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:47:42 > git config core.sparsecheckout # timeout=10 01:47:42 > git checkout -f 57cb4ad9f342aba946ca6cd4c707869a45f27a71 # timeout=10 01:47:42 > git remote # timeout=10 01:47:42 > git config --get remote.origin.url # timeout=10 01:47:42 using GIT_SSH to set credentials SSH Credentials for GitHub 01:47:42 [INFO] Currently running in a labeled security context 01:47:42 [INFO] Currently SELinux is 'enforcing' on the host 01:47:42 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh9149503068309954237.key 01:47:42 > git merge 36f220337c15c882742676291291e5935134de27 # timeout=10 01:47:42 > git rev-parse HEAD^{commit} # timeout=10 01:47:42 > git config core.sparsecheckout # timeout=10 01:47:42 > git checkout -f 57cb4ad9f342aba946ca6cd4c707869a45f27a71 # timeout=10 01:47:46 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:47:47 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 01:47:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:47:48 + sudo service docker restart 01:47:48 + true 01:47:48 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:06 provisioning config files... 01:48:06 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config4447435949061172237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:06 ---> docker-login.sh 01:48:06 nexus3.edgexfoundry.org:10001 01:48:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:06 Configure a credential helper to remove this warning. See 01:48:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:06 01:48:06 Login Succeeded 01:48:06 nexus3.edgexfoundry.org:10002 01:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:07 Configure a credential helper to remove this warning. See 01:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:07 01:48:07 Login Succeeded 01:48:07 nexus3.edgexfoundry.org:10003 01:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:07 Configure a credential helper to remove this warning. See 01:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:07 01:48:07 Login Succeeded 01:48:07 nexus3.edgexfoundry.org:10004 01:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:07 Configure a credential helper to remove this warning. See 01:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:07 01:48:07 Login Succeeded 01:48:07 docker.io 01:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:07 Configure a credential helper to remove this warning. See 01:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:07 01:48:07 Login Succeeded 01:48:07 ---> docker-login.sh ends [Pipeline] } 01:48:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:48:08 ========================================================= 01:48:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 01:48:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:48:08 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 01:48:08 Sending build context to Docker daemon 355.8kB 01:48:08 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 01:48:08 Step 2/10 : FROM ${BASE} 01:48:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 01:48:08 540db60ca938: Pulling fs layer 01:48:08 adcc1eea9eea: Pulling fs layer 01:48:08 4c4ab2625f07: Pulling fs layer 01:48:08 0510c868ecb4: Pulling fs layer 01:48:08 afea3b2eda06: Pulling fs layer 01:48:08 7809a108b3ef: Pulling fs layer 01:48:08 f706445af74f: Pulling fs layer 01:48:08 0510c868ecb4: Waiting 01:48:08 afea3b2eda06: Waiting 01:48:08 f706445af74f: Waiting 01:48:08 7809a108b3ef: Waiting 01:48:08 4c4ab2625f07: Verifying Checksum 01:48:08 4c4ab2625f07: Download complete 01:48:08 adcc1eea9eea: Verifying Checksum 01:48:08 adcc1eea9eea: Download complete 01:48:08 afea3b2eda06: Verifying Checksum 01:48:08 afea3b2eda06: Download complete 01:48:08 7809a108b3ef: Verifying Checksum 01:48:08 7809a108b3ef: Download complete 01:48:08 540db60ca938: Verifying Checksum 01:48:08 540db60ca938: Download complete 01:48:08 540db60ca938: Pull complete 01:48:08 adcc1eea9eea: Pull complete 01:48:09 4c4ab2625f07: Pull complete 01:48:10 f706445af74f: Verifying Checksum 01:48:10 f706445af74f: Download complete 01:48:10 0510c868ecb4: Verifying Checksum 01:48:10 0510c868ecb4: Download complete 01:48:14 0510c868ecb4: Pull complete 01:48:14 afea3b2eda06: Pull complete 01:48:14 7809a108b3ef: Pull complete 01:48:15 f706445af74f: Pull complete 01:48:15 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 01:48:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:48:15 ---> b068be0155e3 01:48:15 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 01:48:19 ---> Running in 2d5adff5d5bd 01:48:19 Removing intermediate container 2d5adff5d5bd 01:48:19 ---> c7e007f04791 01:48:19 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:48:19 ---> Running in 5e899fd5d225 01:48:19 Removing intermediate container 5e899fd5d225 01:48:19 ---> 6a636661e3c8 01:48:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 01:48:19 ---> Running in 7a5813439020 01:48:19 Removing intermediate container 7a5813439020 01:48:19 ---> 7115959ac045 01:48:19 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:48:19 ---> Running in 24f446493ac3 01:48:20 Removing intermediate container 24f446493ac3 01:48:20 ---> cd4be7c0187e 01:48:20 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:48:20 ---> Running in e247d44a2d33 01:48:20 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:48:21 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:48:21 (1/13) Installing libc-dev (0.7.2-r3) 01:48:21 (2/13) Installing libsodium (1.0.18-r0) 01:48:21 (3/13) Installing pkgconf (1.7.3-r0) 01:48:21 (4/13) Installing libsodium-dev (1.0.18-r0) 01:48:21 (5/13) Installing openssh-keygen (8.4_p1-r3) 01:48:22 (6/13) Installing libedit (20191231.3.1-r1) 01:48:22 (7/13) Installing openssh-client (8.4_p1-r3) 01:48:22 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 01:48:22 (9/13) Installing openssh-server-common (8.4_p1-r3) 01:48:22 (10/13) Installing openssh-server (8.4_p1-r3) 01:48:22 (11/13) Installing openssh (8.4_p1-r3) 01:48:23 (12/13) Installing libzmq (4.3.3-r1) 01:48:23 (13/13) Installing zeromq-dev (4.3.3-r1) 01:48:23 Executing busybox-1.32.1-r6.trigger 01:48:23 OK: 156 MiB in 53 packages 01:48:23 Removing intermediate container e247d44a2d33 01:48:23 ---> 2868fcda7a88 01:48:23 Step 8/10 : WORKDIR /device-snmp-go 01:48:23 ---> Running in 73f48f642559 01:48:23 Removing intermediate container 73f48f642559 01:48:23 ---> 87ad96084383 01:48:23 Step 9/10 : COPY . . 01:48:23 ---> 924ebcf6659c 01:48:23 Step 10/10 : RUN go mod download 01:48:23 ---> Running in 61fb8bd7e43c 01:48:36 Removing intermediate container 61fb8bd7e43c 01:48:36 ---> a4961565460a 01:48:36 Successfully built a4961565460a 01:48:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:48:36 + docker inspect -f . ci-base-image-x86_64 01:48:36 . [Pipeline] withDockerContainer 01:48:36 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 01:48:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:48:36 $ docker top cb5fc4d49d940001897b25d7406226e77c9e17d54a50a45db25e2e3a5e17d879 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:37 + go version 01:48:37 go version go1.16.3 linux/amd64 [Pipeline] } 01:48:37 $ docker stop --time=1 cb5fc4d49d940001897b25d7406226e77c9e17d54a50a45db25e2e3a5e17d879 01:48:38 $ docker rm -f cb5fc4d49d940001897b25d7406226e77c9e17d54a50a45db25e2e3a5e17d879 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:48:39 + docker inspect -f . ci-base-image-x86_64 01:48:39 . [Pipeline] withDockerContainer 01:48:39 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 01:48:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:48:39 $ docker top a81c797c04ca1e3a85cd769e97f26ba8df35c6a563deb96d57a6285693e357a0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:39 + go mod tidy [Pipeline] sh 01:48:40 + make test 01:48:40 go mod tidy 01:48:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:48:41 ? github.com/edgexfoundry/device-snmp-go [no test files] 01:48:56 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 01:48:56 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 01:48:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:49:01 gofmt -l . 01:49:01 [ "`gofmt -l .`" = "" ] 01:49:01 ./bin/test-attribution-txt.sh [Pipeline] } 01:49:02 $ docker stop --time=1 a81c797c04ca1e3a85cd769e97f26ba8df35c6a563deb96d57a6285693e357a0 01:49:03 $ docker rm -f a81c797c04ca1e3a85cd769e97f26ba8df35c6a563deb96d57a6285693e357a0 [Pipeline] // withDockerContainer [Pipeline] sh 01:49:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:49:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:49:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:49:05 + ls -al . 01:49:05 total 104 01:49:05 drwxrwxr-x. 7 jenkins jenkins 4096 May 26 01:49 . 01:49:05 drwxrwxr-x. 4 jenkins jenkins 28 May 26 01:47 .. 01:49:05 -rw-rw-r--. 1 jenkins jenkins 6520 May 26 01:47 Attribution.txt 01:49:05 drwxrwxr-x. 2 jenkins jenkins 60 May 26 01:47 bin 01:49:05 drwxrwxr-x. 3 jenkins jenkins 32 May 26 01:47 cmd 01:49:05 -rw-r--r--. 1 jenkins jenkins 7631 May 26 01:48 coverage.out 01:49:05 -rw-rw-r--. 1 jenkins jenkins 1459 May 26 01:47 Dockerfile 01:49:05 -rw-rw-r--. 1 jenkins jenkins 1057 May 26 01:47 Dockerfile.build 01:49:05 -rw-rw-r--. 1 jenkins jenkins 6 May 26 01:47 .dockerignore 01:49:05 drwxrwxr-x. 8 jenkins jenkins 179 May 26 01:47 .git 01:49:05 drwxrwxr-x. 2 jenkins jenkins 103 May 26 01:47 .github 01:49:05 -rw-rw-r--. 1 jenkins jenkins 269 May 26 01:47 .gitignore 01:49:05 -rw-rw-r--. 1 jenkins jenkins 222 May 26 01:47 go.mod 01:49:05 -rw-r--r--. 1 jenkins jenkins 21556 May 26 01:48 go.sum 01:49:05 drwxrwxr-x. 3 jenkins jenkins 20 May 26 01:47 internal 01:49:05 -rw-rw-r--. 1 jenkins jenkins 656 May 26 01:47 Jenkinsfile 01:49:05 -rw-rw-r--. 1 jenkins jenkins 11340 May 26 01:47 LICENSE 01:49:05 -rw-rw-r--. 1 jenkins jenkins 936 May 26 01:47 Makefile 01:49:05 -rw-rw-r--. 1 jenkins jenkins 9079 May 26 01:47 README.md 01:49:05 -rw-rw-r--. 1 jenkins jenkins 5 May 26 01:46 VERSION 01:49:05 -rw-rw-r--. 1 jenkins jenkins 209 May 26 01:47 version.go [Pipeline] isUnix [Pipeline] sh 01:49:05 + 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=57cb4ad9f342aba946ca6cd4c707869a45f27a71 --label arch=amd64 --label version=0.0.0 . 01:49:05 Sending build context to Docker daemon 364kB 01:49:05 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 01:49:05 Step 2/24 : FROM ${BASE} AS builder 01:49:05 ---> a4961565460a 01:49:05 Step 3/24 : ARG MAKE='make build' 01:49:05 ---> Running in 753c36ac820a 01:49:05 Removing intermediate container 753c36ac820a 01:49:05 ---> bad4691b1d7e 01:49:05 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:49:05 ---> Running in 29ba54821c0a 01:49:05 Removing intermediate container 29ba54821c0a 01:49:05 ---> 204b4021710a 01:49:05 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:49:05 ---> Running in b16ce629dc89 01:49:05 Removing intermediate container b16ce629dc89 01:49:05 ---> 55a1469402c6 01:49:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:49:05 ---> Running in bcaeb1267f47 01:49:06 Removing intermediate container bcaeb1267f47 01:49:06 ---> 9c24bdc98f5d 01:49:06 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:49:06 ---> Running in d2ef2a322d1c 01:49:06 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:49:07 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:49:07 OK: 156 MiB in 53 packages 01:49:08 Removing intermediate container d2ef2a322d1c 01:49:08 ---> f990b41dd67d 01:49:08 Step 8/24 : WORKDIR /device-snmp-go 01:49:08 ---> Running in 04940b5bfe44 01:49:08 Removing intermediate container 04940b5bfe44 01:49:08 ---> 7537ba2fee4a 01:49:08 Step 9/24 : COPY . . 01:49:08 ---> 6d2f79d1724f 01:49:08 Step 10/24 : RUN go mod tidy 01:49:08 ---> Running in 1c7b84f87587 01:49:09 Removing intermediate container 1c7b84f87587 01:49:09 ---> 0f072245c7c0 01:49:09 Step 11/24 : RUN make update 01:49:09 ---> Running in abf474108a2f 01:49:09 CGO_ENABLED=0 GO111MODULE=on go mod download 01:49:09 Removing intermediate container abf474108a2f 01:49:09 ---> 63098716b453 01:49:09 Step 12/24 : RUN ${MAKE} 01:49:09 ---> Running in 832b9ec4c440 01:49:09 go mod tidy 01:49:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 01:49:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-332 in /w/workspace/gexfoundry_device-snmp-go_PR-100 [Pipeline] { [Pipeline] ws 01:49:13 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 01:49:13 Selected Git installation does not exist. Using Default 01:49:13 The recommended git tool is: NONE 01:49:21 using credential edgex-jenkins-ssh 01:49:21 Cloning the remote Git repository 01:49:22 Removing intermediate container 832b9ec4c440 01:49:22 ---> 501471fc955f 01:49:22 Step 13/24 : FROM alpine:3.12 01:49:22 3.12: Pulling from library/alpine 01:49:21 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 01:49:21 > git init /w/workspace/device-snmp-go/2 # timeout=10 01:49:21 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:49:21 > git --version # timeout=10 01:49:21 > git --version # 'git version 2.17.1' 01:49:21 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:49:22 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:49:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:49:22 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:49:22 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:49:22 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:49:22 339de151aab4: Pulling fs layer 01:49:22 339de151aab4: Verifying Checksum 01:49:22 339de151aab4: Download complete 01:49:22 Merging remotes/origin/master commit 36f220337c15c882742676291291e5935134de27 into PR head commit 57cb4ad9f342aba946ca6cd4c707869a45f27a71 01:49:22 339de151aab4: Pull complete 01:49:22 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 01:49:22 Status: Downloaded newer image for alpine:3.12 01:49:22 ---> 13621d1b12d4 01:49:22 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 01:49:22 ---> Running in 2e79e3656fd0 01:49:23 Merge succeeded, producing 57cb4ad9f342aba946ca6cd4c707869a45f27a71 01:49:23 Checking out Revision 57cb4ad9f342aba946ca6cd4c707869a45f27a71 (PR-100) 01:49:23 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:49:23 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:49:23 (1/6) Installing dumb-init (1.2.2-r1) 01:49:23 (2/6) Installing libgcc (9.3.0-r2) 01:49:23 (3/6) Installing libsodium (1.0.18-r0) 01:49:23 (4/6) Installing libstdc++ (9.3.0-r2) 01:49:23 (5/6) Installing libzmq (4.3.3-r0) 01:49:23 (6/6) Installing zeromq (4.3.3-r0) 01:49:23 Executing busybox-1.31.1-r20.trigger 01:49:23 OK: 8 MiB in 20 packages 01:49:23 Removing intermediate container 2e79e3656fd0 01:49:23 ---> 07b8251b5b37 01:49:23 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 01:49:22 > git config core.sparsecheckout # timeout=10 01:49:22 > git checkout -f 57cb4ad9f342aba946ca6cd4c707869a45f27a71 # timeout=10 01:49:23 > git remote # timeout=10 01:49:23 > git config --get remote.origin.url # timeout=10 01:49:23 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:23 > git merge 36f220337c15c882742676291291e5935134de27 # timeout=10 01:49:23 > git rev-parse HEAD^{commit} # timeout=10 01:49:23 > git config core.sparsecheckout # timeout=10 01:49:23 > git checkout -f 57cb4ad9f342aba946ca6cd4c707869a45f27a71 # timeout=10 01:49:24 ---> b9a2aaa40edf 01:49:24 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 01:49:24 ---> 930e0f833084 01:49:24 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 01:49:24 ---> 4e24a0268d62 01:49:24 Step 18/24 : EXPOSE 59993 01:49:24 ---> Running in 32a02c735e9e 01:49:24 Removing intermediate container 32a02c735e9e 01:49:24 ---> e00202fc31e1 01:49:24 Step 19/24 : EXPOSE 161 01:49:24 ---> Running in 31e33c1ce0b0 01:49:24 Removing intermediate container 31e33c1ce0b0 01:49:24 ---> f05415a3e5e8 01:49:24 Step 20/24 : ENTRYPOINT ["/device-snmp"] 01:49:24 ---> Running in 101ef5df5260 01:49:24 Removing intermediate container 101ef5df5260 01:49:24 ---> bffe360206fd 01:49:24 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:49:24 ---> Running in 3707c095f3f1 01:49:25 Removing intermediate container 3707c095f3f1 01:49:25 ---> e7837679cb71 01:49:25 Step 22/24 : LABEL arch=amd64 01:49:25 ---> Running in a8755f374984 01:49:25 Removing intermediate container a8755f374984 01:49:25 ---> 697ae673de67 01:49:25 Step 23/24 : LABEL git_sha=57cb4ad9f342aba946ca6cd4c707869a45f27a71 01:49:25 ---> Running in a89b4f058c6a 01:49:25 Removing intermediate container a89b4f058c6a 01:49:25 ---> 2528aae8b8d1 01:49:25 Step 24/24 : LABEL version=0.0.0 01:49:25 ---> Running in 119669751b53 01:49:25 Removing intermediate container 119669751b53 01:49:25 ---> 88aef10e6a5d 01:49:25 [Warning] One or more build-args [ARCH] were not consumed 01:49:25 Successfully built 88aef10e6a5d 01:49:25 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 01:49:25 ---> job-cost.sh 01:49:25 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EjhG 01:49:27 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 01:49:27 01:49:27 GitHub has been notified of this commit’s build result 01:49:27 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:49:29 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 01:49:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:49:29 + true 01:49:29 + sudo service docker restart 01:49:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:49:48 lf-activate-venv(): INFO: Adding /tmp/venv-EjhG/bin to PATH 01:49:48 INFO: No Stack... 01:49:48 INFO: Retrieving Pricing Info for: v3-standard-2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:49:48 provisioning config files... 01:49:48 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config1005643602180926575tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:48 INFO: Archiving Costs [Pipeline] sh 01:49:48 ---> docker-login.sh 01:49:48 nexus3.edgexfoundry.org:10001 01:49:48 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 01:49:48 + cut -d, -f6 [Pipeline] lock 01:49:48 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] 01:49:48 Resource [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] did not exist. Created. 01:49:48 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:49:49 + echo total: 0.05999999865889549 [Pipeline] stash 01:49:49 Stashed 1 file(s) [Pipeline] } 01:49:49 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:50 Configure a credential helper to remove this warning. See 01:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:50 01:49:50 Login Succeeded 01:49:50 nexus3.edgexfoundry.org:10002 01:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:50 Configure a credential helper to remove this warning. See 01:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:50 01:49:50 Login Succeeded 01:49:50 nexus3.edgexfoundry.org:10003 01:49:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:51 Configure a credential helper to remove this warning. See 01:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:51 01:49:51 Login Succeeded 01:49:51 nexus3.edgexfoundry.org:10004 01:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:52 Configure a credential helper to remove this warning. See 01:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:52 01:49:52 Login Succeeded 01:49:52 docker.io 01:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:52 Configure a credential helper to remove this warning. See 01:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:52 01:49:52 Login Succeeded 01:49:52 ---> docker-login.sh ends [Pipeline] } 01:49:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:49:53 ========================================================= 01:49:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 01:49:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:49:53 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 01:49:53 Sending build context to Docker daemon 354.8kB 01:49:54 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 01:49:54 Step 2/10 : FROM ${BASE} 01:49:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:49:54 595b0fe564bb: Pulling fs layer 01:49:54 7186ed65a4f7: Pulling fs layer 01:49:54 316046926c0a: Pulling fs layer 01:49:54 4ebd0625c992: Pulling fs layer 01:49:54 207e8628e3a3: Pulling fs layer 01:49:54 c791037a9be2: Pulling fs layer 01:49:54 ffd874e62e21: Pulling fs layer 01:49:54 207e8628e3a3: Waiting 01:49:54 c791037a9be2: Waiting 01:49:54 ffd874e62e21: Waiting 01:49:54 4ebd0625c992: Waiting 01:49:54 316046926c0a: Verifying Checksum 01:49:54 316046926c0a: Download complete 01:49:54 7186ed65a4f7: Verifying Checksum 01:49:54 7186ed65a4f7: Download complete 01:49:54 207e8628e3a3: Verifying Checksum 01:49:54 207e8628e3a3: Download complete 01:49:54 c791037a9be2: Verifying Checksum 01:49:54 c791037a9be2: Download complete 01:49:54 595b0fe564bb: Verifying Checksum 01:49:54 595b0fe564bb: Download complete 01:49:55 595b0fe564bb: Pull complete 01:49:55 7186ed65a4f7: Pull complete 01:49:56 316046926c0a: Pull complete 01:49:56 ffd874e62e21: Verifying Checksum 01:49:56 ffd874e62e21: Download complete 01:49:58 4ebd0625c992: Verifying Checksum 01:49:58 4ebd0625c992: Download complete 01:50:08 4ebd0625c992: Pull complete 01:50:08 207e8628e3a3: Pull complete 01:50:10 c791037a9be2: Pull complete 01:50:13 ffd874e62e21: Pull complete 01:50:13 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 01:50:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 01:50:13 ---> cfc18b08335c 01:50:13 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 01:50:15 ---> Running in dfe035b95736 01:50:15 Removing intermediate container dfe035b95736 01:50:15 ---> 9c8a1065ad23 01:50:15 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:50:16 ---> Running in 32c2d71dd590 01:50:16 Removing intermediate container 32c2d71dd590 01:50:16 ---> 5ea53fd722e7 01:50:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 01:50:16 ---> Running in 5282bb983da8 01:50:17 Removing intermediate container 5282bb983da8 01:50:17 ---> d97938daa05d 01:50:17 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:50:17 ---> Running in 02f9ec06962b 01:50:20 Removing intermediate container 02f9ec06962b 01:50:20 ---> 64af4af0c186 01:50:20 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:50:20 ---> Running in 34176c5b4770 01:50:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:50:23 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:50:24 (1/13) Installing libc-dev (0.7.2-r3) 01:50:24 (2/13) Installing libsodium (1.0.18-r0) 01:50:24 (3/13) Installing pkgconf (1.7.3-r0) 01:50:24 (4/13) Installing libsodium-dev (1.0.18-r0) 01:50:24 (5/13) Installing openssh-keygen (8.4_p1-r3) 01:50:24 (6/13) Installing libedit (20191231.3.1-r1) 01:50:24 (7/13) Installing openssh-client (8.4_p1-r3) 01:50:24 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 01:50:24 (9/13) Installing openssh-server-common (8.4_p1-r3) 01:50:24 (10/13) Installing openssh-server (8.4_p1-r3) 01:50:25 (11/13) Installing openssh (8.4_p1-r3) 01:50:25 (12/13) Installing libzmq (4.3.3-r1) 01:50:25 (13/13) Installing zeromq-dev (4.3.3-r1) 01:50:25 Executing busybox-1.32.1-r6.trigger 01:50:25 OK: 145 MiB in 53 packages 01:50:26 Removing intermediate container 34176c5b4770 01:50:26 ---> d25acae31647 01:50:26 Step 8/10 : WORKDIR /device-snmp-go 01:50:27 ---> Running in fc81f100c4f7 01:50:27 Removing intermediate container fc81f100c4f7 01:50:27 ---> 6f605b635275 01:50:27 Step 9/10 : COPY . . 01:50:28 ---> 4adab7e8aa2a 01:50:28 Step 10/10 : RUN go mod download 01:50:29 ---> Running in e895270fd18e 01:50:55 Removing intermediate container e895270fd18e 01:50:55 ---> 32e9740d6c3e 01:50:55 Successfully built 32e9740d6c3e 01:50:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:50:56 + docker inspect -f . ci-base-image-arm64 01:50:56 . [Pipeline] withDockerContainer 01:50:56 prd-ubuntu18.04-docker-arm64-4c-16g-332 does not seem to be running inside a container 01:50:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:50:58 $ docker top e2ab6bbe52164a07ef33da80f629595487b8f5f23d0cb682fe4cf0af033193f1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:59 + go version 01:50:59 go version go1.16.3 linux/arm64 [Pipeline] } 01:50:59 $ docker stop --time=1 e2ab6bbe52164a07ef33da80f629595487b8f5f23d0cb682fe4cf0af033193f1 01:51:01 $ docker rm -f e2ab6bbe52164a07ef33da80f629595487b8f5f23d0cb682fe4cf0af033193f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:51:01 + docker inspect -f . ci-base-image-arm64 01:51:01 . [Pipeline] withDockerContainer 01:51:02 prd-ubuntu18.04-docker-arm64-4c-16g-332 does not seem to be running inside a container 01:51:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:51:03 $ docker top 5cd1aa2e9fa0ead8ca12498f7a005a6a3c86137e1453083d1b635fc08b092e3a -eo pid,comm [Pipeline] { [Pipeline] sh 01:51:04 + go mod tidy [Pipeline] sh 01:51:05 + make test 01:51:05 go mod tidy 01:51:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:51:07 ? github.com/edgexfoundry/device-snmp-go [no test files] 01:52:04 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 01:52:04 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.037s coverage: 0.0% of statements 01:52:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:52:26 gofmt -l . 01:52:26 [ "`gofmt -l .`" = "" ] 01:52:26 ./bin/test-attribution-txt.sh [Pipeline] } 01:52:28 $ docker stop --time=1 5cd1aa2e9fa0ead8ca12498f7a005a6a3c86137e1453083d1b635fc08b092e3a 01:52:30 $ docker rm -f 5cd1aa2e9fa0ead8ca12498f7a005a6a3c86137e1453083d1b635fc08b092e3a [Pipeline] // withDockerContainer [Pipeline] sh 01:52:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:52:31 Warning: overwriting stash ‘coverage-report’ 01:52:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:52:32 + ls -al . 01:52:32 total 128 01:52:32 drwxrwxr-x 7 jenkins jenkins 4096 May 26 01:52 . 01:52:32 drwxrwxr-x 4 jenkins jenkins 4096 May 26 01:49 .. 01:52:32 -rw-rw-r-- 1 jenkins jenkins 6 May 26 01:49 .dockerignore 01:52:32 drwxrwxr-x 8 jenkins jenkins 4096 May 26 01:49 .git 01:52:32 drwxrwxr-x 2 jenkins jenkins 4096 May 26 01:49 .github 01:52:32 -rw-rw-r-- 1 jenkins jenkins 269 May 26 01:49 .gitignore 01:52:32 -rw-rw-r-- 1 jenkins jenkins 6520 May 26 01:49 Attribution.txt 01:52:32 -rw-rw-r-- 1 jenkins jenkins 1459 May 26 01:49 Dockerfile 01:52:32 -rw-rw-r-- 1 jenkins jenkins 1057 May 26 01:49 Dockerfile.build 01:52:32 -rw-rw-r-- 1 jenkins jenkins 656 May 26 01:49 Jenkinsfile 01:52:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 26 01:49 LICENSE 01:52:32 -rw-rw-r-- 1 jenkins jenkins 936 May 26 01:49 Makefile 01:52:32 -rw-rw-r-- 1 jenkins jenkins 9079 May 26 01:49 README.md 01:52:32 -rw-rw-r-- 1 jenkins jenkins 5 May 26 01:46 VERSION 01:52:32 drwxrwxr-x 2 jenkins jenkins 4096 May 26 01:49 bin 01:52:32 drwxrwxr-x 3 jenkins jenkins 4096 May 26 01:49 cmd 01:52:32 -rw-r--r-- 1 jenkins jenkins 7631 May 26 01:51 coverage.out 01:52:32 -rw-rw-r-- 1 jenkins jenkins 222 May 26 01:49 go.mod 01:52:32 -rw-r--r-- 1 jenkins jenkins 21556 May 26 01:51 go.sum 01:52:32 drwxrwxr-x 3 jenkins jenkins 4096 May 26 01:49 internal 01:52:32 -rw-rw-r-- 1 jenkins jenkins 209 May 26 01:49 version.go [Pipeline] isUnix [Pipeline] sh 01:52:33 + 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=57cb4ad9f342aba946ca6cd4c707869a45f27a71 --label arch=arm64 --label version=0.0.0 . 01:52:33 Sending build context to Docker daemon 363kB 01:52:33 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 01:52:33 Step 2/24 : FROM ${BASE} AS builder 01:52:33 ---> 32e9740d6c3e 01:52:33 Step 3/24 : ARG MAKE='make build' 01:52:33 ---> Running in 9575c2baf949 01:52:34 Removing intermediate container 9575c2baf949 01:52:34 ---> afa628a5bbc8 01:52:34 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:52:34 ---> Running in 0f99abb02f1d 01:52:34 Removing intermediate container 0f99abb02f1d 01:52:34 ---> 24a014c83e8f 01:52:34 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:52:35 ---> Running in b252defad659 01:52:35 Removing intermediate container b252defad659 01:52:35 ---> 92c31f1c47f2 01:52:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:52:35 ---> Running in 7b39b0c063f3 01:52:37 Removing intermediate container 7b39b0c063f3 01:52:37 ---> d9bd29f4c91f 01:52:37 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:52:38 ---> Running in 645e48275c4e 01:52:39 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:52:40 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:52:41 OK: 145 MiB in 53 packages 01:52:42 Removing intermediate container 645e48275c4e 01:52:42 ---> 3dae6a478b38 01:52:42 Step 8/24 : WORKDIR /device-snmp-go 01:52:42 ---> Running in cebe89e59c30 01:52:42 Removing intermediate container cebe89e59c30 01:52:42 ---> 8aed2b6a7115 01:52:42 Step 9/24 : COPY . . 01:52:43 ---> 5b9d0767c444 01:52:43 Step 10/24 : RUN go mod tidy 01:52:44 ---> Running in 8e46b4d08b95 01:52:47 Removing intermediate container 8e46b4d08b95 01:52:47 ---> c6c8e375f464 01:52:47 Step 11/24 : RUN make update 01:52:47 ---> Running in 9f8cf1d368db 01:52:48 CGO_ENABLED=0 GO111MODULE=on go mod download 01:52:49 Removing intermediate container 9f8cf1d368db 01:52:49 ---> 4dab4cb639d0 01:52:49 Step 12/24 : RUN ${MAKE} 01:52:49 ---> Running in e5c737521a70 01:52:51 go mod tidy 01:52:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 01:53:38 Removing intermediate container e5c737521a70 01:53:38 ---> dd50704cc112 01:53:38 Step 13/24 : FROM alpine:3.12 01:53:38 3.12: Pulling from library/alpine 01:53:38 d2f70382dc9a: Pulling fs layer 01:53:38 d2f70382dc9a: Pull complete 01:53:38 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 01:53:38 Status: Downloaded newer image for alpine:3.12 01:53:38 ---> 9852663dfa18 01:53:38 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 01:53:38 ---> Running in 632eb385a87c 01:53:38 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:53:38 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:53:38 (1/6) Installing dumb-init (1.2.2-r1) 01:53:38 (2/6) Installing libgcc (9.3.0-r2) 01:53:38 (3/6) Installing libsodium (1.0.18-r0) 01:53:38 (4/6) Installing libstdc++ (9.3.0-r2) 01:53:38 (5/6) Installing libzmq (4.3.3-r0) 01:53:38 (6/6) Installing zeromq (4.3.3-r0) 01:53:38 Executing busybox-1.31.1-r20.trigger 01:53:38 OK: 8 MiB in 20 packages 01:53:39 Removing intermediate container 632eb385a87c 01:53:39 ---> e74246302723 01:53:39 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 01:53:41 ---> 928e2ed92ce4 01:53:41 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 01:53:41 ---> 3b9988a4ac66 01:53:41 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 01:53:42 ---> f371cb229c1a 01:53:42 Step 18/24 : EXPOSE 59993 01:53:42 ---> Running in d56d293bc86d 01:53:43 Removing intermediate container d56d293bc86d 01:53:43 ---> 8104109880c0 01:53:43 Step 19/24 : EXPOSE 161 01:53:43 ---> Running in e61681c154ad 01:53:44 Removing intermediate container e61681c154ad 01:53:44 ---> 82b6d7acc838 01:53:44 Step 20/24 : ENTRYPOINT ["/device-snmp"] 01:53:44 ---> Running in e252accc68f0 01:53:45 Removing intermediate container e252accc68f0 01:53:45 ---> 51a428e12620 01:53:45 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:53:45 ---> Running in eeade0d49ff0 01:53:45 Removing intermediate container eeade0d49ff0 01:53:45 ---> ebf1f30fdb00 01:53:45 Step 22/24 : LABEL arch=arm64 01:53:45 ---> Running in a3d4b031eef9 01:53:46 Removing intermediate container a3d4b031eef9 01:53:46 ---> f1b304614012 01:53:46 Step 23/24 : LABEL git_sha=57cb4ad9f342aba946ca6cd4c707869a45f27a71 01:53:46 ---> Running in 9500b23efdc9 01:53:47 Removing intermediate container 9500b23efdc9 01:53:47 ---> 47057016bc5e 01:53:47 Step 24/24 : LABEL version=0.0.0 01:53:47 ---> Running in db8b0451fe2b 01:53:47 Removing intermediate container db8b0451fe2b 01:53:47 ---> fd3fb4232d54 01:53:47 [Warning] One or more build-args [ARCH] were not consumed 01:53:47 Successfully built fd3fb4232d54 01:53:47 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 01:53:48 ---> job-cost.sh 01:53:48 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pXIQ 01:54:44 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:56:36 lf-activate-venv(): INFO: Adding /tmp/venv-pXIQ/bin to PATH 01:56:36 INFO: No Stack... 01:56:36 INFO: Retrieving Pricing Info for: v2-standard-4 01:56:36 INFO: Archiving Costs [Pipeline] sh 01:56:36 + cut -d, -f6 01:56:36 + cat /w/workspace/device-snmp-go/2/archives/cost.csv [Pipeline] lock 01:56:36 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] 01:56:36 Resource [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] did not exist. Created. 01:56:36 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:56:37 /w/workspace/device-snmp-go/2@tmp/durable-bc4ff307/script.sh: 1: /w/workspace/device-snmp-go/2@tmp/durable-bc4ff307/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:56:37 + echo total: 0.18000000715255737 [Pipeline] stash 01:56:37 Warning: overwriting stash ‘stack-cost’ 01:56:37 Stashed 1 file(s) [Pipeline] } 01:56:37 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:56:38 provisioning config files... 01:56:38 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-100@tmp/config89768477675172944tmp [Pipeline] { [Pipeline] sh 01:56:38 + set +x 01:56:38 + curl -s https://codecov.io/bash 01:56:38 + bash -s -- 01:56:38 01:56:38 _____ _ 01:56:38 / ____| | | 01:56:38 | | ___ __| | ___ ___ _____ __ 01:56:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:56:38 | |___| (_) | (_| | __/ (_| (_) \ V / 01:56:38 \_____\___/ \__,_|\___|\___\___/ \_/ 01:56:38 Bash-1.0.3 01:56:38 01:56:38 01:56:38 ==> git version 2.24.4 found 01:56:38 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 01:56:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:56:38 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:56:38 ==> Jenkins CI detected. 01:56:38 project root: . 01:56:38 --> token set from env 01:56:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:56:38 ==> Running gcov in . (disable via -X gcov) 01:56:38 ==> Python coveragepy not found 01:56:38 ==> Searching for coverage reports in: 01:56:38 + . 01:56:38 -> Found 1 reports 01:56:38 ==> Detecting git/mercurial file structure 01:56:38 ==> Reading reports 01:56:38 + ./coverage.out bytes=7631 01:56:38 ==> Appending adjustments 01:56:38 https://docs.codecov.io/docs/fixing-reports 01:56:38 + Found adjustments 01:56:38 ==> Gzipping contents 01:56:38 4.0K /tmp/codecov.NAhrNi.gz 01:56:38 ==> Uploading reports 01:56:38 url: https://codecov.io 01:56:38 query: branch=PR-100&commit=57cb4ad9f342aba946ca6cd4c707869a45f27a71&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-100%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=100&job=&cmd_args= 01:56:38 -> Pinging Codecov 01:56:38 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-100&commit=57cb4ad9f342aba946ca6cd4c707869a45f27a71&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-100%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=100&job=&cmd_args= 01:56:39 -> Uploading to 01:56:39 https://storage.googleapis.com/codecov/v4/raw/2021-05-26/6C56EA5C29638FB4528AC87E60AF5AE0/57cb4ad9f342aba946ca6cd4c707869a45f27a71/ed626937-bfed-4dec-831f-f7a5904ed0b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210526T015639Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=da8efdf68fee363566cf338e4235bafae757ea58be72183c192689ed0d46f430 01:56:39 % Total % Received % Xferd Average Speed Time Time Time Current 01:56:39 Dload Upload Total Spent Left Speed 01:56:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 4581 --:--:-- --:--:-- --:--:-- 4578 100 1378 0 0 100 1378 0 4579 --:--:-- --:--:-- --:--:-- 4578 01:56:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/57cb4ad9f342aba946ca6cd4c707869a45f27a71 [Pipeline] } 01:56:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 01:56:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:56:40 ---> package-listing.sh 01:56:40 ++ facter osfamily 01:56:40 ++ tr '[:upper:]' '[:lower:]' 01:56:41 + OS_FAMILY=redhat 01:56:41 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-100 01:56:41 + START_PACKAGES=/tmp/packages_start.txt 01:56:41 + END_PACKAGES=/tmp/packages_end.txt 01:56:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:56:41 + PACKAGES=/tmp/packages_start.txt 01:56:41 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-100 ']' 01:56:41 + PACKAGES=/tmp/packages_end.txt 01:56:41 + case "${OS_FAMILY}" in 01:56:41 + rpm -qa 01:56:41 + sort 01:56:41 + '[' -f /tmp/packages_start.txt ']' 01:56:41 + '[' -f /tmp/packages_end.txt ']' 01:56:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:56:41 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-100 ']' 01:56:41 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-100/archives/ 01:56:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-100/archives/ [Pipeline] echo 01:56:41 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_PR-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:56:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:56:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:56:42 01:56:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:56:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:56:42 alpine: Pulling from edgex-lftools-log-publisher 01:56:42 df20fa9351a1: Pulling fs layer 01:56:42 36b3adc4ff6f: Pulling fs layer 01:56:42 8ad3a11d3b57: Pulling fs layer 01:56:42 46f8f816bc3b: Pulling fs layer 01:56:42 93b61091891f: Pulling fs layer 01:56:42 93b9cdb0e59b: Pulling fs layer 01:56:42 5e14af77c1be: Pulling fs layer 01:56:42 01666e4c0597: Pulling fs layer 01:56:42 aa168da1d23b: Pulling fs layer 01:56:42 46f8f816bc3b: Waiting 01:56:42 93b61091891f: Waiting 01:56:42 93b9cdb0e59b: Waiting 01:56:42 5e14af77c1be: Waiting 01:56:42 01666e4c0597: Waiting 01:56:42 aa168da1d23b: Waiting 01:56:42 36b3adc4ff6f: Verifying Checksum 01:56:42 36b3adc4ff6f: Download complete 01:56:42 46f8f816bc3b: Verifying Checksum 01:56:42 46f8f816bc3b: Download complete 01:56:42 df20fa9351a1: Verifying Checksum 01:56:42 df20fa9351a1: Download complete 01:56:43 93b9cdb0e59b: Verifying Checksum 01:56:43 93b9cdb0e59b: Download complete 01:56:43 5e14af77c1be: Verifying Checksum 01:56:43 5e14af77c1be: Download complete 01:56:43 93b61091891f: Verifying Checksum 01:56:43 93b61091891f: Download complete 01:56:43 01666e4c0597: Verifying Checksum 01:56:43 01666e4c0597: Download complete 01:56:43 df20fa9351a1: Pull complete 01:56:43 8ad3a11d3b57: Verifying Checksum 01:56:43 8ad3a11d3b57: Download complete 01:56:43 36b3adc4ff6f: Pull complete 01:56:44 8ad3a11d3b57: Pull complete 01:56:44 46f8f816bc3b: Pull complete 01:56:44 93b61091891f: Pull complete 01:56:44 93b9cdb0e59b: Pull complete 01:56:44 5e14af77c1be: Pull complete 01:56:44 01666e4c0597: Pull complete 01:56:44 aa168da1d23b: Verifying Checksum 01:56:44 aa168da1d23b: Download complete 01:56:49 aa168da1d23b: Pull complete 01:56:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:56:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:56:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:56:49 prd-centos7-docker-4c-2g-324 does not seem to be running inside a container 01:56:49 $ 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_PR-100/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_PR-100 -v /w/workspace/gexfoundry_device-snmp-go_PR-100:/w/workspace/gexfoundry_device-snmp-go_PR-100:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-100@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-100@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:56:53 $ docker top 96a6aa2f4b5549f74bbf16956f17b2613420aaf548dce2600181d753161487d7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:56:54 + touch /tmp/pre-build-complete [Pipeline] sh 01:56:54 + mkdir -p /var/log/sa [Pipeline] sh 01:56:54 + ls /var/log/sa-host 01:56:54 + sadf -c /var/log/sa-host/sa05 01:56:54 file_magic: OK 01:56:54 HZ: Using current value: 100 01:56:54 file_header: OK 01:56:54 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 01:56:54 Statistics: 01:56:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:56:54 File successfully converted to sysstat format version 12.2.1 01:56:54 + sadf -c /var/log/sa-host/sa26 01:56:54 file_magic: OK 01:56:54 HZ: Using current value: 100 01:56:54 file_header: OK 01:56:54 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 01:56:54 Statistics: 01:56:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:56:54 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:54 provisioning config files... 01:56:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-100@tmp/config8898036924937261340tmp [Pipeline] { [Pipeline] echo 01:56:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:56:55 ---> create-netrc.sh [Pipeline] } 01:56:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:56:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:56:55 ---> python-tools-install.sh [Pipeline] echo 01:56:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:56:55 ---> sudo-logs.sh 01:56:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:56:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:56:56 ---> job-cost.sh 01:56:56 lf-activate-venv: SKIPPING 01:56:56 DEBUG: total: 0.18000000715255737 01:56:56 INFO: Retrieving Stack Cost... 01:56:57 INFO: Retrieving Pricing Info for: v3-standard-2 01:56:57 INFO: Archiving Costs [Pipeline] echo 01:56:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:56:58 ---> logs-deploy.sh 01:56:58 lf-activate-venv: SKIPPING 01:56:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-100/2 01:56:58 INFO: archiving workspace using pattern(s): 01:56:59 Archives upload complete. 01:56:59 INFO: archiving logs to Nexus