Pull request #92 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 ernestojeda for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 639fbe648df8d0645ee70e73f5df652462515f5f+a9cce8b7dfe6fda3a1428129fda327925c6aa018 (2bc91dc9f34f12f8ed6cbe27042e860184cbf571) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-92/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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-92/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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 ‘prd-centos7-docker-4c-2g-3345’ is offline; ‘prd-centos7-docker-4c-2g-3348’ is offline; ‘prd-centos7-docker-4c-2g-3357’ is offline; ‘prd-centos7-docker-4c-2g-3359’ is offline Running on prd-centos7-docker-4c-2g-3364 in /w/workspace/dgexfoundry_device-snmp-go_PR-92 [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-92 # 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 Merging remotes/origin/master commit a9cce8b7dfe6fda3a1428129fda327925c6aa018 into PR head commit 639fbe648df8d0645ee70e73f5df652462515f5f Merge succeeded, producing 639fbe648df8d0645ee70e73f5df652462515f5f Checking out Revision 639fbe648df8d0645ee70e73f5df652462515f5f (PR-92) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 639fbe648df8d0645ee70e73f5df652462515f5f # 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 a9cce8b7dfe6fda3a1428129fda327925c6aa018 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 639fbe648df8d0645ee70e73f5df652462515f5f # timeout=10 Commit message: "ci: update local docker image names" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T22:49:46.343Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T22:49:46.542Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T22:49:46.661Z] ========================================================= [2021-05-06T22:49:46.661Z] EdgeX Global Pipelines Version Info [2021-05-06T22:49:46.661Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:49:48.369Z] ------------------- [2021-05-06T22:49:48.369Z] stable info: [2021-05-06T22:49:48.369Z] ------------------- [2021-05-06T22:49:48.369Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T22:49:48.369Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:49:48.369Z] Message: update stable to v1.0.191 [2021-05-06T22:49:49.323Z] ------------------- [2021-05-06T22:49:49.323Z] experimental info: [2021-05-06T22:49:49.323Z] ------------------- [2021-05-06T22:49:49.323Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T22:49:49.323Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:49:49.323Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T22:49:49.626Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-06T22:49:49.706Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-06T22:49:49.778Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T22:49:49.850Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T22:49:49.911Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T22:49:49.973Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T22:49:50.031Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T22:49:50.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T22:49:50.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-06T22:49:50.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T22:49:50.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T22:49:50.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2021-05-06T22:49:50.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T22:49:50.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T22:49:50.506Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T22:49:50.564Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T22:49:50.620Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:49:50.673Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:49:50.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T22:49:50.878Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T22:49:50.933Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-06T22:49:50.984Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-06T22:49:51.040Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T22:49:51.095Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T22:49:51.151Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-06T22:49:51.207Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T22:49:51.265Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-92 [Pipeline] echo [2021-05-06T22:49:51.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-92 [Pipeline] echo [2021-05-06T22:49:51.384Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-92 [Pipeline] echo [2021-05-06T22:49:51.443Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 639fbe648df8d0645ee70e73f5df652462515f5f [Pipeline] echo [2021-05-06T22:49:51.502Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 639fbe6 [Pipeline] echo [2021-05-06T22:49:51.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:49:51.721Z] provisioning config files... [2021-05-06T22:49:51.770Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-92@tmp/config4728282142780486745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:49:52.172Z] ---> docker-login.sh [2021-05-06T22:49:52.172Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:49:52.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:49:52.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:49:52.702Z] Configure a credential helper to remove this warning. See [2021-05-06T22:49:52.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:49:52.702Z] [2021-05-06T22:49:52.702Z] Login Succeeded [2021-05-06T22:49:52.702Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:49:52.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:49:52.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:49:52.702Z] Configure a credential helper to remove this warning. See [2021-05-06T22:49:52.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:49:52.702Z] [2021-05-06T22:49:52.702Z] Login Succeeded [2021-05-06T22:49:52.702Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:49:52.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:49:52.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:49:52.965Z] Configure a credential helper to remove this warning. See [2021-05-06T22:49:52.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:49:52.965Z] [2021-05-06T22:49:52.965Z] Login Succeeded [2021-05-06T22:49:52.965Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:49:52.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:49:53.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:49:53.230Z] Configure a credential helper to remove this warning. See [2021-05-06T22:49:53.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:49:53.230Z] [2021-05-06T22:49:53.230Z] Login Succeeded [2021-05-06T22:49:53.230Z] docker.io [2021-05-06T22:49:53.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:49:53.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:49:53.495Z] Configure a credential helper to remove this warning. See [2021-05-06T22:49:53.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:49:53.495Z] [2021-05-06T22:49:53.495Z] Login Succeeded [2021-05-06T22:49:53.495Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:49:53.523Z] 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-05-06T22:49:54.273Z] + git log --format=format:%s -1 639fbe648df8d0645ee70e73f5df652462515f5f [Pipeline] echo [2021-05-06T22:49:54.400Z] GIT_COMMIT: 639fbe648df8d0645ee70e73f5df652462515f5f, Commit Message: ci: update local docker image names [Pipeline] echo [2021-05-06T22:49:54.444Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:49:55.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:49:55.390Z] [2021-05-06T22:49:55.390Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:49:55.756Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:49:55.757Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T22:49:55.757Z] 31603596830f: Pulling fs layer [2021-05-06T22:49:55.757Z] 54011a49482f: Pulling fs layer [2021-05-06T22:49:55.757Z] a6820b24f6d8: Pulling fs layer [2021-05-06T22:49:55.757Z] f581987b2513: Pulling fs layer [2021-05-06T22:49:55.757Z] f581987b2513: Waiting [2021-05-06T22:49:55.757Z] 54011a49482f: Verifying Checksum [2021-05-06T22:49:55.757Z] 54011a49482f: Download complete [2021-05-06T22:49:55.757Z] 31603596830f: Verifying Checksum [2021-05-06T22:49:55.757Z] 31603596830f: Download complete [2021-05-06T22:49:56.028Z] f581987b2513: Verifying Checksum [2021-05-06T22:49:56.028Z] f581987b2513: Download complete [2021-05-06T22:49:56.028Z] a6820b24f6d8: Verifying Checksum [2021-05-06T22:49:56.028Z] a6820b24f6d8: Download complete [2021-05-06T22:49:56.296Z] 31603596830f: Pull complete [2021-05-06T22:49:56.296Z] 54011a49482f: Pull complete [2021-05-06T22:49:57.247Z] a6820b24f6d8: Pull complete [2021-05-06T22:49:57.511Z] f581987b2513: Pull complete [2021-05-06T22:49:57.512Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T22:49:57.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:49:57.512Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T22:49:57.645Z] prd-centos7-docker-4c-2g-3364 does not seem to be running inside a container [2021-05-06T22:49:57.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-92 -v /w/workspace/dgexfoundry_device-snmp-go_PR-92:/w/workspace/dgexfoundry_device-snmp-go_PR-92:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-92@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-06T22:49:59.980Z] $ docker top cd969f9929dba93ac6a922805854da40f2831b955dbb2edf9525122164054760 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T22:50:00.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:50:00.239Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:50:00.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:50:00.503Z] $ docker exec cd969f9929dba93ac6a922805854da40f2831b955dbb2edf9525122164054760 ssh-agent [2021-05-06T22:50:00.686Z] SSH_AUTH_SOCK=/tmp/ssh-eSH8RbZqS8qT/agent.12 [2021-05-06T22:50:00.686Z] SSH_AGENT_PID=18 [2021-05-06T22:50:00.698Z] Running ssh-add (command line suppressed) [2021-05-06T22:50:00.839Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-92@tmp/private_key_2338579960538161647.key (/w/workspace/dgexfoundry_device-snmp-go_PR-92@tmp/private_key_2338579960538161647.key) [2021-05-06T22:50:00.892Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:50:01.252Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T22:50:01.290Z] $ docker exec --env ******** --env ******** cd969f9929dba93ac6a922805854da40f2831b955dbb2edf9525122164054760 ssh-agent -k [2021-05-06T22:50:01.409Z] unset SSH_AUTH_SOCK; [2021-05-06T22:50:01.409Z] unset SSH_AGENT_PID; [2021-05-06T22:50:01.409Z] echo Agent pid 18 killed; [2021-05-06T22:50:01.456Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T22:50:01.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:50:01.568Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:50:01.801Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:50:01.809Z] $ docker exec cd969f9929dba93ac6a922805854da40f2831b955dbb2edf9525122164054760 ssh-agent [2021-05-06T22:50:01.982Z] SSH_AUTH_SOCK=/tmp/ssh-OqdvSXnglNKb/agent.48 [2021-05-06T22:50:01.982Z] SSH_AGENT_PID=53 [2021-05-06T22:50:01.991Z] Running ssh-add (command line suppressed) [2021-05-06T22:50:02.119Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-92@tmp/private_key_1971741142934316643.key (/w/workspace/dgexfoundry_device-snmp-go_PR-92@tmp/private_key_1971741142934316643.key) [2021-05-06T22:50:02.166Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:50:02.523Z] + git semver init [2021-05-06T22:50:02.523Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T22:50:02.523Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-92/.git [2021-05-06T22:50:02.523Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-92 [2021-05-06T22:50:02.523Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T22:50:02.523Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T22:50:02.523Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T22:50:02.523Z] # $SEMVER_BRANCH = PR-92 [2021-05-06T22:50:02.523Z] # $SEMVER_TEMP = /tmp/semver-823754989 [2021-05-06T22:50:02.523Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-06T22:50:04.450Z] # '/tmp/semver-823754989' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-92/.semver' [2021-05-06T22:50:04.450Z] # -> Force: false [2021-05-06T22:50:04.450Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-92/.semver [Pipeline] } [2021-05-06T22:50:04.479Z] $ docker exec --env ******** --env ******** cd969f9929dba93ac6a922805854da40f2831b955dbb2edf9525122164054760 ssh-agent -k [2021-05-06T22:50:04.596Z] unset SSH_AUTH_SOCK; [2021-05-06T22:50:04.597Z] unset SSH_AGENT_PID; [2021-05-06T22:50:04.597Z] echo Agent pid 53 killed; [2021-05-06T22:50:04.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T22:50:05.089Z] + git semver [Pipeline] } [2021-05-06T22:50:05.128Z] $ docker stop --time=1 cd969f9929dba93ac6a922805854da40f2831b955dbb2edf9525122164054760 [2021-05-06T22:50:06.553Z] $ docker rm -f cd969f9929dba93ac6a922805854da40f2831b955dbb2edf9525122164054760 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:50:07.146Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T22:50:07.545Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T22:50:07.567Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-06T22:50:23.042Z] Still waiting to schedule task [2021-05-06T22:50:23.042Z] ‘prd-centos7-docker-4c-2g-3345’ is offline; ‘prd-centos7-docker-4c-2g-3347’ is offline; ‘prd-centos7-docker-4c-2g-3348’ is offline; ‘prd-centos7-docker-4c-2g-3351’ is offline; ‘prd-centos7-docker-4c-2g-3368’ is offline; ‘prd-centos7-docker-4c-2g-3369’ is offline; ‘prd-centos7-docker-4c-2g-3370’ is offline [2021-05-06T22:50:23.079Z] Still waiting to schedule task [2021-05-06T22:50:23.079Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-06T22:51:33.238Z] Running on prd-centos7-docker-4c-2g-3375 in /w/workspace/dgexfoundry_device-snmp-go_PR-92 [Pipeline] { [Pipeline] ws [2021-05-06T22:51:33.294Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-06T22:51:36.552Z] using credential edgex-jenkins-ssh [2021-05-06T22:51:36.572Z] Cloning the remote Git repository [2021-05-06T22:51:36.606Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-06T22:51:36.680Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-06T22:51:36.749Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-06T22:51:36.749Z] > git --version # timeout=10 [2021-05-06T22:51:36.756Z] > git --version # 'git version 2.24.3' [2021-05-06T22:51:36.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:51:36.781Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:51:37.755Z] Merging remotes/origin/master commit a9cce8b7dfe6fda3a1428129fda327925c6aa018 into PR head commit 639fbe648df8d0645ee70e73f5df652462515f5f [2021-05-06T22:51:37.841Z] Merge succeeded, producing 639fbe648df8d0645ee70e73f5df652462515f5f [2021-05-06T22:51:37.841Z] Checking out Revision 639fbe648df8d0645ee70e73f5df652462515f5f (PR-92) [2021-05-06T22:51:37.296Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-06T22:51:37.303Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:51:37.313Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-06T22:51:37.355Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-06T22:51:37.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:51:37.359Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:51:37.768Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:51:37.772Z] > git checkout -f 639fbe648df8d0645ee70e73f5df652462515f5f # timeout=10 [2021-05-06T22:51:37.808Z] > git remote # timeout=10 [2021-05-06T22:51:37.815Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:51:37.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:51:37.825Z] > git merge a9cce8b7dfe6fda3a1428129fda327925c6aa018 # timeout=10 [2021-05-06T22:51:37.836Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:51:37.848Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:51:37.855Z] > git checkout -f 639fbe648df8d0645ee70e73f5df652462515f5f # timeout=10 [2021-05-06T22:51:41.461Z] Commit message: "ci: update local docker image names" [2021-05-06T22:51:41.493Z] > git --version # timeout=10 [2021-05-06T22:51:41.501Z] > git --version # 'git version 2.24.3' [2021-05-06T22:51:41.507Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:51:42.910Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:51:43.288Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:51:43.614Z] + sudo service docker restart [2021-05-06T22:51:43.614Z] + true [2021-05-06T22:51:43.614Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:51:44.663Z] provisioning config files... [2021-05-06T22:51:44.712Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8818939057147807147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:51:45.109Z] ---> docker-login.sh [2021-05-06T22:51:45.109Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:51:45.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:51:45.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:51:45.948Z] Configure a credential helper to remove this warning. See [2021-05-06T22:51:45.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:51:45.948Z] [2021-05-06T22:51:45.948Z] Login Succeeded [2021-05-06T22:51:45.948Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:51:45.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:51:45.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:51:45.948Z] Configure a credential helper to remove this warning. See [2021-05-06T22:51:45.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:51:45.948Z] [2021-05-06T22:51:45.948Z] Login Succeeded [2021-05-06T22:51:45.948Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:51:46.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:51:46.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:51:46.214Z] Configure a credential helper to remove this warning. See [2021-05-06T22:51:46.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:51:46.214Z] [2021-05-06T22:51:46.214Z] Login Succeeded [2021-05-06T22:51:46.214Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:51:46.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:51:46.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:51:46.476Z] Configure a credential helper to remove this warning. See [2021-05-06T22:51:46.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:51:46.476Z] [2021-05-06T22:51:46.476Z] Login Succeeded [2021-05-06T22:51:46.476Z] docker.io [2021-05-06T22:51:46.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:51:47.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:51:47.002Z] Configure a credential helper to remove this warning. See [2021-05-06T22:51:47.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:51:47.002Z] [2021-05-06T22:51:47.002Z] Login Succeeded [2021-05-06T22:51:47.002Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:51:47.050Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:51:47.365Z] ========================================================= [2021-05-06T22:51:47.365Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T22:51:47.365Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:51:47.716Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-06T22:51:47.716Z] Sending build context to Docker daemon 348.2kB [2021-05-06T22:51:47.716Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:51:47.716Z] Step 2/10 : FROM ${BASE} [2021-05-06T22:51:47.985Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T22:51:47.985Z] 540db60ca938: Pulling fs layer [2021-05-06T22:51:47.985Z] adcc1eea9eea: Pulling fs layer [2021-05-06T22:51:47.985Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T22:51:47.985Z] 0510c868ecb4: Pulling fs layer [2021-05-06T22:51:47.985Z] afea3b2eda06: Pulling fs layer [2021-05-06T22:51:47.985Z] 7809a108b3ef: Pulling fs layer [2021-05-06T22:51:47.985Z] f706445af74f: Pulling fs layer [2021-05-06T22:51:47.985Z] afea3b2eda06: Waiting [2021-05-06T22:51:47.985Z] 7809a108b3ef: Waiting [2021-05-06T22:51:47.985Z] f706445af74f: Waiting [2021-05-06T22:51:47.985Z] 0510c868ecb4: Waiting [2021-05-06T22:51:47.985Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T22:51:47.985Z] 4c4ab2625f07: Download complete [2021-05-06T22:51:47.985Z] adcc1eea9eea: Verifying Checksum [2021-05-06T22:51:47.985Z] adcc1eea9eea: Download complete [2021-05-06T22:51:47.985Z] afea3b2eda06: Verifying Checksum [2021-05-06T22:51:47.985Z] afea3b2eda06: Download complete [2021-05-06T22:51:47.985Z] 7809a108b3ef: Verifying Checksum [2021-05-06T22:51:47.985Z] 7809a108b3ef: Download complete [2021-05-06T22:51:47.985Z] 540db60ca938: Verifying Checksum [2021-05-06T22:51:47.985Z] 540db60ca938: Download complete [2021-05-06T22:51:48.251Z] 540db60ca938: Pull complete [2021-05-06T22:51:48.515Z] adcc1eea9eea: Pull complete [2021-05-06T22:51:48.515Z] 4c4ab2625f07: Pull complete [2021-05-06T22:51:50.517Z] f706445af74f: Verifying Checksum [2021-05-06T22:51:50.517Z] f706445af74f: Download complete [2021-05-06T22:51:51.101Z] 0510c868ecb4: Verifying Checksum [2021-05-06T22:51:51.101Z] 0510c868ecb4: Download complete [2021-05-06T22:51:57.771Z] 0510c868ecb4: Pull complete [2021-05-06T22:51:57.771Z] afea3b2eda06: Pull complete [2021-05-06T22:51:57.771Z] 7809a108b3ef: Pull complete [2021-05-06T22:52:06.736Z] f706445af74f: Pull complete [2021-05-06T22:52:06.736Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T22:52:06.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T22:52:06.736Z] ---> b068be0155e3 [2021-05-06T22:52:06.736Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-05-06T22:52:06.736Z] ---> Running in 69eace8278f6 [2021-05-06T22:52:06.736Z] Removing intermediate container 69eace8278f6 [2021-05-06T22:52:06.736Z] ---> 4bb3ab5822d4 [2021-05-06T22:52:06.736Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T22:52:06.736Z] ---> Running in fb73ff09e8ff [2021-05-06T22:52:06.736Z] Removing intermediate container fb73ff09e8ff [2021-05-06T22:52:06.736Z] ---> c31636515b56 [2021-05-06T22:52:06.737Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-06T22:52:06.737Z] ---> Running in bf76162797ac [2021-05-06T22:52:06.737Z] Removing intermediate container bf76162797ac [2021-05-06T22:52:06.737Z] ---> cc4310e32d76 [2021-05-06T22:52:06.737Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:52:06.737Z] ---> Running in ac9107c11e00 [2021-05-06T22:52:08.170Z] Removing intermediate container ac9107c11e00 [2021-05-06T22:52:08.170Z] ---> adfe46387260 [2021-05-06T22:52:08.170Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T22:52:08.170Z] ---> Running in 5f66349b5a46 [2021-05-06T22:52:09.121Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:52:10.072Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:52:10.649Z] OK: 149 MiB in 40 packages [2021-05-06T22:52:10.915Z] Removing intermediate container 5f66349b5a46 [2021-05-06T22:52:10.915Z] ---> 1833191112f4 [2021-05-06T22:52:10.915Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-06T22:52:10.915Z] ---> Running in 7ac66a5fa64a [2021-05-06T22:52:11.180Z] Removing intermediate container 7ac66a5fa64a [2021-05-06T22:52:11.180Z] ---> f4033f70b1a9 [2021-05-06T22:52:11.180Z] Step 9/10 : COPY . . [2021-05-06T22:52:12.136Z] ---> b70e68f78389 [2021-05-06T22:52:12.136Z] Step 10/10 : RUN go mod download [2021-05-06T22:52:12.136Z] ---> Running in c554b28dd012 [2021-05-06T22:52:34.189Z] Removing intermediate container c554b28dd012 [2021-05-06T22:52:34.190Z] ---> 5f05d4dd63ea [2021-05-06T22:52:34.190Z] Successfully built 5f05d4dd63ea [2021-05-06T22:52:34.190Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:52:34.570Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:52:34.570Z] . [Pipeline] withDockerContainer [2021-05-06T22:52:34.714Z] prd-centos7-docker-4c-2g-3375 does not seem to be running inside a container [2021-05-06T22:52:34.775Z] $ 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-05-06T22:52:35.726Z] $ docker top 889d78fec8222ddebb8f477c80c054cbc947833ad6b8ba35ed6598c580c30368 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:52:36.248Z] + go version [2021-05-06T22:52:36.248Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T22:52:36.291Z] $ docker stop --time=1 889d78fec8222ddebb8f477c80c054cbc947833ad6b8ba35ed6598c580c30368 [2021-05-06T22:52:37.649Z] $ docker rm -f 889d78fec8222ddebb8f477c80c054cbc947833ad6b8ba35ed6598c580c30368 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:52:38.404Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:52:38.405Z] . [Pipeline] withDockerContainer [2021-05-06T22:52:38.532Z] prd-centos7-docker-4c-2g-3375 does not seem to be running inside a container [2021-05-06T22:52:38.590Z] $ 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-05-06T22:52:39.196Z] $ docker top 28dd2f652190d06ba0a441187f666366cd3b8ddbced1ae83c10534011b023278 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:52:39.697Z] + go mod tidy [Pipeline] sh [2021-05-06T22:52:40.291Z] + make test [2021-05-06T22:52:40.291Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-06T22:52:41.262Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-06T22:52:59.638Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-06T22:52:59.638Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements [2021-05-06T22:52:59.638Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-06T22:53:06.628Z] gofmt -l . [2021-05-06T22:53:06.628Z] [ "`gofmt -l .`" = "" ] [2021-05-06T22:53:06.628Z] ./bin/test-attribution-txt.sh [2021-05-06T22:53:06.904Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T22:53:06.968Z] $ docker stop --time=1 28dd2f652190d06ba0a441187f666366cd3b8ddbced1ae83c10534011b023278 [2021-05-06T22:53:09.610Z] $ docker rm -f 28dd2f652190d06ba0a441187f666366cd3b8ddbced1ae83c10534011b023278 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:53:10.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T22:53:10.601Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-06T22:53:11.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T22:53:12.118Z] + ls -al . [2021-05-06T22:53:12.118Z] total 104 [2021-05-06T22:53:12.118Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 6 22:53 . [2021-05-06T22:53:12.118Z] drwxrwxr-x. 4 jenkins jenkins 28 May 6 22:51 .. [2021-05-06T22:53:12.118Z] -rw-rw-r--. 1 jenkins jenkins 5082 May 6 22:51 Attribution.txt [2021-05-06T22:53:12.118Z] drwxrwxr-x. 2 jenkins jenkins 87 May 6 22:51 bin [2021-05-06T22:53:12.118Z] drwxrwxr-x. 3 jenkins jenkins 32 May 6 22:51 cmd [2021-05-06T22:53:12.118Z] -rw-r--r--. 1 jenkins jenkins 8493 May 6 22:52 coverage.out [2021-05-06T22:53:12.118Z] -rw-rw-r--. 1 jenkins jenkins 1529 May 6 22:51 Dockerfile [2021-05-06T22:53:12.118Z] -rw-rw-r--. 1 jenkins jenkins 1006 May 6 22:51 Dockerfile.build [2021-05-06T22:53:12.118Z] -rw-rw-r--. 1 jenkins jenkins 6 May 6 22:51 .dockerignore [2021-05-06T22:53:12.118Z] drwxrwxr-x. 8 jenkins jenkins 179 May 6 22:51 .git [2021-05-06T22:53:12.118Z] drwxrwxr-x. 2 jenkins jenkins 103 May 6 22:51 .github [2021-05-06T22:53:12.118Z] -rw-rw-r--. 1 jenkins jenkins 272 May 6 22:51 .gitignore [2021-05-06T22:53:12.118Z] -rw-r--r--. 1 jenkins jenkins 204 May 6 22:53 go.mod [2021-05-06T22:53:12.118Z] -rw-r--r--. 1 jenkins jenkins 14156 May 6 22:52 go.sum [2021-05-06T22:53:12.118Z] drwxrwxr-x. 3 jenkins jenkins 20 May 6 22:51 internal [2021-05-06T22:53:12.118Z] -rw-rw-r--. 1 jenkins jenkins 656 May 6 22:51 Jenkinsfile [2021-05-06T22:53:12.118Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 6 22:51 LICENSE [2021-05-06T22:53:12.118Z] -rw-rw-r--. 1 jenkins jenkins 917 May 6 22:51 Makefile [2021-05-06T22:53:12.118Z] drwxrwxr-x. 2 jenkins jenkins 84 May 6 22:51 profiles [2021-05-06T22:53:12.118Z] -rw-rw-r--. 1 jenkins jenkins 14171 May 6 22:51 README.md [2021-05-06T22:53:12.118Z] -rw-rw-r--. 1 jenkins jenkins 5 May 6 22:50 VERSION [2021-05-06T22:53:12.118Z] -rw-rw-r--. 1 jenkins jenkins 209 May 6 22:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:53:12.485Z] + 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=639fbe648df8d0645ee70e73f5df652462515f5f --label arch=amd64 --label version=0.0.0 . [2021-05-06T22:53:12.748Z] Sending build context to Docker daemon 357.4kB [2021-05-06T22:53:12.748Z] Step 1/26 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:53:12.748Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-06T22:53:12.748Z] ---> 5f05d4dd63ea [2021-05-06T22:53:12.748Z] Step 3/26 : ARG MAKE='make build' [2021-05-06T22:53:13.015Z] ---> Running in bdbb2efad41b [2021-05-06T22:53:13.015Z] Removing intermediate container bdbb2efad41b [2021-05-06T22:53:13.015Z] ---> 725da518e6c1 [2021-05-06T22:53:13.015Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-05-06T22:53:13.015Z] ---> Running in ac051fae2bae [2021-05-06T22:53:13.280Z] Removing intermediate container ac051fae2bae [2021-05-06T22:53:13.280Z] ---> c93acc1f62ac [2021-05-06T22:53:13.280Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T22:53:13.280Z] ---> Running in 92db6281e302 [2021-05-06T22:53:13.546Z] Removing intermediate container 92db6281e302 [2021-05-06T22:53:13.546Z] ---> b107e88a1258 [2021-05-06T22:53:13.546Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:53:13.546Z] ---> Running in cf78cda9b0e8 [2021-05-06T22:53:14.961Z] Removing intermediate container cf78cda9b0e8 [2021-05-06T22:53:14.961Z] ---> d30183becf73 [2021-05-06T22:53:14.961Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T22:53:14.961Z] ---> Running in 75e4d8fdd415 [2021-05-06T22:53:15.925Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:53:16.873Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:53:17.138Z] OK: 149 MiB in 40 packages [2021-05-06T22:53:17.720Z] Removing intermediate container 75e4d8fdd415 [2021-05-06T22:53:17.720Z] ---> ba4a8bb070fb [2021-05-06T22:53:17.720Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-05-06T22:53:17.720Z] ---> Running in fb70a36e89ac [2021-05-06T22:53:17.986Z] Removing intermediate container fb70a36e89ac [2021-05-06T22:53:17.986Z] ---> 936b1847e731 [2021-05-06T22:53:17.986Z] Step 9/26 : COPY go.mod . [2021-05-06T22:53:18.250Z] ---> 3e1dbe572aed [2021-05-06T22:53:18.250Z] Step 10/26 : COPY Makefile . [2021-05-06T22:53:18.514Z] ---> 856ce619c388 [2021-05-06T22:53:18.514Z] Step 11/26 : RUN make update [2021-05-06T22:53:18.514Z] ---> Running in 31d4712f5eb0 [2021-05-06T22:53:19.089Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-06T22:53:19.672Z] Removing intermediate container 31d4712f5eb0 [2021-05-06T22:53:19.672Z] ---> 20bb05c80b16 [2021-05-06T22:53:19.672Z] Step 12/26 : COPY . . [2021-05-06T22:53:20.621Z] ---> fb6630fdf0ab [2021-05-06T22:53:20.621Z] Step 13/26 : RUN ${MAKE} [2021-05-06T22:53:20.621Z] ---> Running in 673a9d206c69 [2021-05-06T22:53:21.208Z] 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-05-06T22:53:31.327Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-05-06T22:53:34.671Z] Removing intermediate container 673a9d206c69 [2021-05-06T22:53:34.671Z] ---> e79b85a5cdaf [2021-05-06T22:53:34.671Z] Step 14/26 : FROM alpine:3.12 [2021-05-06T22:53:34.940Z] 3.12: Pulling from library/alpine [2021-05-06T22:53:35.210Z] 339de151aab4: Pulling fs layer [2021-05-06T22:53:35.210Z] 339de151aab4: Verifying Checksum [2021-05-06T22:53:35.210Z] 339de151aab4: Download complete [2021-05-06T22:53:35.474Z] 339de151aab4: Pull complete [2021-05-06T22:53:35.739Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T22:53:35.739Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T22:53:35.739Z] ---> 13621d1b12d4 [2021-05-06T22:53:35.739Z] Step 15/26 : ENV APP_PORT=49993 [2021-05-06T22:53:35.739Z] ---> Running in 505127989fd8 [2021-05-06T22:53:36.003Z] Removing intermediate container 505127989fd8 [2021-05-06T22:53:36.003Z] ---> 840a9dc575a6 [2021-05-06T22:53:36.003Z] Step 16/26 : EXPOSE $APP_PORT [2021-05-06T22:53:36.003Z] ---> Running in 62dc83902a15 [2021-05-06T22:53:36.278Z] Removing intermediate container 62dc83902a15 [2021-05-06T22:53:36.278Z] ---> 47e3b550685c [2021-05-06T22:53:36.278Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-05-06T22:53:36.278Z] ---> Running in 8b2131248822 [2021-05-06T22:53:36.278Z] Removing intermediate container 8b2131248822 [2021-05-06T22:53:36.278Z] ---> 5602c4df0686 [2021-05-06T22:53:36.278Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-05-06T22:53:36.541Z] ---> Running in a8f182d0200c [2021-05-06T22:53:36.541Z] Removing intermediate container a8f182d0200c [2021-05-06T22:53:36.541Z] ---> 269e14d65259 [2021-05-06T22:53:36.541Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-05-06T22:53:37.505Z] ---> 7ab1f84f5820 [2021-05-06T22:53:37.505Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-05-06T22:53:37.505Z] ---> 906d9a19b185 [2021-05-06T22:53:37.505Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-05-06T22:53:37.769Z] ---> bc9f04853012 [2021-05-06T22:53:37.769Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-05-06T22:53:38.035Z] ---> Running in 8e640eb4366d [2021-05-06T22:53:38.035Z] Removing intermediate container 8e640eb4366d [2021-05-06T22:53:38.035Z] ---> e6e4487aebe5 [2021-05-06T22:53:38.035Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-06T22:53:38.303Z] ---> Running in 73c4e0b20ea4 [2021-05-06T22:53:38.303Z] Removing intermediate container 73c4e0b20ea4 [2021-05-06T22:53:38.303Z] ---> d7dfbb2e48ea [2021-05-06T22:53:38.303Z] Step 24/26 : LABEL arch=amd64 [2021-05-06T22:53:38.565Z] ---> Running in 0b667e5a46df [2021-05-06T22:53:38.565Z] Removing intermediate container 0b667e5a46df [2021-05-06T22:53:38.565Z] ---> 83a11954067d [2021-05-06T22:53:38.565Z] Step 25/26 : LABEL git_sha=639fbe648df8d0645ee70e73f5df652462515f5f [2021-05-06T22:53:38.831Z] ---> Running in 87e04c44a8ee [2021-05-06T22:53:38.831Z] Removing intermediate container 87e04c44a8ee [2021-05-06T22:53:38.831Z] ---> 96fc3d343a1b [2021-05-06T22:53:38.831Z] Step 26/26 : LABEL version=0.0.0 [2021-05-06T22:53:39.096Z] ---> Running in 0665b90624fd [2021-05-06T22:53:39.096Z] Removing intermediate container 0665b90624fd [2021-05-06T22:53:39.096Z] ---> e9ec991bdc53 [2021-05-06T22:53:39.096Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-06T22:53:39.096Z] Successfully built e9ec991bdc53 [2021-05-06T22:53:39.096Z] Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:53:39.921Z] ---> job-cost.sh [2021-05-06T22:53:39.921Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iREh [2021-05-06T22:53:58.108Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T22:54:24.821Z] lf-activate-venv(): INFO: Adding /tmp/venv-iREh/bin to PATH [2021-05-06T22:54:24.821Z] INFO: No Stack... [2021-05-06T22:54:24.821Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T22:54:24.821Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T22:54:25.177Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-05-06T22:54:25.177Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T22:54:25.295Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-92-1-stack-cost] [2021-05-06T22:54:25.301Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-92-1-stack-cost] did not exist. Created. [2021-05-06T22:54:25.301Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-92-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T22:54:25.718Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T22:54:25.880Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T22:54:25.906Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-92-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T22:59:15.724Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3385 in /w/workspace/dgexfoundry_device-snmp-go_PR-92 [Pipeline] { [Pipeline] ws [2021-05-06T22:59:15.810Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-06T22:59:23.640Z] using credential edgex-jenkins-ssh [2021-05-06T22:59:23.672Z] Cloning the remote Git repository [2021-05-06T22:59:23.742Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-06T22:59:23.866Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-06T22:59:24.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-06T22:59:24.007Z] > git --version # timeout=10 [2021-05-06T22:59:24.046Z] > git --version # 'git version 2.17.1' [2021-05-06T22:59:24.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:59:24.160Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:59:25.010Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-06T22:59:25.037Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:59:26.012Z] Merging remotes/origin/master commit a9cce8b7dfe6fda3a1428129fda327925c6aa018 into PR head commit 639fbe648df8d0645ee70e73f5df652462515f5f [2021-05-06T22:59:26.241Z] Merge succeeded, producing 639fbe648df8d0645ee70e73f5df652462515f5f [2021-05-06T22:59:26.241Z] Checking out Revision 639fbe648df8d0645ee70e73f5df652462515f5f (PR-92) [2021-05-06T22:59:25.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-06T22:59:25.419Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-06T22:59:25.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:59:25.434Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:59:26.038Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:59:26.051Z] > git checkout -f 639fbe648df8d0645ee70e73f5df652462515f5f # timeout=10 [2021-05-06T22:59:26.139Z] > git remote # timeout=10 [2021-05-06T22:59:26.159Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:59:26.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:59:26.195Z] > git merge a9cce8b7dfe6fda3a1428129fda327925c6aa018 # timeout=10 [2021-05-06T22:59:26.227Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:59:26.261Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:59:26.282Z] > git checkout -f 639fbe648df8d0645ee70e73f5df652462515f5f # timeout=10 [2021-05-06T22:59:30.873Z] Commit message: "ci: update local docker image names" [2021-05-06T22:59:30.950Z] > git --version # timeout=10 [2021-05-06T22:59:30.969Z] > git --version # 'git version 2.17.1' [2021-05-06T22:59:30.985Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:59:32.649Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:59:33.124Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:59:33.490Z] + + truesudo [2021-05-06T22:59:33.490Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:59:35.586Z] provisioning config files... [2021-05-06T22:59:35.646Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5415786543621461197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:59:36.104Z] ---> docker-login.sh [2021-05-06T22:59:36.104Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:59:37.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:37.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:37.364Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:37.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:37.364Z] [2021-05-06T22:59:37.364Z] Login Succeeded [2021-05-06T22:59:37.364Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:59:37.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:37.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:37.967Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:37.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:37.967Z] [2021-05-06T22:59:37.967Z] Login Succeeded [2021-05-06T22:59:37.967Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:59:38.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:38.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:38.566Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:38.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:38.566Z] [2021-05-06T22:59:38.566Z] Login Succeeded [2021-05-06T22:59:38.566Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:59:39.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:39.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:39.169Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:39.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:39.169Z] [2021-05-06T22:59:39.169Z] Login Succeeded [2021-05-06T22:59:39.169Z] docker.io [2021-05-06T22:59:39.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:40.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:40.042Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:40.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:40.042Z] [2021-05-06T22:59:40.042Z] Login Succeeded [2021-05-06T22:59:40.042Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:59:40.074Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:59:40.542Z] ========================================================= [2021-05-06T22:59:40.543Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T22:59:40.543Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:59:40.930Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-06T22:59:41.209Z] Sending build context to Docker daemon 347.1kB [2021-05-06T22:59:41.209Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:59:41.209Z] Step 2/10 : FROM ${BASE} [2021-05-06T22:59:41.209Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T22:59:41.209Z] 595b0fe564bb: Pulling fs layer [2021-05-06T22:59:41.209Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T22:59:41.209Z] 316046926c0a: Pulling fs layer [2021-05-06T22:59:41.209Z] 4ebd0625c992: Pulling fs layer [2021-05-06T22:59:41.209Z] 207e8628e3a3: Pulling fs layer [2021-05-06T22:59:41.209Z] c791037a9be2: Pulling fs layer [2021-05-06T22:59:41.209Z] ffd874e62e21: Pulling fs layer [2021-05-06T22:59:41.209Z] 207e8628e3a3: Waiting [2021-05-06T22:59:41.209Z] c791037a9be2: Waiting [2021-05-06T22:59:41.209Z] ffd874e62e21: Waiting [2021-05-06T22:59:41.209Z] 4ebd0625c992: Waiting [2021-05-06T22:59:41.485Z] 316046926c0a: Verifying Checksum [2021-05-06T22:59:41.485Z] 316046926c0a: Download complete [2021-05-06T22:59:41.485Z] 7186ed65a4f7: Verifying Checksum [2021-05-06T22:59:41.485Z] 7186ed65a4f7: Download complete [2021-05-06T22:59:41.485Z] 207e8628e3a3: Verifying Checksum [2021-05-06T22:59:41.485Z] 207e8628e3a3: Download complete [2021-05-06T22:59:41.485Z] c791037a9be2: Verifying Checksum [2021-05-06T22:59:41.485Z] c791037a9be2: Download complete [2021-05-06T22:59:41.485Z] 595b0fe564bb: Verifying Checksum [2021-05-06T22:59:41.485Z] 595b0fe564bb: Download complete [2021-05-06T22:59:42.105Z] 595b0fe564bb: Pull complete [2021-05-06T22:59:42.721Z] 7186ed65a4f7: Pull complete [2021-05-06T22:59:43.329Z] 316046926c0a: Pull complete [2021-05-06T22:59:43.329Z] ffd874e62e21: Verifying Checksum [2021-05-06T22:59:43.329Z] ffd874e62e21: Download complete [2021-05-06T22:59:45.979Z] 4ebd0625c992: Verifying Checksum [2021-05-06T22:59:45.979Z] 4ebd0625c992: Download complete [2021-05-06T22:59:56.130Z] 4ebd0625c992: Pull complete [2021-05-06T22:59:56.130Z] 207e8628e3a3: Pull complete [2021-05-06T22:59:56.130Z] c791037a9be2: Pull complete [2021-05-06T22:59:59.563Z] ffd874e62e21: Pull complete [2021-05-06T22:59:59.563Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T22:59:59.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T22:59:59.563Z] ---> cfc18b08335c [2021-05-06T22:59:59.563Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-05-06T23:00:02.978Z] ---> Running in 0390f596bd74 [2021-05-06T23:00:02.978Z] Removing intermediate container 0390f596bd74 [2021-05-06T23:00:02.978Z] ---> a958765d192e [2021-05-06T23:00:02.978Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T23:00:03.265Z] ---> Running in 8c72dd00f706 [2021-05-06T23:00:03.538Z] Removing intermediate container 8c72dd00f706 [2021-05-06T23:00:03.538Z] ---> affaf1ec190e [2021-05-06T23:00:03.538Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-06T23:00:03.812Z] ---> Running in 37e1753f2d66 [2021-05-06T23:00:04.086Z] Removing intermediate container 37e1753f2d66 [2021-05-06T23:00:04.086Z] ---> f32509c0d079 [2021-05-06T23:00:04.086Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T23:00:04.362Z] ---> Running in dbeb6d960308 [2021-05-06T23:00:07.019Z] Removing intermediate container dbeb6d960308 [2021-05-06T23:00:07.019Z] ---> 3ec41bb310ec [2021-05-06T23:00:07.019Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T23:00:07.019Z] ---> Running in 12c06da7e7de [2021-05-06T23:00:08.478Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T23:00:09.478Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T23:00:10.465Z] OK: 138 MiB in 40 packages [2021-05-06T23:00:11.924Z] Removing intermediate container 12c06da7e7de [2021-05-06T23:00:11.924Z] ---> d065177eee67 [2021-05-06T23:00:11.924Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-06T23:00:11.924Z] ---> Running in 6b17ffe4a78a [2021-05-06T23:00:12.530Z] Removing intermediate container 6b17ffe4a78a [2021-05-06T23:00:12.530Z] ---> 4f9551e3fff6 [2021-05-06T23:00:12.530Z] Step 9/10 : COPY . . [2021-05-06T23:00:13.516Z] ---> f668429b54fc [2021-05-06T23:00:13.516Z] Step 10/10 : RUN go mod download [2021-05-06T23:00:13.793Z] ---> Running in 9f73c2883a05 [2021-05-06T23:00:40.639Z] Removing intermediate container 9f73c2883a05 [2021-05-06T23:00:40.639Z] ---> c5e25ba41751 [2021-05-06T23:00:40.639Z] Successfully built c5e25ba41751 [2021-05-06T23:00:40.639Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:00:41.051Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T23:00:41.051Z] . [Pipeline] withDockerContainer [2021-05-06T23:00:41.363Z] prd-ubuntu18.04-docker-arm64-4c-16g-3385 does not seem to be running inside a container [2021-05-06T23:00:41.496Z] $ 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-05-06T23:00:43.098Z] $ docker top ba73b9133cdac58e09c4d24ef454f66e22e945e0c2699439f17dcfcf3c66127f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T23:00:44.130Z] + go version [2021-05-06T23:00:44.130Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T23:00:44.198Z] $ docker stop --time=1 ba73b9133cdac58e09c4d24ef454f66e22e945e0c2699439f17dcfcf3c66127f [2021-05-06T23:00:46.149Z] $ docker rm -f ba73b9133cdac58e09c4d24ef454f66e22e945e0c2699439f17dcfcf3c66127f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:00:47.156Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T23:00:47.156Z] . [Pipeline] withDockerContainer [2021-05-06T23:00:47.520Z] prd-ubuntu18.04-docker-arm64-4c-16g-3385 does not seem to be running inside a container [2021-05-06T23:00:47.670Z] $ 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-05-06T23:00:49.169Z] $ docker top 56b8fcf20ca5646ab4e9209de7c7b21b984f0e5b81df02b8adcf31dc93ecfab5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T23:00:50.157Z] + go mod tidy [Pipeline] sh [2021-05-06T23:00:51.440Z] + make test [2021-05-06T23:00:51.440Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-06T23:00:52.419Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-06T23:01:39.798Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-06T23:01:39.798Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.021s coverage: 0.0% of statements [2021-05-06T23:01:39.798Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-06T23:02:12.209Z] gofmt -l . [2021-05-06T23:02:12.209Z] [ "`gofmt -l .`" = "" ] [2021-05-06T23:02:12.209Z] ./bin/test-attribution-txt.sh [2021-05-06T23:02:12.209Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T23:02:12.306Z] $ docker stop --time=1 56b8fcf20ca5646ab4e9209de7c7b21b984f0e5b81df02b8adcf31dc93ecfab5 [2021-05-06T23:02:14.503Z] $ docker rm -f 56b8fcf20ca5646ab4e9209de7c7b21b984f0e5b81df02b8adcf31dc93ecfab5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T23:02:15.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T23:02:15.558Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T23:02:16.527Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T23:02:17.227Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T23:02:17.605Z] + ls -al . [2021-05-06T23:02:17.605Z] total 132 [2021-05-06T23:02:17.605Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 23:02 . [2021-05-06T23:02:17.605Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:59 .. [2021-05-06T23:02:17.605Z] -rw-rw-r-- 1 jenkins jenkins 6 May 6 22:59 .dockerignore [2021-05-06T23:02:17.605Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:59 .git [2021-05-06T23:02:17.605Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:59 .github [2021-05-06T23:02:17.605Z] -rw-rw-r-- 1 jenkins jenkins 272 May 6 22:59 .gitignore [2021-05-06T23:02:17.605Z] -rw-rw-r-- 1 jenkins jenkins 5082 May 6 22:59 Attribution.txt [2021-05-06T23:02:17.605Z] -rw-rw-r-- 1 jenkins jenkins 1529 May 6 22:59 Dockerfile [2021-05-06T23:02:17.605Z] -rw-rw-r-- 1 jenkins jenkins 1006 May 6 22:59 Dockerfile.build [2021-05-06T23:02:17.605Z] -rw-rw-r-- 1 jenkins jenkins 656 May 6 22:59 Jenkinsfile [2021-05-06T23:02:17.605Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 6 22:59 LICENSE [2021-05-06T23:02:17.605Z] -rw-rw-r-- 1 jenkins jenkins 917 May 6 22:59 Makefile [2021-05-06T23:02:17.605Z] -rw-rw-r-- 1 jenkins jenkins 14171 May 6 22:59 README.md [2021-05-06T23:02:17.605Z] -rw-rw-r-- 1 jenkins jenkins 5 May 6 22:50 VERSION [2021-05-06T23:02:17.605Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:59 bin [2021-05-06T23:02:17.605Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 22:59 cmd [2021-05-06T23:02:17.605Z] -rw-r--r-- 1 jenkins jenkins 8493 May 6 23:01 coverage.out [2021-05-06T23:02:17.605Z] -rw-r--r-- 1 jenkins jenkins 204 May 6 23:02 go.mod [2021-05-06T23:02:17.605Z] -rw-r--r-- 1 jenkins jenkins 14156 May 6 23:00 go.sum [2021-05-06T23:02:17.605Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 22:59 internal [2021-05-06T23:02:17.605Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:59 profiles [2021-05-06T23:02:17.605Z] -rw-rw-r-- 1 jenkins jenkins 209 May 6 22:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:02:18.012Z] + 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=639fbe648df8d0645ee70e73f5df652462515f5f --label arch=arm64 --label version=0.0.0 . [2021-05-06T23:02:18.287Z] Sending build context to Docker daemon 356.4kB [2021-05-06T23:02:18.287Z] Step 1/26 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T23:02:18.287Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-06T23:02:18.287Z] ---> c5e25ba41751 [2021-05-06T23:02:18.287Z] Step 3/26 : ARG MAKE='make build' [2021-05-06T23:02:18.560Z] ---> Running in d0bdec5dced5 [2021-05-06T23:02:19.162Z] Removing intermediate container d0bdec5dced5 [2021-05-06T23:02:19.162Z] ---> baa494e6ee56 [2021-05-06T23:02:19.162Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2021-05-06T23:02:19.162Z] ---> Running in 1a7b5c4df0b3 [2021-05-06T23:02:19.761Z] Removing intermediate container 1a7b5c4df0b3 [2021-05-06T23:02:19.761Z] ---> 397aee382daa [2021-05-06T23:02:19.761Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T23:02:19.761Z] ---> Running in 89fa0c5d6745 [2021-05-06T23:02:20.367Z] Removing intermediate container 89fa0c5d6745 [2021-05-06T23:02:20.367Z] ---> 4314c43541b4 [2021-05-06T23:02:20.367Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T23:02:20.367Z] ---> Running in f8768cc95271 [2021-05-06T23:02:23.011Z] Removing intermediate container f8768cc95271 [2021-05-06T23:02:23.011Z] ---> 63f89404e7f6 [2021-05-06T23:02:23.011Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T23:02:23.011Z] ---> Running in 550181876a12 [2021-05-06T23:02:23.990Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T23:02:25.421Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T23:02:26.028Z] OK: 138 MiB in 40 packages [2021-05-06T23:02:27.469Z] Removing intermediate container 550181876a12 [2021-05-06T23:02:27.469Z] ---> 890b58289591 [2021-05-06T23:02:27.469Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2021-05-06T23:02:27.745Z] ---> Running in 0c689771ea7e [2021-05-06T23:02:28.022Z] Removing intermediate container 0c689771ea7e [2021-05-06T23:02:28.022Z] ---> b3ca61e8fc15 [2021-05-06T23:02:28.022Z] Step 9/26 : COPY go.mod . [2021-05-06T23:02:29.010Z] ---> a5dd64a2b6b8 [2021-05-06T23:02:29.010Z] Step 10/26 : COPY Makefile . [2021-05-06T23:02:29.611Z] ---> f50c2e3967db [2021-05-06T23:02:29.611Z] Step 11/26 : RUN make update [2021-05-06T23:02:29.888Z] ---> Running in 8fedb1a4f415 [2021-05-06T23:02:31.327Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-06T23:02:32.313Z] Removing intermediate container 8fedb1a4f415 [2021-05-06T23:02:32.313Z] ---> 3c440aff7eca [2021-05-06T23:02:32.313Z] Step 12/26 : COPY . . [2021-05-06T23:02:33.802Z] ---> 544826aef3b8 [2021-05-06T23:02:33.802Z] Step 13/26 : RUN ${MAKE} [2021-05-06T23:02:33.802Z] ---> Running in c009e8511b02 [2021-05-06T23:02:34.784Z] 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-05-06T23:03:07.762Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-05-06T23:03:12.052Z] Removing intermediate container c009e8511b02 [2021-05-06T23:03:12.052Z] ---> f49832952d20 [2021-05-06T23:03:12.052Z] Step 14/26 : FROM alpine:3.12 [2021-05-06T23:03:12.052Z] 3.12: Pulling from library/alpine [2021-05-06T23:03:12.052Z] d2f70382dc9a: Pulling fs layer [2021-05-06T23:03:12.052Z] d2f70382dc9a: Verifying Checksum [2021-05-06T23:03:12.052Z] d2f70382dc9a: Download complete [2021-05-06T23:03:13.039Z] d2f70382dc9a: Pull complete [2021-05-06T23:03:13.039Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T23:03:13.039Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T23:03:13.039Z] ---> 9852663dfa18 [2021-05-06T23:03:13.039Z] Step 15/26 : ENV APP_PORT=49993 [2021-05-06T23:03:13.039Z] ---> Running in 853c38030d7c [2021-05-06T23:03:13.650Z] Removing intermediate container 853c38030d7c [2021-05-06T23:03:13.650Z] ---> fe205947e006 [2021-05-06T23:03:13.650Z] Step 16/26 : EXPOSE $APP_PORT [2021-05-06T23:03:13.650Z] ---> Running in 82049e73ae3d [2021-05-06T23:03:14.258Z] Removing intermediate container 82049e73ae3d [2021-05-06T23:03:14.258Z] ---> bd9b4e313cac [2021-05-06T23:03:14.258Z] Step 17/26 : ENV DEVICE_PORT=161 [2021-05-06T23:03:14.258Z] ---> Running in f98d1dfd78ca [2021-05-06T23:03:14.854Z] Removing intermediate container f98d1dfd78ca [2021-05-06T23:03:14.854Z] ---> 34d715708c0c [2021-05-06T23:03:14.854Z] Step 18/26 : EXPOSE $DEVICE_PORT [2021-05-06T23:03:14.854Z] ---> Running in d1f4d2fc72e5 [2021-05-06T23:03:15.453Z] Removing intermediate container d1f4d2fc72e5 [2021-05-06T23:03:15.453Z] ---> bc64c0f81b4e [2021-05-06T23:03:15.453Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2021-05-06T23:03:16.904Z] ---> 2230154cac5e [2021-05-06T23:03:16.904Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2021-05-06T23:03:17.506Z] ---> 29efd5a43f30 [2021-05-06T23:03:17.506Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2021-05-06T23:03:18.108Z] ---> 4903f8469169 [2021-05-06T23:03:18.108Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2021-05-06T23:03:18.386Z] ---> Running in 5e300f7415b0 [2021-05-06T23:03:18.663Z] Removing intermediate container 5e300f7415b0 [2021-05-06T23:03:18.663Z] ---> c98ecd61ac70 [2021-05-06T23:03:18.663Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-06T23:03:18.939Z] ---> Running in dcd10be7a17c [2021-05-06T23:03:19.536Z] Removing intermediate container dcd10be7a17c [2021-05-06T23:03:19.536Z] ---> 090d351c8cbc [2021-05-06T23:03:19.536Z] Step 24/26 : LABEL arch=arm64 [2021-05-06T23:03:19.536Z] ---> Running in d284f3f056a7 [2021-05-06T23:03:20.135Z] Removing intermediate container d284f3f056a7 [2021-05-06T23:03:20.135Z] ---> 10727962fca7 [2021-05-06T23:03:20.135Z] Step 25/26 : LABEL git_sha=639fbe648df8d0645ee70e73f5df652462515f5f [2021-05-06T23:03:20.135Z] ---> Running in 2639511f77be [2021-05-06T23:03:20.736Z] Removing intermediate container 2639511f77be [2021-05-06T23:03:20.736Z] ---> 9c680c979a23 [2021-05-06T23:03:20.736Z] Step 26/26 : LABEL version=0.0.0 [2021-05-06T23:03:20.736Z] ---> Running in 4914e63819d9 [2021-05-06T23:03:21.335Z] Removing intermediate container 4914e63819d9 [2021-05-06T23:03:21.335Z] ---> 097a5914c56b [2021-05-06T23:03:21.335Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-06T23:03:21.335Z] Successfully built 097a5914c56b [2021-05-06T23:03:21.335Z] 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-05-06T23:03:22.063Z] ---> job-cost.sh [2021-05-06T23:03:22.063Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FGhw [2021-05-06T23:04:18.619Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T23:06:25.464Z] lf-activate-venv(): INFO: Adding /tmp/venv-FGhw/bin to PATH [2021-05-06T23:06:25.464Z] INFO: No Stack... [2021-05-06T23:06:25.464Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T23:06:25.464Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T23:06:25.837Z] + cut -d, -f6 [2021-05-06T23:06:25.837Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-05-06T23:06:25.993Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-92-1-stack-cost] [2021-05-06T23:06:26.001Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-92-1-stack-cost] did not exist. Created. [2021-05-06T23:06:26.001Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-92-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T23:06:26.469Z] /w/workspace/device-snmp-go/1@tmp/durable-8c7c7a21/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-8c7c7a21/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T23:06:26.865Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T23:06:26.909Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T23:06:27.075Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T23:06:27.098Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-92-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-05-06T23:06:28.007Z] provisioning config files... [2021-05-06T23:06:28.018Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-92@tmp/config8585269727248548545tmp [Pipeline] { [Pipeline] sh [2021-05-06T23:06:28.478Z] + set +x [2021-05-06T23:06:28.478Z] + curl -s https://codecov.io/bash [2021-05-06T23:06:28.478Z] + bash -s -- [2021-05-06T23:06:28.478Z] [2021-05-06T23:06:28.478Z] _____ _ [2021-05-06T23:06:28.478Z] / ____| | | [2021-05-06T23:06:28.478Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T23:06:28.478Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T23:06:28.478Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T23:06:28.478Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T23:06:28.478Z] Bash-1.0.2 [2021-05-06T23:06:28.478Z] [2021-05-06T23:06:28.478Z] [2021-05-06T23:06:28.478Z] ==> git version 2.24.3 found [2021-05-06T23:06:28.478Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-06T23:06:28.478Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T23:06:28.478Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T23:06:28.478Z] ==> Jenkins CI detected. [2021-05-06T23:06:28.478Z] project root: . [2021-05-06T23:06:28.478Z] --> token set from env [2021-05-06T23:06:28.757Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T23:06:28.757Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T23:06:28.757Z] ==> Python coveragepy not found [2021-05-06T23:06:28.757Z] ==> Searching for coverage reports in: [2021-05-06T23:06:28.757Z] + . [2021-05-06T23:06:28.757Z] -> Found 1 reports [2021-05-06T23:06:28.757Z] ==> Detecting git/mercurial file structure [2021-05-06T23:06:28.757Z] ==> Reading reports [2021-05-06T23:06:28.757Z] + ./coverage.out bytes=8493 [2021-05-06T23:06:28.757Z] ==> Appending adjustments [2021-05-06T23:06:28.757Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T23:06:28.757Z] + Found adjustments [2021-05-06T23:06:28.757Z] ==> Gzipping contents [2021-05-06T23:06:28.757Z] 4.0K /tmp/codecov.SW2lFm.gz [2021-05-06T23:06:28.757Z] ==> Uploading reports [2021-05-06T23:06:28.757Z] url: https://codecov.io [2021-05-06T23:06:28.757Z] query: branch=PR-92&commit=639fbe648df8d0645ee70e73f5df652462515f5f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-92%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=92&job=&cmd_args= [2021-05-06T23:06:28.757Z] -> Pinging Codecov [2021-05-06T23:06:28.757Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-92&commit=639fbe648df8d0645ee70e73f5df652462515f5f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-92%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=92&job=&cmd_args= [2021-05-06T23:06:29.341Z] -> Uploading to [2021-05-06T23:06:29.342Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/6C56EA5C29638FB4528AC87E60AF5AE0/639fbe648df8d0645ee70e73f5df652462515f5f/27f9dd79-af54-4905-a532-f288e9db588b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T230629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=241f1b4055efa78710bf54747208c58d46bbfbabf3071f2ede6b0155f29f4766 [2021-05-06T23:06:29.342Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T23:06:29.342Z] Dload Upload Total Spent Left Speed [2021-05-06T23:06:29.867Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 3177 --:--:-- --:--:-- --:--:-- 3173 [2021-05-06T23:06:29.867Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/639fbe648df8d0645ee70e73f5df652462515f5f [Pipeline] } [2021-05-06T23:06:29.957Z] 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-05-06T23:06:31.925Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:06:32.546Z] ---> package-listing.sh [2021-05-06T23:06:32.546Z] ++ facter osfamily [2021-05-06T23:06:32.546Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T23:06:32.546Z] + OS_FAMILY=redhat [2021-05-06T23:06:32.546Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-92 [2021-05-06T23:06:32.546Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T23:06:32.546Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T23:06:32.546Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T23:06:32.546Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T23:06:32.546Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-92 ']' [2021-05-06T23:06:32.546Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T23:06:32.546Z] + case "${OS_FAMILY}" in [2021-05-06T23:06:32.546Z] + rpm -qa [2021-05-06T23:06:32.546Z] + sort [2021-05-06T23:06:37.856Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T23:06:37.856Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T23:06:37.856Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T23:06:37.856Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-92 ']' [2021-05-06T23:06:37.856Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-92/archives/ [2021-05-06T23:06:37.856Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-92/archives/ [Pipeline] echo [2021-05-06T23:06:37.893Z] 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-92/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T23:06:38.207Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:06:38.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T23:06:38.546Z] [2021-05-06T23:06:38.546Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:06:38.908Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T23:06:38.908Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T23:06:38.908Z] df20fa9351a1: Pulling fs layer [2021-05-06T23:06:38.908Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T23:06:38.908Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T23:06:38.908Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T23:06:38.908Z] 93b61091891f: Pulling fs layer [2021-05-06T23:06:38.908Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T23:06:38.908Z] 5e14af77c1be: Pulling fs layer [2021-05-06T23:06:38.908Z] 01666e4c0597: Pulling fs layer [2021-05-06T23:06:38.908Z] aa168da1d23b: Pulling fs layer [2021-05-06T23:06:38.908Z] 46f8f816bc3b: Waiting [2021-05-06T23:06:38.908Z] 93b61091891f: Waiting [2021-05-06T23:06:38.908Z] 93b9cdb0e59b: Waiting [2021-05-06T23:06:38.908Z] 5e14af77c1be: Waiting [2021-05-06T23:06:38.908Z] 01666e4c0597: Waiting [2021-05-06T23:06:38.908Z] aa168da1d23b: Waiting [2021-05-06T23:06:38.908Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T23:06:38.908Z] 36b3adc4ff6f: Download complete [2021-05-06T23:06:38.908Z] 46f8f816bc3b: Download complete [2021-05-06T23:06:39.176Z] df20fa9351a1: Verifying Checksum [2021-05-06T23:06:39.176Z] df20fa9351a1: Download complete [2021-05-06T23:06:39.176Z] 93b9cdb0e59b: Download complete [2021-05-06T23:06:39.176Z] 5e14af77c1be: Verifying Checksum [2021-05-06T23:06:39.176Z] 5e14af77c1be: Download complete [2021-05-06T23:06:39.176Z] 93b61091891f: Download complete [2021-05-06T23:06:39.176Z] 01666e4c0597: Verifying Checksum [2021-05-06T23:06:39.176Z] 01666e4c0597: Download complete [2021-05-06T23:06:39.176Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T23:06:39.176Z] 8ad3a11d3b57: Download complete [2021-05-06T23:06:39.450Z] df20fa9351a1: Pull complete [2021-05-06T23:06:39.718Z] 36b3adc4ff6f: Pull complete [2021-05-06T23:06:40.680Z] 8ad3a11d3b57: Pull complete [2021-05-06T23:06:40.949Z] 46f8f816bc3b: Pull complete [2021-05-06T23:06:41.227Z] aa168da1d23b: Verifying Checksum [2021-05-06T23:06:41.227Z] aa168da1d23b: Download complete [2021-05-06T23:06:41.492Z] 93b61091891f: Pull complete [2021-05-06T23:06:41.754Z] 93b9cdb0e59b: Pull complete [2021-05-06T23:06:41.754Z] 5e14af77c1be: Pull complete [2021-05-06T23:06:42.020Z] 01666e4c0597: Pull complete [2021-05-06T23:06:50.202Z] aa168da1d23b: Pull complete [2021-05-06T23:06:50.202Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T23:06:50.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T23:06:50.202Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T23:06:50.389Z] prd-centos7-docker-4c-2g-3364 does not seem to be running inside a container [2021-05-06T23:06:50.439Z] $ 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-92/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-92 -v /w/workspace/dgexfoundry_device-snmp-go_PR-92:/w/workspace/dgexfoundry_device-snmp-go_PR-92:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-92@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-92@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T23:06:53.448Z] $ docker top 12fafaff78fa522990a28680b731598774cd58e0d588c08a764aeccb93834d43 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T23:06:53.997Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T23:06:54.324Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T23:06:54.647Z] + ls /var/log/sa-host [2021-05-06T23:06:54.647Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T23:06:54.647Z] file_magic: OK [2021-05-06T23:06:54.647Z] HZ: Using current value: 100 [2021-05-06T23:06:54.647Z] file_header: OK [2021-05-06T23:06:54.647Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-06T23:06:54.647Z] Statistics: [2021-05-06T23:06:54.647Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T23:06:54.647Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T23:06:54.647Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T23:06:54.647Z] file_magic: OK [2021-05-06T23:06:54.647Z] HZ: Using current value: 100 [2021-05-06T23:06:54.647Z] file_header: OK [2021-05-06T23:06:54.647Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-06T23:06:54.647Z] Statistics: [2021-05-06T23:06:54.647Z] Hnuu...uuuununununu... [2021-05-06T23:06:54.647Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T23:06:54.901Z] provisioning config files... [2021-05-06T23:06:54.921Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-92@tmp/config8018370957197356786tmp [Pipeline] { [Pipeline] echo [2021-05-06T23:06:54.983Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:06:55.322Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T23:06:55.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T23:06:55.431Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:06:55.782Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T23:06:55.817Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:06:56.157Z] ---> sudo-logs.sh [2021-05-06T23:06:56.157Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T23:06:56.247Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:06:56.587Z] ---> job-cost.sh [2021-05-06T23:06:56.587Z] lf-activate-venv: SKIPPING [2021-05-06T23:06:56.587Z] DEBUG: total: 0.20999999344348907 [2021-05-06T23:06:56.587Z] INFO: Retrieving Stack Cost... [2021-05-06T23:06:57.980Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T23:06:58.561Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T23:06:58.606Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:06:58.958Z] ---> logs-deploy.sh [2021-05-06T23:06:58.958Z] lf-activate-venv: SKIPPING [2021-05-06T23:06:58.958Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-92/1 [2021-05-06T23:06:58.958Z] INFO: archiving workspace using pattern(s): [2021-05-06T23:07:00.890Z] Archives upload complete. [2021-05-06T23:07:00.890Z] INFO: archiving logs to Nexus [2021-05-06T23:07:01.840Z] ---> uname -a: [2021-05-06T23:07:01.840Z] Linux prd-centos7-docker-4c-2g-3364.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-06T23:07:01.840Z] [2021-05-06T23:07:01.840Z] [2021-05-06T23:07:01.840Z] ---> lscpu: [2021-05-06T23:07:01.840Z] Architecture: x86_64 [2021-05-06T23:07:01.840Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-06T23:07:01.840Z] Byte Order: Little Endian [2021-05-06T23:07:01.840Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-06T23:07:01.840Z] CPU(s): 4 [2021-05-06T23:07:01.840Z] On-line CPU(s) list: 0-3 [2021-05-06T23:07:01.840Z] Thread(s) per core: 1 [2021-05-06T23:07:01.840Z] Core(s) per socket: 1 [2021-05-06T23:07:01.840Z] Socket(s): 4 [2021-05-06T23:07:01.840Z] NUMA node(s): 1 [2021-05-06T23:07:01.840Z] Vendor ID: GenuineIntel [2021-05-06T23:07:01.840Z] CPU family: 6 [2021-05-06T23:07:01.840Z] Model: 44 [2021-05-06T23:07:01.840Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-06T23:07:01.840Z] Stepping: 1 [2021-05-06T23:07:01.840Z] CPU MHz: 2933.438 [2021-05-06T23:07:01.840Z] BogoMIPS: 5866.87 [2021-05-06T23:07:01.840Z] Virtualization: VT-x [2021-05-06T23:07:01.840Z] Hypervisor vendor: KVM [2021-05-06T23:07:01.840Z] Virtualization type: full [2021-05-06T23:07:01.840Z] L1d cache: 128 KiB [2021-05-06T23:07:01.840Z] L1i cache: 128 KiB [2021-05-06T23:07:01.840Z] L2 cache: 16 MiB [2021-05-06T23:07:01.840Z] L3 cache: 64 MiB [2021-05-06T23:07:01.840Z] NUMA node0 CPU(s): 0-3 [2021-05-06T23:07:01.840Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-06T23:07:01.840Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-06T23:07:01.840Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-06T23:07:01.840Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-06T23:07:01.840Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-06T23:07:01.840Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-06T23:07:01.840Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-06T23:07:01.840Z] Vulnerability Srbds: Not affected [2021-05-06T23:07:01.840Z] Vulnerability Tsx async abort: Not affected [2021-05-06T23:07:01.840Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-05-06T23:07:01.840Z] [2021-05-06T23:07:01.840Z] [2021-05-06T23:07:01.840Z] ---> nproc: [2021-05-06T23:07:01.840Z] 4 [2021-05-06T23:07:01.840Z] [2021-05-06T23:07:01.840Z] [2021-05-06T23:07:01.840Z] ---> df -h: [2021-05-06T23:07:01.840Z] Filesystem Size Used Available Use% Mounted on [2021-05-06T23:07:01.840Z] overlay 50.0G 6.9G 43.1G 14% / [2021-05-06T23:07:01.840Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-06T23:07:01.840Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-05-06T23:07:01.840Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-06T23:07:01.840Z] /dev/vda1 50.0G 6.9G 43.1G 14% /facter-os [2021-05-06T23:07:01.840Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/resolv.conf [2021-05-06T23:07:01.840Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hostname [2021-05-06T23:07:01.840Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hosts [2021-05-06T23:07:01.840Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/auth.log [2021-05-06T23:07:01.840Z] /dev/vda1 50.0G 6.9G 43.1G 14% /run/cloud-init/result.json [2021-05-06T23:07:01.840Z] /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-snmp-go_PR-92 [2021-05-06T23:07:01.840Z] /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-snmp-go_PR-92@tmp [2021-05-06T23:07:01.840Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/sa-host [2021-05-06T23:07:01.840Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/secure [2021-05-06T23:07:01.840Z] [2021-05-06T23:07:01.840Z] [2021-05-06T23:07:01.840Z] ---> free -m: [2021-05-06T23:07:01.840Z] total used free shared buff/cache available [2021-05-06T23:07:01.840Z] Mem: 1837 714 100 0 1023 1018 [2021-05-06T23:07:01.840Z] Swap: 1023 1 1022 [2021-05-06T23:07:01.840Z] [2021-05-06T23:07:01.840Z]