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 [2021-05-26T01:45:46.824Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-26T01:45:46.917Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-26T01:45:46.946Z] ========================================================= [2021-05-26T01:45:46.946Z] EdgeX Global Pipelines Version Info [2021-05-26T01:45:46.946Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9d6357bcddde696a4c85c15c815c1fa368d70fcf # timeout=10 [2021-05-26T01:45:48.426Z] ------------------- [2021-05-26T01:45:48.426Z] stable info: [2021-05-26T01:45:48.426Z] ------------------- [2021-05-26T01:45:48.426Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-26T01:45:48.426Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T01:45:48.426Z] Message: update stable to v1.0.192 [2021-05-26T01:45:49.000Z] ------------------- [2021-05-26T01:45:49.000Z] experimental info: [2021-05-26T01:45:49.000Z] ------------------- [2021-05-26T01:45:49.000Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-26T01:45:49.000Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T01:45:49.000Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-26T01:45:49.120Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-26T01:45:49.145Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-26T01:45:49.171Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-26T01:45:49.195Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-26T01:45:49.219Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-26T01:45:49.243Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-26T01:45:49.267Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-26T01:45:49.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-26T01:45:49.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-26T01:45:49.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-26T01:45:49.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-26T01:45:49.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-26T01:45:49.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-26T01:45:49.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-26T01:45:49.524Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T01:45:49.551Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T01:45:49.578Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T01:45:49.619Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T01:45:49.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-26T01:45:49.670Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-26T01:45:49.695Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-26T01:45:49.721Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-26T01:45:49.746Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-26T01:45:49.795Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-26T01:45:49.823Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-26T01:45:49.847Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-26T01:45:49.872Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-100 [Pipeline] echo [2021-05-26T01:45:49.903Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-100 [Pipeline] echo [2021-05-26T01:45:49.929Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-100 [Pipeline] echo [2021-05-26T01:45:49.958Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57cb4ad9f342aba946ca6cd4c707869a45f27a71 [Pipeline] echo [2021-05-26T01:45:49.985Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57cb4ad [Pipeline] echo [2021-05-26T01:45:50.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T01:45:50.084Z] provisioning config files... [2021-05-26T01:45:50.108Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-100@tmp/config6426810336806582038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:45:50.427Z] ---> docker-login.sh [2021-05-26T01:45:50.427Z] nexus3.edgexfoundry.org:10001 [2021-05-26T01:45:51.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:45:51.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:45:51.004Z] Configure a credential helper to remove this warning. See [2021-05-26T01:45:51.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:45:51.004Z] [2021-05-26T01:45:51.004Z] Login Succeeded [2021-05-26T01:45:51.004Z] nexus3.edgexfoundry.org:10002 [2021-05-26T01:45:51.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:45:51.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:45:51.270Z] Configure a credential helper to remove this warning. See [2021-05-26T01:45:51.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:45:51.270Z] [2021-05-26T01:45:51.270Z] Login Succeeded [2021-05-26T01:45:51.270Z] nexus3.edgexfoundry.org:10003 [2021-05-26T01:45:51.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:45:51.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:45:51.270Z] Configure a credential helper to remove this warning. See [2021-05-26T01:45:51.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:45:51.270Z] [2021-05-26T01:45:51.270Z] Login Succeeded [2021-05-26T01:45:51.270Z] nexus3.edgexfoundry.org:10004 [2021-05-26T01:45:51.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:45:51.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:45:51.533Z] Configure a credential helper to remove this warning. See [2021-05-26T01:45:51.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:45:51.533Z] [2021-05-26T01:45:51.533Z] Login Succeeded [2021-05-26T01:45:51.533Z] docker.io [2021-05-26T01:45:51.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:45:51.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:45:51.796Z] Configure a credential helper to remove this warning. See [2021-05-26T01:45:51.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:45:51.796Z] [2021-05-26T01:45:51.796Z] Login Succeeded [2021-05-26T01:45:51.796Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T01:45:51.807Z] 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 [2021-05-26T01:45:52.253Z] + git log --format=format:%s -1 57cb4ad9f342aba946ca6cd4c707869a45f27a71 [Pipeline] echo [2021-05-26T01:45:52.290Z] GIT_COMMIT: 57cb4ad9f342aba946ca6cd4c707869a45f27a71, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-26T01:45:52.305Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:45:52.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T01:45:52.859Z] [2021-05-26T01:45:52.859Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:45:53.174Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T01:45:53.174Z] latest: Pulling from edgex-devops/git-semver [2021-05-26T01:45:53.174Z] 31603596830f: Pulling fs layer [2021-05-26T01:45:53.174Z] 54011a49482f: Pulling fs layer [2021-05-26T01:45:53.174Z] a6820b24f6d8: Pulling fs layer [2021-05-26T01:45:53.174Z] f581987b2513: Pulling fs layer [2021-05-26T01:45:53.174Z] f581987b2513: Waiting [2021-05-26T01:45:53.174Z] 54011a49482f: Verifying Checksum [2021-05-26T01:45:53.174Z] 54011a49482f: Download complete [2021-05-26T01:45:53.174Z] 31603596830f: Verifying Checksum [2021-05-26T01:45:53.174Z] 31603596830f: Download complete [2021-05-26T01:45:53.436Z] f581987b2513: Verifying Checksum [2021-05-26T01:45:53.436Z] f581987b2513: Download complete [2021-05-26T01:45:53.436Z] a6820b24f6d8: Verifying Checksum [2021-05-26T01:45:53.436Z] a6820b24f6d8: Download complete [2021-05-26T01:45:53.436Z] 31603596830f: Pull complete [2021-05-26T01:45:53.702Z] 54011a49482f: Pull complete [2021-05-26T01:45:54.275Z] a6820b24f6d8: Pull complete [2021-05-26T01:45:54.275Z] f581987b2513: Pull complete [2021-05-26T01:45:54.538Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-26T01:45:54.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T01:45:54.538Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-26T01:45:54.624Z] prd-centos7-docker-4c-2g-324 does not seem to be running inside a container [2021-05-26T01:45:54.666Z] $ 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 [2021-05-26T01:45:56.080Z] $ docker top 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T01:45:56.200Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T01:45:56.200Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T01:45:56.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T01:45:56.318Z] $ docker exec 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce ssh-agent [2021-05-26T01:45:56.430Z] SSH_AUTH_SOCK=/tmp/ssh-3A4QGazUkHoa/agent.14 [2021-05-26T01:45:56.430Z] SSH_AGENT_PID=20 [2021-05-26T01:45:56.438Z] Running ssh-add (command line suppressed) [2021-05-26T01:45:56.532Z] 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) [2021-05-26T01:45:56.551Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T01:45:56.850Z] + git tag --points-at HEAD [Pipeline] } [2021-05-26T01:45:56.864Z] $ docker exec --env ******** --env ******** 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce ssh-agent -k [2021-05-26T01:45:56.966Z] unset SSH_AUTH_SOCK; [2021-05-26T01:45:56.968Z] unset SSH_AGENT_PID; [2021-05-26T01:45:56.968Z] echo Agent pid 20 killed; [2021-05-26T01:45:56.983Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-26T01:45:57.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T01:45:57.039Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T01:45:57.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T01:45:57.155Z] $ docker exec 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce ssh-agent [2021-05-26T01:45:57.278Z] SSH_AUTH_SOCK=/tmp/ssh-ywMCZ0pv7XZv/agent.51 [2021-05-26T01:45:57.279Z] SSH_AGENT_PID=58 [2021-05-26T01:45:57.284Z] Running ssh-add (command line suppressed) [2021-05-26T01:45:57.379Z] 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) [2021-05-26T01:45:57.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T01:45:57.709Z] + git semver init [2021-05-26T01:45:57.709Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T01:45:57.709Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-100/.git [2021-05-26T01:45:57.709Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-100 [2021-05-26T01:45:57.709Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T01:45:57.709Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T01:45:57.709Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T01:45:57.709Z] # $SEMVER_BRANCH = PR-100 [2021-05-26T01:45:57.709Z] # $SEMVER_TEMP = /tmp/semver-222717050 [2021-05-26T01:45:57.709Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-26T01:45:57.971Z] # '/tmp/semver-222717050' -> '/w/workspace/gexfoundry_device-snmp-go_PR-100/.semver' [2021-05-26T01:45:57.971Z] # -> Force: false [2021-05-26T01:45:57.971Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-100/.semver [Pipeline] } [2021-05-26T01:45:57.981Z] $ docker exec --env ******** --env ******** 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce ssh-agent -k [2021-05-26T01:45:58.090Z] unset SSH_AUTH_SOCK; [2021-05-26T01:45:58.090Z] unset SSH_AGENT_PID; [2021-05-26T01:45:58.090Z] echo Agent pid 58 killed; [2021-05-26T01:45:58.112Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T01:45:58.460Z] + git semver [Pipeline] } [2021-05-26T01:45:58.473Z] $ docker stop --time=1 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce [2021-05-26T01:45:59.708Z] $ docker rm -f 5295dd24b06a14c5bc2dbb83380ec6870d9a5ee1a4cdeb9f995c38e0775677ce [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T01:46:00.103Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-26T01:46:00.350Z] Stashed 1 file(s) [Pipeline] echo [2021-05-26T01:46:00.353Z] [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 [2021-05-26T01:46:15.515Z] Still waiting to schedule task [2021-05-26T01:46:15.516Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-26T01:46:15.519Z] Still waiting to schedule task [2021-05-26T01:46:15.519Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-320’ is offline [2021-05-26T01:47:39.350Z] Running on prd-centos7-docker-4c-2g-329 in /w/workspace/gexfoundry_device-snmp-go_PR-100 [Pipeline] { [Pipeline] ws [2021-05-26T01:47:39.368Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-05-26T01:47:39.483Z] Selected Git installation does not exist. Using Default [2021-05-26T01:47:39.483Z] The recommended git tool is: NONE [2021-05-26T01:47:41.702Z] using credential edgex-jenkins-ssh [2021-05-26T01:47:41.719Z] Cloning the remote Git repository [2021-05-26T01:47:41.569Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-26T01:47:41.633Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-05-26T01:47:42.821Z] Merging remotes/origin/master commit 36f220337c15c882742676291291e5935134de27 into PR head commit 57cb4ad9f342aba946ca6cd4c707869a45f27a71 [2021-05-26T01:47:42.914Z] Merge succeeded, producing 57cb4ad9f342aba946ca6cd4c707869a45f27a71 [2021-05-26T01:47:42.915Z] Checking out Revision 57cb4ad9f342aba946ca6cd4c707869a45f27a71 (PR-100) [2021-05-26T01:47:41.666Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-26T01:47:41.666Z] > git --version # timeout=10 [2021-05-26T01:47:41.676Z] > git --version # 'git version 2.24.4' [2021-05-26T01:47:41.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T01:47:41.696Z] [INFO] Currently running in a labeled security context [2021-05-26T01:47:41.696Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T01:47:41.697Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh8884464403596387984.key [2021-05-26T01:47:41.741Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T01:47:42.191Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-26T01:47:42.205Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T01:47:42.222Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-26T01:47:42.244Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-26T01:47:42.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T01:47:42.248Z] [INFO] Currently running in a labeled security context [2021-05-26T01:47:42.248Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T01:47:42.249Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh4199182827329224859.key [2021-05-26T01:47:42.261Z] > 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 [2021-05-26T01:47:42.661Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T01:47:42.676Z] > git checkout -f 57cb4ad9f342aba946ca6cd4c707869a45f27a71 # timeout=10 [2021-05-26T01:47:42.702Z] > git remote # timeout=10 [2021-05-26T01:47:42.710Z] > git config --get remote.origin.url # timeout=10 [2021-05-26T01:47:42.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T01:47:42.716Z] [INFO] Currently running in a labeled security context [2021-05-26T01:47:42.716Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T01:47:42.716Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh9149503068309954237.key [2021-05-26T01:47:42.725Z] > git merge 36f220337c15c882742676291291e5935134de27 # timeout=10 [2021-05-26T01:47:42.737Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-26T01:47:42.749Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T01:47:42.761Z] > git checkout -f 57cb4ad9f342aba946ca6cd4c707869a45f27a71 # timeout=10 [2021-05-26T01:47:46.437Z] 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 [2021-05-26T01:47:47.460Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-26T01:47:47.793Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T01:47:48.100Z] + sudo service docker restart [2021-05-26T01:47:48.100Z] + true [2021-05-26T01:47:48.100Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T01:48:06.276Z] provisioning config files... [2021-05-26T01:48:06.290Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config4447435949061172237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:48:06.625Z] ---> docker-login.sh [2021-05-26T01:48:06.625Z] nexus3.edgexfoundry.org:10001 [2021-05-26T01:48:06.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:06.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:06.888Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:06.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:06.888Z] [2021-05-26T01:48:06.888Z] Login Succeeded [2021-05-26T01:48:06.888Z] nexus3.edgexfoundry.org:10002 [2021-05-26T01:48:07.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:07.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:07.412Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:07.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:07.412Z] [2021-05-26T01:48:07.412Z] Login Succeeded [2021-05-26T01:48:07.412Z] nexus3.edgexfoundry.org:10003 [2021-05-26T01:48:07.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:07.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:07.412Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:07.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:07.412Z] [2021-05-26T01:48:07.412Z] Login Succeeded [2021-05-26T01:48:07.412Z] nexus3.edgexfoundry.org:10004 [2021-05-26T01:48:07.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:07.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:07.674Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:07.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:07.674Z] [2021-05-26T01:48:07.674Z] Login Succeeded [2021-05-26T01:48:07.674Z] docker.io [2021-05-26T01:48:07.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:07.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:07.937Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:07.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:07.937Z] [2021-05-26T01:48:07.937Z] Login Succeeded [2021-05-26T01:48:07.937Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T01:48:07.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T01:48:08.113Z] ========================================================= [2021-05-26T01:48:08.113Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-26T01:48:08.113Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:08.431Z] + 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 . [2021-05-26T01:48:08.431Z] Sending build context to Docker daemon 355.8kB [2021-05-26T01:48:08.431Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T01:48:08.431Z] Step 2/10 : FROM ${BASE} [2021-05-26T01:48:08.431Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-26T01:48:08.431Z] 540db60ca938: Pulling fs layer [2021-05-26T01:48:08.431Z] adcc1eea9eea: Pulling fs layer [2021-05-26T01:48:08.431Z] 4c4ab2625f07: Pulling fs layer [2021-05-26T01:48:08.431Z] 0510c868ecb4: Pulling fs layer [2021-05-26T01:48:08.431Z] afea3b2eda06: Pulling fs layer [2021-05-26T01:48:08.431Z] 7809a108b3ef: Pulling fs layer [2021-05-26T01:48:08.431Z] f706445af74f: Pulling fs layer [2021-05-26T01:48:08.431Z] 0510c868ecb4: Waiting [2021-05-26T01:48:08.431Z] afea3b2eda06: Waiting [2021-05-26T01:48:08.431Z] f706445af74f: Waiting [2021-05-26T01:48:08.431Z] 7809a108b3ef: Waiting [2021-05-26T01:48:08.431Z] 4c4ab2625f07: Verifying Checksum [2021-05-26T01:48:08.431Z] 4c4ab2625f07: Download complete [2021-05-26T01:48:08.431Z] adcc1eea9eea: Verifying Checksum [2021-05-26T01:48:08.431Z] adcc1eea9eea: Download complete [2021-05-26T01:48:08.693Z] afea3b2eda06: Verifying Checksum [2021-05-26T01:48:08.693Z] afea3b2eda06: Download complete [2021-05-26T01:48:08.693Z] 7809a108b3ef: Verifying Checksum [2021-05-26T01:48:08.693Z] 7809a108b3ef: Download complete [2021-05-26T01:48:08.693Z] 540db60ca938: Verifying Checksum [2021-05-26T01:48:08.693Z] 540db60ca938: Download complete [2021-05-26T01:48:08.958Z] 540db60ca938: Pull complete [2021-05-26T01:48:08.958Z] adcc1eea9eea: Pull complete [2021-05-26T01:48:09.219Z] 4c4ab2625f07: Pull complete [2021-05-26T01:48:10.165Z] f706445af74f: Verifying Checksum [2021-05-26T01:48:10.165Z] f706445af74f: Download complete [2021-05-26T01:48:10.743Z] 0510c868ecb4: Verifying Checksum [2021-05-26T01:48:10.743Z] 0510c868ecb4: Download complete [2021-05-26T01:48:14.066Z] 0510c868ecb4: Pull complete [2021-05-26T01:48:14.066Z] afea3b2eda06: Pull complete [2021-05-26T01:48:14.066Z] 7809a108b3ef: Pull complete [2021-05-26T01:48:15.461Z] f706445af74f: Pull complete [2021-05-26T01:48:15.461Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-26T01:48:15.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-26T01:48:15.461Z] ---> b068be0155e3 [2021-05-26T01:48:15.461Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T01:48:19.679Z] ---> Running in 2d5adff5d5bd [2021-05-26T01:48:19.679Z] Removing intermediate container 2d5adff5d5bd [2021-05-26T01:48:19.679Z] ---> c7e007f04791 [2021-05-26T01:48:19.679Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T01:48:19.679Z] ---> Running in 5e899fd5d225 [2021-05-26T01:48:19.679Z] Removing intermediate container 5e899fd5d225 [2021-05-26T01:48:19.679Z] ---> 6a636661e3c8 [2021-05-26T01:48:19.679Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-26T01:48:19.679Z] ---> Running in 7a5813439020 [2021-05-26T01:48:19.679Z] Removing intermediate container 7a5813439020 [2021-05-26T01:48:19.679Z] ---> 7115959ac045 [2021-05-26T01:48:19.679Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T01:48:19.679Z] ---> Running in 24f446493ac3 [2021-05-26T01:48:20.247Z] Removing intermediate container 24f446493ac3 [2021-05-26T01:48:20.247Z] ---> cd4be7c0187e [2021-05-26T01:48:20.247Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T01:48:20.247Z] ---> Running in e247d44a2d33 [2021-05-26T01:48:20.510Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T01:48:21.454Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T01:48:21.715Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-26T01:48:21.715Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-26T01:48:21.977Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-26T01:48:21.977Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-26T01:48:21.977Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T01:48:22.238Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-26T01:48:22.238Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-26T01:48:22.502Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-26T01:48:22.502Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-26T01:48:22.763Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-26T01:48:22.763Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-26T01:48:23.024Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-26T01:48:23.024Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-26T01:48:23.024Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T01:48:23.024Z] OK: 156 MiB in 53 packages [2021-05-26T01:48:23.598Z] Removing intermediate container e247d44a2d33 [2021-05-26T01:48:23.598Z] ---> 2868fcda7a88 [2021-05-26T01:48:23.598Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-26T01:48:23.598Z] ---> Running in 73f48f642559 [2021-05-26T01:48:23.598Z] Removing intermediate container 73f48f642559 [2021-05-26T01:48:23.598Z] ---> 87ad96084383 [2021-05-26T01:48:23.598Z] Step 9/10 : COPY . . [2021-05-26T01:48:23.860Z] ---> 924ebcf6659c [2021-05-26T01:48:23.860Z] Step 10/10 : RUN go mod download [2021-05-26T01:48:23.860Z] ---> Running in 61fb8bd7e43c [2021-05-26T01:48:36.140Z] Removing intermediate container 61fb8bd7e43c [2021-05-26T01:48:36.140Z] ---> a4961565460a [2021-05-26T01:48:36.140Z] Successfully built a4961565460a [2021-05-26T01:48:36.140Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:36.478Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T01:48:36.478Z] . [Pipeline] withDockerContainer [2021-05-26T01:48:36.551Z] prd-centos7-docker-4c-2g-329 does not seem to be running inside a container [2021-05-26T01:48:36.589Z] $ 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 [2021-05-26T01:48:36.956Z] $ docker top cb5fc4d49d940001897b25d7406226e77c9e17d54a50a45db25e2e3a5e17d879 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T01:48:37.368Z] + go version [2021-05-26T01:48:37.368Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-26T01:48:37.380Z] $ docker stop --time=1 cb5fc4d49d940001897b25d7406226e77c9e17d54a50a45db25e2e3a5e17d879 [2021-05-26T01:48:38.572Z] $ docker rm -f cb5fc4d49d940001897b25d7406226e77c9e17d54a50a45db25e2e3a5e17d879 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:39.052Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T01:48:39.052Z] . [Pipeline] withDockerContainer [2021-05-26T01:48:39.156Z] prd-centos7-docker-4c-2g-329 does not seem to be running inside a container [2021-05-26T01:48:39.194Z] $ 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 [2021-05-26T01:48:39.557Z] $ docker top a81c797c04ca1e3a85cd769e97f26ba8df35c6a563deb96d57a6285693e357a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T01:48:39.954Z] + go mod tidy [Pipeline] sh [2021-05-26T01:48:40.539Z] + make test [2021-05-26T01:48:40.539Z] go mod tidy [2021-05-26T01:48:40.539Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-26T01:48:41.131Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-26T01:48:56.134Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-26T01:48:56.134Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-05-26T01:48:56.134Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T01:49:01.456Z] gofmt -l . [2021-05-26T01:49:01.456Z] [ "`gofmt -l .`" = "" ] [2021-05-26T01:49:01.456Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T01:49:02.038Z] $ docker stop --time=1 a81c797c04ca1e3a85cd769e97f26ba8df35c6a563deb96d57a6285693e357a0 [2021-05-26T01:49:03.391Z] $ docker rm -f a81c797c04ca1e3a85cd769e97f26ba8df35c6a563deb96d57a6285693e357a0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T01:49:03.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T01:49:03.967Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-26T01:49:04.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T01:49:05.212Z] + ls -al . [2021-05-26T01:49:05.212Z] total 104 [2021-05-26T01:49:05.212Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 26 01:49 . [2021-05-26T01:49:05.212Z] drwxrwxr-x. 4 jenkins jenkins 28 May 26 01:47 .. [2021-05-26T01:49:05.212Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 26 01:47 Attribution.txt [2021-05-26T01:49:05.212Z] drwxrwxr-x. 2 jenkins jenkins 60 May 26 01:47 bin [2021-05-26T01:49:05.212Z] drwxrwxr-x. 3 jenkins jenkins 32 May 26 01:47 cmd [2021-05-26T01:49:05.212Z] -rw-r--r--. 1 jenkins jenkins 7631 May 26 01:48 coverage.out [2021-05-26T01:49:05.212Z] -rw-rw-r--. 1 jenkins jenkins 1459 May 26 01:47 Dockerfile [2021-05-26T01:49:05.212Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 26 01:47 Dockerfile.build [2021-05-26T01:49:05.212Z] -rw-rw-r--. 1 jenkins jenkins 6 May 26 01:47 .dockerignore [2021-05-26T01:49:05.212Z] drwxrwxr-x. 8 jenkins jenkins 179 May 26 01:47 .git [2021-05-26T01:49:05.212Z] drwxrwxr-x. 2 jenkins jenkins 103 May 26 01:47 .github [2021-05-26T01:49:05.212Z] -rw-rw-r--. 1 jenkins jenkins 269 May 26 01:47 .gitignore [2021-05-26T01:49:05.212Z] -rw-rw-r--. 1 jenkins jenkins 222 May 26 01:47 go.mod [2021-05-26T01:49:05.212Z] -rw-r--r--. 1 jenkins jenkins 21556 May 26 01:48 go.sum [2021-05-26T01:49:05.212Z] drwxrwxr-x. 3 jenkins jenkins 20 May 26 01:47 internal [2021-05-26T01:49:05.212Z] -rw-rw-r--. 1 jenkins jenkins 656 May 26 01:47 Jenkinsfile [2021-05-26T01:49:05.212Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 26 01:47 LICENSE [2021-05-26T01:49:05.212Z] -rw-rw-r--. 1 jenkins jenkins 936 May 26 01:47 Makefile [2021-05-26T01:49:05.212Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 26 01:47 README.md [2021-05-26T01:49:05.212Z] -rw-rw-r--. 1 jenkins jenkins 5 May 26 01:46 VERSION [2021-05-26T01:49:05.212Z] -rw-rw-r--. 1 jenkins jenkins 209 May 26 01:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:49:05.515Z] + 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 . [2021-05-26T01:49:05.515Z] Sending build context to Docker daemon 364kB [2021-05-26T01:49:05.515Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T01:49:05.515Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-26T01:49:05.515Z] ---> a4961565460a [2021-05-26T01:49:05.515Z] Step 3/24 : ARG MAKE='make build' [2021-05-26T01:49:05.515Z] ---> Running in 753c36ac820a [2021-05-26T01:49:05.515Z] Removing intermediate container 753c36ac820a [2021-05-26T01:49:05.515Z] ---> bad4691b1d7e [2021-05-26T01:49:05.515Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T01:49:05.777Z] ---> Running in 29ba54821c0a [2021-05-26T01:49:05.777Z] Removing intermediate container 29ba54821c0a [2021-05-26T01:49:05.777Z] ---> 204b4021710a [2021-05-26T01:49:05.777Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T01:49:05.777Z] ---> Running in b16ce629dc89 [2021-05-26T01:49:05.777Z] Removing intermediate container b16ce629dc89 [2021-05-26T01:49:05.777Z] ---> 55a1469402c6 [2021-05-26T01:49:05.777Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T01:49:05.777Z] ---> Running in bcaeb1267f47 [2021-05-26T01:49:06.350Z] Removing intermediate container bcaeb1267f47 [2021-05-26T01:49:06.350Z] ---> 9c24bdc98f5d [2021-05-26T01:49:06.350Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T01:49:06.350Z] ---> Running in d2ef2a322d1c [2021-05-26T01:49:06.612Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T01:49:07.553Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T01:49:07.823Z] OK: 156 MiB in 53 packages [2021-05-26T01:49:08.093Z] Removing intermediate container d2ef2a322d1c [2021-05-26T01:49:08.093Z] ---> f990b41dd67d [2021-05-26T01:49:08.093Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-26T01:49:08.093Z] ---> Running in 04940b5bfe44 [2021-05-26T01:49:08.093Z] Removing intermediate container 04940b5bfe44 [2021-05-26T01:49:08.093Z] ---> 7537ba2fee4a [2021-05-26T01:49:08.093Z] Step 9/24 : COPY . . [2021-05-26T01:49:08.356Z] ---> 6d2f79d1724f [2021-05-26T01:49:08.356Z] Step 10/24 : RUN go mod tidy [2021-05-26T01:49:08.356Z] ---> Running in 1c7b84f87587 [2021-05-26T01:49:09.301Z] Removing intermediate container 1c7b84f87587 [2021-05-26T01:49:09.301Z] ---> 0f072245c7c0 [2021-05-26T01:49:09.301Z] Step 11/24 : RUN make update [2021-05-26T01:49:09.301Z] ---> Running in abf474108a2f [2021-05-26T01:49:09.301Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-26T01:49:09.562Z] Removing intermediate container abf474108a2f [2021-05-26T01:49:09.562Z] ---> 63098716b453 [2021-05-26T01:49:09.562Z] Step 12/24 : RUN ${MAKE} [2021-05-26T01:49:09.562Z] ---> Running in 832b9ec4c440 [2021-05-26T01:49:09.823Z] go mod tidy [2021-05-26T01:49:10.095Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-05-26T01:49:13.244Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-332 in /w/workspace/gexfoundry_device-snmp-go_PR-100 [Pipeline] { [Pipeline] ws [2021-05-26T01:49:13.263Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-05-26T01:49:13.626Z] Selected Git installation does not exist. Using Default [2021-05-26T01:49:13.626Z] The recommended git tool is: NONE [2021-05-26T01:49:21.102Z] using credential edgex-jenkins-ssh [2021-05-26T01:49:21.135Z] Cloning the remote Git repository [2021-05-26T01:49:22.415Z] Removing intermediate container 832b9ec4c440 [2021-05-26T01:49:22.415Z] ---> 501471fc955f [2021-05-26T01:49:22.415Z] Step 13/24 : FROM alpine:3.12 [2021-05-26T01:49:22.415Z] 3.12: Pulling from library/alpine [2021-05-26T01:49:21.206Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-26T01:49:21.334Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-05-26T01:49:21.452Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-26T01:49:21.453Z] > git --version # timeout=10 [2021-05-26T01:49:21.473Z] > git --version # 'git version 2.17.1' [2021-05-26T01:49:21.475Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T01:49:21.576Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T01:49:22.268Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-26T01:49:22.295Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T01:49:22.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-26T01:49:22.371Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-26T01:49:22.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T01:49:22.393Z] > 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 [2021-05-26T01:49:22.680Z] 339de151aab4: Pulling fs layer [2021-05-26T01:49:22.680Z] 339de151aab4: Verifying Checksum [2021-05-26T01:49:22.680Z] 339de151aab4: Download complete [2021-05-26T01:49:22.876Z] Merging remotes/origin/master commit 36f220337c15c882742676291291e5935134de27 into PR head commit 57cb4ad9f342aba946ca6cd4c707869a45f27a71 [2021-05-26T01:49:22.945Z] 339de151aab4: Pull complete [2021-05-26T01:49:22.945Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T01:49:22.945Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T01:49:22.945Z] ---> 13621d1b12d4 [2021-05-26T01:49:22.945Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T01:49:22.945Z] ---> Running in 2e79e3656fd0 [2021-05-26T01:49:23.124Z] Merge succeeded, producing 57cb4ad9f342aba946ca6cd4c707869a45f27a71 [2021-05-26T01:49:23.125Z] Checking out Revision 57cb4ad9f342aba946ca6cd4c707869a45f27a71 (PR-100) [2021-05-26T01:49:23.212Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-26T01:49:23.212Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-26T01:49:23.473Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T01:49:23.473Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T01:49:23.473Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T01:49:23.473Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T01:49:23.473Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T01:49:23.473Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T01:49:23.473Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T01:49:23.473Z] OK: 8 MiB in 20 packages [2021-05-26T01:49:23.735Z] Removing intermediate container 2e79e3656fd0 [2021-05-26T01:49:23.735Z] ---> 07b8251b5b37 [2021-05-26T01:49:23.735Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-26T01:49:22.909Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T01:49:22.932Z] > git checkout -f 57cb4ad9f342aba946ca6cd4c707869a45f27a71 # timeout=10 [2021-05-26T01:49:23.030Z] > git remote # timeout=10 [2021-05-26T01:49:23.051Z] > git config --get remote.origin.url # timeout=10 [2021-05-26T01:49:23.071Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T01:49:23.084Z] > git merge 36f220337c15c882742676291291e5935134de27 # timeout=10 [2021-05-26T01:49:23.108Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-26T01:49:23.131Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T01:49:23.143Z] > git checkout -f 57cb4ad9f342aba946ca6cd4c707869a45f27a71 # timeout=10 [2021-05-26T01:49:24.313Z] ---> b9a2aaa40edf [2021-05-26T01:49:24.313Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-26T01:49:24.313Z] ---> 930e0f833084 [2021-05-26T01:49:24.313Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-26T01:49:24.580Z] ---> 4e24a0268d62 [2021-05-26T01:49:24.580Z] Step 18/24 : EXPOSE 59993 [2021-05-26T01:49:24.580Z] ---> Running in 32a02c735e9e [2021-05-26T01:49:24.580Z] Removing intermediate container 32a02c735e9e [2021-05-26T01:49:24.580Z] ---> e00202fc31e1 [2021-05-26T01:49:24.580Z] Step 19/24 : EXPOSE 161 [2021-05-26T01:49:24.580Z] ---> Running in 31e33c1ce0b0 [2021-05-26T01:49:24.844Z] Removing intermediate container 31e33c1ce0b0 [2021-05-26T01:49:24.844Z] ---> f05415a3e5e8 [2021-05-26T01:49:24.844Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-26T01:49:24.844Z] ---> Running in 101ef5df5260 [2021-05-26T01:49:24.844Z] Removing intermediate container 101ef5df5260 [2021-05-26T01:49:24.844Z] ---> bffe360206fd [2021-05-26T01:49:24.844Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-26T01:49:24.844Z] ---> Running in 3707c095f3f1 [2021-05-26T01:49:25.106Z] Removing intermediate container 3707c095f3f1 [2021-05-26T01:49:25.106Z] ---> e7837679cb71 [2021-05-26T01:49:25.106Z] Step 22/24 : LABEL arch=amd64 [2021-05-26T01:49:25.106Z] ---> Running in a8755f374984 [2021-05-26T01:49:25.106Z] Removing intermediate container a8755f374984 [2021-05-26T01:49:25.106Z] ---> 697ae673de67 [2021-05-26T01:49:25.106Z] Step 23/24 : LABEL git_sha=57cb4ad9f342aba946ca6cd4c707869a45f27a71 [2021-05-26T01:49:25.106Z] ---> Running in a89b4f058c6a [2021-05-26T01:49:25.106Z] Removing intermediate container a89b4f058c6a [2021-05-26T01:49:25.106Z] ---> 2528aae8b8d1 [2021-05-26T01:49:25.106Z] Step 24/24 : LABEL version=0.0.0 [2021-05-26T01:49:25.106Z] ---> Running in 119669751b53 [2021-05-26T01:49:25.368Z] Removing intermediate container 119669751b53 [2021-05-26T01:49:25.368Z] ---> 88aef10e6a5d [2021-05-26T01:49:25.368Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T01:49:25.368Z] Successfully built 88aef10e6a5d [2021-05-26T01:49:25.368Z] 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 [2021-05-26T01:49:25.895Z] ---> job-cost.sh [2021-05-26T01:49:25.895Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EjhG [2021-05-26T01:49:27.645Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-26T01:49:27.981Z] [2021-05-26T01:49:27.981Z] GitHub has been notified of this commit’s build result [2021-05-26T01:49:27.981Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T01:49:29.103Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-26T01:49:29.520Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T01:49:29.894Z] + true [2021-05-26T01:49:29.894Z] + sudo service docker restart [2021-05-26T01:49:35.922Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T01:49:48.176Z] lf-activate-venv(): INFO: Adding /tmp/venv-EjhG/bin to PATH [2021-05-26T01:49:48.176Z] INFO: No Stack... [2021-05-26T01:49:48.176Z] INFO: Retrieving Pricing Info for: v3-standard-2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T01:49:48.290Z] provisioning config files... [2021-05-26T01:49:48.323Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config1005643602180926575tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:49:48.436Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T01:49:48.725Z] ---> docker-login.sh [2021-05-26T01:49:48.725Z] nexus3.edgexfoundry.org:10001 [2021-05-26T01:49:48.753Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2021-05-26T01:49:48.753Z] + cut -d, -f6 [Pipeline] lock [2021-05-26T01:49:48.782Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] [2021-05-26T01:49:48.793Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] did not exist. Created. [2021-05-26T01:49:48.794Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T01:49:49.118Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-26T01:49:49.189Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T01:49:49.204Z] 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] } [2021-05-26T01:49:49.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:49:50.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:49:50.330Z] Configure a credential helper to remove this warning. See [2021-05-26T01:49:50.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:49:50.330Z] [2021-05-26T01:49:50.330Z] Login Succeeded [2021-05-26T01:49:50.330Z] nexus3.edgexfoundry.org:10002 [2021-05-26T01:49:50.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:49:50.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:49:50.888Z] Configure a credential helper to remove this warning. See [2021-05-26T01:49:50.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:49:50.888Z] [2021-05-26T01:49:50.888Z] Login Succeeded [2021-05-26T01:49:50.888Z] nexus3.edgexfoundry.org:10003 [2021-05-26T01:49:51.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:49:51.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:49:51.498Z] Configure a credential helper to remove this warning. See [2021-05-26T01:49:51.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:49:51.498Z] [2021-05-26T01:49:51.498Z] Login Succeeded [2021-05-26T01:49:51.498Z] nexus3.edgexfoundry.org:10004 [2021-05-26T01:49:52.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:49:52.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:49:52.112Z] Configure a credential helper to remove this warning. See [2021-05-26T01:49:52.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:49:52.112Z] [2021-05-26T01:49:52.112Z] Login Succeeded [2021-05-26T01:49:52.112Z] docker.io [2021-05-26T01:49:52.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:49:52.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:49:52.992Z] Configure a credential helper to remove this warning. See [2021-05-26T01:49:52.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:49:52.992Z] [2021-05-26T01:49:52.992Z] Login Succeeded [2021-05-26T01:49:52.992Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T01:49:53.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T01:49:53.336Z] ========================================================= [2021-05-26T01:49:53.337Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-26T01:49:53.337Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:49:53.694Z] + 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 . [2021-05-26T01:49:53.969Z] Sending build context to Docker daemon 354.8kB [2021-05-26T01:49:54.243Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T01:49:54.243Z] Step 2/10 : FROM ${BASE} [2021-05-26T01:49:54.243Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-26T01:49:54.243Z] 595b0fe564bb: Pulling fs layer [2021-05-26T01:49:54.243Z] 7186ed65a4f7: Pulling fs layer [2021-05-26T01:49:54.243Z] 316046926c0a: Pulling fs layer [2021-05-26T01:49:54.243Z] 4ebd0625c992: Pulling fs layer [2021-05-26T01:49:54.243Z] 207e8628e3a3: Pulling fs layer [2021-05-26T01:49:54.243Z] c791037a9be2: Pulling fs layer [2021-05-26T01:49:54.243Z] ffd874e62e21: Pulling fs layer [2021-05-26T01:49:54.243Z] 207e8628e3a3: Waiting [2021-05-26T01:49:54.243Z] c791037a9be2: Waiting [2021-05-26T01:49:54.243Z] ffd874e62e21: Waiting [2021-05-26T01:49:54.243Z] 4ebd0625c992: Waiting [2021-05-26T01:49:54.521Z] 316046926c0a: Verifying Checksum [2021-05-26T01:49:54.521Z] 316046926c0a: Download complete [2021-05-26T01:49:54.521Z] 7186ed65a4f7: Verifying Checksum [2021-05-26T01:49:54.521Z] 7186ed65a4f7: Download complete [2021-05-26T01:49:54.521Z] 207e8628e3a3: Verifying Checksum [2021-05-26T01:49:54.521Z] 207e8628e3a3: Download complete [2021-05-26T01:49:54.521Z] c791037a9be2: Verifying Checksum [2021-05-26T01:49:54.521Z] c791037a9be2: Download complete [2021-05-26T01:49:54.521Z] 595b0fe564bb: Verifying Checksum [2021-05-26T01:49:54.521Z] 595b0fe564bb: Download complete [2021-05-26T01:49:55.515Z] 595b0fe564bb: Pull complete [2021-05-26T01:49:55.796Z] 7186ed65a4f7: Pull complete [2021-05-26T01:49:56.396Z] 316046926c0a: Pull complete [2021-05-26T01:49:56.674Z] ffd874e62e21: Verifying Checksum [2021-05-26T01:49:56.674Z] ffd874e62e21: Download complete [2021-05-26T01:49:58.661Z] 4ebd0625c992: Verifying Checksum [2021-05-26T01:49:58.661Z] 4ebd0625c992: Download complete [2021-05-26T01:50:08.876Z] 4ebd0625c992: Pull complete [2021-05-26T01:50:08.876Z] 207e8628e3a3: Pull complete [2021-05-26T01:50:10.347Z] c791037a9be2: Pull complete [2021-05-26T01:50:13.776Z] ffd874e62e21: Pull complete [2021-05-26T01:50:13.776Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-26T01:50:13.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-26T01:50:13.776Z] ---> cfc18b08335c [2021-05-26T01:50:13.776Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T01:50:15.280Z] ---> Running in dfe035b95736 [2021-05-26T01:50:15.895Z] Removing intermediate container dfe035b95736 [2021-05-26T01:50:15.895Z] ---> 9c8a1065ad23 [2021-05-26T01:50:15.895Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T01:50:16.172Z] ---> Running in 32c2d71dd590 [2021-05-26T01:50:16.778Z] Removing intermediate container 32c2d71dd590 [2021-05-26T01:50:16.778Z] ---> 5ea53fd722e7 [2021-05-26T01:50:16.778Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-26T01:50:16.778Z] ---> Running in 5282bb983da8 [2021-05-26T01:50:17.378Z] Removing intermediate container 5282bb983da8 [2021-05-26T01:50:17.378Z] ---> d97938daa05d [2021-05-26T01:50:17.378Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T01:50:17.653Z] ---> Running in 02f9ec06962b [2021-05-26T01:50:20.302Z] Removing intermediate container 02f9ec06962b [2021-05-26T01:50:20.302Z] ---> 64af4af0c186 [2021-05-26T01:50:20.302Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T01:50:20.580Z] ---> Running in 34176c5b4770 [2021-05-26T01:50:22.041Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T01:50:23.028Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T01:50:24.022Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-26T01:50:24.022Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-26T01:50:24.022Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-26T01:50:24.022Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-26T01:50:24.302Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T01:50:24.302Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-26T01:50:24.302Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-26T01:50:24.901Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-26T01:50:24.901Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-26T01:50:24.901Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-26T01:50:25.175Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-26T01:50:25.175Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-26T01:50:25.460Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-26T01:50:25.460Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T01:50:25.460Z] OK: 145 MiB in 53 packages [2021-05-26T01:50:26.938Z] Removing intermediate container 34176c5b4770 [2021-05-26T01:50:26.938Z] ---> d25acae31647 [2021-05-26T01:50:26.938Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-26T01:50:27.216Z] ---> Running in fc81f100c4f7 [2021-05-26T01:50:27.818Z] Removing intermediate container fc81f100c4f7 [2021-05-26T01:50:27.818Z] ---> 6f605b635275 [2021-05-26T01:50:27.818Z] Step 9/10 : COPY . . [2021-05-26T01:50:28.811Z] ---> 4adab7e8aa2a [2021-05-26T01:50:28.811Z] Step 10/10 : RUN go mod download [2021-05-26T01:50:29.086Z] ---> Running in e895270fd18e [2021-05-26T01:50:55.945Z] Removing intermediate container e895270fd18e [2021-05-26T01:50:55.945Z] ---> 32e9740d6c3e [2021-05-26T01:50:55.945Z] Successfully built 32e9740d6c3e [2021-05-26T01:50:55.945Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:50:56.295Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T01:50:56.295Z] . [Pipeline] withDockerContainer [2021-05-26T01:50:56.535Z] prd-ubuntu18.04-docker-arm64-4c-16g-332 does not seem to be running inside a container [2021-05-26T01:50:56.623Z] $ 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 [2021-05-26T01:50:58.180Z] $ docker top e2ab6bbe52164a07ef33da80f629595487b8f5f23d0cb682fe4cf0af033193f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T01:50:59.226Z] + go version [2021-05-26T01:50:59.226Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-26T01:50:59.250Z] $ docker stop --time=1 e2ab6bbe52164a07ef33da80f629595487b8f5f23d0cb682fe4cf0af033193f1 [2021-05-26T01:51:01.147Z] $ docker rm -f e2ab6bbe52164a07ef33da80f629595487b8f5f23d0cb682fe4cf0af033193f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:51:01.840Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T01:51:01.841Z] . [Pipeline] withDockerContainer [2021-05-26T01:51:02.080Z] prd-ubuntu18.04-docker-arm64-4c-16g-332 does not seem to be running inside a container [2021-05-26T01:51:02.161Z] $ 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 [2021-05-26T01:51:03.746Z] $ docker top 5cd1aa2e9fa0ead8ca12498f7a005a6a3c86137e1453083d1b635fc08b092e3a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T01:51:04.690Z] + go mod tidy [Pipeline] sh [2021-05-26T01:51:05.945Z] + make test [2021-05-26T01:51:05.945Z] go mod tidy [2021-05-26T01:51:06.219Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-26T01:51:07.663Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-26T01:52:04.275Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-26T01:52:04.275Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.037s coverage: 0.0% of statements [2021-05-26T01:52:04.275Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T01:52:26.503Z] gofmt -l . [2021-05-26T01:52:26.503Z] [ "`gofmt -l .`" = "" ] [2021-05-26T01:52:26.503Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T01:52:28.496Z] $ docker stop --time=1 5cd1aa2e9fa0ead8ca12498f7a005a6a3c86137e1453083d1b635fc08b092e3a [2021-05-26T01:52:30.517Z] $ docker rm -f 5cd1aa2e9fa0ead8ca12498f7a005a6a3c86137e1453083d1b635fc08b092e3a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T01:52:31.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T01:52:31.478Z] Warning: overwriting stash ‘coverage-report’ [2021-05-26T01:52:32.039Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T01:52:32.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T01:52:32.830Z] + ls -al . [2021-05-26T01:52:32.830Z] total 128 [2021-05-26T01:52:32.830Z] drwxrwxr-x 7 jenkins jenkins 4096 May 26 01:52 . [2021-05-26T01:52:32.830Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 01:49 .. [2021-05-26T01:52:32.830Z] -rw-rw-r-- 1 jenkins jenkins 6 May 26 01:49 .dockerignore [2021-05-26T01:52:32.830Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 01:49 .git [2021-05-26T01:52:32.830Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 01:49 .github [2021-05-26T01:52:32.830Z] -rw-rw-r-- 1 jenkins jenkins 269 May 26 01:49 .gitignore [2021-05-26T01:52:32.830Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 26 01:49 Attribution.txt [2021-05-26T01:52:32.830Z] -rw-rw-r-- 1 jenkins jenkins 1459 May 26 01:49 Dockerfile [2021-05-26T01:52:32.830Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 26 01:49 Dockerfile.build [2021-05-26T01:52:32.830Z] -rw-rw-r-- 1 jenkins jenkins 656 May 26 01:49 Jenkinsfile [2021-05-26T01:52:32.830Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 26 01:49 LICENSE [2021-05-26T01:52:32.830Z] -rw-rw-r-- 1 jenkins jenkins 936 May 26 01:49 Makefile [2021-05-26T01:52:32.830Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 26 01:49 README.md [2021-05-26T01:52:32.830Z] -rw-rw-r-- 1 jenkins jenkins 5 May 26 01:46 VERSION [2021-05-26T01:52:32.830Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 01:49 bin [2021-05-26T01:52:32.830Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 01:49 cmd [2021-05-26T01:52:32.830Z] -rw-r--r-- 1 jenkins jenkins 7631 May 26 01:51 coverage.out [2021-05-26T01:52:32.830Z] -rw-rw-r-- 1 jenkins jenkins 222 May 26 01:49 go.mod [2021-05-26T01:52:32.830Z] -rw-r--r-- 1 jenkins jenkins 21556 May 26 01:51 go.sum [2021-05-26T01:52:32.830Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 01:49 internal [2021-05-26T01:52:32.830Z] -rw-rw-r-- 1 jenkins jenkins 209 May 26 01:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:52:33.172Z] + 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 . [2021-05-26T01:52:33.445Z] Sending build context to Docker daemon 363kB [2021-05-26T01:52:33.445Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T01:52:33.445Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-26T01:52:33.445Z] ---> 32e9740d6c3e [2021-05-26T01:52:33.445Z] Step 3/24 : ARG MAKE='make build' [2021-05-26T01:52:33.720Z] ---> Running in 9575c2baf949 [2021-05-26T01:52:34.321Z] Removing intermediate container 9575c2baf949 [2021-05-26T01:52:34.321Z] ---> afa628a5bbc8 [2021-05-26T01:52:34.321Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T01:52:34.321Z] ---> Running in 0f99abb02f1d [2021-05-26T01:52:34.938Z] Removing intermediate container 0f99abb02f1d [2021-05-26T01:52:34.938Z] ---> 24a014c83e8f [2021-05-26T01:52:34.938Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T01:52:35.211Z] ---> Running in b252defad659 [2021-05-26T01:52:35.483Z] Removing intermediate container b252defad659 [2021-05-26T01:52:35.483Z] ---> 92c31f1c47f2 [2021-05-26T01:52:35.483Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T01:52:35.754Z] ---> Running in 7b39b0c063f3 [2021-05-26T01:52:37.736Z] Removing intermediate container 7b39b0c063f3 [2021-05-26T01:52:37.736Z] ---> d9bd29f4c91f [2021-05-26T01:52:37.736Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T01:52:38.011Z] ---> Running in 645e48275c4e [2021-05-26T01:52:39.460Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T01:52:40.054Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T01:52:41.041Z] OK: 145 MiB in 53 packages [2021-05-26T01:52:42.025Z] Removing intermediate container 645e48275c4e [2021-05-26T01:52:42.025Z] ---> 3dae6a478b38 [2021-05-26T01:52:42.025Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-26T01:52:42.300Z] ---> Running in cebe89e59c30 [2021-05-26T01:52:42.898Z] Removing intermediate container cebe89e59c30 [2021-05-26T01:52:42.898Z] ---> 8aed2b6a7115 [2021-05-26T01:52:42.898Z] Step 9/24 : COPY . . [2021-05-26T01:52:43.886Z] ---> 5b9d0767c444 [2021-05-26T01:52:43.886Z] Step 10/24 : RUN go mod tidy [2021-05-26T01:52:44.161Z] ---> Running in 8e46b4d08b95 [2021-05-26T01:52:47.561Z] Removing intermediate container 8e46b4d08b95 [2021-05-26T01:52:47.561Z] ---> c6c8e375f464 [2021-05-26T01:52:47.561Z] Step 11/24 : RUN make update [2021-05-26T01:52:47.561Z] ---> Running in 9f8cf1d368db [2021-05-26T01:52:48.534Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-26T01:52:49.514Z] Removing intermediate container 9f8cf1d368db [2021-05-26T01:52:49.514Z] ---> 4dab4cb639d0 [2021-05-26T01:52:49.514Z] Step 12/24 : RUN ${MAKE} [2021-05-26T01:52:49.790Z] ---> Running in e5c737521a70 [2021-05-26T01:52:51.231Z] go mod tidy [2021-05-26T01:52:51.836Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-05-26T01:53:38.935Z] Removing intermediate container e5c737521a70 [2021-05-26T01:53:38.935Z] ---> dd50704cc112 [2021-05-26T01:53:38.935Z] Step 13/24 : FROM alpine:3.12 [2021-05-26T01:53:38.935Z] 3.12: Pulling from library/alpine [2021-05-26T01:53:38.935Z] d2f70382dc9a: Pulling fs layer [2021-05-26T01:53:38.935Z] d2f70382dc9a: Pull complete [2021-05-26T01:53:38.935Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T01:53:38.935Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T01:53:38.935Z] ---> 9852663dfa18 [2021-05-26T01:53:38.935Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T01:53:38.935Z] ---> Running in 632eb385a87c [2021-05-26T01:53:38.935Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-26T01:53:38.935Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-26T01:53:38.935Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T01:53:38.935Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T01:53:38.935Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T01:53:38.935Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T01:53:38.935Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T01:53:38.935Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T01:53:38.935Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T01:53:38.935Z] OK: 8 MiB in 20 packages [2021-05-26T01:53:39.920Z] Removing intermediate container 632eb385a87c [2021-05-26T01:53:39.920Z] ---> e74246302723 [2021-05-26T01:53:39.920Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-26T01:53:41.358Z] ---> 928e2ed92ce4 [2021-05-26T01:53:41.358Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-26T01:53:41.956Z] ---> 3b9988a4ac66 [2021-05-26T01:53:41.956Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-26T01:53:42.944Z] ---> f371cb229c1a [2021-05-26T01:53:42.944Z] Step 18/24 : EXPOSE 59993 [2021-05-26T01:53:42.944Z] ---> Running in d56d293bc86d [2021-05-26T01:53:43.547Z] Removing intermediate container d56d293bc86d [2021-05-26T01:53:43.547Z] ---> 8104109880c0 [2021-05-26T01:53:43.547Z] Step 19/24 : EXPOSE 161 [2021-05-26T01:53:43.547Z] ---> Running in e61681c154ad [2021-05-26T01:53:44.150Z] Removing intermediate container e61681c154ad [2021-05-26T01:53:44.150Z] ---> 82b6d7acc838 [2021-05-26T01:53:44.150Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-26T01:53:44.431Z] ---> Running in e252accc68f0 [2021-05-26T01:53:45.032Z] Removing intermediate container e252accc68f0 [2021-05-26T01:53:45.032Z] ---> 51a428e12620 [2021-05-26T01:53:45.032Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-26T01:53:45.032Z] ---> Running in eeade0d49ff0 [2021-05-26T01:53:45.630Z] Removing intermediate container eeade0d49ff0 [2021-05-26T01:53:45.630Z] ---> ebf1f30fdb00 [2021-05-26T01:53:45.630Z] Step 22/24 : LABEL arch=arm64 [2021-05-26T01:53:45.905Z] ---> Running in a3d4b031eef9 [2021-05-26T01:53:46.178Z] Removing intermediate container a3d4b031eef9 [2021-05-26T01:53:46.178Z] ---> f1b304614012 [2021-05-26T01:53:46.178Z] Step 23/24 : LABEL git_sha=57cb4ad9f342aba946ca6cd4c707869a45f27a71 [2021-05-26T01:53:46.453Z] ---> Running in 9500b23efdc9 [2021-05-26T01:53:47.054Z] Removing intermediate container 9500b23efdc9 [2021-05-26T01:53:47.054Z] ---> 47057016bc5e [2021-05-26T01:53:47.054Z] Step 24/24 : LABEL version=0.0.0 [2021-05-26T01:53:47.054Z] ---> Running in db8b0451fe2b [2021-05-26T01:53:47.651Z] Removing intermediate container db8b0451fe2b [2021-05-26T01:53:47.651Z] ---> fd3fb4232d54 [2021-05-26T01:53:47.651Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T01:53:47.651Z] Successfully built fd3fb4232d54 [2021-05-26T01:53:47.651Z] 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 [2021-05-26T01:53:48.178Z] ---> job-cost.sh [2021-05-26T01:53:48.178Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pXIQ [2021-05-26T01:54:44.716Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T01:56:36.531Z] lf-activate-venv(): INFO: Adding /tmp/venv-pXIQ/bin to PATH [2021-05-26T01:56:36.531Z] INFO: No Stack... [2021-05-26T01:56:36.531Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-26T01:56:36.531Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T01:56:36.885Z] + cut -d, -f6 [2021-05-26T01:56:36.885Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [Pipeline] lock [2021-05-26T01:56:36.948Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] [2021-05-26T01:56:36.956Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] did not exist. Created. [2021-05-26T01:56:36.956Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-100-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T01:56:37.331Z] /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 [2021-05-26T01:56:37.680Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-26T01:56:37.715Z] Warning: overwriting stash ‘stack-cost’ [2021-05-26T01:56:37.867Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T01:56:37.883Z] 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 [2021-05-26T01:56:38.316Z] provisioning config files... [2021-05-26T01:56:38.328Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-100@tmp/config89768477675172944tmp [Pipeline] { [Pipeline] sh [2021-05-26T01:56:38.650Z] + set +x [2021-05-26T01:56:38.650Z] + curl -s https://codecov.io/bash [2021-05-26T01:56:38.650Z] + bash -s -- [2021-05-26T01:56:38.650Z] [2021-05-26T01:56:38.650Z] _____ _ [2021-05-26T01:56:38.650Z] / ____| | | [2021-05-26T01:56:38.650Z] | | ___ __| | ___ ___ _____ __ [2021-05-26T01:56:38.650Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-26T01:56:38.650Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-26T01:56:38.650Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-26T01:56:38.650Z] Bash-1.0.3 [2021-05-26T01:56:38.650Z] [2021-05-26T01:56:38.650Z] [2021-05-26T01:56:38.650Z] ==> git version 2.24.4 found [2021-05-26T01:56:38.650Z] ==> 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 [2021-05-26T01:56:38.650Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-26T01:56:38.650Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-26T01:56:38.650Z] ==> Jenkins CI detected. [2021-05-26T01:56:38.650Z] project root: . [2021-05-26T01:56:38.650Z] --> token set from env [2021-05-26T01:56:38.650Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-26T01:56:38.650Z] ==> Running gcov in . (disable via -X gcov) [2021-05-26T01:56:38.650Z] ==> Python coveragepy not found [2021-05-26T01:56:38.650Z] ==> Searching for coverage reports in: [2021-05-26T01:56:38.650Z] + . [2021-05-26T01:56:38.650Z] -> Found 1 reports [2021-05-26T01:56:38.650Z] ==> Detecting git/mercurial file structure [2021-05-26T01:56:38.650Z] ==> Reading reports [2021-05-26T01:56:38.915Z] + ./coverage.out bytes=7631 [2021-05-26T01:56:38.915Z] ==> Appending adjustments [2021-05-26T01:56:38.915Z] https://docs.codecov.io/docs/fixing-reports [2021-05-26T01:56:38.915Z] + Found adjustments [2021-05-26T01:56:38.915Z] ==> Gzipping contents [2021-05-26T01:56:38.915Z] 4.0K /tmp/codecov.NAhrNi.gz [2021-05-26T01:56:38.915Z] ==> Uploading reports [2021-05-26T01:56:38.915Z] url: https://codecov.io [2021-05-26T01:56:38.915Z] 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= [2021-05-26T01:56:38.915Z] -> Pinging Codecov [2021-05-26T01:56:38.915Z] 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= [2021-05-26T01:56:39.177Z] -> Uploading to [2021-05-26T01:56:39.178Z] 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 [2021-05-26T01:56:39.178Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-26T01:56:39.178Z] Dload Upload Total Spent Left Speed [2021-05-26T01:56:39.440Z] 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 [2021-05-26T01:56:39.440Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/57cb4ad9f342aba946ca6cd4c707869a45f27a71 [Pipeline] } [2021-05-26T01:56:39.451Z] 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 [2021-05-26T01:56:40.346Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:40.916Z] ---> package-listing.sh [2021-05-26T01:56:40.916Z] ++ facter osfamily [2021-05-26T01:56:40.916Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-26T01:56:41.179Z] + OS_FAMILY=redhat [2021-05-26T01:56:41.179Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-100 [2021-05-26T01:56:41.179Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-26T01:56:41.179Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-26T01:56:41.179Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-26T01:56:41.179Z] + PACKAGES=/tmp/packages_start.txt [2021-05-26T01:56:41.179Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-100 ']' [2021-05-26T01:56:41.179Z] + PACKAGES=/tmp/packages_end.txt [2021-05-26T01:56:41.179Z] + case "${OS_FAMILY}" in [2021-05-26T01:56:41.179Z] + rpm -qa [2021-05-26T01:56:41.179Z] + sort [2021-05-26T01:56:41.754Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-26T01:56:41.754Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-26T01:56:41.754Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-26T01:56:41.754Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-100 ']' [2021-05-26T01:56:41.754Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-100/archives/ [2021-05-26T01:56:41.754Z] + 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 [2021-05-26T01:56:41.765Z] 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 [2021-05-26T01:56:42.046Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:56:42.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T01:56:42.612Z] [2021-05-26T01:56:42.612Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:56:42.929Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T01:56:42.930Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-26T01:56:42.930Z] df20fa9351a1: Pulling fs layer [2021-05-26T01:56:42.930Z] 36b3adc4ff6f: Pulling fs layer [2021-05-26T01:56:42.930Z] 8ad3a11d3b57: Pulling fs layer [2021-05-26T01:56:42.930Z] 46f8f816bc3b: Pulling fs layer [2021-05-26T01:56:42.930Z] 93b61091891f: Pulling fs layer [2021-05-26T01:56:42.930Z] 93b9cdb0e59b: Pulling fs layer [2021-05-26T01:56:42.930Z] 5e14af77c1be: Pulling fs layer [2021-05-26T01:56:42.930Z] 01666e4c0597: Pulling fs layer [2021-05-26T01:56:42.930Z] aa168da1d23b: Pulling fs layer [2021-05-26T01:56:42.930Z] 46f8f816bc3b: Waiting [2021-05-26T01:56:42.930Z] 93b61091891f: Waiting [2021-05-26T01:56:42.930Z] 93b9cdb0e59b: Waiting [2021-05-26T01:56:42.930Z] 5e14af77c1be: Waiting [2021-05-26T01:56:42.930Z] 01666e4c0597: Waiting [2021-05-26T01:56:42.930Z] aa168da1d23b: Waiting [2021-05-26T01:56:42.930Z] 36b3adc4ff6f: Verifying Checksum [2021-05-26T01:56:42.930Z] 36b3adc4ff6f: Download complete [2021-05-26T01:56:42.930Z] 46f8f816bc3b: Verifying Checksum [2021-05-26T01:56:42.930Z] 46f8f816bc3b: Download complete [2021-05-26T01:56:42.930Z] df20fa9351a1: Verifying Checksum [2021-05-26T01:56:42.930Z] df20fa9351a1: Download complete [2021-05-26T01:56:43.193Z] 93b9cdb0e59b: Verifying Checksum [2021-05-26T01:56:43.193Z] 93b9cdb0e59b: Download complete [2021-05-26T01:56:43.193Z] 5e14af77c1be: Verifying Checksum [2021-05-26T01:56:43.193Z] 5e14af77c1be: Download complete [2021-05-26T01:56:43.193Z] 93b61091891f: Verifying Checksum [2021-05-26T01:56:43.193Z] 93b61091891f: Download complete [2021-05-26T01:56:43.193Z] 01666e4c0597: Verifying Checksum [2021-05-26T01:56:43.193Z] 01666e4c0597: Download complete [2021-05-26T01:56:43.193Z] df20fa9351a1: Pull complete [2021-05-26T01:56:43.193Z] 8ad3a11d3b57: Verifying Checksum [2021-05-26T01:56:43.193Z] 8ad3a11d3b57: Download complete [2021-05-26T01:56:43.479Z] 36b3adc4ff6f: Pull complete [2021-05-26T01:56:44.050Z] 8ad3a11d3b57: Pull complete [2021-05-26T01:56:44.050Z] 46f8f816bc3b: Pull complete [2021-05-26T01:56:44.314Z] 93b61091891f: Pull complete [2021-05-26T01:56:44.314Z] 93b9cdb0e59b: Pull complete [2021-05-26T01:56:44.574Z] 5e14af77c1be: Pull complete [2021-05-26T01:56:44.574Z] 01666e4c0597: Pull complete [2021-05-26T01:56:44.837Z] aa168da1d23b: Verifying Checksum [2021-05-26T01:56:44.838Z] aa168da1d23b: Download complete [2021-05-26T01:56:49.093Z] aa168da1d23b: Pull complete [2021-05-26T01:56:49.094Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-26T01:56:49.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T01:56:49.094Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-26T01:56:49.188Z] prd-centos7-docker-4c-2g-324 does not seem to be running inside a container [2021-05-26T01:56:49.235Z] $ 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 [2021-05-26T01:56:53.781Z] $ docker top 96a6aa2f4b5549f74bbf16956f17b2613420aaf548dce2600181d753161487d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T01:56:54.173Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-26T01:56:54.468Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-26T01:56:54.764Z] + ls /var/log/sa-host [2021-05-26T01:56:54.764Z] + sadf -c /var/log/sa-host/sa05 [2021-05-26T01:56:54.764Z] file_magic: OK [2021-05-26T01:56:54.764Z] HZ: Using current value: 100 [2021-05-26T01:56:54.764Z] file_header: OK [2021-05-26T01:56:54.764Z] 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 [2021-05-26T01:56:54.764Z] Statistics: [2021-05-26T01:56:54.764Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T01:56:54.764Z] File successfully converted to sysstat format version 12.2.1 [2021-05-26T01:56:54.764Z] + sadf -c /var/log/sa-host/sa26 [2021-05-26T01:56:54.764Z] file_magic: OK [2021-05-26T01:56:54.764Z] HZ: Using current value: 100 [2021-05-26T01:56:54.764Z] file_header: OK [2021-05-26T01:56:54.764Z] 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 [2021-05-26T01:56:54.764Z] Statistics: [2021-05-26T01:56:54.764Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T01:56:54.764Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T01:56:54.929Z] provisioning config files... [2021-05-26T01:56:54.940Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-100@tmp/config8898036924937261340tmp [Pipeline] { [Pipeline] echo [2021-05-26T01:56:54.961Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:55.254Z] ---> create-netrc.sh [Pipeline] } [2021-05-26T01:56:55.262Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-26T01:56:55.291Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:55.588Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-26T01:56:55.597Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:55.894Z] ---> sudo-logs.sh [2021-05-26T01:56:55.894Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-26T01:56:55.928Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:56.218Z] ---> job-cost.sh [2021-05-26T01:56:56.219Z] lf-activate-venv: SKIPPING [2021-05-26T01:56:56.219Z] DEBUG: total: 0.18000000715255737 [2021-05-26T01:56:56.219Z] INFO: Retrieving Stack Cost... [2021-05-26T01:56:57.618Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T01:56:57.879Z] INFO: Archiving Costs [Pipeline] echo [2021-05-26T01:56:57.893Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:58.189Z] ---> logs-deploy.sh [2021-05-26T01:56:58.189Z] lf-activate-venv: SKIPPING [2021-05-26T01:56:58.189Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-100/2 [2021-05-26T01:56:58.189Z] INFO: archiving workspace using pattern(s): [2021-05-26T01:56:59.138Z] Archives upload complete. [2021-05-26T01:56:59.138Z] INFO: archiving logs to Nexus