Pull request #93 updated 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 hahattan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed+0ab86073b0269e161c45419c6956d6e22a89cd28 (7b3b01135fef5bc12ecf8ac5dc83df371498c0f7) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4307 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [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-93 # 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 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed Merge succeeded, producing 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed Checking out Revision 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed (PR-93) > 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/93/head:refs/remotes/origin/PR-93 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed # 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 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed # timeout=10 Commit message: "build: update build files for v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T03:07:49.792Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T03:07:49.902Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T03:07:49.940Z] ========================================================= [2021-05-11T03:07:49.940Z] EdgeX Global Pipelines Version Info [2021-05-11T03:07:49.940Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 143164d98a383c63759ddaa63adc3b98c6739614 # timeout=10 [2021-05-11T03:07:51.457Z] ------------------- [2021-05-11T03:07:51.457Z] stable info: [2021-05-11T03:07:51.457Z] ------------------- [2021-05-11T03:07:51.457Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T03:07:51.457Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-11T03:07:51.457Z] Message: update stable to v1.0.191 [2021-05-11T03:07:52.407Z] ------------------- [2021-05-11T03:07:52.407Z] experimental info: [2021-05-11T03:07:52.407Z] ------------------- [2021-05-11T03:07:52.407Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T03:07:52.407Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T03:07:52.407Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T03:07:52.547Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-11T03:07:52.573Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-11T03:07:52.595Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T03:07:52.619Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T03:07:52.643Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T03:07:52.665Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T03:07:52.688Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T03:07:52.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T03:07:52.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-11T03:07:52.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T03:07:52.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T03:07:52.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2021-05-11T03:07:52.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T03:07:52.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T03:07:52.908Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T03:07:52.933Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T03:07:52.957Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T03:07:52.986Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T03:07:53.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T03:07:53.037Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T03:07:53.089Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-11T03:07:53.137Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-11T03:07:53.161Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T03:07:53.184Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T03:07:53.207Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T03:07:53.230Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T03:07:53.253Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-93 [Pipeline] echo [2021-05-11T03:07:53.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-93 [Pipeline] echo [2021-05-11T03:07:53.300Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-93 [Pipeline] echo [2021-05-11T03:07:53.324Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed [Pipeline] echo [2021-05-11T03:07:53.348Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 922f1fb [Pipeline] echo [2021-05-11T03:07:53.372Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T03:07:53.448Z] provisioning config files... [2021-05-11T03:07:53.497Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config4192055159372126065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T03:07:53.820Z] ---> docker-login.sh [2021-05-11T03:07:53.820Z] nexus3.edgexfoundry.org:10001 [2021-05-11T03:07:54.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:07:54.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:07:54.346Z] Configure a credential helper to remove this warning. See [2021-05-11T03:07:54.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:07:54.346Z] [2021-05-11T03:07:54.346Z] Login Succeeded [2021-05-11T03:07:54.346Z] nexus3.edgexfoundry.org:10002 [2021-05-11T03:07:54.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:07:54.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:07:54.346Z] Configure a credential helper to remove this warning. See [2021-05-11T03:07:54.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:07:54.346Z] [2021-05-11T03:07:54.346Z] Login Succeeded [2021-05-11T03:07:54.346Z] nexus3.edgexfoundry.org:10003 [2021-05-11T03:07:54.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:07:54.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:07:54.608Z] Configure a credential helper to remove this warning. See [2021-05-11T03:07:54.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:07:54.608Z] [2021-05-11T03:07:54.608Z] Login Succeeded [2021-05-11T03:07:54.608Z] nexus3.edgexfoundry.org:10004 [2021-05-11T03:07:54.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:07:54.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:07:54.871Z] Configure a credential helper to remove this warning. See [2021-05-11T03:07:54.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:07:54.871Z] [2021-05-11T03:07:54.871Z] Login Succeeded [2021-05-11T03:07:54.871Z] docker.io [2021-05-11T03:07:54.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:07:55.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:07:55.134Z] Configure a credential helper to remove this warning. See [2021-05-11T03:07:55.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:07:55.134Z] [2021-05-11T03:07:55.134Z] Login Succeeded [2021-05-11T03:07:55.134Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T03:07:55.144Z] 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-11T03:07:55.598Z] + git log --format=format:%s -1 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed [Pipeline] echo [2021-05-11T03:07:55.687Z] GIT_COMMIT: 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed, Commit Message: build: update build files for v2 [Pipeline] echo [2021-05-11T03:07:55.703Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T03:07:56.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T03:07:56.671Z] [2021-05-11T03:07:56.671Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T03:07:56.990Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T03:07:56.990Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T03:07:56.990Z] 31603596830f: Pulling fs layer [2021-05-11T03:07:56.990Z] 54011a49482f: Pulling fs layer [2021-05-11T03:07:56.990Z] a6820b24f6d8: Pulling fs layer [2021-05-11T03:07:56.991Z] f581987b2513: Pulling fs layer [2021-05-11T03:07:56.991Z] f581987b2513: Waiting [2021-05-11T03:07:56.991Z] 54011a49482f: Verifying Checksum [2021-05-11T03:07:56.991Z] 54011a49482f: Download complete [2021-05-11T03:07:56.991Z] 31603596830f: Verifying Checksum [2021-05-11T03:07:56.991Z] 31603596830f: Download complete [2021-05-11T03:07:57.261Z] f581987b2513: Verifying Checksum [2021-05-11T03:07:57.261Z] f581987b2513: Download complete [2021-05-11T03:07:57.261Z] a6820b24f6d8: Download complete [2021-05-11T03:07:57.527Z] 31603596830f: Pull complete [2021-05-11T03:07:57.527Z] 54011a49482f: Pull complete [2021-05-11T03:07:58.484Z] a6820b24f6d8: Pull complete [2021-05-11T03:07:58.747Z] f581987b2513: Pull complete [2021-05-11T03:07:58.747Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T03:07:58.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T03:07:58.747Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T03:07:58.847Z] prd-centos7-docker-4c-2g-4307 does not seem to be running inside a container [2021-05-11T03:07:58.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-93 -v /w/workspace/dgexfoundry_device-snmp-go_PR-93:/w/workspace/dgexfoundry_device-snmp-go_PR-93:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-93@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:10004/edgex-devops/git-semver:latest cat [2021-05-11T03:08:00.958Z] $ docker top 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T03:08:01.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T03:08:01.111Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T03:08:01.342Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T03:08:01.347Z] $ docker exec 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 ssh-agent [2021-05-11T03:08:01.561Z] SSH_AUTH_SOCK=/tmp/ssh-oTcXTN9k8s5E/agent.11 [2021-05-11T03:08:01.561Z] SSH_AGENT_PID=17 [2021-05-11T03:08:01.572Z] Running ssh-add (command line suppressed) [2021-05-11T03:08:01.695Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_2209069652427301823.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_2209069652427301823.key) [2021-05-11T03:08:01.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T03:08:02.080Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T03:08:02.108Z] $ docker exec --env ******** --env ******** 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 ssh-agent -k [2021-05-11T03:08:02.227Z] unset SSH_AUTH_SOCK; [2021-05-11T03:08:02.228Z] unset SSH_AGENT_PID; [2021-05-11T03:08:02.228Z] echo Agent pid 17 killed; [2021-05-11T03:08:02.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T03:08:02.321Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T03:08:02.321Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T03:08:02.488Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T03:08:02.494Z] $ docker exec 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 ssh-agent [2021-05-11T03:08:02.662Z] SSH_AUTH_SOCK=/tmp/ssh-i8JWL0KTN1DY/agent.45 [2021-05-11T03:08:02.662Z] SSH_AGENT_PID=51 [2021-05-11T03:08:02.672Z] Running ssh-add (command line suppressed) [2021-05-11T03:08:02.788Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_839001265445063324.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_839001265445063324.key) [2021-05-11T03:08:02.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T03:08:03.145Z] + git semver init [2021-05-11T03:08:03.146Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T03:08:03.146Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.git [2021-05-11T03:08:03.146Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-93 [2021-05-11T03:08:03.146Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T03:08:03.146Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T03:08:03.146Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T03:08:03.146Z] # $SEMVER_BRANCH = PR-93 [2021-05-11T03:08:03.146Z] # $SEMVER_TEMP = /tmp/semver-522969943 [2021-05-11T03:08:03.146Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-11T03:08:04.539Z] # '/tmp/semver-522969943' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver' [2021-05-11T03:08:04.539Z] # -> Force: false [2021-05-11T03:08:04.539Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver [Pipeline] } [2021-05-11T03:08:04.554Z] $ docker exec --env ******** --env ******** 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 ssh-agent -k [2021-05-11T03:08:04.683Z] unset SSH_AUTH_SOCK; [2021-05-11T03:08:04.686Z] unset SSH_AGENT_PID; [2021-05-11T03:08:04.686Z] echo Agent pid 51 killed; [2021-05-11T03:08:04.735Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T03:08:05.070Z] + git semver [Pipeline] } [2021-05-11T03:08:05.088Z] $ docker stop --time=1 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 [2021-05-11T03:08:06.449Z] $ docker rm -f 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T03:08:06.856Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T03:08:07.165Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T03:08:07.169Z] [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-11T03:08:22.358Z] Still waiting to schedule task [2021-05-11T03:08:22.358Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4307’ [2021-05-11T03:08:22.362Z] Still waiting to schedule task [2021-05-11T03:08:22.363Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-11T03:10:01.078Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4308 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws [2021-05-11T03:10:01.101Z] Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout [2021-05-11T03:10:07.016Z] using credential edgex-jenkins-ssh [2021-05-11T03:10:07.036Z] Cloning the remote Git repository [2021-05-11T03:10:07.104Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-11T03:10:07.227Z] > git init /w/workspace/device-snmp-go/3 # timeout=10 [2021-05-11T03:10:07.303Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-11T03:10:07.304Z] > git --version # timeout=10 [2021-05-11T03:10:07.320Z] > git --version # 'git version 2.17.1' [2021-05-11T03:10:07.322Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T03:10:07.419Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T03:10:08.286Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-11T03:10:08.302Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T03:10:08.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-11T03:10:08.374Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-11T03:10:08.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T03:10:08.387Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T03:10:08.936Z] Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed [2021-05-11T03:10:09.156Z] Merge succeeded, producing 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed [2021-05-11T03:10:09.157Z] Checking out Revision 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed (PR-93) [2021-05-11T03:10:08.957Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T03:10:08.985Z] > git checkout -f 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed # timeout=10 [2021-05-11T03:10:09.066Z] > git remote # timeout=10 [2021-05-11T03:10:09.082Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T03:10:09.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T03:10:09.108Z] > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 [2021-05-11T03:10:09.133Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T03:10:09.164Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T03:10:09.179Z] > git checkout -f 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed # timeout=10 [2021-05-11T03:10:13.378Z] Commit message: "build: update build files for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T03:10:14.988Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T03:10:15.409Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T03:10:15.747Z] + sudo service docker restart [2021-05-11T03:10:15.747Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T03:10:17.766Z] provisioning config files... [2021-05-11T03:10:17.821Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config3738406099350341254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T03:10:18.221Z] ---> docker-login.sh [2021-05-11T03:10:18.221Z] nexus3.edgexfoundry.org:10001 [2021-05-11T03:10:19.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:10:19.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:10:19.499Z] Configure a credential helper to remove this warning. See [2021-05-11T03:10:19.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:10:19.499Z] [2021-05-11T03:10:19.499Z] Login Succeeded [2021-05-11T03:10:19.499Z] nexus3.edgexfoundry.org:10002 [2021-05-11T03:10:19.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:10:20.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:10:20.050Z] Configure a credential helper to remove this warning. See [2021-05-11T03:10:20.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:10:20.050Z] [2021-05-11T03:10:20.050Z] Login Succeeded [2021-05-11T03:10:20.050Z] nexus3.edgexfoundry.org:10003 [2021-05-11T03:10:20.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:10:20.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:10:20.597Z] Configure a credential helper to remove this warning. See [2021-05-11T03:10:20.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:10:20.597Z] [2021-05-11T03:10:20.597Z] Login Succeeded [2021-05-11T03:10:20.597Z] nexus3.edgexfoundry.org:10004 [2021-05-11T03:10:20.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:10:20.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:10:20.873Z] Configure a credential helper to remove this warning. See [2021-05-11T03:10:20.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:10:20.873Z] [2021-05-11T03:10:20.873Z] Login Succeeded [2021-05-11T03:10:21.146Z] docker.io [2021-05-11T03:10:21.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:10:21.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:10:21.693Z] Configure a credential helper to remove this warning. See [2021-05-11T03:10:21.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:10:21.693Z] [2021-05-11T03:10:21.693Z] Login Succeeded [2021-05-11T03:10:21.693Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T03:10:21.713Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T03:10:22.031Z] ========================================================= [2021-05-11T03:10:22.031Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T03:10:22.031Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T03:10:22.373Z] + 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-11T03:10:22.646Z] Sending build context to Docker daemon 378.9kB [2021-05-11T03:10:22.925Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T03:10:22.925Z] Step 2/10 : FROM ${BASE} [2021-05-11T03:10:22.925Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T03:10:22.925Z] 595b0fe564bb: Pulling fs layer [2021-05-11T03:10:22.925Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T03:10:22.925Z] 316046926c0a: Pulling fs layer [2021-05-11T03:10:22.925Z] 4ebd0625c992: Pulling fs layer [2021-05-11T03:10:22.925Z] 207e8628e3a3: Pulling fs layer [2021-05-11T03:10:22.925Z] c791037a9be2: Pulling fs layer [2021-05-11T03:10:22.925Z] ffd874e62e21: Pulling fs layer [2021-05-11T03:10:22.925Z] 4ebd0625c992: Waiting [2021-05-11T03:10:22.925Z] 207e8628e3a3: Waiting [2021-05-11T03:10:22.925Z] c791037a9be2: Waiting [2021-05-11T03:10:22.925Z] ffd874e62e21: Waiting [2021-05-11T03:10:22.925Z] 316046926c0a: Verifying Checksum [2021-05-11T03:10:22.925Z] 316046926c0a: Download complete [2021-05-11T03:10:22.925Z] 7186ed65a4f7: Download complete [2021-05-11T03:10:22.925Z] 207e8628e3a3: Verifying Checksum [2021-05-11T03:10:22.925Z] 207e8628e3a3: Download complete [2021-05-11T03:10:22.925Z] c791037a9be2: Verifying Checksum [2021-05-11T03:10:22.925Z] c791037a9be2: Download complete [2021-05-11T03:10:22.925Z] 595b0fe564bb: Verifying Checksum [2021-05-11T03:10:22.925Z] 595b0fe564bb: Download complete [2021-05-11T03:10:23.527Z] 595b0fe564bb: Pull complete [2021-05-11T03:10:24.130Z] 7186ed65a4f7: Pull complete [2021-05-11T03:10:24.733Z] 316046926c0a: Pull complete [2021-05-11T03:10:25.711Z] ffd874e62e21: Verifying Checksum [2021-05-11T03:10:25.711Z] ffd874e62e21: Download complete [2021-05-11T03:10:26.685Z] 4ebd0625c992: Verifying Checksum [2021-05-11T03:10:26.685Z] 4ebd0625c992: Download complete [2021-05-11T03:10:36.837Z] 4ebd0625c992: Pull complete [2021-05-11T03:10:36.837Z] 207e8628e3a3: Pull complete [2021-05-11T03:10:37.109Z] c791037a9be2: Pull complete [2021-05-11T03:10:41.418Z] ffd874e62e21: Pull complete [2021-05-11T03:10:41.418Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T03:10:41.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T03:10:41.418Z] ---> cfc18b08335c [2021-05-11T03:10:41.418Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T03:10:43.387Z] ---> Running in 4093ef67be2f [2021-05-11T03:10:43.666Z] Removing intermediate container 4093ef67be2f [2021-05-11T03:10:43.666Z] ---> 51006b99bcd1 [2021-05-11T03:10:43.666Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T03:10:43.941Z] ---> Running in 06b69e294b84 [2021-05-11T03:10:44.535Z] Removing intermediate container 06b69e294b84 [2021-05-11T03:10:44.535Z] ---> 569347e46e7a [2021-05-11T03:10:44.535Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-11T03:10:44.535Z] ---> Running in d39ffe93e342 [2021-05-11T03:10:45.128Z] Removing intermediate container d39ffe93e342 [2021-05-11T03:10:45.128Z] ---> 9ba3bdc68b09 [2021-05-11T03:10:45.128Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T03:10:45.128Z] ---> Running in e33861790a54 [2021-05-11T03:10:47.765Z] Removing intermediate container e33861790a54 [2021-05-11T03:10:47.765Z] ---> a4456fb475af [2021-05-11T03:10:47.765Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T03:10:47.765Z] ---> Running in d0c94712a68f [2021-05-11T03:10:48.743Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T03:10:52.111Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T03:10:56.386Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-11T03:10:56.655Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-11T03:10:57.250Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-11T03:10:57.250Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-11T03:10:57.518Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T03:10:58.121Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-11T03:10:58.398Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-11T03:10:59.669Z] Running on prd-centos7-docker-4c-2g-4309 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws [2021-05-11T03:10:59.690Z] Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout [2021-05-11T03:11:01.007Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-11T03:11:01.008Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-11T03:11:01.277Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-11T03:11:01.874Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-11T03:11:02.262Z] using credential edgex-jenkins-ssh [2021-05-11T03:11:02.276Z] Cloning the remote Git repository [2021-05-11T03:11:02.466Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-11T03:11:01.908Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-11T03:11:01.977Z] > git init /w/workspace/device-snmp-go/3 # timeout=10 [2021-05-11T03:11:02.050Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-11T03:11:02.051Z] > git --version # timeout=10 [2021-05-11T03:11:02.057Z] > git --version # 'git version 2.24.3' [2021-05-11T03:11:02.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T03:11:02.088Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T03:11:03.055Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-11T03:11:03.056Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T03:11:03.056Z] OK: 145 MiB in 53 packages [2021-05-11T03:11:03.554Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-11T03:11:03.560Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T03:11:03.572Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-11T03:11:03.586Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-11T03:11:03.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T03:11:03.591Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T03:11:04.325Z] Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed [2021-05-11T03:11:04.411Z] Merge succeeded, producing 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed [2021-05-11T03:11:04.411Z] Checking out Revision 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed (PR-93) [2021-05-11T03:11:04.492Z] Removing intermediate container d0c94712a68f [2021-05-11T03:11:04.492Z] ---> d358b1fc0fe0 [2021-05-11T03:11:04.492Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-11T03:11:04.492Z] ---> Running in b1256e4c65cf [2021-05-11T03:11:05.085Z] Removing intermediate container b1256e4c65cf [2021-05-11T03:11:05.085Z] ---> 92d590b1f2e6 [2021-05-11T03:11:05.085Z] Step 9/10 : COPY . . [2021-05-11T03:11:04.113Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T03:11:04.121Z] > git checkout -f 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed # timeout=10 [2021-05-11T03:11:04.162Z] > git remote # timeout=10 [2021-05-11T03:11:04.170Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T03:11:04.177Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T03:11:04.180Z] > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 [2021-05-11T03:11:04.190Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T03:11:04.200Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T03:11:04.209Z] > git checkout -f 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed # timeout=10 [2021-05-11T03:11:05.681Z] ---> f98edad47138 [2021-05-11T03:11:05.681Z] Step 10/10 : RUN go mod download [2021-05-11T03:11:05.958Z] ---> Running in 25f13f0dbb57 [2021-05-11T03:11:07.871Z] Commit message: "build: update build files for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T03:11:08.969Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T03:11:09.302Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T03:11:09.602Z] + sudo service docker restart [2021-05-11T03:11:09.602Z] + true [2021-05-11T03:11:09.602Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T03:11:10.590Z] provisioning config files... [2021-05-11T03:11:10.636Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config5501556683039155024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T03:11:10.956Z] ---> docker-login.sh [2021-05-11T03:11:10.956Z] nexus3.edgexfoundry.org:10001 [2021-05-11T03:11:11.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:11:11.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:11:11.221Z] Configure a credential helper to remove this warning. See [2021-05-11T03:11:11.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:11:11.221Z] [2021-05-11T03:11:11.221Z] Login Succeeded [2021-05-11T03:11:11.221Z] nexus3.edgexfoundry.org:10002 [2021-05-11T03:11:11.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:11:11.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:11:11.483Z] Configure a credential helper to remove this warning. See [2021-05-11T03:11:11.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:11:11.483Z] [2021-05-11T03:11:11.483Z] Login Succeeded [2021-05-11T03:11:11.483Z] nexus3.edgexfoundry.org:10003 [2021-05-11T03:11:11.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:11:11.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:11:11.746Z] Configure a credential helper to remove this warning. See [2021-05-11T03:11:11.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:11:11.746Z] [2021-05-11T03:11:11.746Z] Login Succeeded [2021-05-11T03:11:11.746Z] nexus3.edgexfoundry.org:10004 [2021-05-11T03:11:11.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:11:12.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:11:12.010Z] Configure a credential helper to remove this warning. See [2021-05-11T03:11:12.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:11:12.010Z] [2021-05-11T03:11:12.010Z] Login Succeeded [2021-05-11T03:11:12.010Z] docker.io [2021-05-11T03:11:12.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T03:11:12.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T03:11:12.274Z] Configure a credential helper to remove this warning. See [2021-05-11T03:11:12.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T03:11:12.274Z] [2021-05-11T03:11:12.274Z] Login Succeeded [2021-05-11T03:11:12.274Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T03:11:12.284Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T03:11:12.457Z] ========================================================= [2021-05-11T03:11:12.457Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T03:11:12.457Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T03:11:12.764Z] + 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-11T03:11:12.764Z] Sending build context to Docker daemon 379.9kB [2021-05-11T03:11:12.764Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T03:11:12.764Z] Step 2/10 : FROM ${BASE} [2021-05-11T03:11:12.764Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T03:11:12.764Z] 540db60ca938: Pulling fs layer [2021-05-11T03:11:12.764Z] adcc1eea9eea: Pulling fs layer [2021-05-11T03:11:12.764Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T03:11:12.764Z] 0510c868ecb4: Pulling fs layer [2021-05-11T03:11:12.764Z] afea3b2eda06: Pulling fs layer [2021-05-11T03:11:12.764Z] 7809a108b3ef: Pulling fs layer [2021-05-11T03:11:12.764Z] f706445af74f: Pulling fs layer [2021-05-11T03:11:12.764Z] 0510c868ecb4: Waiting [2021-05-11T03:11:12.764Z] afea3b2eda06: Waiting [2021-05-11T03:11:12.764Z] 7809a108b3ef: Waiting [2021-05-11T03:11:12.764Z] f706445af74f: Waiting [2021-05-11T03:11:13.026Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T03:11:13.026Z] 4c4ab2625f07: Download complete [2021-05-11T03:11:13.026Z] adcc1eea9eea: Verifying Checksum [2021-05-11T03:11:13.026Z] adcc1eea9eea: Download complete [2021-05-11T03:11:13.026Z] afea3b2eda06: Download complete [2021-05-11T03:11:13.026Z] 540db60ca938: Verifying Checksum [2021-05-11T03:11:13.026Z] 540db60ca938: Download complete [2021-05-11T03:11:13.026Z] 7809a108b3ef: Verifying Checksum [2021-05-11T03:11:13.026Z] 7809a108b3ef: Download complete [2021-05-11T03:11:13.289Z] 540db60ca938: Pull complete [2021-05-11T03:11:13.550Z] adcc1eea9eea: Pull complete [2021-05-11T03:11:13.550Z] 4c4ab2625f07: Pull complete [2021-05-11T03:11:14.505Z] f706445af74f: Verifying Checksum [2021-05-11T03:11:14.505Z] f706445af74f: Download complete [2021-05-11T03:11:15.470Z] 0510c868ecb4: Download complete [2021-05-11T03:11:20.831Z] 0510c868ecb4: Pull complete [2021-05-11T03:11:20.831Z] afea3b2eda06: Pull complete [2021-05-11T03:11:20.831Z] 7809a108b3ef: Pull complete [2021-05-11T03:11:29.023Z] f706445af74f: Pull complete [2021-05-11T03:11:29.023Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T03:11:29.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T03:11:29.023Z] ---> b068be0155e3 [2021-05-11T03:11:29.023Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T03:11:29.023Z] ---> Running in ac29cdf09669 [2021-05-11T03:11:29.023Z] Removing intermediate container ac29cdf09669 [2021-05-11T03:11:29.023Z] ---> 2ba2dd6b078c [2021-05-11T03:11:29.023Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T03:11:29.023Z] ---> Running in bb89d718064c [2021-05-11T03:11:29.023Z] Removing intermediate container bb89d718064c [2021-05-11T03:11:29.023Z] ---> e5ff4f450d8c [2021-05-11T03:11:29.023Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-11T03:11:29.023Z] ---> Running in a9fa73cbe5d3 [2021-05-11T03:11:29.023Z] Removing intermediate container a9fa73cbe5d3 [2021-05-11T03:11:29.023Z] ---> c93c31b3e893 [2021-05-11T03:11:29.023Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T03:11:29.023Z] ---> Running in 74bdc6ab82da [2021-05-11T03:11:30.419Z] Removing intermediate container 74bdc6ab82da [2021-05-11T03:11:30.419Z] ---> e1cbeab9afc5 [2021-05-11T03:11:30.419Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T03:11:30.419Z] ---> Running in ff9486ff2ccd [2021-05-11T03:11:31.366Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T03:11:32.760Z] Removing intermediate container 25f13f0dbb57 [2021-05-11T03:11:32.760Z] ---> b21066c043ed [2021-05-11T03:11:32.760Z] Successfully built b21066c043ed [2021-05-11T03:11:32.760Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T03:11:33.114Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T03:11:33.114Z] . [Pipeline] withDockerContainer [2021-05-11T03:11:33.287Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T03:11:33.383Z] prd-ubuntu18.04-docker-arm64-4c-16g-4308 does not seem to be running inside a container [2021-05-11T03:11:33.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T03:11:33.864Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-11T03:11:33.864Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-11T03:11:34.126Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-11T03:11:34.389Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-11T03:11:34.389Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T03:11:34.652Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-11T03:11:34.916Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-11T03:11:34.975Z] $ docker top 9b13011d113d3f3bb286c686cf9692508eea434234fa992ced42513bf682282d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T03:11:35.490Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-11T03:11:35.490Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-11T03:11:35.751Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-11T03:11:35.868Z] + go version [2021-05-11T03:11:35.868Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T03:11:35.921Z] $ docker stop --time=1 9b13011d113d3f3bb286c686cf9692508eea434234fa992ced42513bf682282d [2021-05-11T03:11:36.013Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-11T03:11:36.276Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-11T03:11:36.276Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-11T03:11:36.538Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T03:11:36.538Z] OK: 156 MiB in 53 packages [2021-05-11T03:11:37.488Z] Removing intermediate container ff9486ff2ccd [2021-05-11T03:11:37.488Z] ---> 92f707d63bc3 [2021-05-11T03:11:37.488Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-11T03:11:37.488Z] ---> Running in ff1e2522d0b5 [2021-05-11T03:11:37.707Z] $ docker rm -f 9b13011d113d3f3bb286c686cf9692508eea434234fa992ced42513bf682282d [2021-05-11T03:11:37.752Z] Removing intermediate container ff1e2522d0b5 [2021-05-11T03:11:37.752Z] ---> 68521c834037 [2021-05-11T03:11:37.752Z] Step 9/10 : COPY . . [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T03:11:38.318Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T03:11:38.318Z] . [Pipeline] withDockerContainer [2021-05-11T03:11:38.576Z] prd-ubuntu18.04-docker-arm64-4c-16g-4308 does not seem to be running inside a container [2021-05-11T03:11:38.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T03:11:38.701Z] ---> 880c9a687feb [2021-05-11T03:11:38.701Z] Step 10/10 : RUN go mod download [2021-05-11T03:11:38.701Z] ---> Running in 6614aeba3f51 [2021-05-11T03:11:40.124Z] $ docker top 1ef2f134d8a0df50c1e725f26db9bed6021260d7029ea0b7c545e12eab1f830a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T03:11:41.052Z] + go mod tidy [Pipeline] sh [2021-05-11T03:11:42.333Z] + make test [2021-05-11T03:11:42.333Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-11T03:11:43.803Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-11T03:12:05.343Z] Removing intermediate container 6614aeba3f51 [2021-05-11T03:12:05.343Z] ---> 9f6fad263bf9 [2021-05-11T03:12:05.343Z] Successfully built 9f6fad263bf9 [2021-05-11T03:12:05.343Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T03:12:05.669Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T03:12:05.669Z] . [Pipeline] withDockerContainer [2021-05-11T03:12:05.784Z] prd-centos7-docker-4c-2g-4309 does not seem to be running inside a container [2021-05-11T03:12:05.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T03:12:06.900Z] $ docker top 936a0b201aed709f6ad71ec9e2fdfa9059884bdd2edeb30298555dfd76728032 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T03:12:07.377Z] + go version [2021-05-11T03:12:07.377Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T03:12:07.390Z] $ docker stop --time=1 936a0b201aed709f6ad71ec9e2fdfa9059884bdd2edeb30298555dfd76728032 [2021-05-11T03:12:08.811Z] $ docker rm -f 936a0b201aed709f6ad71ec9e2fdfa9059884bdd2edeb30298555dfd76728032 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T03:12:09.320Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T03:12:09.320Z] . [Pipeline] withDockerContainer [2021-05-11T03:12:09.414Z] prd-centos7-docker-4c-2g-4309 does not seem to be running inside a container [2021-05-11T03:12:09.456Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T03:12:10.293Z] $ docker top d559d26cb533b4c8a65243bbf0711e44639e89e91cfe667ff0861ea90f4d538f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T03:12:10.716Z] + go mod tidy [Pipeline] sh [2021-05-11T03:12:11.594Z] + make test [2021-05-11T03:12:11.594Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-11T03:12:12.641Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-11T03:12:31.089Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-11T03:12:31.089Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2021-05-11T03:12:31.089Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T03:12:37.786Z] gofmt -l . [2021-05-11T03:12:37.786Z] [ "`gofmt -l .`" = "" ] [2021-05-11T03:12:37.786Z] ./bin/test-attribution-txt.sh [2021-05-11T03:12:38.049Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T03:12:38.065Z] $ docker stop --time=1 d559d26cb533b4c8a65243bbf0711e44639e89e91cfe667ff0861ea90f4d538f [2021-05-11T03:12:39.820Z] $ docker rm -f d559d26cb533b4c8a65243bbf0711e44639e89e91cfe667ff0861ea90f4d538f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T03:12:40.354Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T03:12:40.401Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-11T03:12:40.401Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.025s coverage: 0.0% of statements [2021-05-11T03:12:40.401Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T03:12:40.755Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-11T03:12:43.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T03:12:43.502Z] + ls -al . [2021-05-11T03:12:43.502Z] total 108 [2021-05-11T03:12:43.502Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 11 03:12 . [2021-05-11T03:12:43.502Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 03:11 .. [2021-05-11T03:12:43.502Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 11 03:11 Attribution.txt [2021-05-11T03:12:43.502Z] drwxrwxr-x. 2 jenkins jenkins 87 May 11 03:11 bin [2021-05-11T03:12:43.502Z] drwxrwxr-x. 3 jenkins jenkins 32 May 11 03:11 cmd [2021-05-11T03:12:43.502Z] -rw-r--r--. 1 jenkins jenkins 8663 May 11 03:12 coverage.out [2021-05-11T03:12:43.502Z] -rw-rw-r--. 1 jenkins jenkins 1446 May 11 03:11 Dockerfile [2021-05-11T03:12:43.502Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 11 03:11 Dockerfile.build [2021-05-11T03:12:43.502Z] -rw-rw-r--. 1 jenkins jenkins 6 May 11 03:11 .dockerignore [2021-05-11T03:12:43.502Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 03:11 .git [2021-05-11T03:12:43.502Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 03:11 .github [2021-05-11T03:12:43.502Z] -rw-rw-r--. 1 jenkins jenkins 272 May 11 03:11 .gitignore [2021-05-11T03:12:43.502Z] -rw-r--r--. 1 jenkins jenkins 222 May 11 03:12 go.mod [2021-05-11T03:12:43.502Z] -rw-r--r--. 1 jenkins jenkins 21272 May 11 03:12 go.sum [2021-05-11T03:12:43.502Z] drwxrwxr-x. 3 jenkins jenkins 20 May 11 03:11 internal [2021-05-11T03:12:43.502Z] -rw-rw-r--. 1 jenkins jenkins 656 May 11 03:11 Jenkinsfile [2021-05-11T03:12:43.502Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 11 03:11 LICENSE [2021-05-11T03:12:43.502Z] -rw-rw-r--. 1 jenkins jenkins 965 May 11 03:11 Makefile [2021-05-11T03:12:43.502Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 11 03:11 README.md [2021-05-11T03:12:43.502Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 03:08 VERSION [2021-05-11T03:12:43.502Z] -rw-rw-r--. 1 jenkins jenkins 209 May 11 03:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T03:12:43.812Z] + 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=922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed --label arch=amd64 --label version=0.0.0 . [2021-05-11T03:12:43.812Z] Sending build context to Docker daemon 389.1kB [2021-05-11T03:12:44.076Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T03:12:44.076Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T03:12:44.076Z] ---> 9f6fad263bf9 [2021-05-11T03:12:44.076Z] Step 3/23 : ARG MAKE='make build' [2021-05-11T03:12:44.339Z] ---> Running in 7002553b32f7 [2021-05-11T03:12:44.339Z] Removing intermediate container 7002553b32f7 [2021-05-11T03:12:44.339Z] ---> 4d7bc80c7f80 [2021-05-11T03:12:44.339Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T03:12:44.603Z] ---> Running in 45352bc24ca0 [2021-05-11T03:12:44.603Z] Removing intermediate container 45352bc24ca0 [2021-05-11T03:12:44.603Z] ---> 0f65687abfe4 [2021-05-11T03:12:44.603Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T03:12:44.871Z] ---> Running in 67e1b656cf8a [2021-05-11T03:12:44.871Z] Removing intermediate container 67e1b656cf8a [2021-05-11T03:12:44.871Z] ---> fe52e8567b47 [2021-05-11T03:12:44.871Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T03:12:44.871Z] ---> Running in 949fffe3a5fe [2021-05-11T03:12:46.266Z] Removing intermediate container 949fffe3a5fe [2021-05-11T03:12:46.266Z] ---> bf63ea3cd4bd [2021-05-11T03:12:46.266Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T03:12:46.266Z] ---> Running in fb50cdc19b28 [2021-05-11T03:12:46.843Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T03:12:48.235Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T03:12:49.182Z] OK: 156 MiB in 53 packages [2021-05-11T03:12:49.758Z] Removing intermediate container fb50cdc19b28 [2021-05-11T03:12:49.758Z] ---> e52c91e58265 [2021-05-11T03:12:49.758Z] Step 8/23 : WORKDIR /device-snmp-go [2021-05-11T03:12:49.758Z] ---> Running in 208554a59a8c [2021-05-11T03:12:50.021Z] Removing intermediate container 208554a59a8c [2021-05-11T03:12:50.021Z] ---> 2b0f45862ea7 [2021-05-11T03:12:50.021Z] Step 9/23 : COPY . . [2021-05-11T03:12:50.597Z] ---> 000fc36c9196 [2021-05-11T03:12:50.597Z] Step 10/23 : RUN make update [2021-05-11T03:12:50.862Z] ---> Running in 10513c414266 [2021-05-11T03:12:51.442Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-11T03:12:52.022Z] Removing intermediate container 10513c414266 [2021-05-11T03:12:52.022Z] ---> e9bb28da6e38 [2021-05-11T03:12:52.022Z] Step 11/23 : RUN ${MAKE} [2021-05-11T03:12:52.022Z] ---> Running in e64a824cb4a9 [2021-05-11T03:12:52.981Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd [2021-05-11T03:12:58.866Z] gofmt -l . [2021-05-11T03:12:58.866Z] [ "`gofmt -l .`" = "" ] [2021-05-11T03:12:58.866Z] ./bin/test-attribution-txt.sh [2021-05-11T03:12:58.866Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T03:12:59.220Z] $ docker stop --time=1 1ef2f134d8a0df50c1e725f26db9bed6021260d7029ea0b7c545e12eab1f830a [2021-05-11T03:13:01.331Z] $ docker rm -f 1ef2f134d8a0df50c1e725f26db9bed6021260d7029ea0b7c545e12eab1f830a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T03:13:02.091Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T03:13:02.123Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T03:13:02.989Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T03:13:03.451Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T03:13:03.866Z] + ls -al . [2021-05-11T03:13:03.866Z] total 132 [2021-05-11T03:13:03.866Z] drwxrwxr-x 7 jenkins jenkins 4096 May 11 03:12 . [2021-05-11T03:13:03.866Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 03:10 .. [2021-05-11T03:13:03.866Z] -rw-rw-r-- 1 jenkins jenkins 6 May 11 03:10 .dockerignore [2021-05-11T03:13:03.866Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 03:10 .git [2021-05-11T03:13:03.866Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:10 .github [2021-05-11T03:13:03.866Z] -rw-rw-r-- 1 jenkins jenkins 272 May 11 03:10 .gitignore [2021-05-11T03:13:03.866Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 11 03:10 Attribution.txt [2021-05-11T03:13:03.866Z] -rw-rw-r-- 1 jenkins jenkins 1446 May 11 03:10 Dockerfile [2021-05-11T03:13:03.866Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 11 03:10 Dockerfile.build [2021-05-11T03:13:03.866Z] -rw-rw-r-- 1 jenkins jenkins 656 May 11 03:10 Jenkinsfile [2021-05-11T03:13:03.866Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 03:10 LICENSE [2021-05-11T03:13:03.866Z] -rw-rw-r-- 1 jenkins jenkins 965 May 11 03:10 Makefile [2021-05-11T03:13:03.866Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 11 03:10 README.md [2021-05-11T03:13:03.866Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 03:08 VERSION [2021-05-11T03:13:03.866Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:10 bin [2021-05-11T03:13:03.866Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:10 cmd [2021-05-11T03:13:03.866Z] -rw-r--r-- 1 jenkins jenkins 8663 May 11 03:12 coverage.out [2021-05-11T03:13:03.866Z] -rw-r--r-- 1 jenkins jenkins 222 May 11 03:12 go.mod [2021-05-11T03:13:03.866Z] -rw-r--r-- 1 jenkins jenkins 21272 May 11 03:11 go.sum [2021-05-11T03:13:03.866Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:10 internal [2021-05-11T03:13:03.866Z] -rw-rw-r-- 1 jenkins jenkins 209 May 11 03:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T03:13:04.258Z] + 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=922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed --label arch=arm64 --label version=0.0.0 . [2021-05-11T03:13:04.535Z] Sending build context to Docker daemon 388.1kB [2021-05-11T03:13:04.535Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T03:13:04.535Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T03:13:04.535Z] ---> b21066c043ed [2021-05-11T03:13:04.535Z] Step 3/23 : ARG MAKE='make build' [2021-05-11T03:13:04.824Z] ---> Running in d5cf90c5aea6 [2021-05-11T03:13:05.346Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-11T03:13:05.416Z] Removing intermediate container d5cf90c5aea6 [2021-05-11T03:13:05.416Z] ---> f1242bd795f7 [2021-05-11T03:13:05.416Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T03:13:05.705Z] ---> Running in 821b489f5cec [2021-05-11T03:13:05.976Z] Removing intermediate container 821b489f5cec [2021-05-11T03:13:05.976Z] ---> 428f1b712438 [2021-05-11T03:13:05.976Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T03:13:06.249Z] ---> Running in 2daa4459e7f9 [2021-05-11T03:13:06.520Z] Removing intermediate container 2daa4459e7f9 [2021-05-11T03:13:06.520Z] ---> aa10c5f2e986 [2021-05-11T03:13:06.520Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T03:13:06.792Z] ---> Running in c6ae6d89f3f5 [2021-05-11T03:13:08.668Z] Removing intermediate container e64a824cb4a9 [2021-05-11T03:13:08.668Z] ---> f8292724129a [2021-05-11T03:13:08.668Z] Step 12/23 : FROM alpine:3.12 [2021-05-11T03:13:08.766Z] Removing intermediate container c6ae6d89f3f5 [2021-05-11T03:13:08.766Z] ---> 2ce3254123e4 [2021-05-11T03:13:08.766Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T03:13:09.040Z] ---> Running in 6297e579f8e8 [2021-05-11T03:13:09.243Z] 3.12: Pulling from library/alpine [2021-05-11T03:13:09.243Z] 339de151aab4: Pulling fs layer [2021-05-11T03:13:09.507Z] 339de151aab4: Verifying Checksum [2021-05-11T03:13:09.507Z] 339de151aab4: Download complete [2021-05-11T03:13:09.769Z] 339de151aab4: Pull complete [2021-05-11T03:13:09.769Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T03:13:09.769Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T03:13:09.769Z] ---> 13621d1b12d4 [2021-05-11T03:13:09.769Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T03:13:10.014Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T03:13:10.030Z] ---> Running in 8f08b5f572c8 [2021-05-11T03:13:10.292Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T03:13:10.554Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T03:13:10.554Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T03:13:10.554Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T03:13:10.554Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T03:13:10.554Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T03:13:10.554Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T03:13:10.554Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T03:13:10.554Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T03:13:10.816Z] OK: 8 MiB in 20 packages [2021-05-11T03:13:11.078Z] Removing intermediate container 8f08b5f572c8 [2021-05-11T03:13:11.078Z] ---> 5ed17585637e [2021-05-11T03:13:11.078Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-05-11T03:13:11.658Z] ---> 7e08c2827d56 [2021-05-11T03:13:11.658Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-11T03:13:11.924Z] ---> 76737683e66d [2021-05-11T03:13:11.924Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-11T03:13:11.982Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T03:13:12.188Z] ---> e1f768293aec [2021-05-11T03:13:12.188Z] Step 17/23 : EXPOSE 49993 [2021-05-11T03:13:12.188Z] ---> Running in fdea08e94235 [2021-05-11T03:13:12.451Z] Removing intermediate container fdea08e94235 [2021-05-11T03:13:12.451Z] ---> 2d5a8fc94f88 [2021-05-11T03:13:12.451Z] Step 18/23 : EXPOSE 161 [2021-05-11T03:13:12.451Z] ---> Running in df49d0f6733d [2021-05-11T03:13:12.713Z] Removing intermediate container df49d0f6733d [2021-05-11T03:13:12.713Z] ---> bc8ca8b981c8 [2021-05-11T03:13:12.713Z] Step 19/23 : ENTRYPOINT ["/device-snmp-go"] [2021-05-11T03:13:12.713Z] ---> Running in a918001e1e15 [2021-05-11T03:13:12.955Z] OK: 145 MiB in 53 packages [2021-05-11T03:13:12.976Z] Removing intermediate container a918001e1e15 [2021-05-11T03:13:12.976Z] ---> 062f9063a666 [2021-05-11T03:13:12.976Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-11T03:13:12.976Z] ---> Running in 7fe2e55ee907 [2021-05-11T03:13:13.238Z] Removing intermediate container 7fe2e55ee907 [2021-05-11T03:13:13.238Z] ---> be171f62a9b2 [2021-05-11T03:13:13.238Z] Step 21/23 : LABEL arch=amd64 [2021-05-11T03:13:13.238Z] ---> Running in 73c10043415a [2021-05-11T03:13:13.500Z] Removing intermediate container 73c10043415a [2021-05-11T03:13:13.500Z] ---> d00b71dfaa0a [2021-05-11T03:13:13.500Z] Step 22/23 : LABEL git_sha=922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed [2021-05-11T03:13:13.500Z] ---> Running in 7d9c4610e8e2 [2021-05-11T03:13:13.500Z] Removing intermediate container 7d9c4610e8e2 [2021-05-11T03:13:13.500Z] ---> 2f00a19587f0 [2021-05-11T03:13:13.500Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T03:13:13.763Z] ---> Running in c297ad27a135 [2021-05-11T03:13:13.763Z] Removing intermediate container c297ad27a135 [2021-05-11T03:13:13.763Z] ---> 8028e055a68f [2021-05-11T03:13:13.763Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T03:13:13.763Z] Successfully built 8028e055a68f [2021-05-11T03:13:13.763Z] 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 [2021-05-11T03:13:13.931Z] Removing intermediate container 6297e579f8e8 [2021-05-11T03:13:13.931Z] ---> c8479f2a317b [2021-05-11T03:13:13.931Z] Step 8/23 : WORKDIR /device-snmp-go [2021-05-11T03:13:13.931Z] ---> Running in 77371314f23c Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T03:13:14.204Z] Removing intermediate container 77371314f23c [2021-05-11T03:13:14.204Z] ---> 30b2461fb094 [2021-05-11T03:13:14.204Z] Step 9/23 : COPY . . [2021-05-11T03:13:14.421Z] ---> job-cost.sh [2021-05-11T03:13:14.421Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-R6TB [2021-05-11T03:13:15.179Z] ---> 43ed5d8bf55e [2021-05-11T03:13:15.179Z] Step 10/23 : RUN make update [2021-05-11T03:13:15.451Z] ---> Running in 81365205c293 [2021-05-11T03:13:16.430Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-11T03:13:17.402Z] Removing intermediate container 81365205c293 [2021-05-11T03:13:17.403Z] ---> 3c8e4003678c [2021-05-11T03:13:17.403Z] Step 11/23 : RUN ${MAKE} [2021-05-11T03:13:17.673Z] ---> Running in a1c61e4e2f4e [2021-05-11T03:13:18.649Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd [2021-05-11T03:13:29.362Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T03:13:51.053Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-11T03:13:56.003Z] lf-activate-venv(): INFO: Adding /tmp/venv-R6TB/bin to PATH [2021-05-11T03:13:56.003Z] INFO: No Stack... [2021-05-11T03:13:56.003Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T03:13:56.266Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T03:13:56.576Z] + cat /w/workspace/device-snmp-go/3/archives/cost.csv [2021-05-11T03:13:56.576Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T03:13:56.659Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] [2021-05-11T03:13:56.673Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] did not exist. Created. [2021-05-11T03:13:56.673Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T03:13:57.007Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T03:13:57.121Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T03:13:57.129Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T03:14:01.210Z] Removing intermediate container a1c61e4e2f4e [2021-05-11T03:14:01.211Z] ---> 4310eb5387ad [2021-05-11T03:14:01.211Z] Step 12/23 : FROM alpine:3.12 [2021-05-11T03:14:01.211Z] 3.12: Pulling from library/alpine [2021-05-11T03:14:01.211Z] d2f70382dc9a: Pulling fs layer [2021-05-11T03:14:01.211Z] d2f70382dc9a: Verifying Checksum [2021-05-11T03:14:01.211Z] d2f70382dc9a: Download complete [2021-05-11T03:14:01.819Z] d2f70382dc9a: Pull complete [2021-05-11T03:14:01.819Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T03:14:01.819Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T03:14:01.819Z] ---> 9852663dfa18 [2021-05-11T03:14:01.819Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T03:14:01.819Z] ---> Running in eb8ba309e859 [2021-05-11T03:14:03.268Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T03:14:03.268Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T03:14:03.866Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T03:14:03.866Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T03:14:03.866Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T03:14:03.866Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T03:14:03.866Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T03:14:03.866Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T03:14:03.866Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T03:14:03.866Z] OK: 8 MiB in 20 packages [2021-05-11T03:14:05.299Z] Removing intermediate container eb8ba309e859 [2021-05-11T03:14:05.299Z] ---> 304edd32fe78 [2021-05-11T03:14:05.299Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-05-11T03:14:06.276Z] ---> 06f59eca213d [2021-05-11T03:14:06.276Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-11T03:14:07.254Z] ---> 9b90b3638ed6 [2021-05-11T03:14:07.254Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-11T03:14:07.856Z] ---> c41b3394702c [2021-05-11T03:14:07.856Z] Step 17/23 : EXPOSE 49993 [2021-05-11T03:14:07.856Z] ---> Running in 2d950c77b1fb [2021-05-11T03:14:08.459Z] Removing intermediate container 2d950c77b1fb [2021-05-11T03:14:08.459Z] ---> c548137ca6e0 [2021-05-11T03:14:08.459Z] Step 18/23 : EXPOSE 161 [2021-05-11T03:14:08.459Z] ---> Running in c349b0c060bf [2021-05-11T03:14:09.056Z] Removing intermediate container c349b0c060bf [2021-05-11T03:14:09.056Z] ---> 3e76fc86b2ef [2021-05-11T03:14:09.056Z] Step 19/23 : ENTRYPOINT ["/device-snmp-go"] [2021-05-11T03:14:09.056Z] ---> Running in 32d3237cb6d3 [2021-05-11T03:14:09.649Z] Removing intermediate container 32d3237cb6d3 [2021-05-11T03:14:09.649Z] ---> 0cabcb1d93c5 [2021-05-11T03:14:09.649Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-11T03:14:09.649Z] ---> Running in 69b9e87039b3 [2021-05-11T03:14:10.244Z] Removing intermediate container 69b9e87039b3 [2021-05-11T03:14:10.244Z] ---> 6d2b620c8e0d [2021-05-11T03:14:10.244Z] Step 21/23 : LABEL arch=arm64 [2021-05-11T03:14:10.244Z] ---> Running in a016afc828fd [2021-05-11T03:14:10.834Z] Removing intermediate container a016afc828fd [2021-05-11T03:14:10.835Z] ---> fb271adfbb4a [2021-05-11T03:14:10.835Z] Step 22/23 : LABEL git_sha=922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed [2021-05-11T03:14:10.835Z] ---> Running in 38204a8be560 [2021-05-11T03:14:11.108Z] Removing intermediate container 38204a8be560 [2021-05-11T03:14:11.109Z] ---> e70a947e1d3c [2021-05-11T03:14:11.109Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T03:14:11.382Z] ---> Running in 4a95b8fb8f9a [2021-05-11T03:14:11.661Z] Removing intermediate container 4a95b8fb8f9a [2021-05-11T03:14:11.661Z] ---> 59e798153dc3 [2021-05-11T03:14:11.661Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T03:14:11.932Z] Successfully built 59e798153dc3 [2021-05-11T03:14:11.932Z] 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-11T03:14:12.430Z] ---> job-cost.sh [2021-05-11T03:14:12.430Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1HX2 [2021-05-11T03:14:51.373Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T03:16:13.095Z] lf-activate-venv(): INFO: Adding /tmp/venv-1HX2/bin to PATH [2021-05-11T03:16:13.095Z] INFO: No Stack... [2021-05-11T03:16:13.095Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T03:16:13.095Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T03:16:13.438Z] + cat /w/workspace/device-snmp-go/3/archives/cost.csv+ [2021-05-11T03:16:13.438Z] cut -d, -f6 [Pipeline] lock [2021-05-11T03:16:13.559Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] [2021-05-11T03:16:13.569Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] did not exist. Created. [2021-05-11T03:16:13.569Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T03:16:13.945Z] /w/workspace/device-snmp-go/3@tmp/durable-3137e3a3/script.sh: 1: /w/workspace/device-snmp-go/3@tmp/durable-3137e3a3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T03:16:14.289Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T03:16:14.312Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T03:16:14.454Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T03:16:14.466Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-3-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-11T03:16:15.269Z] provisioning config files... [2021-05-11T03:16:15.280Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config5613710102819419947tmp [Pipeline] { [Pipeline] sh [2021-05-11T03:16:15.623Z] + set +x [2021-05-11T03:16:15.623Z] + bash -s -- [2021-05-11T03:16:15.623Z] + curl -s https://codecov.io/bash [2021-05-11T03:16:15.887Z] [2021-05-11T03:16:15.887Z] _____ _ [2021-05-11T03:16:15.887Z] / ____| | | [2021-05-11T03:16:15.887Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T03:16:15.887Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T03:16:15.887Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T03:16:15.887Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T03:16:15.887Z] Bash-1.0.2 [2021-05-11T03:16:15.887Z] [2021-05-11T03:16:15.887Z] [2021-05-11T03:16:15.887Z] ==> git version 2.24.3 found [2021-05-11T03:16:15.887Z] ==> 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-11T03:16:15.887Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T03:16:15.887Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T03:16:15.887Z] ==> Jenkins CI detected. [2021-05-11T03:16:15.887Z] project root: . [2021-05-11T03:16:15.887Z] --> token set from env [2021-05-11T03:16:15.887Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T03:16:15.887Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T03:16:15.887Z] ==> Python coveragepy not found [2021-05-11T03:16:15.887Z] ==> Searching for coverage reports in: [2021-05-11T03:16:15.887Z] + . [2021-05-11T03:16:15.887Z] -> Found 1 reports [2021-05-11T03:16:15.887Z] ==> Detecting git/mercurial file structure [2021-05-11T03:16:15.887Z] ==> Reading reports [2021-05-11T03:16:15.887Z] + ./coverage.out bytes=8663 [2021-05-11T03:16:15.887Z] ==> Appending adjustments [2021-05-11T03:16:15.887Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T03:16:16.153Z] + Found adjustments [2021-05-11T03:16:16.154Z] ==> Gzipping contents [2021-05-11T03:16:16.154Z] 4.0K /tmp/codecov.ZIrNV4.gz [2021-05-11T03:16:16.154Z] ==> Uploading reports [2021-05-11T03:16:16.154Z] url: https://codecov.io [2021-05-11T03:16:16.154Z] query: branch=PR-93&commit=922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= [2021-05-11T03:16:16.154Z] -> Pinging Codecov [2021-05-11T03:16:16.154Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-93&commit=922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= [2021-05-11T03:16:16.419Z] -> Uploading to [2021-05-11T03:16:16.419Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/6C56EA5C29638FB4528AC87E60AF5AE0/922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed/dc223780-0642-4ed6-8fcb-46f17d1d5f94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T031616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97723b9ce2fc991a4ae7e85a2deb9b3a881ec9d301b933574183520f9d22cb10 [2021-05-11T03:16:16.419Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T03:16:16.419Z] Dload Upload Total Spent Left Speed [2021-05-11T03:16:16.952Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1498 0 0 100 1498 0 3577 --:--:-- --:--:-- --:--:-- 3575 [2021-05-11T03:16:16.952Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed [Pipeline] } [2021-05-11T03:16:16.963Z] 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-11T03:16:18.090Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T03:16:18.663Z] ---> package-listing.sh [2021-05-11T03:16:18.663Z] ++ facter osfamily [2021-05-11T03:16:18.663Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T03:16:18.663Z] + OS_FAMILY=redhat [2021-05-11T03:16:18.663Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-93 [2021-05-11T03:16:18.663Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T03:16:18.663Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T03:16:18.663Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T03:16:18.663Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T03:16:18.663Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' [2021-05-11T03:16:18.663Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T03:16:18.663Z] + case "${OS_FAMILY}" in [2021-05-11T03:16:18.663Z] + rpm -qa [2021-05-11T03:16:18.663Z] + sort [2021-05-11T03:16:23.988Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T03:16:23.988Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T03:16:23.988Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T03:16:23.988Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' [2021-05-11T03:16:23.988Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-93/archives/ [2021-05-11T03:16:23.988Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-93/archives/ [Pipeline] echo [2021-05-11T03:16:24.002Z] 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-93/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T03:16:24.320Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T03:16:24.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T03:16:24.903Z] [2021-05-11T03:16:24.903Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T03:16:25.236Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T03:16:25.236Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T03:16:25.236Z] df20fa9351a1: Pulling fs layer [2021-05-11T03:16:25.236Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T03:16:25.236Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T03:16:25.236Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T03:16:25.236Z] 93b61091891f: Pulling fs layer [2021-05-11T03:16:25.236Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T03:16:25.236Z] 5e14af77c1be: Pulling fs layer [2021-05-11T03:16:25.236Z] 01666e4c0597: Pulling fs layer [2021-05-11T03:16:25.236Z] aa168da1d23b: Pulling fs layer [2021-05-11T03:16:25.236Z] 93b9cdb0e59b: Waiting [2021-05-11T03:16:25.236Z] 5e14af77c1be: Waiting [2021-05-11T03:16:25.236Z] 01666e4c0597: Waiting [2021-05-11T03:16:25.236Z] 46f8f816bc3b: Waiting [2021-05-11T03:16:25.236Z] 93b61091891f: Waiting [2021-05-11T03:16:25.236Z] aa168da1d23b: Waiting [2021-05-11T03:16:25.236Z] 36b3adc4ff6f: Verifying Checksum [2021-05-11T03:16:25.236Z] 36b3adc4ff6f: Download complete [2021-05-11T03:16:25.236Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T03:16:25.236Z] 46f8f816bc3b: Download complete [2021-05-11T03:16:25.236Z] df20fa9351a1: Verifying Checksum [2021-05-11T03:16:25.236Z] df20fa9351a1: Download complete [2021-05-11T03:16:25.511Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T03:16:25.511Z] 93b9cdb0e59b: Download complete [2021-05-11T03:16:25.511Z] 5e14af77c1be: Verifying Checksum [2021-05-11T03:16:25.511Z] 5e14af77c1be: Download complete [2021-05-11T03:16:25.511Z] 93b61091891f: Verifying Checksum [2021-05-11T03:16:25.511Z] 93b61091891f: Download complete [2021-05-11T03:16:25.511Z] 01666e4c0597: Verifying Checksum [2021-05-11T03:16:25.511Z] 01666e4c0597: Download complete [2021-05-11T03:16:25.511Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T03:16:25.511Z] 8ad3a11d3b57: Download complete [2021-05-11T03:16:25.786Z] df20fa9351a1: Pull complete [2021-05-11T03:16:26.053Z] 36b3adc4ff6f: Pull complete [2021-05-11T03:16:26.649Z] 8ad3a11d3b57: Pull complete [2021-05-11T03:16:26.649Z] 46f8f816bc3b: Pull complete [2021-05-11T03:16:28.053Z] aa168da1d23b: Verifying Checksum [2021-05-11T03:16:28.053Z] aa168da1d23b: Download complete [2021-05-11T03:16:28.053Z] 93b61091891f: Pull complete [2021-05-11T03:16:28.628Z] 93b9cdb0e59b: Pull complete [2021-05-11T03:16:28.628Z] 5e14af77c1be: Pull complete [2021-05-11T03:16:28.891Z] 01666e4c0597: Pull complete [2021-05-11T03:16:35.532Z] aa168da1d23b: Pull complete [2021-05-11T03:16:35.532Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T03:16:35.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T03:16:35.532Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T03:16:35.702Z] prd-centos7-docker-4c-2g-4307 does not seem to be running inside a container [2021-05-11T03:16:35.757Z] $ 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-93/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-93 -v /w/workspace/dgexfoundry_device-snmp-go_PR-93:/w/workspace/dgexfoundry_device-snmp-go_PR-93:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-93@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T03:16:38.146Z] $ docker top 117dfe97d6c050bb1af232b181a0ba90206333ceef165a65a7eb32de5d75e866 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T03:16:38.613Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T03:16:38.915Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T03:16:39.219Z] + ls /var/log/sa-host [2021-05-11T03:16:39.219Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T03:16:39.219Z] file_magic: OK [2021-05-11T03:16:39.219Z] HZ: Using current value: 100 [2021-05-11T03:16:39.219Z] file_header: OK [2021-05-11T03:16:39.219Z] 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-11T03:16:39.219Z] Statistics: [2021-05-11T03:16:39.219Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-11T03:16:39.219Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T03:16:39.219Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T03:16:39.219Z] file_magic: OK [2021-05-11T03:16:39.219Z] HZ: Using current value: 100 [2021-05-11T03:16:39.219Z] file_header: OK [2021-05-11T03:16:39.219Z] 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-11T03:16:39.219Z] Statistics: [2021-05-11T03:16:39.219Z] Hnuu...uuuununununu... [2021-05-11T03:16:39.219Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T03:16:39.807Z] provisioning config files... [2021-05-11T03:16:39.828Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config2447693491184266151tmp [Pipeline] { [Pipeline] echo [2021-05-11T03:16:39.857Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T03:16:40.155Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T03:16:40.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T03:16:40.193Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T03:16:40.503Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T03:16:40.517Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T03:16:40.825Z] ---> sudo-logs.sh [2021-05-11T03:16:40.825Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T03:16:40.860Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T03:16:41.167Z] ---> job-cost.sh [2021-05-11T03:16:41.168Z] lf-activate-venv: SKIPPING [2021-05-11T03:16:41.168Z] DEBUG: total: 0.20999999344348907 [2021-05-11T03:16:41.168Z] INFO: Retrieving Stack Cost... [2021-05-11T03:16:42.151Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T03:16:42.729Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T03:16:42.747Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T03:16:43.063Z] ---> logs-deploy.sh [2021-05-11T03:16:43.064Z] lf-activate-venv: SKIPPING [2021-05-11T03:16:43.064Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-93/3 [2021-05-11T03:16:43.064Z] INFO: archiving workspace using pattern(s): [2021-05-11T03:16:45.001Z] Archives upload complete. [2021-05-11T03:16:45.001Z] INFO: archiving logs to Nexus