Pull request #91 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of soda480 for edgexfoundry/device-snmp-go Obtained Jenkinsfile from e4f17ee108e1288464f42cda2c4e9fbe95185de4+3fbdcadf47cc15f1a3e002633084b9476c9dc8aa (8d7aaaf2c5bc2505194015cb259ff12e7b7517bb) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-91/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-91/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-858 in /w/workspace/dgexfoundry_device-snmp-go_PR-91 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-91 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 3fbdcadf47cc15f1a3e002633084b9476c9dc8aa into PR head commit e4f17ee108e1288464f42cda2c4e9fbe95185de4 Merge succeeded, producing e4f17ee108e1288464f42cda2c4e9fbe95185de4 Checking out Revision e4f17ee108e1288464f42cda2c4e9fbe95185de4 (PR-91) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4f17ee108e1288464f42cda2c4e9fbe95185de4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3fbdcadf47cc15f1a3e002633084b9476c9dc8aa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4f17ee108e1288464f42cda2c4e9fbe95185de4 # timeout=10 Commit message: "docs: Add badges to readme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T18:34:53.377Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T18:34:53.564Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T18:34:53.669Z] ========================================================= [2021-04-19T18:34:53.669Z] EdgeX Global Pipelines Version Info [2021-04-19T18:34:53.669Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:34:55.279Z] ------------------- [2021-04-19T18:34:55.279Z] stable info: [2021-04-19T18:34:55.279Z] ------------------- [2021-04-19T18:34:55.279Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T18:34:55.279Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T18:34:55.279Z] Message: update stable to v1.0.186 [2021-04-19T18:34:56.676Z] ------------------- [2021-04-19T18:34:56.676Z] experimental info: [2021-04-19T18:34:56.676Z] ------------------- [2021-04-19T18:34:56.676Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T18:34:56.676Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-19T18:34:56.676Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T18:34:56.899Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-04-19T18:34:56.964Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-04-19T18:34:57.015Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T18:34:57.114Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T18:34:57.188Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T18:34:57.248Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T18:34:57.303Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T18:34:57.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T18:34:57.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-19T18:34:57.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T18:34:57.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T18:34:57.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2021-04-19T18:34:57.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T18:34:57.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T18:34:57.755Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T18:34:57.811Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T18:34:57.895Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T18:34:57.950Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T18:34:58.009Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T18:34:58.064Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-19T18:34:58.123Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-19T18:34:58.184Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-19T18:34:58.252Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-19T18:34:58.306Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-19T18:34:58.366Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-19T18:34:58.423Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T18:34:58.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-91 [Pipeline] echo [2021-04-19T18:34:58.530Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-91 [Pipeline] echo [2021-04-19T18:34:58.585Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-91 [Pipeline] echo [2021-04-19T18:34:58.642Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4f17ee108e1288464f42cda2c4e9fbe95185de4 [Pipeline] echo [2021-04-19T18:34:58.702Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4f17ee [Pipeline] echo [2021-04-19T18:34:58.756Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:34:58.908Z] provisioning config files... [2021-04-19T18:34:58.960Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-91@tmp/config3175376135959454876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:34:59.344Z] ---> docker-login.sh [2021-04-19T18:34:59.344Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:34:59.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:34:59.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:34:59.874Z] Configure a credential helper to remove this warning. See [2021-04-19T18:34:59.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:34:59.874Z] [2021-04-19T18:34:59.874Z] Login Succeeded [2021-04-19T18:34:59.874Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:35:00.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:35:00.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:35:00.138Z] Configure a credential helper to remove this warning. See [2021-04-19T18:35:00.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:35:00.138Z] [2021-04-19T18:35:00.138Z] Login Succeeded [2021-04-19T18:35:00.138Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:35:00.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:35:00.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:35:00.408Z] Configure a credential helper to remove this warning. See [2021-04-19T18:35:00.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:35:00.408Z] [2021-04-19T18:35:00.408Z] Login Succeeded [2021-04-19T18:35:00.408Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:35:00.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:35:00.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:35:00.408Z] Configure a credential helper to remove this warning. See [2021-04-19T18:35:00.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:35:00.408Z] [2021-04-19T18:35:00.408Z] Login Succeeded [2021-04-19T18:35:00.408Z] docker.io [2021-04-19T18:35:00.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:35:00.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:35:00.934Z] Configure a credential helper to remove this warning. See [2021-04-19T18:35:00.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:35:00.935Z] [2021-04-19T18:35:00.935Z] Login Succeeded [2021-04-19T18:35:00.935Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:35:00.959Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:35:01.673Z] + git log --format=format:%s -1 e4f17ee108e1288464f42cda2c4e9fbe95185de4 [Pipeline] echo [2021-04-19T18:35:01.784Z] GIT_COMMIT: e4f17ee108e1288464f42cda2c4e9fbe95185de4, Commit Message: docs: Add badges to readme [Pipeline] echo [2021-04-19T18:35:01.833Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:35:02.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:35:02.671Z] [2021-04-19T18:35:02.671Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:35:03.056Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:35:03.056Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T18:35:03.056Z] 31603596830f: Pulling fs layer [2021-04-19T18:35:03.056Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T18:35:03.056Z] 6ca5941a6612: Pulling fs layer [2021-04-19T18:35:03.056Z] ecc8261a40a4: Pulling fs layer [2021-04-19T18:35:03.056Z] ecc8261a40a4: Waiting [2021-04-19T18:35:03.056Z] 2a8b12db71e7: Verifying Checksum [2021-04-19T18:35:03.056Z] 2a8b12db71e7: Download complete [2021-04-19T18:35:03.056Z] 31603596830f: Download complete [2021-04-19T18:35:03.323Z] 6ca5941a6612: Verifying Checksum [2021-04-19T18:35:03.323Z] 6ca5941a6612: Download complete [2021-04-19T18:35:03.323Z] ecc8261a40a4: Verifying Checksum [2021-04-19T18:35:03.323Z] ecc8261a40a4: Download complete [2021-04-19T18:35:03.588Z] 31603596830f: Pull complete [2021-04-19T18:35:03.853Z] 2a8b12db71e7: Pull complete [2021-04-19T18:35:04.807Z] 6ca5941a6612: Pull complete [2021-04-19T18:35:04.807Z] ecc8261a40a4: Pull complete [2021-04-19T18:35:04.807Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T18:35:04.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:35:04.807Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T18:35:04.952Z] prd-centos7-docker-4c-2g-858 does not seem to be running inside a container [2021-04-19T18:35:05.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-91 -v /w/workspace/dgexfoundry_device-snmp-go_PR-91:/w/workspace/dgexfoundry_device-snmp-go_PR-91:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-91@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T18:35:07.148Z] $ docker top 2781cc9807d2e92a666a61f90c1bdc36b0a717fa8b078c604844b335854194ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T18:35:07.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T18:35:07.468Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T18:35:07.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T18:35:07.705Z] $ docker exec 2781cc9807d2e92a666a61f90c1bdc36b0a717fa8b078c604844b335854194ba ssh-agent [2021-04-19T18:35:07.868Z] SSH_AUTH_SOCK=/tmp/ssh-wqE9jD1Ivi2L/agent.11 [2021-04-19T18:35:07.868Z] SSH_AGENT_PID=16 [2021-04-19T18:35:07.878Z] Running ssh-add (command line suppressed) [2021-04-19T18:35:07.993Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-91@tmp/private_key_1771493451628233306.key (/w/workspace/dgexfoundry_device-snmp-go_PR-91@tmp/private_key_1771493451628233306.key) [2021-04-19T18:35:08.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T18:35:08.406Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T18:35:08.433Z] $ docker exec --env ******** --env ******** 2781cc9807d2e92a666a61f90c1bdc36b0a717fa8b078c604844b335854194ba ssh-agent -k [2021-04-19T18:35:08.566Z] unset SSH_AUTH_SOCK; [2021-04-19T18:35:08.567Z] unset SSH_AGENT_PID; [2021-04-19T18:35:08.567Z] echo Agent pid 16 killed; [2021-04-19T18:35:08.621Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T18:35:08.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T18:35:08.706Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T18:35:08.893Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T18:35:08.897Z] $ docker exec 2781cc9807d2e92a666a61f90c1bdc36b0a717fa8b078c604844b335854194ba ssh-agent [2021-04-19T18:35:09.073Z] SSH_AUTH_SOCK=/tmp/ssh-Zw5HgsWqJWlN/agent.45 [2021-04-19T18:35:09.073Z] SSH_AGENT_PID=50 [2021-04-19T18:35:09.081Z] Running ssh-add (command line suppressed) [2021-04-19T18:35:09.211Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-91@tmp/private_key_8935497631079395758.key (/w/workspace/dgexfoundry_device-snmp-go_PR-91@tmp/private_key_8935497631079395758.key) [2021-04-19T18:35:09.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T18:35:09.628Z] + git semver init [2021-04-19T18:35:09.628Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T18:35:09.628Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-91/.git [2021-04-19T18:35:09.628Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-91 [2021-04-19T18:35:09.628Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T18:35:09.628Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T18:35:09.628Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T18:35:09.628Z] # $SEMVER_BRANCH = PR-91 [2021-04-19T18:35:09.628Z] # $SEMVER_TEMP = /tmp/semver-419851546 [2021-04-19T18:35:09.628Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-04-19T18:35:10.204Z] # '/tmp/semver-419851546' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-91/.semver' [2021-04-19T18:35:10.204Z] # -> Force: false [2021-04-19T18:35:10.204Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-91/.semver [Pipeline] } [2021-04-19T18:35:10.227Z] $ docker exec --env ******** --env ******** 2781cc9807d2e92a666a61f90c1bdc36b0a717fa8b078c604844b335854194ba ssh-agent -k [2021-04-19T18:35:10.347Z] unset SSH_AUTH_SOCK; [2021-04-19T18:35:10.348Z] unset SSH_AGENT_PID; [2021-04-19T18:35:10.348Z] echo Agent pid 50 killed; [2021-04-19T18:35:10.398Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T18:35:10.867Z] + git semver [Pipeline] } [2021-04-19T18:35:10.902Z] $ docker stop --time=1 2781cc9807d2e92a666a61f90c1bdc36b0a717fa8b078c604844b335854194ba [2021-04-19T18:35:12.270Z] $ docker rm -f 2781cc9807d2e92a666a61f90c1bdc36b0a717fa8b078c604844b335854194ba [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:35:12.739Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T18:35:13.127Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T18:35:13.149Z] [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-04-19T18:35:28.606Z] Still waiting to schedule task [2021-04-19T18:35:28.606Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-857’ is offline; ‘prd-centos7-docker-4c-2g-859’ is offline [2021-04-19T18:35:28.631Z] Still waiting to schedule task [2021-04-19T18:35:28.632Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-19T18:36:52.618Z] Running on prd-centos7-docker-4c-2g-870 in /w/workspace/dgexfoundry_device-snmp-go_PR-91 [Pipeline] { [Pipeline] ws [2021-04-19T18:36:52.735Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-04-19T18:36:55.749Z] using credential edgex-jenkins-ssh [2021-04-19T18:36:55.762Z] Cloning the remote Git repository [2021-04-19T18:36:55.557Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-04-19T18:36:55.630Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-04-19T18:36:55.701Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-04-19T18:36:55.701Z] > git --version # timeout=10 [2021-04-19T18:36:55.708Z] > git --version # 'git version 2.24.3' [2021-04-19T18:36:55.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:36:55.741Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:36:56.926Z] Merging remotes/origin/master commit 3fbdcadf47cc15f1a3e002633084b9476c9dc8aa into PR head commit e4f17ee108e1288464f42cda2c4e9fbe95185de4 [2021-04-19T18:36:57.032Z] Merge succeeded, producing e4f17ee108e1288464f42cda2c4e9fbe95185de4 [2021-04-19T18:36:57.033Z] Checking out Revision e4f17ee108e1288464f42cda2c4e9fbe95185de4 (PR-91) [2021-04-19T18:36:56.295Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-04-19T18:36:56.302Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:36:56.313Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-04-19T18:36:56.329Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-04-19T18:36:56.329Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:36:56.334Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T18:36:56.807Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:36:56.818Z] > git checkout -f e4f17ee108e1288464f42cda2c4e9fbe95185de4 # timeout=10 [2021-04-19T18:36:56.856Z] > git remote # timeout=10 [2021-04-19T18:36:56.864Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T18:36:56.870Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:36:56.875Z] > git merge 3fbdcadf47cc15f1a3e002633084b9476c9dc8aa # timeout=10 [2021-04-19T18:36:56.897Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T18:36:56.909Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:36:56.918Z] > git checkout -f e4f17ee108e1288464f42cda2c4e9fbe95185de4 # timeout=10 [2021-04-19T18:37:00.668Z] Commit message: "docs: Add badges to readme" [2021-04-19T18:37:00.705Z] > git --version # timeout=10 [2021-04-19T18:37:00.713Z] > git --version # 'git version 2.24.3' [2021-04-19T18:37:00.727Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:37:02.413Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:37:02.783Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:37:03.120Z] + sudo service docker restart [2021-04-19T18:37:03.120Z] + true [2021-04-19T18:37:03.120Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:37:05.167Z] provisioning config files... [2021-04-19T18:37:05.210Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6991381500383232162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:37:05.608Z] ---> docker-login.sh [2021-04-19T18:37:05.608Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:37:05.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:37:05.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:37:05.873Z] Configure a credential helper to remove this warning. See [2021-04-19T18:37:05.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:37:05.873Z] [2021-04-19T18:37:05.873Z] Login Succeeded [2021-04-19T18:37:05.873Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:37:06.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:37:06.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:37:06.142Z] Configure a credential helper to remove this warning. See [2021-04-19T18:37:06.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:37:06.142Z] [2021-04-19T18:37:06.142Z] Login Succeeded [2021-04-19T18:37:06.142Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:37:06.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:37:06.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:37:06.405Z] Configure a credential helper to remove this warning. See [2021-04-19T18:37:06.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:37:06.405Z] [2021-04-19T18:37:06.405Z] Login Succeeded [2021-04-19T18:37:06.405Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:37:06.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:37:06.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:37:06.405Z] Configure a credential helper to remove this warning. See [2021-04-19T18:37:06.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:37:06.405Z] [2021-04-19T18:37:06.405Z] Login Succeeded [2021-04-19T18:37:06.668Z] docker.io [2021-04-19T18:37:06.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:37:06.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:37:06.932Z] Configure a credential helper to remove this warning. See [2021-04-19T18:37:06.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:37:06.932Z] [2021-04-19T18:37:06.932Z] Login Succeeded [2021-04-19T18:37:06.932Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:37:06.960Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T18:37:07.273Z] ========================================================= [2021-04-19T18:37:07.273Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T18:37:07.273Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:37:07.634Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-19T18:37:07.634Z] Sending build context to Docker daemon 345.1kB [2021-04-19T18:37:07.634Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:37:07.634Z] Step 2/10 : FROM ${BASE} [2021-04-19T18:37:07.634Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T18:37:07.634Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T18:37:07.634Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T18:37:07.634Z] de9db76c5a1d: Pulling fs layer [2021-04-19T18:37:07.634Z] bca2f99d35d6: Pulling fs layer [2021-04-19T18:37:07.634Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T18:37:07.634Z] 7c6f9722023f: Pulling fs layer [2021-04-19T18:37:07.634Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T18:37:07.634Z] 93359f2a8cfa: Waiting [2021-04-19T18:37:07.634Z] 7c6f9722023f: Waiting [2021-04-19T18:37:07.634Z] a35cf1a2eb13: Waiting [2021-04-19T18:37:07.634Z] bca2f99d35d6: Waiting [2021-04-19T18:37:07.916Z] de9db76c5a1d: Verifying Checksum [2021-04-19T18:37:07.916Z] de9db76c5a1d: Download complete [2021-04-19T18:37:07.916Z] 0ef7d3d256c8: Download complete [2021-04-19T18:37:07.916Z] 93359f2a8cfa: Download complete [2021-04-19T18:37:07.916Z] 7c6f9722023f: Download complete [2021-04-19T18:37:07.916Z] 188c0c94c7c5: Download complete [2021-04-19T18:37:08.182Z] 188c0c94c7c5: Pull complete [2021-04-19T18:37:08.442Z] 0ef7d3d256c8: Pull complete [2021-04-19T18:37:08.442Z] de9db76c5a1d: Pull complete [2021-04-19T18:37:09.656Z] a35cf1a2eb13: Verifying Checksum [2021-04-19T18:37:09.656Z] a35cf1a2eb13: Download complete [2021-04-19T18:37:10.626Z] bca2f99d35d6: Verifying Checksum [2021-04-19T18:37:10.626Z] bca2f99d35d6: Download complete [2021-04-19T18:37:15.968Z] bca2f99d35d6: Pull complete [2021-04-19T18:37:16.548Z] 93359f2a8cfa: Pull complete [2021-04-19T18:37:16.548Z] 7c6f9722023f: Pull complete [2021-04-19T18:37:20.784Z] a35cf1a2eb13: Pull complete [2021-04-19T18:37:20.784Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T18:37:20.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T18:37:20.784Z] ---> a62c8e92a672 [2021-04-19T18:37:20.784Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-04-19T18:37:20.784Z] ---> Running in 7b315a1ecd6c [2021-04-19T18:37:20.784Z] Removing intermediate container 7b315a1ecd6c [2021-04-19T18:37:20.784Z] ---> b7f2094ebf19 [2021-04-19T18:37:20.784Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T18:37:20.784Z] ---> Running in 0b1e5d7827d7 [2021-04-19T18:37:21.053Z] Removing intermediate container 0b1e5d7827d7 [2021-04-19T18:37:21.053Z] ---> 8ca4baac4eec [2021-04-19T18:37:21.053Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-04-19T18:37:21.053Z] ---> Running in d5e65dec188e [2021-04-19T18:37:21.319Z] Removing intermediate container d5e65dec188e [2021-04-19T18:37:21.319Z] ---> 50491ac1da1a [2021-04-19T18:37:21.319Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:37:21.319Z] ---> Running in 1652547a9cb8 [2021-04-19T18:37:22.278Z] Removing intermediate container 1652547a9cb8 [2021-04-19T18:37:22.278Z] ---> 3e8b8de66293 [2021-04-19T18:37:22.278Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T18:37:22.540Z] ---> Running in 2572f0a9b41f [2021-04-19T18:37:22.805Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T18:37:23.771Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T18:37:24.033Z] OK: 166 MiB in 39 packages [2021-04-19T18:37:24.304Z] Removing intermediate container 2572f0a9b41f [2021-04-19T18:37:24.304Z] ---> d67a14b78e1d [2021-04-19T18:37:24.304Z] Step 8/10 : WORKDIR /device-snmp-go [2021-04-19T18:37:24.304Z] ---> Running in bf482eee6d1a [2021-04-19T18:37:24.569Z] Removing intermediate container bf482eee6d1a [2021-04-19T18:37:24.569Z] ---> 6cfe34a73d19 [2021-04-19T18:37:24.569Z] Step 9/10 : COPY . . [2021-04-19T18:37:25.513Z] ---> 5fc31da5e70d [2021-04-19T18:37:25.513Z] Step 10/10 : RUN go mod download [2021-04-19T18:37:25.513Z] ---> Running in 1b045087a79a [2021-04-19T18:37:47.590Z] Removing intermediate container 1b045087a79a [2021-04-19T18:37:47.590Z] ---> caaaf7d2b6cb [2021-04-19T18:37:47.590Z] Successfully built caaaf7d2b6cb [2021-04-19T18:37:47.590Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:37:47.952Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T18:37:47.952Z] . [Pipeline] withDockerContainer [2021-04-19T18:37:48.114Z] prd-centos7-docker-4c-2g-870 does not seem to be running inside a container [2021-04-19T18:37:48.173Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T18:37:49.061Z] $ docker top 94e2fe45f0bb3ca3b5061a7a916db15094a5e509bc5444f7a1ab6504f032bdfa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:37:49.545Z] + go version [2021-04-19T18:37:49.545Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T18:37:49.572Z] $ docker stop --time=1 94e2fe45f0bb3ca3b5061a7a916db15094a5e509bc5444f7a1ab6504f032bdfa [2021-04-19T18:37:50.945Z] $ docker rm -f 94e2fe45f0bb3ca3b5061a7a916db15094a5e509bc5444f7a1ab6504f032bdfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:37:51.688Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T18:37:51.688Z] . [Pipeline] withDockerContainer [2021-04-19T18:37:51.809Z] prd-centos7-docker-4c-2g-870 does not seem to be running inside a container [2021-04-19T18:37:51.853Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T18:37:52.463Z] $ docker top 094bb905ac6473b1c01c3259cec5e385d440e9796fafbdf6aa0b30791a620b4b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:37:52.951Z] + make test [2021-04-19T18:37:52.951Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T18:37:53.531Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-04-19T18:38:06.224Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-04-19T18:38:06.224Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements [2021-04-19T18:38:06.224Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-04-19T18:38:07.191Z] gofmt -l . [2021-04-19T18:38:07.191Z] [ "`gofmt -l .`" = "" ] [2021-04-19T18:38:07.191Z] ./bin/test-attribution-txt.sh [2021-04-19T18:38:07.772Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T18:38:08.070Z] $ docker stop --time=1 094bb905ac6473b1c01c3259cec5e385d440e9796fafbdf6aa0b30791a620b4b [2021-04-19T18:38:10.463Z] $ docker rm -f 094bb905ac6473b1c01c3259cec5e385d440e9796fafbdf6aa0b30791a620b4b [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:38:11.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T18:38:11.360Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-19T18:38:13.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T18:38:14.153Z] + ls -al . [2021-04-19T18:38:14.153Z] total 104 [2021-04-19T18:38:14.153Z] drwxrwxr-x. 8 jenkins jenkins 4096 Apr 19 18:38 . [2021-04-19T18:38:14.153Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 18:36 .. [2021-04-19T18:38:14.153Z] -rw-rw-r--. 1 jenkins jenkins 5082 Apr 19 18:36 Attribution.txt [2021-04-19T18:38:14.153Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 19 18:36 bin [2021-04-19T18:38:14.153Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 19 18:36 cmd [2021-04-19T18:38:14.153Z] -rw-r--r--. 1 jenkins jenkins 8493 Apr 19 18:38 coverage.out [2021-04-19T18:38:14.153Z] -rw-rw-r--. 1 jenkins jenkins 1529 Apr 19 18:36 Dockerfile [2021-04-19T18:38:14.153Z] -rw-rw-r--. 1 jenkins jenkins 1006 Apr 19 18:36 Dockerfile.build [2021-04-19T18:38:14.153Z] -rw-rw-r--. 1 jenkins jenkins 6 Apr 19 18:36 .dockerignore [2021-04-19T18:38:14.153Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 18:37 .git [2021-04-19T18:38:14.153Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 18:36 .github [2021-04-19T18:38:14.153Z] -rw-rw-r--. 1 jenkins jenkins 272 Apr 19 18:36 .gitignore [2021-04-19T18:38:14.153Z] -rw-r--r--. 1 jenkins jenkins 204 Apr 19 18:38 go.mod [2021-04-19T18:38:14.153Z] -rw-r--r--. 1 jenkins jenkins 14156 Apr 19 18:38 go.sum [2021-04-19T18:38:14.153Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 19 18:36 internal [2021-04-19T18:38:14.153Z] -rw-rw-r--. 1 jenkins jenkins 656 Apr 19 18:36 Jenkinsfile [2021-04-19T18:38:14.153Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 19 18:36 LICENSE [2021-04-19T18:38:14.153Z] -rw-rw-r--. 1 jenkins jenkins 937 Apr 19 18:36 Makefile [2021-04-19T18:38:14.153Z] drwxrwxr-x. 2 jenkins jenkins 84 Apr 19 18:36 profiles [2021-04-19T18:38:14.153Z] -rw-rw-r--. 1 jenkins jenkins 14171 Apr 19 18:36 README.md [2021-04-19T18:38:14.153Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 18:35 VERSION [2021-04-19T18:38:14.153Z] -rw-rw-r--. 1 jenkins jenkins 209 Apr 19 18:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:38:14.492Z] + docker build -t docker-device-snmp-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e4f17ee108e1288464f42cda2c4e9fbe95185de4 --label arch=amd64 --label version=0.0.0 . [2021-04-19T18:38:14.492Z] Sending build context to Docker daemon 354.3kB [2021-04-19T18:38:14.756Z] Step 1/26 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:38:14.756Z] Step 2/26 : FROM ${BASE} AS builder [2021-04-19T18:38:14.756Z] ---> caaaf7d2b6cb [2021-04-19T18:38:14.756Z] Step 3/26 : ARG MAKE='make build' [2021-04-19T18:38:14.756Z] ---> Running in feb59afdb802 [2021-04-19T18:38:15.018Z] Removing intermediate container feb59afdb802 [2021-04-19T18:38:15.018Z] ---> 1f9b0d406b7a [2021-04-19T18:38:15.018Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-04-19T18:38:15.018Z] ---> Running in a9aa37b6c062 [2021-04-19T18:38:15.281Z] Removing intermediate container a9aa37b6c062 [2021-04-19T18:38:15.281Z] ---> 7c813fe8881d [2021-04-19T18:38:15.281Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T18:38:15.281Z] ---> Running in fb0a9188ee6c [2021-04-19T18:38:15.281Z] Removing intermediate container fb0a9188ee6c [2021-04-19T18:38:15.281Z] ---> 7ea818da7cc1 [2021-04-19T18:38:15.281Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:38:15.546Z] ---> Running in 6050291092d3 [2021-04-19T18:38:16.944Z] Removing intermediate container 6050291092d3 [2021-04-19T18:38:16.945Z] ---> 2c4996c966ac [2021-04-19T18:38:16.945Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T18:38:16.945Z] ---> Running in 2f6c9ce05904 [2021-04-19T18:38:17.522Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T18:38:18.099Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T18:38:18.376Z] OK: 166 MiB in 39 packages [2021-04-19T18:38:18.968Z] Removing intermediate container 2f6c9ce05904 [2021-04-19T18:38:18.968Z] ---> 7926a981089e [2021-04-19T18:38:18.968Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-04-19T18:38:18.968Z] ---> Running in fbc674c7467b [2021-04-19T18:38:19.234Z] Removing intermediate container fbc674c7467b [2021-04-19T18:38:19.234Z] ---> e1f9f2c08bb3 [2021-04-19T18:38:19.234Z] Step 9/26 : COPY go.mod . [2021-04-19T18:38:19.234Z] ---> a18d926c34cc [2021-04-19T18:38:19.234Z] Step 10/26 : COPY Makefile . [2021-04-19T18:38:19.499Z] ---> 8f0b6a0b7379 [2021-04-19T18:38:19.499Z] Step 11/26 : RUN make update [2021-04-19T18:38:19.781Z] ---> Running in 239869264ec2 [2021-04-19T18:38:20.369Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-19T18:38:20.641Z] Removing intermediate container 239869264ec2 [2021-04-19T18:38:20.641Z] ---> 93f850b2e61a [2021-04-19T18:38:20.641Z] Step 12/26 : COPY . . [2021-04-19T18:38:21.597Z] ---> 5c2ec161f556 [2021-04-19T18:38:21.597Z] Step 13/26 : RUN ${MAKE} [2021-04-19T18:38:21.597Z] ---> Running in 215c31f4f495 [2021-04-19T18:38:21.859Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd [2021-04-19T18:38:23.173Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-874 in /w/workspace/dgexfoundry_device-snmp-go_PR-91 [Pipeline] { [Pipeline] ws [2021-04-19T18:38:23.228Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-04-19T18:38:29.167Z] using credential edgex-jenkins-ssh [2021-04-19T18:38:29.189Z] Cloning the remote Git repository [2021-04-19T18:38:29.228Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-04-19T18:38:29.385Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-04-19T18:38:29.459Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-04-19T18:38:29.460Z] > git --version # timeout=10 [2021-04-19T18:38:29.478Z] > git --version # 'git version 2.17.1' [2021-04-19T18:38:29.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:38:29.571Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:38:30.357Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-04-19T18:38:30.376Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:38:30.402Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-04-19T18:38:30.439Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-04-19T18:38:30.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:38:30.457Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T18:38:30.990Z] Merging remotes/origin/master commit 3fbdcadf47cc15f1a3e002633084b9476c9dc8aa into PR head commit e4f17ee108e1288464f42cda2c4e9fbe95185de4 [2021-04-19T18:38:31.195Z] Merge succeeded, producing e4f17ee108e1288464f42cda2c4e9fbe95185de4 [2021-04-19T18:38:31.196Z] Checking out Revision e4f17ee108e1288464f42cda2c4e9fbe95185de4 (PR-91) [2021-04-19T18:38:32.004Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-04-19T18:38:31.006Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:38:31.027Z] > git checkout -f e4f17ee108e1288464f42cda2c4e9fbe95185de4 # timeout=10 [2021-04-19T18:38:31.099Z] > git remote # timeout=10 [2021-04-19T18:38:31.123Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T18:38:31.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:38:31.155Z] > git merge 3fbdcadf47cc15f1a3e002633084b9476c9dc8aa # timeout=10 [2021-04-19T18:38:31.176Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T18:38:31.198Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:38:31.214Z] > git checkout -f e4f17ee108e1288464f42cda2c4e9fbe95185de4 # timeout=10 [2021-04-19T18:38:33.940Z] Removing intermediate container 215c31f4f495 [2021-04-19T18:38:33.940Z] ---> d6952e33bf01 [2021-04-19T18:38:33.940Z] Step 14/26 : FROM alpine:3.12 [2021-04-19T18:38:34.211Z] 3.12: Pulling from library/alpine [2021-04-19T18:38:34.211Z] 339de151aab4: Pulling fs layer [2021-04-19T18:38:34.480Z] 339de151aab4: Verifying Checksum [2021-04-19T18:38:34.480Z] 339de151aab4: Download complete [2021-04-19T18:38:34.742Z] 339de151aab4: Pull complete [2021-04-19T18:38:34.742Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T18:38:34.742Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T18:38:34.742Z] ---> 13621d1b12d4 [2021-04-19T18:38:34.742Z] Step 15/26 : ENV APP_PORT=49993 [2021-04-19T18:38:35.011Z] ---> Running in 8875ec93b4d2 [2021-04-19T18:38:35.011Z] Removing intermediate container 8875ec93b4d2 [2021-04-19T18:38:35.011Z] ---> d8a54c7ab82d [2021-04-19T18:38:35.011Z] Step 16/26 : EXPOSE $APP_PORT [2021-04-19T18:38:35.011Z] ---> Running in ac285ef02a58 [2021-04-19T18:38:35.282Z] Removing intermediate container ac285ef02a58 [2021-04-19T18:38:35.282Z] ---> 58c77b9bf03d [2021-04-19T18:38:35.282Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-04-19T18:38:35.282Z] ---> Running in 28e118750e98 [2021-04-19T18:38:35.551Z] Commit message: "docs: Add badges to readme" [2021-04-19T18:38:35.554Z] Removing intermediate container 28e118750e98 [2021-04-19T18:38:35.554Z] ---> 00962cbfc943 [2021-04-19T18:38:35.554Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-04-19T18:38:35.554Z] ---> Running in f57a59549ff6 [2021-04-19T18:38:35.620Z] > git --version # timeout=10 [2021-04-19T18:38:35.630Z] > git --version # 'git version 2.17.1' [2021-04-19T18:38:35.646Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T18:38:35.821Z] Removing intermediate container f57a59549ff6 [2021-04-19T18:38:35.821Z] ---> 9720368c8544 [2021-04-19T18:38:35.821Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:38:36.402Z] ---> 297fa5879e89 [2021-04-19T18:38:36.402Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-04-19T18:38:36.402Z] ---> c7c183ff6e6c [2021-04-19T18:38:36.402Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-04-19T18:38:36.672Z] ---> 78f6d2fdd27b [2021-04-19T18:38:36.672Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-04-19T18:38:36.938Z] ---> Running in e13941f54605 [2021-04-19T18:38:36.938Z] Removing intermediate container e13941f54605 [2021-04-19T18:38:36.938Z] ---> 5225e8e52012 [2021-04-19T18:38:36.938Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-19T18:38:36.938Z] ---> Running in 5c03664e6af4 [2021-04-19T18:38:37.202Z] Removing intermediate container 5c03664e6af4 [2021-04-19T18:38:37.202Z] ---> a86e41a638dc [2021-04-19T18:38:37.202Z] Step 24/26 : LABEL arch=amd64 [2021-04-19T18:38:37.202Z] ---> Running in 547b9067e1d6 [2021-04-19T18:38:37.309Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:38:37.471Z] Removing intermediate container 547b9067e1d6 [2021-04-19T18:38:37.471Z] ---> dcaaa4f40d37 [2021-04-19T18:38:37.471Z] Step 25/26 : LABEL git_sha=e4f17ee108e1288464f42cda2c4e9fbe95185de4 [2021-04-19T18:38:37.471Z] ---> Running in be4b2e04741e [2021-04-19T18:38:37.734Z] Removing intermediate container be4b2e04741e [2021-04-19T18:38:37.734Z] ---> b5cbc4aac99b [2021-04-19T18:38:37.734Z] Step 26/26 : LABEL version=0.0.0 [2021-04-19T18:38:37.734Z] ---> Running in 3e58cb7854c4 [2021-04-19T18:38:37.761Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:38:38.012Z] Removing intermediate container 3e58cb7854c4 [2021-04-19T18:38:38.012Z] ---> 5064d76d6cb7 [2021-04-19T18:38:38.012Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T18:38:38.012Z] Successfully built 5064d76d6cb7 [2021-04-19T18:38:38.012Z] Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-04-19T18:38:38.162Z] + sudo service docker+ restart [2021-04-19T18:38:38.162Z] true 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-04-19T18:38:39.090Z] ---> job-cost.sh [2021-04-19T18:38:39.090Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gGvN [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:38:40.902Z] provisioning config files... [2021-04-19T18:38:40.973Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7076224988149689140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:38:41.416Z] ---> docker-login.sh [2021-04-19T18:38:41.416Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:38:42.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:42.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:42.622Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:42.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:42.622Z] [2021-04-19T18:38:42.622Z] Login Succeeded [2021-04-19T18:38:42.622Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:38:42.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:43.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:43.178Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:43.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:43.178Z] [2021-04-19T18:38:43.178Z] Login Succeeded [2021-04-19T18:38:43.178Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:38:43.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:43.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:43.733Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:43.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:43.733Z] [2021-04-19T18:38:43.733Z] Login Succeeded [2021-04-19T18:38:43.733Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:38:44.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:44.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:44.308Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:44.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:44.308Z] [2021-04-19T18:38:44.308Z] Login Succeeded [2021-04-19T18:38:44.308Z] docker.io [2021-04-19T18:38:44.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:38:44.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:38:44.854Z] Configure a credential helper to remove this warning. See [2021-04-19T18:38:44.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:38:44.854Z] [2021-04-19T18:38:44.854Z] Login Succeeded [2021-04-19T18:38:44.854Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:38:44.886Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T18:38:45.362Z] ========================================================= [2021-04-19T18:38:45.362Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T18:38:45.362Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:38:45.761Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-19T18:38:46.042Z] Sending build context to Docker daemon 344.1kB [2021-04-19T18:38:46.042Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:38:46.042Z] Step 2/10 : FROM ${BASE} [2021-04-19T18:38:46.327Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T18:38:46.327Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T18:38:46.327Z] a4357932f1b6: Pulling fs layer [2021-04-19T18:38:46.327Z] 18c013af1878: Pulling fs layer [2021-04-19T18:38:46.327Z] 00ac8860ef70: Pulling fs layer [2021-04-19T18:38:46.327Z] 63d7cb157983: Pulling fs layer [2021-04-19T18:38:46.327Z] b116817d02f9: Pulling fs layer [2021-04-19T18:38:46.327Z] 745a02a5169b: Pulling fs layer [2021-04-19T18:38:46.327Z] 63d7cb157983: Waiting [2021-04-19T18:38:46.327Z] b116817d02f9: Waiting [2021-04-19T18:38:46.327Z] 745a02a5169b: Waiting [2021-04-19T18:38:46.327Z] 00ac8860ef70: Waiting [2021-04-19T18:38:46.327Z] 18c013af1878: Verifying Checksum [2021-04-19T18:38:46.327Z] 18c013af1878: Download complete [2021-04-19T18:38:46.327Z] a4357932f1b6: Verifying Checksum [2021-04-19T18:38:46.327Z] a4357932f1b6: Download complete [2021-04-19T18:38:46.327Z] 63d7cb157983: Verifying Checksum [2021-04-19T18:38:46.327Z] 63d7cb157983: Download complete [2021-04-19T18:38:46.327Z] b116817d02f9: Verifying Checksum [2021-04-19T18:38:46.327Z] b116817d02f9: Download complete [2021-04-19T18:38:46.327Z] 5f621e34cdf4: Verifying Checksum [2021-04-19T18:38:46.327Z] 5f621e34cdf4: Download complete [2021-04-19T18:38:47.344Z] 5f621e34cdf4: Pull complete [2021-04-19T18:38:47.622Z] a4357932f1b6: Pull complete [2021-04-19T18:38:48.233Z] 18c013af1878: Pull complete [2021-04-19T18:38:48.506Z] 745a02a5169b: Verifying Checksum [2021-04-19T18:38:48.506Z] 745a02a5169b: Download complete [2021-04-19T18:38:49.962Z] 00ac8860ef70: Verifying Checksum [2021-04-19T18:38:49.962Z] 00ac8860ef70: Download complete [2021-04-19T18:38:54.049Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T18:39:00.140Z] 00ac8860ef70: Pull complete [2021-04-19T18:39:00.140Z] 63d7cb157983: Pull complete [2021-04-19T18:39:00.141Z] b116817d02f9: Pull complete [2021-04-19T18:39:04.452Z] 745a02a5169b: Pull complete [2021-04-19T18:39:04.452Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T18:39:04.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T18:39:04.452Z] ---> b7e6874047d6 [2021-04-19T18:39:04.452Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-04-19T18:39:07.095Z] ---> Running in 4ee6a0ceb397 [2021-04-19T18:39:07.368Z] Removing intermediate container 4ee6a0ceb397 [2021-04-19T18:39:07.368Z] ---> 54e5e1e2fa44 [2021-04-19T18:39:07.368Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T18:39:07.642Z] ---> Running in 069d8d74f9ca [2021-04-19T18:39:07.919Z] Removing intermediate container 069d8d74f9ca [2021-04-19T18:39:07.919Z] ---> 6df0f434441f [2021-04-19T18:39:07.919Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-04-19T18:39:08.198Z] ---> Running in 9f3621d89d7d [2021-04-19T18:39:08.477Z] Removing intermediate container 9f3621d89d7d [2021-04-19T18:39:08.477Z] ---> e36ad9d88ee2 [2021-04-19T18:39:08.477Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:39:08.757Z] ---> Running in 7cb270aa8b62 [2021-04-19T18:39:11.393Z] Removing intermediate container 7cb270aa8b62 [2021-04-19T18:39:11.393Z] ---> 6813be5073d4 [2021-04-19T18:39:11.393Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T18:39:11.393Z] ---> Running in 2e0b29a6df57 [2021-04-19T18:39:12.379Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:39:12.972Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:39:13.594Z] OK: 142 MiB in 39 packages [2021-04-19T18:39:14.613Z] Removing intermediate container 2e0b29a6df57 [2021-04-19T18:39:14.613Z] ---> dfac392c37fc [2021-04-19T18:39:14.613Z] Step 8/10 : WORKDIR /device-snmp-go [2021-04-19T18:39:14.898Z] ---> Running in f32839ec8068 [2021-04-19T18:39:15.503Z] Removing intermediate container f32839ec8068 [2021-04-19T18:39:15.503Z] ---> f0446f50e581 [2021-04-19T18:39:15.503Z] Step 9/10 : COPY . . [2021-04-19T18:39:16.125Z] ---> 628bf19bd546 [2021-04-19T18:39:16.125Z] Step 10/10 : RUN go mod download [2021-04-19T18:39:16.410Z] ---> Running in 785647348e99 [2021-04-19T18:39:20.736Z] lf-activate-venv(): INFO: Adding /tmp/venv-gGvN/bin to PATH [2021-04-19T18:39:20.736Z] INFO: No Stack... [2021-04-19T18:39:22.184Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T18:39:22.452Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T18:39:22.789Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-04-19T18:39:22.789Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T18:39:22.933Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-91-1-stack-cost] [2021-04-19T18:39:22.949Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-91-1-stack-cost] did not exist. Created. [2021-04-19T18:39:22.949Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-91-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T18:39:23.443Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-19T18:39:23.616Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T18:39:23.637Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-91-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T18:39:38.603Z] Removing intermediate container 785647348e99 [2021-04-19T18:39:38.603Z] ---> 668c65141627 [2021-04-19T18:39:38.603Z] Successfully built 668c65141627 [2021-04-19T18:39:38.603Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:39:38.985Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T18:39:38.985Z] . [Pipeline] withDockerContainer [2021-04-19T18:39:39.290Z] prd-ubuntu18.04-docker-arm64-4c-16g-874 does not seem to be running inside a container [2021-04-19T18:39:39.410Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T18:39:40.908Z] $ docker top 43c770942ccaf379b2d7c6f9a5d9d06174f3f3bc7975d47f15e127465397a945 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:39:41.967Z] + go version [2021-04-19T18:39:41.967Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T18:39:42.004Z] $ docker stop --time=1 43c770942ccaf379b2d7c6f9a5d9d06174f3f3bc7975d47f15e127465397a945 [2021-04-19T18:39:43.939Z] $ docker rm -f 43c770942ccaf379b2d7c6f9a5d9d06174f3f3bc7975d47f15e127465397a945 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:39:44.944Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T18:39:44.944Z] . [Pipeline] withDockerContainer [2021-04-19T18:39:45.220Z] prd-ubuntu18.04-docker-arm64-4c-16g-874 does not seem to be running inside a container [2021-04-19T18:39:45.308Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T18:39:46.774Z] $ docker top 04b9ef7e7a646c2923c23cc87e92ae8523336cb92f1e4181ea88ea09a9ac1fe3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:39:47.771Z] + make test [2021-04-19T18:39:47.771Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T18:39:48.755Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-04-19T18:40:27.833Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-04-19T18:40:27.833Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements [2021-04-19T18:40:27.833Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-04-19T18:40:29.828Z] gofmt -l . [2021-04-19T18:40:29.828Z] [ "`gofmt -l .`" = "" ] [2021-04-19T18:40:29.828Z] ./bin/test-attribution-txt.sh [2021-04-19T18:40:30.807Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T18:40:31.131Z] $ docker stop --time=1 04b9ef7e7a646c2923c23cc87e92ae8523336cb92f1e4181ea88ea09a9ac1fe3 [2021-04-19T18:40:33.455Z] $ docker rm -f 04b9ef7e7a646c2923c23cc87e92ae8523336cb92f1e4181ea88ea09a9ac1fe3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:40:34.282Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T18:40:34.334Z] Warning: overwriting stash ‘coverage-report’ [2021-04-19T18:40:35.359Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:40:36.073Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T18:40:36.549Z] + ls -al . [2021-04-19T18:40:36.549Z] total 132 [2021-04-19T18:40:36.549Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 18:40 . [2021-04-19T18:40:36.549Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:38 .. [2021-04-19T18:40:36.549Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 19 18:38 .dockerignore [2021-04-19T18:40:36.549Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 18:38 .git [2021-04-19T18:40:36.549Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:38 .github [2021-04-19T18:40:36.549Z] -rw-rw-r-- 1 jenkins jenkins 272 Apr 19 18:38 .gitignore [2021-04-19T18:40:36.549Z] -rw-rw-r-- 1 jenkins jenkins 5082 Apr 19 18:38 Attribution.txt [2021-04-19T18:40:36.549Z] -rw-rw-r-- 1 jenkins jenkins 1529 Apr 19 18:38 Dockerfile [2021-04-19T18:40:36.549Z] -rw-rw-r-- 1 jenkins jenkins 1006 Apr 19 18:38 Dockerfile.build [2021-04-19T18:40:36.549Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 19 18:38 Jenkinsfile [2021-04-19T18:40:36.549Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 18:38 LICENSE [2021-04-19T18:40:36.549Z] -rw-rw-r-- 1 jenkins jenkins 937 Apr 19 18:38 Makefile [2021-04-19T18:40:36.549Z] -rw-rw-r-- 1 jenkins jenkins 14171 Apr 19 18:38 README.md [2021-04-19T18:40:36.549Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 18:35 VERSION [2021-04-19T18:40:36.549Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:38 bin [2021-04-19T18:40:36.549Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 18:38 cmd [2021-04-19T18:40:36.549Z] -rw-r--r-- 1 jenkins jenkins 8493 Apr 19 18:40 coverage.out [2021-04-19T18:40:36.549Z] -rw-r--r-- 1 jenkins jenkins 204 Apr 19 18:40 go.mod [2021-04-19T18:40:36.549Z] -rw-r--r-- 1 jenkins jenkins 14156 Apr 19 18:40 go.sum [2021-04-19T18:40:36.549Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 18:38 internal [2021-04-19T18:40:36.549Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:38 profiles [2021-04-19T18:40:36.549Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 19 18:38 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:40:36.983Z] + docker build -t docker-device-snmp-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e4f17ee108e1288464f42cda2c4e9fbe95185de4 --label arch=arm64 --label version=0.0.0 . [2021-04-19T18:40:37.264Z] Sending build context to Docker daemon 353.3kB [2021-04-19T18:40:37.264Z] Step 1/26 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:40:37.264Z] Step 2/26 : FROM ${BASE} AS builder [2021-04-19T18:40:37.264Z] ---> 668c65141627 [2021-04-19T18:40:37.264Z] Step 3/26 : ARG MAKE='make build' [2021-04-19T18:40:37.545Z] ---> Running in 067d8a32f39b [2021-04-19T18:40:37.817Z] Removing intermediate container 067d8a32f39b [2021-04-19T18:40:37.817Z] ---> 715eb07d776f [2021-04-19T18:40:37.817Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-04-19T18:40:38.092Z] ---> Running in d2893c6c95d4 [2021-04-19T18:40:38.367Z] Removing intermediate container d2893c6c95d4 [2021-04-19T18:40:38.367Z] ---> 5c397019e365 [2021-04-19T18:40:38.367Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T18:40:38.645Z] ---> Running in 0e2545e79dc0 [2021-04-19T18:40:39.253Z] Removing intermediate container 0e2545e79dc0 [2021-04-19T18:40:39.253Z] ---> e3990d08d305 [2021-04-19T18:40:39.253Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:40:39.253Z] ---> Running in bb31fb67a34a [2021-04-19T18:40:41.247Z] Removing intermediate container bb31fb67a34a [2021-04-19T18:40:41.247Z] ---> aeeecafefe37 [2021-04-19T18:40:41.247Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T18:40:41.522Z] ---> Running in 08047bf2e118 [2021-04-19T18:40:42.519Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:40:43.501Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:40:44.475Z] OK: 142 MiB in 39 packages [2021-04-19T18:40:45.480Z] Removing intermediate container 08047bf2e118 [2021-04-19T18:40:45.480Z] ---> 216348409c55 [2021-04-19T18:40:45.480Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-04-19T18:40:45.756Z] ---> Running in 54aa251882f9 [2021-04-19T18:40:46.355Z] Removing intermediate container 54aa251882f9 [2021-04-19T18:40:46.355Z] ---> 1c5a5d1c060d [2021-04-19T18:40:46.355Z] Step 9/26 : COPY go.mod . [2021-04-19T18:40:46.957Z] ---> 75f0050d312a [2021-04-19T18:40:46.957Z] Step 10/26 : COPY Makefile . [2021-04-19T18:40:47.570Z] ---> 22a3797e327f [2021-04-19T18:40:47.570Z] Step 11/26 : RUN make update [2021-04-19T18:40:47.848Z] ---> Running in 09bbcfb8bffc [2021-04-19T18:40:48.847Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-19T18:40:50.286Z] Removing intermediate container 09bbcfb8bffc [2021-04-19T18:40:50.286Z] ---> 71b60cd4994f [2021-04-19T18:40:50.286Z] Step 12/26 : COPY . . [2021-04-19T18:40:50.886Z] ---> 10ee679af96f [2021-04-19T18:40:50.886Z] Step 13/26 : RUN ${MAKE} [2021-04-19T18:40:50.886Z] ---> Running in 23ab0258f5bf [2021-04-19T18:40:51.871Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd [2021-04-19T18:41:18.775Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-04-19T18:41:24.179Z] Removing intermediate container 23ab0258f5bf [2021-04-19T18:41:24.179Z] ---> 226f01da3297 [2021-04-19T18:41:24.179Z] Step 14/26 : FROM alpine:3.12 [2021-04-19T18:41:24.179Z] 3.12: Pulling from library/alpine [2021-04-19T18:41:24.179Z] d2f70382dc9a: Pulling fs layer [2021-04-19T18:41:24.179Z] d2f70382dc9a: Verifying Checksum [2021-04-19T18:41:24.179Z] d2f70382dc9a: Download complete [2021-04-19T18:41:24.777Z] d2f70382dc9a: Pull complete [2021-04-19T18:41:24.777Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T18:41:24.777Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T18:41:24.777Z] ---> 9852663dfa18 [2021-04-19T18:41:24.777Z] Step 15/26 : ENV APP_PORT=49993 [2021-04-19T18:41:25.050Z] ---> Running in e2898685ee01 [2021-04-19T18:41:25.321Z] Removing intermediate container e2898685ee01 [2021-04-19T18:41:25.321Z] ---> 5518bfa408c7 [2021-04-19T18:41:25.321Z] Step 16/26 : EXPOSE $APP_PORT [2021-04-19T18:41:25.593Z] ---> Running in bbdb9ef5bbaa [2021-04-19T18:41:25.865Z] Removing intermediate container bbdb9ef5bbaa [2021-04-19T18:41:25.865Z] ---> 81ab0078da17 [2021-04-19T18:41:25.865Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-04-19T18:41:26.136Z] ---> Running in 982e47f42498 [2021-04-19T18:41:26.409Z] Removing intermediate container 982e47f42498 [2021-04-19T18:41:26.409Z] ---> 948bda07b7c8 [2021-04-19T18:41:26.409Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-04-19T18:41:26.680Z] ---> Running in 93f20a5620b7 [2021-04-19T18:41:27.272Z] Removing intermediate container 93f20a5620b7 [2021-04-19T18:41:27.272Z] ---> 9aa4d364b415 [2021-04-19T18:41:27.272Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-04-19T18:41:28.244Z] ---> 6891d9261d12 [2021-04-19T18:41:28.244Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-04-19T18:41:28.834Z] ---> 1f21aea2315c [2021-04-19T18:41:28.834Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-04-19T18:41:29.425Z] ---> 84ec3c6675c4 [2021-04-19T18:41:29.425Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-04-19T18:41:29.705Z] ---> Running in 29c06d2d5c1b [2021-04-19T18:41:29.977Z] Removing intermediate container 29c06d2d5c1b [2021-04-19T18:41:29.977Z] ---> 4e0367c9e56b [2021-04-19T18:41:29.977Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-19T18:41:30.250Z] ---> Running in 6b78bf9f4e76 [2021-04-19T18:41:30.529Z] Removing intermediate container 6b78bf9f4e76 [2021-04-19T18:41:30.529Z] ---> 613c706488e3 [2021-04-19T18:41:30.529Z] Step 24/26 : LABEL arch=arm64 [2021-04-19T18:41:30.800Z] ---> Running in 8d8b534bcfcd [2021-04-19T18:41:31.073Z] Removing intermediate container 8d8b534bcfcd [2021-04-19T18:41:31.073Z] ---> 923b7f55a938 [2021-04-19T18:41:31.073Z] Step 25/26 : LABEL git_sha=e4f17ee108e1288464f42cda2c4e9fbe95185de4 [2021-04-19T18:41:31.354Z] ---> Running in 9b1d586cef09 [2021-04-19T18:41:31.624Z] Removing intermediate container 9b1d586cef09 [2021-04-19T18:41:31.624Z] ---> f940c046ae06 [2021-04-19T18:41:31.624Z] Step 26/26 : LABEL version=0.0.0 [2021-04-19T18:41:31.896Z] ---> Running in cae89c6fedb1 [2021-04-19T18:41:32.169Z] Removing intermediate container cae89c6fedb1 [2021-04-19T18:41:32.169Z] ---> 0c71ecc8d8fa [2021-04-19T18:41:32.169Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T18:41:32.169Z] Successfully built 0c71ecc8d8fa [2021-04-19T18:41:32.448Z] Successfully tagged docker-device-snmp-go-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-04-19T18:41:33.145Z] ---> job-cost.sh [2021-04-19T18:41:33.145Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WfDQ [2021-04-19T18:42:20.055Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T18:44:11.845Z] lf-activate-venv(): INFO: Adding /tmp/venv-WfDQ/bin to PATH [2021-04-19T18:44:11.845Z] INFO: No Stack... [2021-04-19T18:44:11.845Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T18:44:11.845Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T18:44:12.204Z] + cut -d, -f6 [2021-04-19T18:44:12.204Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-04-19T18:44:12.355Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-91-1-stack-cost] [2021-04-19T18:44:12.361Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-91-1-stack-cost] did not exist. Created. [2021-04-19T18:44:12.361Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-91-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T18:44:12.808Z] /w/workspace/device-snmp-go/1@tmp/durable-f8ee7a28/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-f8ee7a28/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-19T18:44:13.181Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T18:44:13.302Z] Warning: overwriting stash ‘stack-cost’ [2021-04-19T18:44:13.464Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T18:44:13.488Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-91-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] wrap [2021-04-19T18:44:14.337Z] provisioning config files... [2021-04-19T18:44:14.346Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-91@tmp/config6335169117057899783tmp [Pipeline] { [Pipeline] sh [2021-04-19T18:44:14.870Z] + set +x [2021-04-19T18:44:14.870Z] + curl -s https://codecov.io/bash [2021-04-19T18:44:14.870Z] + bash -s -- [2021-04-19T18:44:14.870Z] [2021-04-19T18:44:14.870Z] _____ _ [2021-04-19T18:44:14.870Z] / ____| | | [2021-04-19T18:44:14.870Z] | | ___ __| | ___ ___ _____ __ [2021-04-19T18:44:14.870Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-19T18:44:14.870Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-19T18:44:14.870Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-19T18:44:14.870Z] Bash-1.0.1 [2021-04-19T18:44:14.870Z] [2021-04-19T18:44:14.870Z] [2021-04-19T18:44:14.870Z] ==> git version 2.24.3 found [2021-04-19T18:44:15.146Z] ==> 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-04-19T18:44:15.146Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-19T18:44:15.146Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-19T18:44:15.146Z] ==> Jenkins CI detected. [2021-04-19T18:44:15.146Z] project root: . [2021-04-19T18:44:15.146Z] --> token set from env [2021-04-19T18:44:15.146Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-19T18:44:15.146Z] ==> Running gcov in . (disable via -X gcov) [2021-04-19T18:44:15.146Z] ==> Python coveragepy not found [2021-04-19T18:44:15.146Z] ==> Searching for coverage reports in: [2021-04-19T18:44:15.146Z] + . [2021-04-19T18:44:15.146Z] -> Found 1 reports [2021-04-19T18:44:15.146Z] ==> Detecting git/mercurial file structure [2021-04-19T18:44:15.146Z] ==> Reading reports [2021-04-19T18:44:15.146Z] + ./coverage.out bytes=8493 [2021-04-19T18:44:15.146Z] ==> Appending adjustments [2021-04-19T18:44:15.146Z] https://docs.codecov.io/docs/fixing-reports [2021-04-19T18:44:15.146Z] + Found adjustments [2021-04-19T18:44:15.146Z] ==> Gzipping contents [2021-04-19T18:44:15.146Z] 4.0K /tmp/codecov.kkBfEY.gz [2021-04-19T18:44:15.146Z] ==> Uploading reports [2021-04-19T18:44:15.146Z] url: https://codecov.io [2021-04-19T18:44:15.146Z] query: branch=PR-91&commit=e4f17ee108e1288464f42cda2c4e9fbe95185de4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-91%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=91&job=&cmd_args= [2021-04-19T18:44:15.146Z] -> Pinging Codecov [2021-04-19T18:44:15.146Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-91&commit=e4f17ee108e1288464f42cda2c4e9fbe95185de4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-91%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=91&job=&cmd_args= [2021-04-19T18:44:16.100Z] -> Uploading to [2021-04-19T18:44:16.100Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-19/6C56EA5C29638FB4528AC87E60AF5AE0/e4f17ee108e1288464f42cda2c4e9fbe95185de4/7b03c46e-dc79-454b-9fef-0c97f75c05da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T184415Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=204233adf1672c71bca426b174ab007f322b89464267817d9ad1dd53b47b038c [2021-04-19T18:44:16.100Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-19T18:44:16.100Z] Dload Upload Total Spent Left Speed [2021-04-19T18:44:16.685Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 3140 --:--:-- --:--:-- --:--:-- 3145 [2021-04-19T18:44:16.685Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/e4f17ee108e1288464f42cda2c4e9fbe95185de4 [Pipeline] } [2021-04-19T18:44:16.707Z] Deleting 1 temporary files [Pipeline] // wrap [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-04-19T18:44:18.531Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:19.153Z] ---> package-listing.sh [2021-04-19T18:44:19.153Z] ++ facter osfamily [2021-04-19T18:44:19.153Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T18:44:19.153Z] + OS_FAMILY=redhat [2021-04-19T18:44:19.153Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-91 [2021-04-19T18:44:19.153Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T18:44:19.153Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T18:44:19.153Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T18:44:19.153Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T18:44:19.153Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-91 ']' [2021-04-19T18:44:19.153Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T18:44:19.153Z] + case "${OS_FAMILY}" in [2021-04-19T18:44:19.153Z] + rpm -qa [2021-04-19T18:44:19.153Z] + sort [2021-04-19T18:44:24.478Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T18:44:24.478Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T18:44:24.478Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T18:44:24.478Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-91 ']' [2021-04-19T18:44:24.478Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-91/archives/ [2021-04-19T18:44:24.478Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-91/archives/ [Pipeline] echo [2021-04-19T18:44:24.507Z] 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/dgexfoundry_device-snmp-go_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T18:44:24.829Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:44:25.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:44:25.193Z] [2021-04-19T18:44:25.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:44:25.584Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:44:25.584Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T18:44:25.584Z] df20fa9351a1: Pulling fs layer [2021-04-19T18:44:25.584Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T18:44:25.584Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T18:44:25.584Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T18:44:25.584Z] 93b61091891f: Pulling fs layer [2021-04-19T18:44:25.584Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T18:44:25.584Z] 5e14af77c1be: Pulling fs layer [2021-04-19T18:44:25.584Z] 01666e4c0597: Pulling fs layer [2021-04-19T18:44:25.584Z] aa168da1d23b: Pulling fs layer [2021-04-19T18:44:25.584Z] 93b61091891f: Waiting [2021-04-19T18:44:25.584Z] 93b9cdb0e59b: Waiting [2021-04-19T18:44:25.584Z] 5e14af77c1be: Waiting [2021-04-19T18:44:25.584Z] 01666e4c0597: Waiting [2021-04-19T18:44:25.584Z] aa168da1d23b: Waiting [2021-04-19T18:44:25.584Z] 46f8f816bc3b: Waiting [2021-04-19T18:44:25.584Z] 36b3adc4ff6f: Verifying Checksum [2021-04-19T18:44:25.584Z] 36b3adc4ff6f: Download complete [2021-04-19T18:44:25.584Z] 46f8f816bc3b: Verifying Checksum [2021-04-19T18:44:25.584Z] 46f8f816bc3b: Download complete [2021-04-19T18:44:25.584Z] df20fa9351a1: Download complete [2021-04-19T18:44:25.847Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T18:44:25.847Z] 93b9cdb0e59b: Download complete [2021-04-19T18:44:25.847Z] 5e14af77c1be: Verifying Checksum [2021-04-19T18:44:25.847Z] 5e14af77c1be: Download complete [2021-04-19T18:44:25.847Z] 93b61091891f: Verifying Checksum [2021-04-19T18:44:25.847Z] 93b61091891f: Download complete [2021-04-19T18:44:25.847Z] 01666e4c0597: Verifying Checksum [2021-04-19T18:44:25.847Z] 01666e4c0597: Download complete [2021-04-19T18:44:25.847Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T18:44:25.847Z] 8ad3a11d3b57: Download complete [2021-04-19T18:44:26.115Z] df20fa9351a1: Pull complete [2021-04-19T18:44:26.384Z] 36b3adc4ff6f: Pull complete [2021-04-19T18:44:27.343Z] 8ad3a11d3b57: Pull complete [2021-04-19T18:44:27.609Z] 46f8f816bc3b: Pull complete [2021-04-19T18:44:27.873Z] aa168da1d23b: Verifying Checksum [2021-04-19T18:44:27.873Z] aa168da1d23b: Download complete [2021-04-19T18:44:28.137Z] 93b61091891f: Pull complete [2021-04-19T18:44:28.137Z] 93b9cdb0e59b: Pull complete [2021-04-19T18:44:28.399Z] 5e14af77c1be: Pull complete [2021-04-19T18:44:28.399Z] 01666e4c0597: Pull complete [2021-04-19T18:44:35.036Z] aa168da1d23b: Pull complete [2021-04-19T18:44:35.036Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T18:44:35.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:44:35.036Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T18:44:35.300Z] prd-centos7-docker-4c-2g-858 does not seem to be running inside a container [2021-04-19T18:44:35.356Z] $ 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/dgexfoundry_device-snmp-go_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-snmp-go_PR-91 -v /w/workspace/dgexfoundry_device-snmp-go_PR-91:/w/workspace/dgexfoundry_device-snmp-go_PR-91:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-91@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-19T18:44:42.735Z] $ docker top 51d5b03b019b9e36bcf9e85b69a4fec7a479dac09d9f7f885765200472bba94b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:44:43.208Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T18:44:43.545Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T18:44:43.869Z] + ls /var/log/sa-host [2021-04-19T18:44:43.869Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T18:44:43.869Z] file_magic: OK [2021-04-19T18:44:43.869Z] HZ: Using current value: 100 [2021-04-19T18:44:43.869Z] file_header: OK [2021-04-19T18:44:43.869Z] 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-04-19T18:44:43.869Z] Statistics: [2021-04-19T18:44:43.869Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T18:44:43.869Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T18:44:43.869Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T18:44:43.869Z] file_magic: OK [2021-04-19T18:44:43.869Z] HZ: Using current value: 100 [2021-04-19T18:44:43.869Z] file_header: OK [2021-04-19T18:44:43.869Z] 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-04-19T18:44:43.869Z] Statistics: [2021-04-19T18:44:43.869Z] Hnuu...uuuununununu... [2021-04-19T18:44:43.869Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T18:44:44.094Z] provisioning config files... [2021-04-19T18:44:44.129Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-91@tmp/config2201364127227958290tmp [Pipeline] { [Pipeline] echo [2021-04-19T18:44:44.185Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:44.522Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T18:44:44.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T18:44:44.621Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:44.961Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T18:44:44.992Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:45.328Z] ---> sudo-logs.sh [2021-04-19T18:44:45.328Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T18:44:45.435Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:45.771Z] ---> job-cost.sh [2021-04-19T18:44:45.771Z] lf-activate-venv: SKIPPING [2021-04-19T18:44:45.771Z] DEBUG: total: 0.20999999344348907 [2021-04-19T18:44:45.771Z] INFO: Retrieving Stack Cost... [2021-04-19T18:44:47.163Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T18:44:47.742Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T18:44:47.782Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:44:48.120Z] ---> logs-deploy.sh [2021-04-19T18:44:48.120Z] lf-activate-venv: SKIPPING [2021-04-19T18:44:48.120Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-91/1 [2021-04-19T18:44:48.120Z] INFO: archiving workspace using pattern(s): [2021-04-19T18:44:50.045Z] Archives upload complete. [2021-04-19T18:44:50.045Z] INFO: archiving logs to Nexus