Pull request #103 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6+36f220337c15c882742676291291e5935134de27 (4f883b63bd6792b2e8da657f3e21206ed2ea98e7) Running in Durability level: MAX_SURVIVABILITY 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-ssh9038664085435847702.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-ssh7301234629510761074.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-103/workspace@libs/edgex-global-pipelines # timeout=10 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-103/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1237093584452324860.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-103/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2127543130727138416.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh689334033187866173.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-103/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-103/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5194951975927541145.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1146 in /w/workspace/gexfoundry_device-snmp-go_PR-103 [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-103 # 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-103@tmp/jenkins-gitclient-ssh2426537922406245145.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 Merging remotes/origin/master commit 36f220337c15c882742676291291e5935134de27 into PR head commit 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 Merge succeeded, producing 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 Checking out Revision 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 (PR-103) > 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-103@tmp/jenkins-gitclient-ssh1869622122314731817.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 # 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-103@tmp/jenkins-gitclient-ssh5990793901739303179.key > git merge 36f220337c15c882742676291291e5935134de27 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-31T05:43:49.177Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-31T05:43:49.420Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-31T05:43:49.563Z] ========================================================= [2021-05-31T05:43:49.564Z] EdgeX Global Pipelines Version Info [2021-05-31T05:43:49.564Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-31T05:43:53.538Z] ------------------- [2021-05-31T05:43:53.538Z] stable info: [2021-05-31T05:43:53.538Z] ------------------- [2021-05-31T05:43:53.538Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-31T05:43:53.538Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-31T05:43:53.538Z] Message: update stable to v1.0.192 [2021-05-31T05:43:54.124Z] ------------------- [2021-05-31T05:43:54.124Z] experimental info: [2021-05-31T05:43:54.124Z] ------------------- [2021-05-31T05:43:54.124Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-31T05:43:54.124Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-31T05:43:54.124Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-31T05:43:56.552Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-31T05:43:56.615Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-31T05:43:56.689Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-31T05:43:56.758Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-31T05:43:56.825Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-31T05:43:56.895Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-31T05:43:56.961Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-31T05:43:57.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-31T05:43:57.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-31T05:43:57.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-31T05:43:57.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-31T05:43:57.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-31T05:43:57.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-31T05:43:57.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-31T05:43:57.531Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-31T05:43:57.603Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-31T05:43:57.674Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-31T05:43:59.918Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-31T05:43:59.999Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-31T05:44:00.064Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-31T05:44:00.134Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-31T05:44:00.203Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-31T05:44:00.311Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-31T05:44:00.384Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-31T05:44:00.461Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-31T05:44:00.528Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-31T05:44:00.590Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo [2021-05-31T05:44:00.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo [2021-05-31T05:44:00.731Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo [2021-05-31T05:44:00.802Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 [Pipeline] echo [2021-05-31T05:44:00.867Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f6ff6b [Pipeline] echo [2021-05-31T05:44:00.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T05:44:01.131Z] provisioning config files... [2021-05-31T05:44:01.156Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-103@tmp/config8424089587303660031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-31T05:44:01.620Z] ---> docker-login.sh [2021-05-31T05:44:01.620Z] nexus3.edgexfoundry.org:10001 [2021-05-31T05:44:01.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:44:01.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:44:01.891Z] Configure a credential helper to remove this warning. See [2021-05-31T05:44:01.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:44:01.891Z] [2021-05-31T05:44:01.891Z] Login Succeeded [2021-05-31T05:44:01.891Z] nexus3.edgexfoundry.org:10002 [2021-05-31T05:44:01.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:44:02.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:44:02.158Z] Configure a credential helper to remove this warning. See [2021-05-31T05:44:02.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:44:02.158Z] [2021-05-31T05:44:02.158Z] Login Succeeded [2021-05-31T05:44:02.158Z] nexus3.edgexfoundry.org:10003 [2021-05-31T05:44:02.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:44:02.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:44:02.158Z] Configure a credential helper to remove this warning. See [2021-05-31T05:44:02.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:44:02.158Z] [2021-05-31T05:44:02.158Z] Login Succeeded [2021-05-31T05:44:02.158Z] nexus3.edgexfoundry.org:10004 [2021-05-31T05:44:02.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:44:02.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:44:02.423Z] Configure a credential helper to remove this warning. See [2021-05-31T05:44:02.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:44:02.423Z] [2021-05-31T05:44:02.423Z] Login Succeeded [2021-05-31T05:44:02.423Z] docker.io [2021-05-31T05:44:02.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:44:02.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:44:02.686Z] Configure a credential helper to remove this warning. See [2021-05-31T05:44:02.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:44:02.686Z] [2021-05-31T05:44:02.686Z] Login Succeeded [2021-05-31T05:44:02.686Z] ---> docker-login.sh ends [Pipeline] } [2021-05-31T05:44:02.714Z] 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-31T05:44:05.473Z] + git log --format=format:%s -1 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 [Pipeline] echo [2021-05-31T05:44:05.560Z] GIT_COMMIT: 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-31T05:44:05.610Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:44:06.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-31T05:44:06.235Z] [2021-05-31T05:44:06.235Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:44:06.606Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-31T05:44:06.606Z] latest: Pulling from edgex-devops/git-semver [2021-05-31T05:44:06.606Z] 31603596830f: Pulling fs layer [2021-05-31T05:44:06.606Z] 54011a49482f: Pulling fs layer [2021-05-31T05:44:06.606Z] a6820b24f6d8: Pulling fs layer [2021-05-31T05:44:06.606Z] f581987b2513: Pulling fs layer [2021-05-31T05:44:06.606Z] f581987b2513: Waiting [2021-05-31T05:44:06.606Z] 54011a49482f: Verifying Checksum [2021-05-31T05:44:06.606Z] 54011a49482f: Download complete [2021-05-31T05:44:06.887Z] 31603596830f: Verifying Checksum [2021-05-31T05:44:06.887Z] 31603596830f: Download complete [2021-05-31T05:44:06.887Z] a6820b24f6d8: Verifying Checksum [2021-05-31T05:44:06.887Z] a6820b24f6d8: Download complete [2021-05-31T05:44:06.887Z] 31603596830f: Pull complete [2021-05-31T05:44:06.887Z] f581987b2513: Verifying Checksum [2021-05-31T05:44:06.887Z] f581987b2513: Download complete [2021-05-31T05:44:07.149Z] 54011a49482f: Pull complete [2021-05-31T05:44:07.743Z] a6820b24f6d8: Pull complete [2021-05-31T05:44:08.005Z] f581987b2513: Pull complete [2021-05-31T05:44:08.005Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-31T05:44:08.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-31T05:44:08.005Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-31T05:44:08.141Z] prd-centos7-docker-4c-2g-1146 does not seem to be running inside a container [2021-05-31T05:44:08.196Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-103 -v /w/workspace/gexfoundry_device-snmp-go_PR-103:/w/workspace/gexfoundry_device-snmp-go_PR-103:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-103@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-31T05:44:09.224Z] $ docker top bedaf34f94f874dadd9b27c3c34812dfcc67c69660f3d4a7ed03abea1ffb1d50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-31T05:44:09.478Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-31T05:44:09.478Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-31T05:44:09.586Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-31T05:44:09.586Z] $ docker exec bedaf34f94f874dadd9b27c3c34812dfcc67c69660f3d4a7ed03abea1ffb1d50 ssh-agent [2021-05-31T05:44:09.688Z] SSH_AUTH_SOCK=/tmp/ssh-AVHQRlAjiHa5/agent.14 [2021-05-31T05:44:09.688Z] SSH_AGENT_PID=20 [2021-05-31T05:44:09.695Z] Running ssh-add (command line suppressed) [2021-05-31T05:44:09.799Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-103@tmp/private_key_4206791811440688998.key (/w/workspace/gexfoundry_device-snmp-go_PR-103@tmp/private_key_4206791811440688998.key) [2021-05-31T05:44:09.820Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-31T05:44:10.186Z] + git tag --points-at HEAD [Pipeline] } [2021-05-31T05:44:10.218Z] $ docker exec --env ******** --env ******** bedaf34f94f874dadd9b27c3c34812dfcc67c69660f3d4a7ed03abea1ffb1d50 ssh-agent -k [2021-05-31T05:44:10.303Z] unset SSH_AUTH_SOCK; [2021-05-31T05:44:10.303Z] unset SSH_AGENT_PID; [2021-05-31T05:44:10.303Z] echo Agent pid 20 killed; [2021-05-31T05:44:10.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-31T05:44:10.421Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-31T05:44:10.421Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-31T05:44:12.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-31T05:44:12.651Z] $ docker exec bedaf34f94f874dadd9b27c3c34812dfcc67c69660f3d4a7ed03abea1ffb1d50 ssh-agent [2021-05-31T05:44:12.756Z] SSH_AUTH_SOCK=/tmp/ssh-hx1ECoUU625o/agent.55 [2021-05-31T05:44:12.756Z] SSH_AGENT_PID=61 [2021-05-31T05:44:12.762Z] Running ssh-add (command line suppressed) [2021-05-31T05:44:12.856Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-103@tmp/private_key_1717114841546438256.key (/w/workspace/gexfoundry_device-snmp-go_PR-103@tmp/private_key_1717114841546438256.key) [2021-05-31T05:44:12.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-31T05:44:13.311Z] + git semver init [2021-05-31T05:44:13.311Z] # -> Open(): unable to determine branch for HEAD [2021-05-31T05:44:13.311Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-103/.git [2021-05-31T05:44:13.311Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-103 [2021-05-31T05:44:13.311Z] # $SEMVER_REMOTE_NAME = origin [2021-05-31T05:44:13.311Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-31T05:44:13.311Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-31T05:44:13.311Z] # $SEMVER_BRANCH = PR-103 [2021-05-31T05:44:13.311Z] # $SEMVER_TEMP = /tmp/semver-145083501 [2021-05-31T05:44:13.311Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-31T05:44:13.585Z] # '/tmp/semver-145083501' -> '/w/workspace/gexfoundry_device-snmp-go_PR-103/.semver' [2021-05-31T05:44:13.585Z] # -> Force: false [2021-05-31T05:44:13.585Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-103/.semver [Pipeline] } [2021-05-31T05:44:13.607Z] $ docker exec --env ******** --env ******** bedaf34f94f874dadd9b27c3c34812dfcc67c69660f3d4a7ed03abea1ffb1d50 ssh-agent -k [2021-05-31T05:44:13.702Z] unset SSH_AUTH_SOCK; [2021-05-31T05:44:13.703Z] unset SSH_AGENT_PID; [2021-05-31T05:44:13.703Z] echo Agent pid 61 killed; [2021-05-31T05:44:13.727Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-31T05:44:14.207Z] + git semver [Pipeline] } [2021-05-31T05:44:14.242Z] $ docker stop --time=1 bedaf34f94f874dadd9b27c3c34812dfcc67c69660f3d4a7ed03abea1ffb1d50 [2021-05-31T05:44:16.782Z] $ docker rm -f bedaf34f94f874dadd9b27c3c34812dfcc67c69660f3d4a7ed03abea1ffb1d50 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-31T05:44:17.353Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-31T05:44:17.812Z] Stashed 1 file(s) [Pipeline] echo [2021-05-31T05:44:17.841Z] [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-31T05:44:36.694Z] Still waiting to schedule task [2021-05-31T05:44:36.694Z] Still waiting to schedule task [2021-05-31T05:44:36.694Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-31T05:44:36.694Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-31T05:44:36.694Z] ‘prd-centos7-docker-4c-2g-1136’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-31T05:44:36.694Z] ‘prd-centos7-docker-4c-2g-1138’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-31T05:44:36.694Z] ‘prd-centos7-docker-4c-2g-1157’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-31T05:44:36.694Z] ‘prd-centos7-docker-4c-2g-309’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-31T05:44:36.694Z] ‘prd-centos7-docker-4c-2g-1136’ is offline [2021-05-31T05:44:36.694Z] ‘prd-centos7-docker-4c-2g-1138’ is offline [2021-05-31T05:44:36.694Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1154’ is offline [2021-05-31T05:44:36.694Z] ‘prd-centos7-docker-4c-2g-1157’ is offline [2021-05-31T05:44:36.695Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-31T05:44:36.695Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1154’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-31T05:46:20.827Z] Running on prd-centos7-docker-4c-2g-1163 in /w/workspace/gexfoundry_device-snmp-go_PR-103 [Pipeline] { [Pipeline] ws [2021-05-31T05:46:20.912Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-31T05:46:24.405Z] Selected Git installation does not exist. Using Default [2021-05-31T05:46:24.405Z] The recommended git tool is: NONE [2021-05-31T05:46:33.649Z] using credential edgex-jenkins-ssh [2021-05-31T05:46:33.662Z] Cloning the remote Git repository [2021-05-31T05:46:33.678Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-31T05:46:33.752Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-31T05:46:33.788Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-31T05:46:33.788Z] > git --version # timeout=10 [2021-05-31T05:46:33.797Z] > git --version # 'git version 2.24.4' [2021-05-31T05:46:33.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T05:46:33.819Z] [INFO] Currently running in a labeled security context [2021-05-31T05:46:33.820Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-31T05:46:33.820Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh2744760057469164768.key [2021-05-31T05:46:33.833Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-31T05:46:34.359Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-31T05:46:34.367Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-31T05:46:34.383Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-31T05:46:34.397Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-31T05:46:34.397Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T05:46:34.400Z] [INFO] Currently running in a labeled security context [2021-05-31T05:46:34.400Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-31T05:46:34.400Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh3811236526406535694.key [2021-05-31T05:46:34.410Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-31T05:46:36.624Z] Merging remotes/origin/master commit 36f220337c15c882742676291291e5935134de27 into PR head commit 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 [2021-05-31T05:46:36.751Z] Merge succeeded, producing 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 [2021-05-31T05:46:36.751Z] Checking out Revision 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 (PR-103) [2021-05-31T05:46:36.637Z] > git config core.sparsecheckout # timeout=10 [2021-05-31T05:46:36.651Z] > git checkout -f 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 # timeout=10 [2021-05-31T05:46:36.692Z] > git remote # timeout=10 [2021-05-31T05:46:36.697Z] > git config --get remote.origin.url # timeout=10 [2021-05-31T05:46:36.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T05:46:36.707Z] [INFO] Currently running in a labeled security context [2021-05-31T05:46:36.707Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-31T05:46:36.707Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh3971385753829648742.key [2021-05-31T05:46:36.713Z] > git merge 36f220337c15c882742676291291e5935134de27 # timeout=10 [2021-05-31T05:46:36.729Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-31T05:46:36.749Z] > git config core.sparsecheckout # timeout=10 [2021-05-31T05:46:36.757Z] > git checkout -f 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 # timeout=10 [2021-05-31T05:46:40.493Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-31T05:46:40.511Z] > git --version # timeout=10 [2021-05-31T05:46:40.519Z] > git --version # 'git version 2.24.4' [2021-05-31T05:46:40.528Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-31T05:46:43.895Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-31T05:46:46.052Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-31T05:46:46.406Z] + sudo service docker restart [2021-05-31T05:46:46.406Z] + true [2021-05-31T05:46:46.406Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T05:47:03.494Z] provisioning config files... [2021-05-31T05:47:03.510Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4591468108684205742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-31T05:47:03.925Z] ---> docker-login.sh [2021-05-31T05:47:03.925Z] nexus3.edgexfoundry.org:10001 [2021-05-31T05:47:03.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:47:04.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:47:04.189Z] Configure a credential helper to remove this warning. See [2021-05-31T05:47:04.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:47:04.189Z] [2021-05-31T05:47:04.189Z] Login Succeeded [2021-05-31T05:47:04.189Z] nexus3.edgexfoundry.org:10002 [2021-05-31T05:47:06.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:47:06.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:47:06.259Z] Configure a credential helper to remove this warning. See [2021-05-31T05:47:06.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:47:06.259Z] [2021-05-31T05:47:06.259Z] Login Succeeded [2021-05-31T05:47:06.259Z] nexus3.edgexfoundry.org:10003 [2021-05-31T05:47:06.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:47:06.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:47:06.259Z] Configure a credential helper to remove this warning. See [2021-05-31T05:47:06.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:47:06.259Z] [2021-05-31T05:47:06.259Z] Login Succeeded [2021-05-31T05:47:06.259Z] nexus3.edgexfoundry.org:10004 [2021-05-31T05:47:06.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:47:06.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:47:06.259Z] Configure a credential helper to remove this warning. See [2021-05-31T05:47:06.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:47:06.259Z] [2021-05-31T05:47:06.259Z] Login Succeeded [2021-05-31T05:47:06.259Z] docker.io [2021-05-31T05:47:06.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:47:06.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:47:06.259Z] Configure a credential helper to remove this warning. See [2021-05-31T05:47:06.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:47:06.259Z] [2021-05-31T05:47:06.259Z] Login Succeeded [2021-05-31T05:47:06.259Z] ---> docker-login.sh ends [Pipeline] } [2021-05-31T05:47:06.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-31T05:47:06.673Z] ========================================================= [2021-05-31T05:47:06.673Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-31T05:47:06.673Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:47:07.035Z] + 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-31T05:47:07.035Z] Sending build context to Docker daemon 357.9kB [2021-05-31T05:47:07.035Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-31T05:47:07.035Z] Step 2/10 : FROM ${BASE} [2021-05-31T05:47:07.035Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-31T05:47:07.035Z] 540db60ca938: Pulling fs layer [2021-05-31T05:47:07.035Z] adcc1eea9eea: Pulling fs layer [2021-05-31T05:47:07.035Z] 4c4ab2625f07: Pulling fs layer [2021-05-31T05:47:07.035Z] 0510c868ecb4: Pulling fs layer [2021-05-31T05:47:07.035Z] afea3b2eda06: Pulling fs layer [2021-05-31T05:47:07.035Z] 7809a108b3ef: Pulling fs layer [2021-05-31T05:47:07.035Z] f706445af74f: Pulling fs layer [2021-05-31T05:47:07.035Z] afea3b2eda06: Waiting [2021-05-31T05:47:07.035Z] 7809a108b3ef: Waiting [2021-05-31T05:47:07.035Z] f706445af74f: Waiting [2021-05-31T05:47:07.035Z] 0510c868ecb4: Waiting [2021-05-31T05:47:07.035Z] 4c4ab2625f07: Verifying Checksum [2021-05-31T05:47:07.035Z] 4c4ab2625f07: Download complete [2021-05-31T05:47:07.035Z] adcc1eea9eea: Verifying Checksum [2021-05-31T05:47:07.035Z] adcc1eea9eea: Download complete [2021-05-31T05:47:07.297Z] afea3b2eda06: Verifying Checksum [2021-05-31T05:47:07.297Z] afea3b2eda06: Download complete [2021-05-31T05:47:07.297Z] 7809a108b3ef: Verifying Checksum [2021-05-31T05:47:07.297Z] 7809a108b3ef: Download complete [2021-05-31T05:47:07.297Z] 540db60ca938: Verifying Checksum [2021-05-31T05:47:07.297Z] 540db60ca938: Download complete [2021-05-31T05:47:07.561Z] 540db60ca938: Pull complete [2021-05-31T05:47:07.561Z] adcc1eea9eea: Pull complete [2021-05-31T05:47:07.824Z] 4c4ab2625f07: Pull complete [2021-05-31T05:47:08.776Z] f706445af74f: Verifying Checksum [2021-05-31T05:47:08.776Z] f706445af74f: Download complete [2021-05-31T05:47:11.558Z] 0510c868ecb4: Verifying Checksum [2021-05-31T05:47:11.558Z] 0510c868ecb4: Download complete [2021-05-31T05:47:12.993Z] 0510c868ecb4: Pull complete [2021-05-31T05:47:13.269Z] afea3b2eda06: Pull complete [2021-05-31T05:47:13.269Z] 7809a108b3ef: Pull complete [2021-05-31T05:47:14.678Z] f706445af74f: Pull complete [2021-05-31T05:47:14.940Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-31T05:47:14.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-31T05:47:14.940Z] ---> b068be0155e3 [2021-05-31T05:47:14.940Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-31T05:47:18.809Z] ---> Running in 4c6eeaf608b0 [2021-05-31T05:47:18.809Z] Removing intermediate container 4c6eeaf608b0 [2021-05-31T05:47:18.809Z] ---> 8614dd4ab670 [2021-05-31T05:47:18.809Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-31T05:47:18.809Z] ---> Running in 4644b574f7b9 [2021-05-31T05:47:19.087Z] Removing intermediate container 4644b574f7b9 [2021-05-31T05:47:19.087Z] ---> fcba62a385af [2021-05-31T05:47:19.087Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-31T05:47:19.087Z] ---> Running in 329eb13c9353 [2021-05-31T05:47:19.087Z] Removing intermediate container 329eb13c9353 [2021-05-31T05:47:19.087Z] ---> bef6756c2dd1 [2021-05-31T05:47:19.087Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-31T05:47:19.087Z] ---> Running in 2da17e81c6ae [2021-05-31T05:47:19.663Z] Removing intermediate container 2da17e81c6ae [2021-05-31T05:47:19.663Z] ---> aa7a9ee19ce1 [2021-05-31T05:47:19.663Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-31T05:47:19.931Z] ---> Running in 1119891b265f [2021-05-31T05:47:20.196Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-31T05:47:22.752Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-31T05:47:25.307Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-31T05:47:25.307Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-31T05:47:25.571Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-31T05:47:25.571Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-31T05:47:27.811Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-31T05:47:27.811Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-31T05:47:27.811Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-31T05:47:28.802Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-31T05:47:28.802Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-31T05:47:29.066Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-31T05:47:30.014Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-31T05:47:30.588Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-31T05:47:32.658Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-31T05:47:32.658Z] Executing busybox-1.32.1-r6.trigger [2021-05-31T05:47:32.658Z] OK: 156 MiB in 53 packages [2021-05-31T05:47:32.658Z] Removing intermediate container 1119891b265f [2021-05-31T05:47:32.658Z] ---> fcbcf85fb89a [2021-05-31T05:47:32.658Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-31T05:47:32.658Z] ---> Running in 168ee539c301 [2021-05-31T05:47:32.658Z] Removing intermediate container 168ee539c301 [2021-05-31T05:47:32.658Z] ---> eadc59986b6b [2021-05-31T05:47:32.658Z] Step 9/10 : COPY . . [2021-05-31T05:47:32.658Z] ---> b3109e3cf8b9 [2021-05-31T05:47:32.658Z] Step 10/10 : RUN go mod download [2021-05-31T05:47:32.658Z] ---> Running in c38da2aa3aa0 [2021-05-31T05:47:44.146Z] Removing intermediate container c38da2aa3aa0 [2021-05-31T05:47:44.146Z] ---> d128db58b06b [2021-05-31T05:47:44.146Z] Successfully built d128db58b06b [2021-05-31T05:47:44.146Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:47:44.510Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-31T05:47:44.510Z] . [Pipeline] withDockerContainer [2021-05-31T05:47:44.638Z] prd-centos7-docker-4c-2g-1163 does not seem to be running inside a container [2021-05-31T05:47:44.689Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-x86_64 cat [2021-05-31T05:47:45.119Z] $ docker top b3312baf1aee43ec465b60691cdef6988fafcfc1182f288cac1fd9517dcd3e88 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T05:47:45.575Z] + go version [2021-05-31T05:47:45.575Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-31T05:47:45.599Z] $ docker stop --time=1 b3312baf1aee43ec465b60691cdef6988fafcfc1182f288cac1fd9517dcd3e88 [2021-05-31T05:47:46.831Z] $ docker rm -f b3312baf1aee43ec465b60691cdef6988fafcfc1182f288cac1fd9517dcd3e88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:47:47.595Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-31T05:47:47.595Z] . [Pipeline] withDockerContainer [2021-05-31T05:47:49.781Z] prd-centos7-docker-4c-2g-1163 does not seem to be running inside a container [2021-05-31T05:47:49.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-x86_64 cat [2021-05-31T05:47:50.354Z] $ docker top 70fc689547dc7252b94c34aa619171ff9fd2224e1ec03b5bdca4add303ea666f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T05:47:50.863Z] + go mod tidy [Pipeline] sh [2021-05-31T05:47:51.471Z] + make test [2021-05-31T05:47:51.471Z] go mod tidy [2021-05-31T05:47:51.737Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-31T05:47:52.014Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-31T05:48:07.996Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-31T05:48:07.996Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-05-31T05:48:07.996Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-31T05:48:14.651Z] gofmt -l . [2021-05-31T05:48:14.651Z] [ "`gofmt -l .`" = "" ] [2021-05-31T05:48:14.651Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-31T05:48:14.681Z] $ docker stop --time=1 70fc689547dc7252b94c34aa619171ff9fd2224e1ec03b5bdca4add303ea666f [2021-05-31T05:48:16.112Z] $ docker rm -f 70fc689547dc7252b94c34aa619171ff9fd2224e1ec03b5bdca4add303ea666f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-31T05:48:16.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-31T05:48:16.815Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-31T05:48:21.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-31T05:48:22.339Z] + ls -al . [2021-05-31T05:48:22.339Z] total 104 [2021-05-31T05:48:22.339Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 31 05:48 . [2021-05-31T05:48:22.339Z] drwxrwxr-x. 4 jenkins jenkins 28 May 31 05:46 .. [2021-05-31T05:48:22.339Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 31 05:46 Attribution.txt [2021-05-31T05:48:22.339Z] drwxrwxr-x. 2 jenkins jenkins 60 May 31 05:46 bin [2021-05-31T05:48:22.339Z] drwxrwxr-x. 3 jenkins jenkins 32 May 31 05:46 cmd [2021-05-31T05:48:22.339Z] -rw-r--r--. 1 jenkins jenkins 7631 May 31 05:48 coverage.out [2021-05-31T05:48:22.339Z] -rw-rw-r--. 1 jenkins jenkins 1459 May 31 05:46 Dockerfile [2021-05-31T05:48:22.339Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 31 05:46 Dockerfile.build [2021-05-31T05:48:22.339Z] -rw-rw-r--. 1 jenkins jenkins 6 May 31 05:46 .dockerignore [2021-05-31T05:48:22.339Z] drwxrwxr-x. 8 jenkins jenkins 179 May 31 05:46 .git [2021-05-31T05:48:22.339Z] drwxrwxr-x. 2 jenkins jenkins 103 May 31 05:46 .github [2021-05-31T05:48:22.339Z] -rw-rw-r--. 1 jenkins jenkins 269 May 31 05:46 .gitignore [2021-05-31T05:48:22.339Z] -rw-rw-r--. 1 jenkins jenkins 222 May 31 05:46 go.mod [2021-05-31T05:48:22.339Z] -rw-r--r--. 1 jenkins jenkins 21556 May 31 05:47 go.sum [2021-05-31T05:48:22.339Z] drwxrwxr-x. 3 jenkins jenkins 20 May 31 05:46 internal [2021-05-31T05:48:22.339Z] -rw-rw-r--. 1 jenkins jenkins 656 May 31 05:46 Jenkinsfile [2021-05-31T05:48:22.339Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 31 05:46 LICENSE [2021-05-31T05:48:22.339Z] -rw-rw-r--. 1 jenkins jenkins 936 May 31 05:46 Makefile [2021-05-31T05:48:22.339Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 31 05:46 README.md [2021-05-31T05:48:22.339Z] -rw-rw-r--. 1 jenkins jenkins 5 May 31 05:44 VERSION [2021-05-31T05:48:22.339Z] -rw-rw-r--. 1 jenkins jenkins 209 May 31 05:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:48:22.687Z] + 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=0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 --label arch=amd64 --label version=0.0.0 . [2021-05-31T05:48:22.687Z] Sending build context to Docker daemon 366.1kB [2021-05-31T05:48:22.687Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-31T05:48:22.687Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-31T05:48:22.687Z] ---> d128db58b06b [2021-05-31T05:48:22.687Z] Step 3/24 : ARG MAKE='make build' [2021-05-31T05:48:22.687Z] ---> Running in f3d6f314a338 [2021-05-31T05:48:22.687Z] Removing intermediate container f3d6f314a338 [2021-05-31T05:48:22.687Z] ---> 59d32fc80ced [2021-05-31T05:48:22.687Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-31T05:48:22.954Z] ---> Running in 7fb07c884314 [2021-05-31T05:48:22.954Z] Removing intermediate container 7fb07c884314 [2021-05-31T05:48:22.954Z] ---> a77447ed5a91 [2021-05-31T05:48:22.954Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-31T05:48:22.954Z] ---> Running in 79be64b4bc2f [2021-05-31T05:48:22.954Z] Removing intermediate container 79be64b4bc2f [2021-05-31T05:48:22.954Z] ---> da6d5ad7c4d2 [2021-05-31T05:48:22.954Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-31T05:48:22.954Z] ---> Running in d6a7093570ff [2021-05-31T05:48:23.530Z] Removing intermediate container d6a7093570ff [2021-05-31T05:48:23.530Z] ---> 2b53c0462f81 [2021-05-31T05:48:23.530Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-31T05:48:23.530Z] ---> Running in a69a0d344cf7 [2021-05-31T05:48:23.794Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-31T05:48:24.740Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-31T05:48:26.877Z] OK: 156 MiB in 53 packages [2021-05-31T05:48:26.877Z] Removing intermediate container a69a0d344cf7 [2021-05-31T05:48:26.877Z] ---> 9973df537594 [2021-05-31T05:48:26.877Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-31T05:48:26.877Z] ---> Running in d5f2285954ef [2021-05-31T05:48:26.877Z] Removing intermediate container d5f2285954ef [2021-05-31T05:48:26.877Z] ---> 9c5fe6bd9bdd [2021-05-31T05:48:26.877Z] Step 9/24 : COPY . . [2021-05-31T05:48:26.877Z] ---> 06de31d826b8 [2021-05-31T05:48:26.877Z] Step 10/24 : RUN go mod tidy [2021-05-31T05:48:26.877Z] ---> Running in c1fd5ead5233 [2021-05-31T05:48:26.877Z] Removing intermediate container c1fd5ead5233 [2021-05-31T05:48:26.877Z] ---> ec3ed2b910b0 [2021-05-31T05:48:26.877Z] Step 11/24 : RUN make update [2021-05-31T05:48:26.877Z] ---> Running in 4736fbb99cf7 [2021-05-31T05:48:26.877Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-31T05:48:26.877Z] Removing intermediate container 4736fbb99cf7 [2021-05-31T05:48:26.877Z] ---> ca7d60f53afe [2021-05-31T05:48:26.877Z] Step 12/24 : RUN ${MAKE} [2021-05-31T05:48:26.877Z] ---> Running in 021432b4ef6a [2021-05-31T05:48:27.155Z] go mod tidy [2021-05-31T05:48:27.430Z] 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-31T05:48:41.575Z] Removing intermediate container 021432b4ef6a [2021-05-31T05:48:41.575Z] ---> c857b87b53ac [2021-05-31T05:48:41.575Z] Step 13/24 : FROM alpine:3.12 [2021-05-31T05:48:41.575Z] 3.12: Pulling from library/alpine [2021-05-31T05:48:41.575Z] 339de151aab4: Pulling fs layer [2021-05-31T05:48:41.575Z] 339de151aab4: Download complete [2021-05-31T05:48:41.575Z] 339de151aab4: Pull complete [2021-05-31T05:48:41.575Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-31T05:48:41.575Z] Status: Downloaded newer image for alpine:3.12 [2021-05-31T05:48:41.575Z] ---> 13621d1b12d4 [2021-05-31T05:48:41.575Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-31T05:48:41.575Z] ---> Running in 825fc697bed2 [2021-05-31T05:48:41.575Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-31T05:48:41.575Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-31T05:48:41.575Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-31T05:48:41.575Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-31T05:48:41.575Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-31T05:48:41.575Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-31T05:48:41.575Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-31T05:48:41.575Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-31T05:48:41.575Z] Executing busybox-1.31.1-r20.trigger [2021-05-31T05:48:41.575Z] OK: 8 MiB in 20 packages [2021-05-31T05:48:41.575Z] Removing intermediate container 825fc697bed2 [2021-05-31T05:48:41.575Z] ---> 99958c3b9160 [2021-05-31T05:48:41.575Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-31T05:48:42.159Z] ---> c81760c9c494 [2021-05-31T05:48:42.159Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-31T05:48:42.159Z] ---> a4698b55d387 [2021-05-31T05:48:42.159Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-31T05:48:42.420Z] ---> 64f266a9138d [2021-05-31T05:48:42.420Z] Step 18/24 : EXPOSE 59993 [2021-05-31T05:48:42.420Z] ---> Running in 9758d7978688 [2021-05-31T05:48:42.420Z] Removing intermediate container 9758d7978688 [2021-05-31T05:48:42.420Z] ---> 54b370a75804 [2021-05-31T05:48:42.420Z] Step 19/24 : EXPOSE 161 [2021-05-31T05:48:42.420Z] ---> Running in 27055fba2a93 [2021-05-31T05:48:42.420Z] Removing intermediate container 27055fba2a93 [2021-05-31T05:48:42.420Z] ---> 090851eb92b0 [2021-05-31T05:48:42.420Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-31T05:48:42.695Z] ---> Running in e425f2c1d1ad [2021-05-31T05:48:42.695Z] Removing intermediate container e425f2c1d1ad [2021-05-31T05:48:42.695Z] ---> 03b2ceb38bb0 [2021-05-31T05:48:42.695Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-31T05:48:42.695Z] ---> Running in e10e15f3ff9a [2021-05-31T05:48:42.695Z] Removing intermediate container e10e15f3ff9a [2021-05-31T05:48:42.695Z] ---> f309d49e2b27 [2021-05-31T05:48:42.695Z] Step 22/24 : LABEL arch=amd64 [2021-05-31T05:48:42.695Z] ---> Running in 62f95d8f0429 [2021-05-31T05:48:42.957Z] Removing intermediate container 62f95d8f0429 [2021-05-31T05:48:42.957Z] ---> 11e0f7363539 [2021-05-31T05:48:42.957Z] Step 23/24 : LABEL git_sha=0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 [2021-05-31T05:48:42.957Z] ---> Running in 7bb3a427aa19 [2021-05-31T05:48:42.957Z] Removing intermediate container 7bb3a427aa19 [2021-05-31T05:48:42.957Z] ---> 1a4b4e49d601 [2021-05-31T05:48:42.957Z] Step 24/24 : LABEL version=0.0.0 [2021-05-31T05:48:42.957Z] ---> Running in 9c3064b6057a [2021-05-31T05:48:43.219Z] Removing intermediate container 9c3064b6057a [2021-05-31T05:48:43.219Z] ---> 0f95fd47315d [2021-05-31T05:48:43.219Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-31T05:48:43.219Z] Successfully built 0f95fd47315d [2021-05-31T05:48:43.219Z] 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-31T05:48:44.012Z] ---> job-cost.sh [2021-05-31T05:48:44.012Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9Ov8 [2021-05-31T05:48:54.696Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-31T05:49:11.169Z] lf-activate-venv(): INFO: Adding /tmp/venv-9Ov8/bin to PATH [2021-05-31T05:49:11.169Z] INFO: No Stack... [2021-05-31T05:49:11.169Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-31T05:49:11.169Z] INFO: Archiving Costs [Pipeline] sh [2021-05-31T05:49:11.485Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-05-31T05:49:11.485Z] + cut -d, -f6 [Pipeline] lock [2021-05-31T05:49:11.535Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-103-1-stack-cost] [2021-05-31T05:49:11.543Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-103-1-stack-cost] did not exist. Created. [2021-05-31T05:49:11.543Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-103-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-31T05:49:11.999Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-31T05:49:12.089Z] Stashed 1 file(s) [Pipeline] } [2021-05-31T05:49:12.110Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-103-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-31T05:51:25.153Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1281 in /w/workspace/gexfoundry_device-snmp-go_PR-103 [Pipeline] { [Pipeline] ws [2021-05-31T05:51:25.229Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-31T05:51:25.486Z] Selected Git installation does not exist. Using Default [2021-05-31T05:51:25.486Z] The recommended git tool is: NONE [2021-05-31T05:51:34.527Z] using credential edgex-jenkins-ssh [2021-05-31T05:51:34.559Z] Cloning the remote Git repository [2021-05-31T05:51:34.680Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-31T05:51:34.811Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-31T05:51:34.884Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-31T05:51:34.885Z] > git --version # timeout=10 [2021-05-31T05:51:34.899Z] > git --version # 'git version 2.17.1' [2021-05-31T05:51:34.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T05:51:36.942Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-31T05:51:38.117Z] Merging remotes/origin/master commit 36f220337c15c882742676291291e5935134de27 into PR head commit 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 [2021-05-31T05:51:38.281Z] Merge succeeded, producing 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 [2021-05-31T05:51:38.281Z] Checking out Revision 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 (PR-103) [2021-05-31T05:51:37.580Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-31T05:51:37.597Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-31T05:51:37.626Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-31T05:51:37.653Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-31T05:51:37.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T05:51:37.664Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-31T05:51:38.127Z] > git config core.sparsecheckout # timeout=10 [2021-05-31T05:51:38.138Z] > git checkout -f 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 # timeout=10 [2021-05-31T05:51:38.205Z] > git remote # timeout=10 [2021-05-31T05:51:38.220Z] > git config --get remote.origin.url # timeout=10 [2021-05-31T05:51:38.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T05:51:38.242Z] > git merge 36f220337c15c882742676291291e5935134de27 # timeout=10 [2021-05-31T05:51:38.263Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-31T05:51:38.283Z] > git config core.sparsecheckout # timeout=10 [2021-05-31T05:51:38.292Z] > git checkout -f 0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 # timeout=10 [2021-05-31T05:51:44.488Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-31T05:51:44.540Z] > git --version # timeout=10 [2021-05-31T05:51:44.551Z] > git --version # 'git version 2.17.1' [2021-05-31T05:51:44.577Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-31T05:51:46.072Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-31T05:51:46.499Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-31T05:51:46.867Z] + true [2021-05-31T05:51:46.867Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T05:52:05.435Z] provisioning config files... [2021-05-31T05:52:05.464Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3007760129242874306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-31T05:52:05.904Z] ---> docker-login.sh [2021-05-31T05:52:05.905Z] nexus3.edgexfoundry.org:10001 [2021-05-31T05:52:06.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:52:07.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:52:07.173Z] Configure a credential helper to remove this warning. See [2021-05-31T05:52:07.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:52:07.173Z] [2021-05-31T05:52:07.173Z] Login Succeeded [2021-05-31T05:52:07.173Z] nexus3.edgexfoundry.org:10002 [2021-05-31T05:52:07.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:52:07.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:52:07.773Z] Configure a credential helper to remove this warning. See [2021-05-31T05:52:07.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:52:07.773Z] [2021-05-31T05:52:07.773Z] Login Succeeded [2021-05-31T05:52:07.773Z] nexus3.edgexfoundry.org:10003 [2021-05-31T05:52:08.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:52:08.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:52:08.329Z] Configure a credential helper to remove this warning. See [2021-05-31T05:52:08.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:52:08.329Z] [2021-05-31T05:52:08.329Z] Login Succeeded [2021-05-31T05:52:08.329Z] nexus3.edgexfoundry.org:10004 [2021-05-31T05:52:08.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:52:08.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:52:08.929Z] Configure a credential helper to remove this warning. See [2021-05-31T05:52:08.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:52:08.929Z] [2021-05-31T05:52:08.929Z] Login Succeeded [2021-05-31T05:52:08.929Z] docker.io [2021-05-31T05:52:09.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:52:09.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:52:09.810Z] Configure a credential helper to remove this warning. See [2021-05-31T05:52:09.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:52:09.810Z] [2021-05-31T05:52:09.810Z] Login Succeeded [2021-05-31T05:52:09.810Z] ---> docker-login.sh ends [Pipeline] } [2021-05-31T05:52:09.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-31T05:52:12.588Z] ========================================================= [2021-05-31T05:52:12.588Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-31T05:52:12.588Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:52:13.007Z] + 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-31T05:52:13.283Z] Sending build context to Docker daemon 356.9kB [2021-05-31T05:52:13.556Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-31T05:52:13.556Z] Step 2/10 : FROM ${BASE} [2021-05-31T05:52:13.556Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-31T05:52:13.556Z] 595b0fe564bb: Pulling fs layer [2021-05-31T05:52:13.556Z] 7186ed65a4f7: Pulling fs layer [2021-05-31T05:52:13.556Z] 316046926c0a: Pulling fs layer [2021-05-31T05:52:13.556Z] 4ebd0625c992: Pulling fs layer [2021-05-31T05:52:13.556Z] 207e8628e3a3: Pulling fs layer [2021-05-31T05:52:13.556Z] c791037a9be2: Pulling fs layer [2021-05-31T05:52:13.556Z] ffd874e62e21: Pulling fs layer [2021-05-31T05:52:13.556Z] ffd874e62e21: Waiting [2021-05-31T05:52:13.556Z] 207e8628e3a3: Waiting [2021-05-31T05:52:13.556Z] c791037a9be2: Waiting [2021-05-31T05:52:13.839Z] 316046926c0a: Verifying Checksum [2021-05-31T05:52:13.839Z] 316046926c0a: Download complete [2021-05-31T05:52:13.839Z] 7186ed65a4f7: Download complete [2021-05-31T05:52:13.839Z] 207e8628e3a3: Verifying Checksum [2021-05-31T05:52:13.839Z] 207e8628e3a3: Download complete [2021-05-31T05:52:13.839Z] c791037a9be2: Verifying Checksum [2021-05-31T05:52:13.839Z] c791037a9be2: Download complete [2021-05-31T05:52:13.839Z] 595b0fe564bb: Verifying Checksum [2021-05-31T05:52:13.839Z] 595b0fe564bb: Download complete [2021-05-31T05:52:16.068Z] 595b0fe564bb: Pull complete [2021-05-31T05:52:16.068Z] 7186ed65a4f7: Pull complete [2021-05-31T05:52:16.068Z] 316046926c0a: Pull complete [2021-05-31T05:52:17.057Z] ffd874e62e21: Verifying Checksum [2021-05-31T05:52:17.057Z] ffd874e62e21: Download complete [2021-05-31T05:52:19.746Z] 4ebd0625c992: Verifying Checksum [2021-05-31T05:52:19.746Z] 4ebd0625c992: Download complete [2021-05-31T05:52:27.851Z] 4ebd0625c992: Pull complete [2021-05-31T05:52:28.124Z] 207e8628e3a3: Pull complete [2021-05-31T05:52:28.395Z] c791037a9be2: Pull complete [2021-05-31T05:52:31.822Z] ffd874e62e21: Pull complete [2021-05-31T05:52:31.822Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-31T05:52:31.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-31T05:52:31.822Z] ---> cfc18b08335c [2021-05-31T05:52:31.822Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-31T05:52:36.628Z] ---> Running in 5fad47e4c4e5 [2021-05-31T05:52:36.628Z] Removing intermediate container 5fad47e4c4e5 [2021-05-31T05:52:36.628Z] ---> ddb5aa368e80 [2021-05-31T05:52:36.628Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-31T05:52:36.628Z] ---> Running in 5948bb223034 [2021-05-31T05:52:36.628Z] Removing intermediate container 5948bb223034 [2021-05-31T05:52:36.628Z] ---> a9f46aaf7bb0 [2021-05-31T05:52:36.628Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-31T05:52:36.628Z] ---> Running in 20abcbe8f9dd [2021-05-31T05:52:36.628Z] Removing intermediate container 20abcbe8f9dd [2021-05-31T05:52:36.628Z] ---> f70cb53a287d [2021-05-31T05:52:36.628Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-31T05:52:36.628Z] ---> Running in 3368df3909d2 [2021-05-31T05:52:38.615Z] Removing intermediate container 3368df3909d2 [2021-05-31T05:52:38.615Z] ---> 047f2e476832 [2021-05-31T05:52:38.615Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-31T05:52:38.888Z] ---> Running in f4f48d0707c3 [2021-05-31T05:52:40.324Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-31T05:52:40.916Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-31T05:52:41.890Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-31T05:52:41.890Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-31T05:52:41.890Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-31T05:52:42.161Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-31T05:52:42.161Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-31T05:52:42.431Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-31T05:52:42.431Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-31T05:52:42.704Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-31T05:52:42.982Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-31T05:52:42.982Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-31T05:52:42.982Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-31T05:52:43.259Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-31T05:52:43.259Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-31T05:52:43.259Z] Executing busybox-1.32.1-r6.trigger [2021-05-31T05:52:43.537Z] OK: 145 MiB in 53 packages [2021-05-31T05:52:46.007Z] Removing intermediate container f4f48d0707c3 [2021-05-31T05:52:46.007Z] ---> 3841069bd5bf [2021-05-31T05:52:46.007Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-31T05:52:46.007Z] ---> Running in c1f8fde91558 [2021-05-31T05:52:46.007Z] Removing intermediate container c1f8fde91558 [2021-05-31T05:52:46.007Z] ---> 023e752d075f [2021-05-31T05:52:46.007Z] Step 9/10 : COPY . . [2021-05-31T05:52:46.288Z] ---> 6f28245c6571 [2021-05-31T05:52:46.288Z] Step 10/10 : RUN go mod download [2021-05-31T05:52:46.288Z] ---> Running in 18fbf95a17ff [2021-05-31T05:53:14.134Z] Removing intermediate container 18fbf95a17ff [2021-05-31T05:53:14.134Z] ---> 5201095b7350 [2021-05-31T05:53:14.134Z] Successfully built 5201095b7350 [2021-05-31T05:53:14.134Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:53:14.543Z] + docker inspect -f . ci-base-image-arm64 [2021-05-31T05:53:14.543Z] . [Pipeline] withDockerContainer [2021-05-31T05:53:14.817Z] prd-ubuntu18.04-docker-arm64-4c-16g-1281 does not seem to be running inside a container [2021-05-31T05:53:14.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-arm64 cat [2021-05-31T05:53:16.539Z] $ docker top e36a51abe7f2a242d2596505073d38796bf4a6a5e33dd32407323f3b30f557f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T05:53:17.602Z] + go version [2021-05-31T05:53:17.602Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-31T05:53:17.639Z] $ docker stop --time=1 e36a51abe7f2a242d2596505073d38796bf4a6a5e33dd32407323f3b30f557f6 [2021-05-31T05:53:19.468Z] $ docker rm -f e36a51abe7f2a242d2596505073d38796bf4a6a5e33dd32407323f3b30f557f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:53:20.454Z] + docker inspect -f . ci-base-image-arm64 [2021-05-31T05:53:20.454Z] . [Pipeline] withDockerContainer [2021-05-31T05:53:20.781Z] prd-ubuntu18.04-docker-arm64-4c-16g-1281 does not seem to be running inside a container [2021-05-31T05:53:20.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-arm64 cat [2021-05-31T05:53:24.584Z] $ docker top 0a358760800b6cf0ea4f31b1c26386c33a06a183e9460dabdb3c7eaba4acfa8e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T05:53:25.593Z] + go mod tidy [Pipeline] sh [2021-05-31T05:53:26.967Z] + make test [2021-05-31T05:53:26.967Z] go mod tidy [2021-05-31T05:53:27.246Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-31T05:53:28.678Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-31T05:54:19.094Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-31T05:54:19.094Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.032s coverage: 0.0% of statements [2021-05-31T05:54:19.094Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-31T05:54:40.823Z] gofmt -l . [2021-05-31T05:54:40.823Z] [ "`gofmt -l .`" = "" ] [2021-05-31T05:54:41.118Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-31T05:54:44.667Z] $ docker stop --time=1 0a358760800b6cf0ea4f31b1c26386c33a06a183e9460dabdb3c7eaba4acfa8e [2021-05-31T05:54:46.777Z] $ docker rm -f 0a358760800b6cf0ea4f31b1c26386c33a06a183e9460dabdb3c7eaba4acfa8e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-31T05:54:47.713Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-31T05:54:47.756Z] Warning: overwriting stash ‘coverage-report’ [2021-05-31T05:54:48.222Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-31T05:54:48.882Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-31T05:54:49.244Z] + ls -al . [2021-05-31T05:54:49.244Z] total 128 [2021-05-31T05:54:49.244Z] drwxrwxr-x 7 jenkins jenkins 4096 May 31 05:54 . [2021-05-31T05:54:49.244Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 05:51 .. [2021-05-31T05:54:49.244Z] -rw-rw-r-- 1 jenkins jenkins 6 May 31 05:51 .dockerignore [2021-05-31T05:54:49.244Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 05:51 .git [2021-05-31T05:54:49.244Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 05:51 .github [2021-05-31T05:54:49.244Z] -rw-rw-r-- 1 jenkins jenkins 269 May 31 05:51 .gitignore [2021-05-31T05:54:49.244Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 31 05:51 Attribution.txt [2021-05-31T05:54:49.244Z] -rw-rw-r-- 1 jenkins jenkins 1459 May 31 05:51 Dockerfile [2021-05-31T05:54:49.245Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 31 05:51 Dockerfile.build [2021-05-31T05:54:49.245Z] -rw-rw-r-- 1 jenkins jenkins 656 May 31 05:51 Jenkinsfile [2021-05-31T05:54:49.245Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 05:51 LICENSE [2021-05-31T05:54:49.245Z] -rw-rw-r-- 1 jenkins jenkins 936 May 31 05:51 Makefile [2021-05-31T05:54:49.245Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 31 05:51 README.md [2021-05-31T05:54:49.245Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 05:44 VERSION [2021-05-31T05:54:49.245Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 05:51 bin [2021-05-31T05:54:49.245Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 05:51 cmd [2021-05-31T05:54:49.245Z] -rw-r--r-- 1 jenkins jenkins 7631 May 31 05:54 coverage.out [2021-05-31T05:54:49.245Z] -rw-rw-r-- 1 jenkins jenkins 222 May 31 05:51 go.mod [2021-05-31T05:54:49.245Z] -rw-r--r-- 1 jenkins jenkins 21556 May 31 05:53 go.sum [2021-05-31T05:54:49.245Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 05:51 internal [2021-05-31T05:54:49.245Z] -rw-rw-r-- 1 jenkins jenkins 209 May 31 05:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:54:49.622Z] + 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=0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 --label arch=arm64 --label version=0.0.0 . [2021-05-31T05:54:49.910Z] Sending build context to Docker daemon 365.1kB [2021-05-31T05:54:49.910Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-31T05:54:49.910Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-31T05:54:49.910Z] ---> 5201095b7350 [2021-05-31T05:54:49.910Z] Step 3/24 : ARG MAKE='make build' [2021-05-31T05:54:50.200Z] ---> Running in 7d21173bde14 [2021-05-31T05:54:52.640Z] Removing intermediate container 7d21173bde14 [2021-05-31T05:54:52.640Z] ---> c0a848cda14a [2021-05-31T05:54:52.640Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-31T05:54:52.640Z] ---> Running in d2d7020e5b56 [2021-05-31T05:54:52.640Z] Removing intermediate container d2d7020e5b56 [2021-05-31T05:54:52.640Z] ---> 7bffac3c750e [2021-05-31T05:54:52.640Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-31T05:54:52.640Z] ---> Running in 555094dd6607 [2021-05-31T05:54:52.640Z] Removing intermediate container 555094dd6607 [2021-05-31T05:54:52.640Z] ---> 928b8b5ba2d6 [2021-05-31T05:54:52.640Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-31T05:54:52.640Z] ---> Running in 0087830346ca [2021-05-31T05:54:58.450Z] Removing intermediate container 0087830346ca [2021-05-31T05:54:58.450Z] ---> c3dcd8bc53a8 [2021-05-31T05:54:58.450Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-31T05:54:58.450Z] ---> Running in 1d99d4309cc8 [2021-05-31T05:54:58.450Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-31T05:54:58.727Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-31T05:54:59.704Z] OK: 145 MiB in 53 packages [2021-05-31T05:55:00.694Z] Removing intermediate container 1d99d4309cc8 [2021-05-31T05:55:00.694Z] ---> 4082416ee584 [2021-05-31T05:55:00.694Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-31T05:55:00.973Z] ---> Running in c31016473944 [2021-05-31T05:55:01.570Z] Removing intermediate container c31016473944 [2021-05-31T05:55:01.570Z] ---> ef66551cc12e [2021-05-31T05:55:01.570Z] Step 9/24 : COPY . . [2021-05-31T05:55:02.567Z] ---> 553502db9468 [2021-05-31T05:55:02.567Z] Step 10/24 : RUN go mod tidy [2021-05-31T05:55:02.567Z] ---> Running in 7f4292357e0d [2021-05-31T05:55:05.203Z] Removing intermediate container 7f4292357e0d [2021-05-31T05:55:05.203Z] ---> 9fcb0d1cb066 [2021-05-31T05:55:05.203Z] Step 11/24 : RUN make update [2021-05-31T05:55:05.203Z] ---> Running in 70493493830c [2021-05-31T05:55:06.655Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-31T05:55:08.808Z] Removing intermediate container 70493493830c [2021-05-31T05:55:08.808Z] ---> 7511293d5c33 [2021-05-31T05:55:08.808Z] Step 12/24 : RUN ${MAKE} [2021-05-31T05:55:08.808Z] ---> Running in 1f8f6b5c90a3 [2021-05-31T05:55:08.808Z] go mod tidy [2021-05-31T05:55:09.089Z] 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-31T05:55:48.759Z] Removing intermediate container 1f8f6b5c90a3 [2021-05-31T05:55:48.759Z] ---> d3a206a5c5ce [2021-05-31T05:55:48.759Z] Step 13/24 : FROM alpine:3.12 [2021-05-31T05:55:48.759Z] 3.12: Pulling from library/alpine [2021-05-31T05:55:48.759Z] d2f70382dc9a: Pulling fs layer [2021-05-31T05:55:48.759Z] d2f70382dc9a: Verifying Checksum [2021-05-31T05:55:48.759Z] d2f70382dc9a: Download complete [2021-05-31T05:55:48.759Z] d2f70382dc9a: Pull complete [2021-05-31T05:55:48.759Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-31T05:55:48.759Z] Status: Downloaded newer image for alpine:3.12 [2021-05-31T05:55:48.759Z] ---> 9852663dfa18 [2021-05-31T05:55:48.759Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-31T05:55:48.759Z] ---> Running in 186027f14a41 [2021-05-31T05:55:48.759Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-31T05:55:48.759Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-31T05:55:48.759Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-31T05:55:48.759Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-31T05:55:48.759Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-31T05:55:48.759Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-31T05:55:48.759Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-31T05:55:48.759Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-31T05:55:48.759Z] Executing busybox-1.31.1-r20.trigger [2021-05-31T05:55:48.759Z] OK: 8 MiB in 20 packages [2021-05-31T05:55:49.741Z] Removing intermediate container 186027f14a41 [2021-05-31T05:55:49.741Z] ---> e1831b45208b [2021-05-31T05:55:49.741Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-31T05:55:50.725Z] ---> 6d8cff649a24 [2021-05-31T05:55:50.725Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-31T05:55:51.706Z] ---> 8ccdfd648253 [2021-05-31T05:55:51.706Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-31T05:55:52.686Z] ---> c66745ccb4ac [2021-05-31T05:55:52.686Z] Step 18/24 : EXPOSE 59993 [2021-05-31T05:55:52.686Z] ---> Running in 00269e9794d8 [2021-05-31T05:55:52.958Z] Removing intermediate container 00269e9794d8 [2021-05-31T05:55:52.958Z] ---> 27fe7624dca6 [2021-05-31T05:55:52.958Z] Step 19/24 : EXPOSE 161 [2021-05-31T05:55:53.233Z] ---> Running in 12ed848b035e [2021-05-31T05:55:53.830Z] Removing intermediate container 12ed848b035e [2021-05-31T05:55:53.830Z] ---> ec5b1dcc09cc [2021-05-31T05:55:53.831Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-31T05:55:53.831Z] ---> Running in 32a170b9bf9c [2021-05-31T05:55:54.425Z] Removing intermediate container 32a170b9bf9c [2021-05-31T05:55:54.425Z] ---> 0a8fee0511f9 [2021-05-31T05:55:54.425Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-31T05:55:54.425Z] ---> Running in b8e0571d4427 [2021-05-31T05:55:55.031Z] Removing intermediate container b8e0571d4427 [2021-05-31T05:55:55.031Z] ---> fa5e4ee15693 [2021-05-31T05:55:55.031Z] Step 22/24 : LABEL arch=arm64 [2021-05-31T05:55:55.031Z] ---> Running in 0119a61a1e12 [2021-05-31T05:55:55.622Z] Removing intermediate container 0119a61a1e12 [2021-05-31T05:55:55.622Z] ---> 9b89d770efb8 [2021-05-31T05:55:55.622Z] Step 23/24 : LABEL git_sha=0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 [2021-05-31T05:55:55.622Z] ---> Running in c7432599df94 [2021-05-31T05:55:55.895Z] Removing intermediate container c7432599df94 [2021-05-31T05:55:55.895Z] ---> fd0c01b1e4b8 [2021-05-31T05:55:55.895Z] Step 24/24 : LABEL version=0.0.0 [2021-05-31T05:55:56.179Z] ---> Running in 1d7161261550 [2021-05-31T05:55:56.471Z] Removing intermediate container 1d7161261550 [2021-05-31T05:55:56.471Z] ---> a78f1373fd06 [2021-05-31T05:55:56.471Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-31T05:55:56.471Z] Successfully built a78f1373fd06 [2021-05-31T05:55:56.743Z] 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-31T05:55:57.478Z] ---> job-cost.sh [2021-05-31T05:55:57.479Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SXhV [2021-05-31T05:56:38.329Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-31T05:58:01.008Z] lf-activate-venv(): INFO: Adding /tmp/venv-SXhV/bin to PATH [2021-05-31T05:58:01.008Z] INFO: No Stack... [2021-05-31T05:58:01.008Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-31T05:58:01.008Z] INFO: Archiving Costs [Pipeline] sh [2021-05-31T05:58:01.416Z] + cut -d, -f6 [2021-05-31T05:58:01.416Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-05-31T05:58:01.532Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-103-1-stack-cost] [2021-05-31T05:58:01.539Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-103-1-stack-cost] did not exist. Created. [2021-05-31T05:58:01.539Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-103-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-31T05:58:01.981Z] /w/workspace/device-snmp-go/1@tmp/durable-cd3bda0f/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-cd3bda0f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-31T05:58:02.357Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-31T05:58:02.396Z] Warning: overwriting stash ‘stack-cost’ [2021-05-31T05:58:02.544Z] Stashed 1 file(s) [Pipeline] } [2021-05-31T05:58:02.565Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-103-1-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-31T05:58:05.717Z] provisioning config files... [2021-05-31T05:58:05.727Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-103@tmp/config760154204277494808tmp [Pipeline] { [Pipeline] sh [2021-05-31T05:58:06.115Z] + set +x [2021-05-31T05:58:06.115Z] + curl -s https://codecov.io/bash [2021-05-31T05:58:06.115Z] + bash -s -- [2021-05-31T05:58:06.115Z] [2021-05-31T05:58:06.115Z] _____ _ [2021-05-31T05:58:06.115Z] / ____| | | [2021-05-31T05:58:06.115Z] | | ___ __| | ___ ___ _____ __ [2021-05-31T05:58:06.115Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-31T05:58:06.115Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-31T05:58:06.115Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-31T05:58:06.115Z] Bash-1.0.3 [2021-05-31T05:58:06.115Z] [2021-05-31T05:58:06.115Z] [2021-05-31T05:58:06.115Z] ==> git version 2.24.4 found [2021-05-31T05:58:06.116Z] ==> 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-31T05:58:06.116Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-31T05:58:06.116Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-31T05:58:06.116Z] ==> Jenkins CI detected. [2021-05-31T05:58:06.116Z] project root: . [2021-05-31T05:58:06.116Z] --> token set from env [2021-05-31T05:58:06.116Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-31T05:58:06.116Z] ==> Running gcov in . (disable via -X gcov) [2021-05-31T05:58:06.116Z] ==> Python coveragepy not found [2021-05-31T05:58:06.116Z] ==> Searching for coverage reports in: [2021-05-31T05:58:06.116Z] + . [2021-05-31T05:58:06.380Z] -> Found 1 reports [2021-05-31T05:58:06.380Z] ==> Detecting git/mercurial file structure [2021-05-31T05:58:06.380Z] ==> Reading reports [2021-05-31T05:58:06.380Z] + ./coverage.out bytes=7631 [2021-05-31T05:58:06.380Z] ==> Appending adjustments [2021-05-31T05:58:06.380Z] https://docs.codecov.io/docs/fixing-reports [2021-05-31T05:58:06.380Z] + Found adjustments [2021-05-31T05:58:06.380Z] ==> Gzipping contents [2021-05-31T05:58:06.380Z] 4.0K /tmp/codecov.dEFJuC.gz [2021-05-31T05:58:06.380Z] ==> Uploading reports [2021-05-31T05:58:06.380Z] url: https://codecov.io [2021-05-31T05:58:06.380Z] query: branch=PR-103&commit=0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-103%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=103&job=&cmd_args= [2021-05-31T05:58:06.380Z] -> Pinging Codecov [2021-05-31T05:58:06.380Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-103&commit=0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-103%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=103&job=&cmd_args= [2021-05-31T05:58:06.957Z] -> Uploading to [2021-05-31T05:58:06.958Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-31/6C56EA5C29638FB4528AC87E60AF5AE0/0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6/15a61927-7d69-4e90-af6c-8deed941ad7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210531T055806Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a518e9861e2857df912fcdd6be0b09a5f5ec11eb4138e1b2c1870a0d3fd91d40 [2021-05-31T05:58:06.958Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-31T05:58:06.958Z] Dload Upload Total Spent Left Speed [2021-05-31T05:58:07.339Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 4208 --:--:-- --:--:-- --:--:-- 4214 [2021-05-31T05:58:07.339Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/0f6ff6b63156c483e1afe90e7ccaf7ebe55f06a6 [Pipeline] } [2021-05-31T05:58:07.446Z] 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-31T05:58:11.504Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T05:58:14.089Z] ---> package-listing.sh [2021-05-31T05:58:14.089Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-31T05:58:14.089Z] ++ facter osfamily [2021-05-31T05:58:14.089Z] + OS_FAMILY=redhat [2021-05-31T05:58:14.089Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-103 [2021-05-31T05:58:14.089Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-31T05:58:14.089Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-31T05:58:14.089Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-31T05:58:14.089Z] + PACKAGES=/tmp/packages_start.txt [2021-05-31T05:58:14.089Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-103 ']' [2021-05-31T05:58:14.089Z] + PACKAGES=/tmp/packages_end.txt [2021-05-31T05:58:14.089Z] + case "${OS_FAMILY}" in [2021-05-31T05:58:14.089Z] + sort [2021-05-31T05:58:14.089Z] + rpm -qa [2021-05-31T05:58:14.089Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-31T05:58:14.089Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-31T05:58:14.089Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-31T05:58:14.089Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-103 ']' [2021-05-31T05:58:14.089Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-103/archives/ [2021-05-31T05:58:14.089Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-103/archives/ [Pipeline] echo [2021-05-31T05:58:14.159Z] 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-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-31T05:58:14.469Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:58:15.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-31T05:58:15.080Z] [2021-05-31T05:58:15.080Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:58:15.442Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-31T05:58:15.442Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-31T05:58:15.442Z] df20fa9351a1: Pulling fs layer [2021-05-31T05:58:15.442Z] 36b3adc4ff6f: Pulling fs layer [2021-05-31T05:58:15.442Z] 8ad3a11d3b57: Pulling fs layer [2021-05-31T05:58:15.442Z] 46f8f816bc3b: Pulling fs layer [2021-05-31T05:58:15.442Z] 93b61091891f: Pulling fs layer [2021-05-31T05:58:15.442Z] 93b9cdb0e59b: Pulling fs layer [2021-05-31T05:58:15.442Z] 5e14af77c1be: Pulling fs layer [2021-05-31T05:58:15.442Z] 01666e4c0597: Pulling fs layer [2021-05-31T05:58:15.442Z] aa168da1d23b: Pulling fs layer [2021-05-31T05:58:15.442Z] 93b9cdb0e59b: Waiting [2021-05-31T05:58:15.442Z] 5e14af77c1be: Waiting [2021-05-31T05:58:15.442Z] 01666e4c0597: Waiting [2021-05-31T05:58:15.442Z] aa168da1d23b: Waiting [2021-05-31T05:58:15.442Z] 46f8f816bc3b: Waiting [2021-05-31T05:58:15.442Z] 93b61091891f: Waiting [2021-05-31T05:58:15.442Z] 36b3adc4ff6f: Verifying Checksum [2021-05-31T05:58:15.442Z] 36b3adc4ff6f: Download complete [2021-05-31T05:58:15.442Z] 46f8f816bc3b: Verifying Checksum [2021-05-31T05:58:15.442Z] 46f8f816bc3b: Download complete [2021-05-31T05:58:15.704Z] df20fa9351a1: Verifying Checksum [2021-05-31T05:58:15.704Z] df20fa9351a1: Download complete [2021-05-31T05:58:15.704Z] 93b9cdb0e59b: Verifying Checksum [2021-05-31T05:58:15.704Z] 93b9cdb0e59b: Download complete [2021-05-31T05:58:15.704Z] 93b61091891f: Verifying Checksum [2021-05-31T05:58:15.704Z] 93b61091891f: Download complete [2021-05-31T05:58:15.704Z] 5e14af77c1be: Verifying Checksum [2021-05-31T05:58:15.704Z] 5e14af77c1be: Download complete [2021-05-31T05:58:15.704Z] 01666e4c0597: Verifying Checksum [2021-05-31T05:58:15.704Z] 01666e4c0597: Download complete [2021-05-31T05:58:15.704Z] 8ad3a11d3b57: Verifying Checksum [2021-05-31T05:58:15.704Z] 8ad3a11d3b57: Download complete [2021-05-31T05:58:15.704Z] df20fa9351a1: Pull complete [2021-05-31T05:58:15.972Z] 36b3adc4ff6f: Pull complete [2021-05-31T05:58:16.554Z] 8ad3a11d3b57: Pull complete [2021-05-31T05:58:16.554Z] 46f8f816bc3b: Pull complete [2021-05-31T05:58:16.819Z] 93b61091891f: Pull complete [2021-05-31T05:58:16.819Z] 93b9cdb0e59b: Pull complete [2021-05-31T05:58:17.078Z] 5e14af77c1be: Pull complete [2021-05-31T05:58:17.078Z] 01666e4c0597: Pull complete [2021-05-31T05:58:17.653Z] aa168da1d23b: Verifying Checksum [2021-05-31T05:58:17.653Z] aa168da1d23b: Download complete [2021-05-31T05:58:21.869Z] aa168da1d23b: Pull complete [2021-05-31T05:58:21.869Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-31T05:58:21.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-31T05:58:21.869Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-31T05:58:21.972Z] prd-centos7-docker-4c-2g-1146 does not seem to be running inside a container [2021-05-31T05:58:22.007Z] $ 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-103/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-103 -v /w/workspace/gexfoundry_device-snmp-go_PR-103:/w/workspace/gexfoundry_device-snmp-go_PR-103:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-103@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-103@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-31T05:58:26.496Z] $ docker top ecd6cd975af4c984ac560b622ee3c10e16a9413eddfd599e57e5d7bff1011e26 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T05:58:26.950Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-31T05:58:27.268Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-31T05:58:27.585Z] + ls /var/log/sa-host [2021-05-31T05:58:27.585Z] + sadf -c /var/log/sa-host/sa05 [2021-05-31T05:58:27.585Z] file_magic: OK [2021-05-31T05:58:27.585Z] HZ: Using current value: 100 [2021-05-31T05:58:27.585Z] file_header: OK [2021-05-31T05:58:27.585Z] 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-31T05:58:27.585Z] Statistics: [2021-05-31T05:58:27.585Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-31T05:58:27.585Z] File successfully converted to sysstat format version 12.2.1 [2021-05-31T05:58:27.585Z] + sadf -c /var/log/sa-host/sa31 [2021-05-31T05:58:27.585Z] file_magic: OK [2021-05-31T05:58:27.585Z] HZ: Using current value: 100 [2021-05-31T05:58:27.585Z] file_header: OK [2021-05-31T05:58:27.585Z] 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-31T05:58:27.585Z] Statistics: [2021-05-31T05:58:27.585Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-31T05:58:27.585Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T05:58:28.247Z] provisioning config files... [2021-05-31T05:58:28.271Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-103@tmp/config8110095862567499135tmp [Pipeline] { [Pipeline] echo [2021-05-31T05:58:28.364Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T05:58:30.596Z] ---> create-netrc.sh [Pipeline] } [2021-05-31T05:58:30.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-31T05:58:30.730Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T05:58:31.079Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-31T05:58:31.117Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T05:58:31.458Z] ---> sudo-logs.sh [2021-05-31T05:58:31.458Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-31T05:58:31.563Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T05:58:31.910Z] ---> job-cost.sh [2021-05-31T05:58:31.910Z] lf-activate-venv: SKIPPING [2021-05-31T05:58:31.910Z] DEBUG: total: 0.18000000715255737 [2021-05-31T05:58:31.910Z] INFO: Retrieving Stack Cost... [2021-05-31T05:58:32.863Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-31T05:58:33.125Z] INFO: Archiving Costs [Pipeline] echo [2021-05-31T05:58:33.163Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T05:58:33.503Z] ---> logs-deploy.sh [2021-05-31T05:58:33.503Z] lf-activate-venv: SKIPPING [2021-05-31T05:58:33.503Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-103/1 [2021-05-31T05:58:33.503Z] INFO: archiving workspace using pattern(s): [2021-05-31T05:58:34.447Z] Archives upload complete. [2021-05-31T05:58:34.447Z] INFO: archiving logs to Nexus