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 143164d98a383c63759ddaa63adc3b98c6739614+0ab86073b0269e161c45419c6956d6e22a89cd28 (0cab4b1b51298da63b26a1d370979107d73ca50d) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-93/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-93/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4060’ Running on prd-centos7-docker-4c-2g-4063 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 143164d98a383c63759ddaa63adc3b98c6739614 Merge succeeded, producing 143164d98a383c63759ddaa63adc3b98c6739614 Checking out Revision 143164d98a383c63759ddaa63adc3b98c6739614 (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 143164d98a383c63759ddaa63adc3b98c6739614 # 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 143164d98a383c63759ddaa63adc3b98c6739614 # 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-10T09:51:29.235Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T09:51:29.500Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T09:51:29.614Z] ========================================================= [2021-05-10T09:51:29.614Z] EdgeX Global Pipelines Version Info [2021-05-10T09:51:29.614Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T09:51:31.731Z] ------------------- [2021-05-10T09:51:31.731Z] stable info: [2021-05-10T09:51:31.731Z] ------------------- [2021-05-10T09:51:31.731Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T09:51:31.731Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T09:51:31.731Z] Message: update stable to v1.0.191 [2021-05-10T09:51:32.311Z] ------------------- [2021-05-10T09:51:32.311Z] experimental info: [2021-05-10T09:51:32.311Z] ------------------- [2021-05-10T09:51:32.311Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T09:51:32.311Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T09:51:32.311Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T09:51:32.558Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-10T09:51:32.609Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-10T09:51:32.663Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T09:51:32.716Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T09:51:32.772Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T09:51:32.828Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T09:51:32.895Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T09:51:32.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T09:51:33.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T09:51:33.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T09:51:33.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T09:51:33.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2021-05-10T09:51:33.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T09:51:33.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T09:51:33.390Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T09:51:33.476Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T09:51:33.535Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T09:51:33.593Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T09:51:33.650Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T09:51:33.708Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T09:51:33.767Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T09:51:33.827Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T09:51:33.885Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T09:51:33.947Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T09:51:34.003Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T09:51:34.060Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T09:51:34.123Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-93 [Pipeline] echo [2021-05-10T09:51:34.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-93 [Pipeline] echo [2021-05-10T09:51:34.244Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-93 [Pipeline] echo [2021-05-10T09:51:34.306Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 143164d98a383c63759ddaa63adc3b98c6739614 [Pipeline] echo [2021-05-10T09:51:34.359Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 143164d [Pipeline] echo [2021-05-10T09:51:34.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T09:51:34.578Z] provisioning config files... [2021-05-10T09:51:34.638Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config1528089636665942122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T09:51:35.035Z] ---> docker-login.sh [2021-05-10T09:51:35.035Z] nexus3.edgexfoundry.org:10001 [2021-05-10T09:51:35.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:51:35.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:51:35.564Z] Configure a credential helper to remove this warning. See [2021-05-10T09:51:35.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:51:35.564Z] [2021-05-10T09:51:35.564Z] Login Succeeded [2021-05-10T09:51:35.564Z] nexus3.edgexfoundry.org:10002 [2021-05-10T09:51:35.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:51:35.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:51:35.564Z] Configure a credential helper to remove this warning. See [2021-05-10T09:51:35.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:51:35.564Z] [2021-05-10T09:51:35.564Z] Login Succeeded [2021-05-10T09:51:35.835Z] nexus3.edgexfoundry.org:10003 [2021-05-10T09:51:35.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:51:35.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:51:35.835Z] Configure a credential helper to remove this warning. See [2021-05-10T09:51:35.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:51:35.835Z] [2021-05-10T09:51:35.835Z] Login Succeeded [2021-05-10T09:51:35.835Z] nexus3.edgexfoundry.org:10004 [2021-05-10T09:51:36.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:51:36.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:51:36.098Z] Configure a credential helper to remove this warning. See [2021-05-10T09:51:36.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:51:36.098Z] [2021-05-10T09:51:36.098Z] Login Succeeded [2021-05-10T09:51:36.098Z] docker.io [2021-05-10T09:51:36.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:51:36.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:51:36.675Z] Configure a credential helper to remove this warning. See [2021-05-10T09:51:36.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:51:36.675Z] [2021-05-10T09:51:36.675Z] Login Succeeded [2021-05-10T09:51:36.675Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T09:51:36.697Z] 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-10T09:51:37.415Z] + git log --format=format:%s -1 143164d98a383c63759ddaa63adc3b98c6739614 [Pipeline] echo [2021-05-10T09:51:37.531Z] GIT_COMMIT: 143164d98a383c63759ddaa63adc3b98c6739614, Commit Message: build: update build files for v2 [Pipeline] echo [2021-05-10T09:51:37.579Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T09:51:38.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T09:51:38.916Z] [2021-05-10T09:51:38.916Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T09:51:39.283Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T09:51:39.283Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T09:51:39.283Z] 31603596830f: Pulling fs layer [2021-05-10T09:51:39.283Z] 54011a49482f: Pulling fs layer [2021-05-10T09:51:39.283Z] a6820b24f6d8: Pulling fs layer [2021-05-10T09:51:39.283Z] f581987b2513: Pulling fs layer [2021-05-10T09:51:39.283Z] f581987b2513: Waiting [2021-05-10T09:51:39.283Z] 54011a49482f: Verifying Checksum [2021-05-10T09:51:39.283Z] 54011a49482f: Download complete [2021-05-10T09:51:39.546Z] 31603596830f: Verifying Checksum [2021-05-10T09:51:39.546Z] 31603596830f: Download complete [2021-05-10T09:51:39.546Z] f581987b2513: Verifying Checksum [2021-05-10T09:51:39.546Z] f581987b2513: Download complete [2021-05-10T09:51:39.546Z] a6820b24f6d8: Verifying Checksum [2021-05-10T09:51:39.546Z] a6820b24f6d8: Download complete [2021-05-10T09:51:39.812Z] 31603596830f: Pull complete [2021-05-10T09:51:40.077Z] 54011a49482f: Pull complete [2021-05-10T09:51:41.030Z] a6820b24f6d8: Pull complete [2021-05-10T09:51:41.030Z] f581987b2513: Pull complete [2021-05-10T09:51:41.030Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T09:51:41.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T09:51:41.295Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T09:51:41.430Z] prd-centos7-docker-4c-2g-4063 does not seem to be running inside a container [2021-05-10T09:51:41.486Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T09:51:43.763Z] $ docker top 6b735206daea6612c675eb4aa5db13e36e53d5194a6a8b9f73b12c85544b1338 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T09:51:44.017Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T09:51:44.017Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T09:51:44.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T09:51:44.245Z] $ docker exec 6b735206daea6612c675eb4aa5db13e36e53d5194a6a8b9f73b12c85544b1338 ssh-agent [2021-05-10T09:51:44.430Z] SSH_AUTH_SOCK=/tmp/ssh-DTsF9xmp4u9f/agent.12 [2021-05-10T09:51:44.430Z] SSH_AGENT_PID=17 [2021-05-10T09:51:44.442Z] Running ssh-add (command line suppressed) [2021-05-10T09:51:44.567Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_4257558518432784510.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_4257558518432784510.key) [2021-05-10T09:51:44.621Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T09:51:44.981Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T09:51:45.008Z] $ docker exec --env ******** --env ******** 6b735206daea6612c675eb4aa5db13e36e53d5194a6a8b9f73b12c85544b1338 ssh-agent -k [2021-05-10T09:51:45.127Z] unset SSH_AUTH_SOCK; [2021-05-10T09:51:45.127Z] unset SSH_AGENT_PID; [2021-05-10T09:51:45.127Z] echo Agent pid 17 killed; [2021-05-10T09:51:45.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T09:51:45.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T09:51:45.270Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T09:51:45.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T09:51:45.450Z] $ docker exec 6b735206daea6612c675eb4aa5db13e36e53d5194a6a8b9f73b12c85544b1338 ssh-agent [2021-05-10T09:51:45.629Z] SSH_AUTH_SOCK=/tmp/ssh-bcGhncCQketg/agent.45 [2021-05-10T09:51:45.629Z] SSH_AGENT_PID=50 [2021-05-10T09:51:45.637Z] Running ssh-add (command line suppressed) [2021-05-10T09:51:45.760Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_2228011226324988572.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_2228011226324988572.key) [2021-05-10T09:51:45.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T09:51:46.157Z] + git semver init [2021-05-10T09:51:46.157Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T09:51:46.157Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.git [2021-05-10T09:51:46.157Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-93 [2021-05-10T09:51:46.157Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T09:51:46.157Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T09:51:46.157Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T09:51:46.157Z] # $SEMVER_BRANCH = PR-93 [2021-05-10T09:51:46.157Z] # $SEMVER_TEMP = /tmp/semver-938507174 [2021-05-10T09:51:46.157Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-10T09:51:46.418Z] # '/tmp/semver-938507174' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver' [2021-05-10T09:51:46.418Z] # -> Force: false [2021-05-10T09:51:46.418Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver [Pipeline] } [2021-05-10T09:51:46.441Z] $ docker exec --env ******** --env ******** 6b735206daea6612c675eb4aa5db13e36e53d5194a6a8b9f73b12c85544b1338 ssh-agent -k [2021-05-10T09:51:46.561Z] unset SSH_AUTH_SOCK; [2021-05-10T09:51:46.561Z] unset SSH_AGENT_PID; [2021-05-10T09:51:46.561Z] echo Agent pid 50 killed; [2021-05-10T09:51:46.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T09:51:47.061Z] + git semver [Pipeline] } [2021-05-10T09:51:47.098Z] $ docker stop --time=1 6b735206daea6612c675eb4aa5db13e36e53d5194a6a8b9f73b12c85544b1338 [2021-05-10T09:51:48.454Z] $ docker rm -f 6b735206daea6612c675eb4aa5db13e36e53d5194a6a8b9f73b12c85544b1338 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T09:51:48.910Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T09:51:49.298Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T09:51:49.320Z] [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-10T09:52:04.810Z] Still waiting to schedule task [2021-05-10T09:52:04.810Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-10T09:52:04.833Z] Still waiting to schedule task [2021-05-10T09:52:04.833Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T09:54:49.602Z] Running on prd-centos7-docker-4c-2g-4064 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws [2021-05-10T09:54:49.662Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-05-10T09:54:52.233Z] using credential edgex-jenkins-ssh [2021-05-10T09:54:52.246Z] Cloning the remote Git repository [2021-05-10T09:54:52.270Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-10T09:54:52.345Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-05-10T09:54:52.407Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-10T09:54:52.407Z] > git --version # timeout=10 [2021-05-10T09:54:52.413Z] > git --version # 'git version 2.24.3' [2021-05-10T09:54:52.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T09:54:52.444Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T09:54:52.971Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-10T09:54:52.980Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T09:54:52.991Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-10T09:54:53.004Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-10T09:54:53.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T09:54:53.008Z] > 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-10T09:54:53.476Z] Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 143164d98a383c63759ddaa63adc3b98c6739614 [2021-05-10T09:54:53.558Z] Merge succeeded, producing 143164d98a383c63759ddaa63adc3b98c6739614 [2021-05-10T09:54:53.559Z] Checking out Revision 143164d98a383c63759ddaa63adc3b98c6739614 (PR-93) [2021-05-10T09:54:53.487Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T09:54:53.495Z] > git checkout -f 143164d98a383c63759ddaa63adc3b98c6739614 # timeout=10 [2021-05-10T09:54:53.527Z] > git remote # timeout=10 [2021-05-10T09:54:53.534Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T09:54:53.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T09:54:53.543Z] > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 [2021-05-10T09:54:53.552Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T09:54:53.563Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T09:54:53.567Z] > git checkout -f 143164d98a383c63759ddaa63adc3b98c6739614 # timeout=10 [2021-05-10T09:54:57.338Z] 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-10T09:54:58.626Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T09:54:58.982Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T09:54:59.339Z] + sudo service docker restart [2021-05-10T09:54:59.339Z] + true [2021-05-10T09:54:59.339Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T09:55:00.382Z] provisioning config files... [2021-05-10T09:55:00.427Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config5764775714615947260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T09:55:00.818Z] ---> docker-login.sh [2021-05-10T09:55:00.818Z] nexus3.edgexfoundry.org:10001 [2021-05-10T09:55:01.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:55:01.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:55:01.349Z] Configure a credential helper to remove this warning. See [2021-05-10T09:55:01.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:55:01.349Z] [2021-05-10T09:55:01.349Z] Login Succeeded [2021-05-10T09:55:01.349Z] nexus3.edgexfoundry.org:10002 [2021-05-10T09:55:01.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:55:01.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:55:01.349Z] Configure a credential helper to remove this warning. See [2021-05-10T09:55:01.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:55:01.349Z] [2021-05-10T09:55:01.349Z] Login Succeeded [2021-05-10T09:55:01.349Z] nexus3.edgexfoundry.org:10003 [2021-05-10T09:55:01.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:55:01.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:55:01.613Z] Configure a credential helper to remove this warning. See [2021-05-10T09:55:01.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:55:01.613Z] [2021-05-10T09:55:01.613Z] Login Succeeded [2021-05-10T09:55:01.613Z] nexus3.edgexfoundry.org:10004 [2021-05-10T09:55:01.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:55:01.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:55:01.878Z] Configure a credential helper to remove this warning. See [2021-05-10T09:55:01.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:55:01.878Z] [2021-05-10T09:55:01.878Z] Login Succeeded [2021-05-10T09:55:01.878Z] docker.io [2021-05-10T09:55:01.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:55:02.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:55:02.142Z] Configure a credential helper to remove this warning. See [2021-05-10T09:55:02.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:55:02.142Z] [2021-05-10T09:55:02.142Z] Login Succeeded [2021-05-10T09:55:02.407Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T09:55:02.447Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T09:55:02.777Z] ========================================================= [2021-05-10T09:55:02.777Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T09:55:02.777Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T09:55:03.134Z] + 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-10T09:55:03.400Z] Sending build context to Docker daemon 380.4kB [2021-05-10T09:55:03.400Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T09:55:03.400Z] Step 2/10 : FROM ${BASE} [2021-05-10T09:55:03.400Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T09:55:03.400Z] 540db60ca938: Pulling fs layer [2021-05-10T09:55:03.400Z] adcc1eea9eea: Pulling fs layer [2021-05-10T09:55:03.400Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T09:55:03.400Z] 0510c868ecb4: Pulling fs layer [2021-05-10T09:55:03.400Z] afea3b2eda06: Pulling fs layer [2021-05-10T09:55:03.400Z] 7809a108b3ef: Pulling fs layer [2021-05-10T09:55:03.400Z] f706445af74f: Pulling fs layer [2021-05-10T09:55:03.400Z] afea3b2eda06: Waiting [2021-05-10T09:55:03.400Z] 7809a108b3ef: Waiting [2021-05-10T09:55:03.400Z] f706445af74f: Waiting [2021-05-10T09:55:03.400Z] 0510c868ecb4: Waiting [2021-05-10T09:55:03.400Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T09:55:03.400Z] 4c4ab2625f07: Download complete [2021-05-10T09:55:03.400Z] adcc1eea9eea: Verifying Checksum [2021-05-10T09:55:03.400Z] adcc1eea9eea: Download complete [2021-05-10T09:55:03.400Z] afea3b2eda06: Verifying Checksum [2021-05-10T09:55:03.400Z] afea3b2eda06: Download complete [2021-05-10T09:55:03.400Z] 7809a108b3ef: Verifying Checksum [2021-05-10T09:55:03.400Z] 7809a108b3ef: Download complete [2021-05-10T09:55:03.400Z] 540db60ca938: Verifying Checksum [2021-05-10T09:55:03.400Z] 540db60ca938: Download complete [2021-05-10T09:55:03.669Z] 540db60ca938: Pull complete [2021-05-10T09:55:03.933Z] adcc1eea9eea: Pull complete [2021-05-10T09:55:03.933Z] 4c4ab2625f07: Pull complete [2021-05-10T09:55:06.505Z] f706445af74f: Verifying Checksum [2021-05-10T09:55:06.505Z] f706445af74f: Download complete [2021-05-10T09:55:06.505Z] 0510c868ecb4: Verifying Checksum [2021-05-10T09:55:06.505Z] 0510c868ecb4: Download complete [2021-05-10T09:55:11.844Z] 0510c868ecb4: Pull complete [2021-05-10T09:55:11.844Z] afea3b2eda06: Pull complete [2021-05-10T09:55:11.844Z] 7809a108b3ef: Pull complete [2021-05-10T09:55:21.895Z] f706445af74f: Pull complete [2021-05-10T09:55:21.895Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T09:55:21.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T09:55:21.895Z] ---> b068be0155e3 [2021-05-10T09:55:21.895Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T09:55:21.895Z] ---> Running in d50c5d4ac0cb [2021-05-10T09:55:21.895Z] Removing intermediate container d50c5d4ac0cb [2021-05-10T09:55:21.895Z] ---> 2fb671c911c1 [2021-05-10T09:55:21.895Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T09:55:21.895Z] ---> Running in 601cad4d4849 [2021-05-10T09:55:21.895Z] Removing intermediate container 601cad4d4849 [2021-05-10T09:55:21.895Z] ---> 2d2aa532c602 [2021-05-10T09:55:21.895Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-10T09:55:21.895Z] ---> Running in b3f03cb0ab55 [2021-05-10T09:55:21.895Z] Removing intermediate container b3f03cb0ab55 [2021-05-10T09:55:21.895Z] ---> 972e9eaad79d [2021-05-10T09:55:21.895Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T09:55:21.895Z] ---> Running in d9846624246c [2021-05-10T09:55:22.846Z] Removing intermediate container d9846624246c [2021-05-10T09:55:22.846Z] ---> 85180bfbd92f [2021-05-10T09:55:22.846Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T09:55:22.846Z] ---> Running in 1318fda7cafd [2021-05-10T09:55:23.835Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T09:55:25.229Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T09:55:26.621Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T09:55:26.622Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T09:55:26.884Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T09:55:26.884Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T09:55:27.147Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T09:55:27.409Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T09:55:27.409Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T09:55:27.984Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T09:55:28.247Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T09:55:28.512Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T09:55:28.775Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T09:55:28.775Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T09:55:29.040Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T09:55:29.307Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T09:55:29.307Z] OK: 156 MiB in 53 packages [2021-05-10T09:55:30.259Z] Removing intermediate container 1318fda7cafd [2021-05-10T09:55:30.259Z] ---> a03734eddde6 [2021-05-10T09:55:30.259Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-10T09:55:30.259Z] ---> Running in 63a76c9619f2 [2021-05-10T09:55:30.259Z] Removing intermediate container 63a76c9619f2 [2021-05-10T09:55:30.259Z] ---> e91695ba71da [2021-05-10T09:55:30.259Z] Step 9/10 : COPY . . [2021-05-10T09:55:31.223Z] ---> b605f150b14d [2021-05-10T09:55:31.223Z] Step 10/10 : RUN go mod download [2021-05-10T09:55:31.223Z] ---> Running in 867eec20d908 [2021-05-10T09:55:40.533Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4065 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws [2021-05-10T09:55:40.594Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-05-10T09:55:46.675Z] using credential edgex-jenkins-ssh [2021-05-10T09:55:46.694Z] Cloning the remote Git repository [2021-05-10T09:55:46.738Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-10T09:55:46.875Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-05-10T09:55:46.949Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-10T09:55:46.950Z] > git --version # timeout=10 [2021-05-10T09:55:46.970Z] > git --version # 'git version 2.17.1' [2021-05-10T09:55:46.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T09:55:47.065Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T09:55:47.940Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-10T09:55:47.965Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T09:55:48.003Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-10T09:55:48.040Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-10T09:55:48.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T09:55:48.056Z] > 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-10T09:55:48.628Z] Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 143164d98a383c63759ddaa63adc3b98c6739614 [2021-05-10T09:55:48.858Z] Merge succeeded, producing 143164d98a383c63759ddaa63adc3b98c6739614 [2021-05-10T09:55:48.859Z] Checking out Revision 143164d98a383c63759ddaa63adc3b98c6739614 (PR-93) [2021-05-10T09:55:48.643Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T09:55:48.664Z] > git checkout -f 143164d98a383c63759ddaa63adc3b98c6739614 # timeout=10 [2021-05-10T09:55:48.747Z] > git remote # timeout=10 [2021-05-10T09:55:48.770Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T09:55:48.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T09:55:48.813Z] > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 [2021-05-10T09:55:48.835Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T09:55:48.859Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T09:55:48.870Z] > git checkout -f 143164d98a383c63759ddaa63adc3b98c6739614 # timeout=10 [2021-05-10T09:55:53.075Z] Commit message: "build: update build files for v2" [2021-05-10T09:55:53.387Z] Removing intermediate container 867eec20d908 [2021-05-10T09:55:53.387Z] ---> 5865f0b16fba [2021-05-10T09:55:53.387Z] Successfully built 5865f0b16fba [2021-05-10T09:55:53.387Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T09:55:53.781Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T09:55:53.781Z] . [Pipeline] withDockerContainer [2021-05-10T09:55:54.653Z] prd-centos7-docker-4c-2g-4064 does not seem to be running inside a container [2021-05-10T09:55:54.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T09:55:54.754Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-05-10T09:55:55.548Z] $ docker top dee03b9e52a10456ced3126908e82eed5f8ec27ab27d442c9a75fba4813644a6 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-10T09:55:56.158Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T09:55:56.243Z] + go version [2021-05-10T09:55:56.243Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T09:55:56.309Z] $ docker stop --time=1 dee03b9e52a10456ced3126908e82eed5f8ec27ab27d442c9a75fba4813644a6 [2021-05-10T09:55:56.516Z] + sudo service docker restart [2021-05-10T09:55:56.517Z] + true [2021-05-10T09:55:57.694Z] $ docker rm -f dee03b9e52a10456ced3126908e82eed5f8ec27ab27d442c9a75fba4813644a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T09:55:58.472Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T09:55:58.472Z] . [Pipeline] withDockerContainer [2021-05-10T09:55:58.590Z] prd-centos7-docker-4c-2g-4064 does not seem to be running inside a container [2021-05-10T09:55:58.641Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T09:55:59.326Z] $ docker top e22aba9ae6926af18cc3f4387bb5a7ca53fa82859b5462c2137e46cb2144fb93 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap [2021-05-10T09:55:59.616Z] provisioning config files... [2021-05-10T09:55:59.676Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config361714436942591489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T09:55:59.833Z] + go mod tidy [2021-05-10T09:56:00.110Z] ---> docker-login.sh [2021-05-10T09:56:00.110Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2021-05-10T09:56:00.733Z] + make test [2021-05-10T09:56:00.733Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T09:56:01.685Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-10T09:56:02.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:56:02.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:56:02.093Z] Configure a credential helper to remove this warning. See [2021-05-10T09:56:02.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:56:02.093Z] [2021-05-10T09:56:02.093Z] Login Succeeded [2021-05-10T09:56:02.093Z] nexus3.edgexfoundry.org:10002 [2021-05-10T09:56:02.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:56:02.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:56:02.689Z] Configure a credential helper to remove this warning. See [2021-05-10T09:56:02.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:56:02.689Z] [2021-05-10T09:56:02.689Z] Login Succeeded [2021-05-10T09:56:02.689Z] nexus3.edgexfoundry.org:10003 [2021-05-10T09:56:02.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:56:03.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:56:03.237Z] Configure a credential helper to remove this warning. See [2021-05-10T09:56:03.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:56:03.237Z] [2021-05-10T09:56:03.237Z] Login Succeeded [2021-05-10T09:56:03.237Z] nexus3.edgexfoundry.org:10004 [2021-05-10T09:56:03.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:56:03.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:56:03.788Z] Configure a credential helper to remove this warning. See [2021-05-10T09:56:03.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:56:03.788Z] [2021-05-10T09:56:03.788Z] Login Succeeded [2021-05-10T09:56:03.788Z] docker.io [2021-05-10T09:56:04.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T09:56:04.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T09:56:04.332Z] Configure a credential helper to remove this warning. See [2021-05-10T09:56:04.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T09:56:04.333Z] [2021-05-10T09:56:04.333Z] Login Succeeded [2021-05-10T09:56:04.333Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T09:56:04.368Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T09:56:04.782Z] ========================================================= [2021-05-10T09:56:04.782Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T09:56:04.782Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T09:56:05.164Z] + 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-10T09:56:05.439Z] Sending build context to Docker daemon 379.4kB [2021-05-10T09:56:05.713Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T09:56:05.713Z] Step 2/10 : FROM ${BASE} [2021-05-10T09:56:05.713Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T09:56:05.713Z] 595b0fe564bb: Pulling fs layer [2021-05-10T09:56:05.713Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T09:56:05.713Z] 316046926c0a: Pulling fs layer [2021-05-10T09:56:05.713Z] 4ebd0625c992: Pulling fs layer [2021-05-10T09:56:05.713Z] 207e8628e3a3: Pulling fs layer [2021-05-10T09:56:05.713Z] c791037a9be2: Pulling fs layer [2021-05-10T09:56:05.713Z] ffd874e62e21: Pulling fs layer [2021-05-10T09:56:05.713Z] 4ebd0625c992: Waiting [2021-05-10T09:56:05.713Z] 207e8628e3a3: Waiting [2021-05-10T09:56:05.713Z] c791037a9be2: Waiting [2021-05-10T09:56:05.713Z] ffd874e62e21: Waiting [2021-05-10T09:56:05.713Z] 316046926c0a: Download complete [2021-05-10T09:56:05.713Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T09:56:05.713Z] 7186ed65a4f7: Download complete [2021-05-10T09:56:05.713Z] 207e8628e3a3: Verifying Checksum [2021-05-10T09:56:05.713Z] 207e8628e3a3: Download complete [2021-05-10T09:56:05.713Z] c791037a9be2: Download complete [2021-05-10T09:56:05.713Z] 595b0fe564bb: Verifying Checksum [2021-05-10T09:56:05.713Z] 595b0fe564bb: Download complete [2021-05-10T09:56:06.705Z] 595b0fe564bb: Pull complete [2021-05-10T09:56:06.993Z] 7186ed65a4f7: Pull complete [2021-05-10T09:56:07.269Z] 316046926c0a: Pull complete [2021-05-10T09:56:07.544Z] ffd874e62e21: Verifying Checksum [2021-05-10T09:56:07.544Z] ffd874e62e21: Download complete [2021-05-10T09:56:09.525Z] 4ebd0625c992: Verifying Checksum [2021-05-10T09:56:09.525Z] 4ebd0625c992: Download complete [2021-05-10T09:56:19.695Z] 4ebd0625c992: Pull complete [2021-05-10T09:56:19.695Z] 207e8628e3a3: Pull complete [2021-05-10T09:56:19.957Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-10T09:56:19.957Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2021-05-10T09:56:19.957Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T09:56:19.968Z] c791037a9be2: Pull complete [2021-05-10T09:56:24.303Z] ffd874e62e21: Pull complete [2021-05-10T09:56:24.303Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T09:56:24.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T09:56:24.303Z] ---> cfc18b08335c [2021-05-10T09:56:24.303Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T09:56:26.291Z] ---> Running in 370f67b2327c [2021-05-10T09:56:26.565Z] Removing intermediate container 370f67b2327c [2021-05-10T09:56:26.565Z] ---> 23aae2d39db4 [2021-05-10T09:56:26.565Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T09:56:26.637Z] gofmt -l . [2021-05-10T09:56:26.637Z] [ "`gofmt -l .`" = "" ] [2021-05-10T09:56:26.637Z] ./bin/test-attribution-txt.sh [2021-05-10T09:56:26.637Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T09:56:26.671Z] $ docker stop --time=1 e22aba9ae6926af18cc3f4387bb5a7ca53fa82859b5462c2137e46cb2144fb93 [2021-05-10T09:56:26.868Z] ---> Running in bc6553478d40 [2021-05-10T09:56:27.139Z] Removing intermediate container bc6553478d40 [2021-05-10T09:56:27.139Z] ---> b9559b7fd0cb [2021-05-10T09:56:27.139Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-10T09:56:27.411Z] ---> Running in 3ab70850c4c3 [2021-05-10T09:56:27.681Z] Removing intermediate container 3ab70850c4c3 [2021-05-10T09:56:27.681Z] ---> 4fd3a0ec863d [2021-05-10T09:56:27.681Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T09:56:27.951Z] ---> Running in 3b8162b1e87c [2021-05-10T09:56:28.387Z] $ docker rm -f e22aba9ae6926af18cc3f4387bb5a7ca53fa82859b5462c2137e46cb2144fb93 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T09:56:29.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T09:56:29.397Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-10T09:56:30.584Z] Removing intermediate container 3b8162b1e87c [2021-05-10T09:56:30.584Z] ---> b30e1a4d7720 [2021-05-10T09:56:30.584Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T09:56:30.584Z] ---> Running in 87a625420d84 [2021-05-10T09:56:31.582Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] sh [2021-05-10T09:56:32.383Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T09:56:32.708Z] + ls -al . [2021-05-10T09:56:32.708Z] total 108 [2021-05-10T09:56:32.708Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 10 09:56 . [2021-05-10T09:56:32.708Z] drwxrwxr-x. 4 jenkins jenkins 28 May 10 09:54 .. [2021-05-10T09:56:32.708Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 10 09:54 Attribution.txt [2021-05-10T09:56:32.708Z] drwxrwxr-x. 2 jenkins jenkins 87 May 10 09:54 bin [2021-05-10T09:56:32.708Z] drwxrwxr-x. 3 jenkins jenkins 32 May 10 09:54 cmd [2021-05-10T09:56:32.708Z] -rw-r--r--. 1 jenkins jenkins 8663 May 10 09:56 coverage.out [2021-05-10T09:56:32.708Z] -rw-rw-r--. 1 jenkins jenkins 1441 May 10 09:54 Dockerfile [2021-05-10T09:56:32.708Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 10 09:54 Dockerfile.build [2021-05-10T09:56:32.708Z] -rw-rw-r--. 1 jenkins jenkins 6 May 10 09:54 .dockerignore [2021-05-10T09:56:32.708Z] drwxrwxr-x. 8 jenkins jenkins 179 May 10 09:54 .git [2021-05-10T09:56:32.708Z] drwxrwxr-x. 2 jenkins jenkins 103 May 10 09:54 .github [2021-05-10T09:56:32.708Z] -rw-rw-r--. 1 jenkins jenkins 272 May 10 09:54 .gitignore [2021-05-10T09:56:32.708Z] -rw-r--r--. 1 jenkins jenkins 222 May 10 09:56 go.mod [2021-05-10T09:56:32.708Z] -rw-r--r--. 1 jenkins jenkins 21272 May 10 09:56 go.sum [2021-05-10T09:56:32.708Z] drwxrwxr-x. 3 jenkins jenkins 20 May 10 09:54 internal [2021-05-10T09:56:32.708Z] -rw-rw-r--. 1 jenkins jenkins 656 May 10 09:54 Jenkinsfile [2021-05-10T09:56:32.708Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 10 09:54 LICENSE [2021-05-10T09:56:32.708Z] -rw-rw-r--. 1 jenkins jenkins 965 May 10 09:54 Makefile [2021-05-10T09:56:32.708Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 10 09:54 README.md [2021-05-10T09:56:32.708Z] -rw-rw-r--. 1 jenkins jenkins 5 May 10 09:51 VERSION [2021-05-10T09:56:32.708Z] -rw-rw-r--. 1 jenkins jenkins 209 May 10 09:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T09:56:33.056Z] + 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=143164d98a383c63759ddaa63adc3b98c6739614 --label arch=amd64 --label version=0.0.0 . [2021-05-10T09:56:33.056Z] Sending build context to Docker daemon 389.6kB [2021-05-10T09:56:33.056Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T09:56:33.056Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-10T09:56:33.056Z] ---> 5865f0b16fba [2021-05-10T09:56:33.056Z] Step 3/23 : ARG MAKE='make build' [2021-05-10T09:56:33.600Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T09:56:33.631Z] ---> Running in d986ef932384 [2021-05-10T09:56:33.631Z] Removing intermediate container d986ef932384 [2021-05-10T09:56:33.631Z] ---> 5be172546f8a [2021-05-10T09:56:33.631Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T09:56:33.893Z] ---> Running in d0918c226127 [2021-05-10T09:56:33.893Z] Removing intermediate container d0918c226127 [2021-05-10T09:56:33.893Z] ---> 701785444514 [2021-05-10T09:56:33.893Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T09:56:34.156Z] ---> Running in d6b731c5a821 [2021-05-10T09:56:34.156Z] Removing intermediate container d6b731c5a821 [2021-05-10T09:56:34.156Z] ---> 6a0292e6759d [2021-05-10T09:56:34.156Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T09:56:34.156Z] ---> Running in 2ca73d0ae10d [2021-05-10T09:56:34.192Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T09:56:34.462Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T09:56:34.732Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T09:56:34.732Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T09:56:35.002Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T09:56:35.116Z] Removing intermediate container 2ca73d0ae10d [2021-05-10T09:56:35.116Z] ---> 2098288829c9 [2021-05-10T09:56:35.116Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T09:56:35.116Z] ---> Running in 3add8d9919aa [2021-05-10T09:56:35.272Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T09:56:35.542Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T09:56:35.700Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T09:56:35.812Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T09:56:36.081Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T09:56:36.351Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T09:56:36.351Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T09:56:36.621Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T09:56:36.892Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T09:56:36.892Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T09:56:37.167Z] OK: 145 MiB in 53 packages [2021-05-10T09:56:37.626Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T09:56:38.576Z] OK: 156 MiB in 53 packages [2021-05-10T09:56:38.613Z] Removing intermediate container 87a625420d84 [2021-05-10T09:56:38.613Z] ---> 67987f07c3fe [2021-05-10T09:56:38.613Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-10T09:56:38.613Z] ---> Running in 67d7ff5b94fb [2021-05-10T09:56:38.848Z] Removing intermediate container 3add8d9919aa [2021-05-10T09:56:38.848Z] ---> 13a9790a7651 [2021-05-10T09:56:38.848Z] Step 8/23 : WORKDIR /device-snmp-go [2021-05-10T09:56:39.113Z] ---> Running in fee89786598d [2021-05-10T09:56:39.113Z] Removing intermediate container fee89786598d [2021-05-10T09:56:39.113Z] ---> 7fcf258c8e9f [2021-05-10T09:56:39.113Z] Step 9/23 : COPY . . [2021-05-10T09:56:39.214Z] Removing intermediate container 67d7ff5b94fb [2021-05-10T09:56:39.214Z] ---> 935beab18336 [2021-05-10T09:56:39.214Z] Step 9/10 : COPY . . [2021-05-10T09:56:40.063Z] ---> 975adf0423ac [2021-05-10T09:56:40.063Z] Step 10/23 : RUN make update [2021-05-10T09:56:40.063Z] ---> Running in 20b602dc4be8 [2021-05-10T09:56:40.209Z] ---> 99ad33077b56 [2021-05-10T09:56:40.210Z] Step 10/10 : RUN go mod download [2021-05-10T09:56:40.210Z] ---> Running in da8e521f7f82 [2021-05-10T09:56:40.643Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-10T09:56:41.219Z] Removing intermediate container 20b602dc4be8 [2021-05-10T09:56:41.219Z] ---> c5befa27c9c0 [2021-05-10T09:56:41.219Z] Step 11/23 : RUN ${MAKE} [2021-05-10T09:56:41.219Z] ---> Running in 27378c7de4e3 [2021-05-10T09:56:41.485Z] 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-10T09:56:53.858Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-10T09:56:58.096Z] Removing intermediate container 27378c7de4e3 [2021-05-10T09:56:58.096Z] ---> d7699a0d4053 [2021-05-10T09:56:58.096Z] Step 12/23 : FROM alpine:3.12 [2021-05-10T09:56:58.359Z] 3.12: Pulling from library/alpine [2021-05-10T09:56:58.359Z] 339de151aab4: Pulling fs layer [2021-05-10T09:56:58.623Z] 339de151aab4: Verifying Checksum [2021-05-10T09:56:58.623Z] 339de151aab4: Download complete [2021-05-10T09:56:58.885Z] 339de151aab4: Pull complete [2021-05-10T09:56:58.885Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T09:56:58.885Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T09:56:58.885Z] ---> 13621d1b12d4 [2021-05-10T09:56:58.885Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T09:56:58.885Z] ---> Running in 9b164ed77ab1 [2021-05-10T09:56:59.465Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-10T09:56:59.465Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-10T09:56:59.746Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T09:56:59.746Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T09:56:59.746Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T09:56:59.746Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T09:56:59.746Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T09:56:59.746Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T09:56:59.746Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T09:56:59.746Z] OK: 8 MiB in 20 packages [2021-05-10T09:57:00.326Z] Removing intermediate container 9b164ed77ab1 [2021-05-10T09:57:00.326Z] ---> 6f7d8fac100b [2021-05-10T09:57:00.326Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-05-10T09:57:00.903Z] ---> df1c92c5dc6d [2021-05-10T09:57:00.903Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-10T09:57:00.903Z] ---> 462e81352035 [2021-05-10T09:57:00.903Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-10T09:57:01.166Z] ---> 4ce9343fa384 [2021-05-10T09:57:01.166Z] Step 17/23 : EXPOSE 49993 [2021-05-10T09:57:01.166Z] ---> Running in 64b619590faf [2021-05-10T09:57:01.428Z] Removing intermediate container 64b619590faf [2021-05-10T09:57:01.428Z] ---> 6912b07c645e [2021-05-10T09:57:01.428Z] Step 18/23 : EXPOSE 161 [2021-05-10T09:57:01.428Z] ---> Running in 98b5ce2e6aac [2021-05-10T09:57:01.692Z] Removing intermediate container 98b5ce2e6aac [2021-05-10T09:57:01.692Z] ---> 6152da8c9b79 [2021-05-10T09:57:01.692Z] Step 19/23 : ENTRYPOINT ["/device-snmp-go"] [2021-05-10T09:57:01.692Z] ---> Running in f83c2d72b5a1 [2021-05-10T09:57:01.956Z] Removing intermediate container f83c2d72b5a1 [2021-05-10T09:57:01.956Z] ---> 3e8ec53a47e9 [2021-05-10T09:57:01.956Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-10T09:57:01.956Z] ---> Running in dd1cb5ee9849 [2021-05-10T09:57:02.219Z] Removing intermediate container dd1cb5ee9849 [2021-05-10T09:57:02.219Z] ---> 81511513a651 [2021-05-10T09:57:02.219Z] Step 21/23 : LABEL arch=amd64 [2021-05-10T09:57:02.219Z] ---> Running in 939d8675c0ef [2021-05-10T09:57:02.481Z] Removing intermediate container 939d8675c0ef [2021-05-10T09:57:02.481Z] ---> f0b604cf1469 [2021-05-10T09:57:02.481Z] Step 22/23 : LABEL git_sha=143164d98a383c63759ddaa63adc3b98c6739614 [2021-05-10T09:57:02.481Z] ---> Running in 6acb65390f27 [2021-05-10T09:57:02.481Z] Removing intermediate container 6acb65390f27 [2021-05-10T09:57:02.482Z] ---> 25eff050c4cc [2021-05-10T09:57:02.482Z] Step 23/23 : LABEL version=0.0.0 [2021-05-10T09:57:02.743Z] ---> Running in 61769164ec2d [2021-05-10T09:57:02.744Z] Removing intermediate container 61769164ec2d [2021-05-10T09:57:02.744Z] ---> 2eba624e4bcd [2021-05-10T09:57:02.744Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T09:57:02.744Z] Successfully built 2eba624e4bcd [2021-05-10T09:57:02.744Z] Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T09:57:03.566Z] ---> job-cost.sh [2021-05-10T09:57:03.567Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RWVA [2021-05-10T09:57:07.007Z] Removing intermediate container da8e521f7f82 [2021-05-10T09:57:07.007Z] ---> 4f405d1c77d6 [2021-05-10T09:57:07.007Z] Successfully built 4f405d1c77d6 [2021-05-10T09:57:07.007Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T09:57:07.385Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T09:57:07.385Z] . [Pipeline] withDockerContainer [2021-05-10T09:57:07.673Z] prd-ubuntu18.04-docker-arm64-4c-16g-4065 does not seem to be running inside a container [2021-05-10T09:57:07.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T09:57:09.170Z] $ docker top 4035ec30044e45fe8d496921967e83e972f0ab7ecceec007fa58a8a2486951b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T09:57:10.152Z] + go version [2021-05-10T09:57:10.152Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T09:57:10.193Z] $ docker stop --time=1 4035ec30044e45fe8d496921967e83e972f0ab7ecceec007fa58a8a2486951b7 [2021-05-10T09:57:12.702Z] $ docker rm -f 4035ec30044e45fe8d496921967e83e972f0ab7ecceec007fa58a8a2486951b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T09:57:13.660Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T09:57:13.660Z] . [Pipeline] withDockerContainer [2021-05-10T09:57:13.950Z] prd-ubuntu18.04-docker-arm64-4c-16g-4065 does not seem to be running inside a container [2021-05-10T09:57:14.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T09:57:15.565Z] $ docker top 7f14f503c58dfbd43988817e1872f27a828f06bf81463d4bea996c1142d48144 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T09:57:16.583Z] + go mod tidy [Pipeline] sh [2021-05-10T09:57:17.862Z] + make test [2021-05-10T09:57:17.862Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T09:57:18.507Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T09:57:19.296Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-10T09:57:45.121Z] lf-activate-venv(): INFO: Adding /tmp/venv-RWVA/bin to PATH [2021-05-10T09:57:45.121Z] INFO: No Stack... [2021-05-10T09:57:45.121Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T09:57:45.386Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T09:57:45.720Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2021-05-10T09:57:45.720Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T09:57:45.900Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-2-stack-cost] [2021-05-10T09:57:45.906Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-2-stack-cost] did not exist. Created. [2021-05-10T09:57:45.906Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T09:57:46.330Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T09:57:46.584Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T09:57:46.605Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T09:58:06.349Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-10T09:58:06.349Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.025s coverage: 0.0% of statements [2021-05-10T09:58:06.349Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T09:58:33.170Z] gofmt -l . [2021-05-10T09:58:33.170Z] [ "`gofmt -l .`" = "" ] [2021-05-10T09:58:33.170Z] ./bin/test-attribution-txt.sh [2021-05-10T09:58:33.170Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T09:58:33.219Z] $ docker stop --time=1 7f14f503c58dfbd43988817e1872f27a828f06bf81463d4bea996c1142d48144 [2021-05-10T09:58:35.412Z] $ docker rm -f 7f14f503c58dfbd43988817e1872f27a828f06bf81463d4bea996c1142d48144 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T09:58:36.361Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T09:58:36.404Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T09:58:37.426Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T09:58:38.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T09:58:38.547Z] + ls -al . [2021-05-10T09:58:38.547Z] total 132 [2021-05-10T09:58:38.547Z] drwxrwxr-x 7 jenkins jenkins 4096 May 10 09:58 . [2021-05-10T09:58:38.547Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:55 .. [2021-05-10T09:58:38.547Z] -rw-rw-r-- 1 jenkins jenkins 6 May 10 09:55 .dockerignore [2021-05-10T09:58:38.547Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:55 .git [2021-05-10T09:58:38.547Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:55 .github [2021-05-10T09:58:38.547Z] -rw-rw-r-- 1 jenkins jenkins 272 May 10 09:55 .gitignore [2021-05-10T09:58:38.547Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 10 09:55 Attribution.txt [2021-05-10T09:58:38.547Z] -rw-rw-r-- 1 jenkins jenkins 1441 May 10 09:55 Dockerfile [2021-05-10T09:58:38.547Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 10 09:55 Dockerfile.build [2021-05-10T09:58:38.547Z] -rw-rw-r-- 1 jenkins jenkins 656 May 10 09:55 Jenkinsfile [2021-05-10T09:58:38.547Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 09:55 LICENSE [2021-05-10T09:58:38.547Z] -rw-rw-r-- 1 jenkins jenkins 965 May 10 09:55 Makefile [2021-05-10T09:58:38.547Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 10 09:55 README.md [2021-05-10T09:58:38.547Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:51 VERSION [2021-05-10T09:58:38.547Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:55 bin [2021-05-10T09:58:38.547Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:55 cmd [2021-05-10T09:58:38.547Z] -rw-r--r-- 1 jenkins jenkins 8663 May 10 09:58 coverage.out [2021-05-10T09:58:38.547Z] -rw-r--r-- 1 jenkins jenkins 222 May 10 09:58 go.mod [2021-05-10T09:58:38.547Z] -rw-r--r-- 1 jenkins jenkins 21272 May 10 09:57 go.sum [2021-05-10T09:58:38.547Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:55 internal [2021-05-10T09:58:38.547Z] -rw-rw-r-- 1 jenkins jenkins 209 May 10 09:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T09:58:38.936Z] + 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=143164d98a383c63759ddaa63adc3b98c6739614 --label arch=arm64 --label version=0.0.0 . [2021-05-10T09:58:39.215Z] Sending build context to Docker daemon 388.6kB [2021-05-10T09:58:39.491Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T09:58:39.491Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-10T09:58:39.491Z] ---> 4f405d1c77d6 [2021-05-10T09:58:39.491Z] Step 3/23 : ARG MAKE='make build' [2021-05-10T09:58:39.769Z] ---> Running in ff56140f5399 [2021-05-10T09:58:40.042Z] Removing intermediate container ff56140f5399 [2021-05-10T09:58:40.042Z] ---> 0ab566217a57 [2021-05-10T09:58:40.042Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T09:58:40.322Z] ---> Running in 4751f013cfb4 [2021-05-10T09:58:40.599Z] Removing intermediate container 4751f013cfb4 [2021-05-10T09:58:40.599Z] ---> f33c8d17592b [2021-05-10T09:58:40.599Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T09:58:40.871Z] ---> Running in 3aa0d5a16527 [2021-05-10T09:58:41.467Z] Removing intermediate container 3aa0d5a16527 [2021-05-10T09:58:41.467Z] ---> 7f96c1d72338 [2021-05-10T09:58:41.467Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T09:58:41.467Z] ---> Running in 64dd5e21fcf1 [2021-05-10T09:58:43.472Z] Removing intermediate container 64dd5e21fcf1 [2021-05-10T09:58:43.472Z] ---> eee0b715a0e4 [2021-05-10T09:58:43.472Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T09:58:43.744Z] ---> Running in ec22f5aeb570 [2021-05-10T09:58:44.722Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T09:58:46.693Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T09:58:47.665Z] OK: 145 MiB in 53 packages [2021-05-10T09:58:49.101Z] Removing intermediate container ec22f5aeb570 [2021-05-10T09:58:49.101Z] ---> f156c5e90319 [2021-05-10T09:58:49.101Z] Step 8/23 : WORKDIR /device-snmp-go [2021-05-10T09:58:49.101Z] ---> Running in 9e28d735ee0f [2021-05-10T09:58:49.372Z] Removing intermediate container 9e28d735ee0f [2021-05-10T09:58:49.372Z] ---> 205523ac86dc [2021-05-10T09:58:49.372Z] Step 9/23 : COPY . . [2021-05-10T09:58:50.800Z] ---> 4de352764f35 [2021-05-10T09:58:50.801Z] Step 10/23 : RUN make update [2021-05-10T09:58:50.801Z] ---> Running in ffb14ee41a22 [2021-05-10T09:58:51.803Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-10T09:58:52.785Z] Removing intermediate container ffb14ee41a22 [2021-05-10T09:58:52.785Z] ---> bb1ed51d7f72 [2021-05-10T09:58:52.785Z] Step 11/23 : RUN ${MAKE} [2021-05-10T09:58:53.057Z] ---> Running in 6641f81e4ca0 [2021-05-10T09:58:54.036Z] 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-10T09:59:26.407Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-10T09:59:36.556Z] Removing intermediate container 6641f81e4ca0 [2021-05-10T09:59:36.556Z] ---> 8e9cda8aab4c [2021-05-10T09:59:36.556Z] Step 12/23 : FROM alpine:3.12 [2021-05-10T09:59:36.556Z] 3.12: Pulling from library/alpine [2021-05-10T09:59:36.556Z] d2f70382dc9a: Pulling fs layer [2021-05-10T09:59:36.556Z] d2f70382dc9a: Verifying Checksum [2021-05-10T09:59:36.556Z] d2f70382dc9a: Download complete [2021-05-10T09:59:37.146Z] d2f70382dc9a: Pull complete [2021-05-10T09:59:37.146Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T09:59:37.146Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T09:59:37.146Z] ---> 9852663dfa18 [2021-05-10T09:59:37.146Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T09:59:37.421Z] ---> Running in bbd726efa140 [2021-05-10T09:59:38.398Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-10T09:59:38.398Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-10T09:59:38.994Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T09:59:38.994Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T09:59:38.994Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T09:59:38.994Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T09:59:38.994Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T09:59:38.994Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T09:59:38.994Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T09:59:38.994Z] OK: 8 MiB in 20 packages [2021-05-10T09:59:40.429Z] Removing intermediate container bbd726efa140 [2021-05-10T09:59:40.429Z] ---> 6142d19fbb28 [2021-05-10T09:59:40.429Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-05-10T09:59:41.406Z] ---> 9a62e9b8fb68 [2021-05-10T09:59:41.407Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-10T09:59:42.380Z] ---> 0b132cb7c032 [2021-05-10T09:59:42.380Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-10T09:59:42.979Z] ---> 1608d8b16512 [2021-05-10T09:59:42.979Z] Step 17/23 : EXPOSE 49993 [2021-05-10T09:59:42.979Z] ---> Running in e738b24cfa39 [2021-05-10T09:59:43.569Z] Removing intermediate container e738b24cfa39 [2021-05-10T09:59:43.569Z] ---> f18da97b0654 [2021-05-10T09:59:43.569Z] Step 18/23 : EXPOSE 161 [2021-05-10T09:59:43.569Z] ---> Running in cc7c5dd5ef4c [2021-05-10T09:59:44.161Z] Removing intermediate container cc7c5dd5ef4c [2021-05-10T09:59:44.162Z] ---> a875ceb798cb [2021-05-10T09:59:44.162Z] Step 19/23 : ENTRYPOINT ["/device-snmp-go"] [2021-05-10T09:59:44.162Z] ---> Running in a70a7fac2f20 [2021-05-10T09:59:44.770Z] Removing intermediate container a70a7fac2f20 [2021-05-10T09:59:44.770Z] ---> 9ea5537bf8fd [2021-05-10T09:59:44.770Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-10T09:59:44.770Z] ---> Running in 9c41b33ed805 [2021-05-10T09:59:45.041Z] Removing intermediate container 9c41b33ed805 [2021-05-10T09:59:45.041Z] ---> 0e96118f387b [2021-05-10T09:59:45.041Z] Step 21/23 : LABEL arch=arm64 [2021-05-10T09:59:45.322Z] ---> Running in 4a4d7fb1582f [2021-05-10T09:59:45.917Z] Removing intermediate container 4a4d7fb1582f [2021-05-10T09:59:45.917Z] ---> 79aa67ad9853 [2021-05-10T09:59:45.917Z] Step 22/23 : LABEL git_sha=143164d98a383c63759ddaa63adc3b98c6739614 [2021-05-10T09:59:45.917Z] ---> Running in 235c16b24e25 [2021-05-10T09:59:46.190Z] Removing intermediate container 235c16b24e25 [2021-05-10T09:59:46.190Z] ---> c94829259cb4 [2021-05-10T09:59:46.190Z] Step 23/23 : LABEL version=0.0.0 [2021-05-10T09:59:46.461Z] ---> Running in 23e6d4ff627d [2021-05-10T09:59:46.737Z] Removing intermediate container 23e6d4ff627d [2021-05-10T09:59:46.737Z] ---> 9a43cf18a59a [2021-05-10T09:59:46.737Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T09:59:46.737Z] Successfully built 9a43cf18a59a [2021-05-10T09:59:46.737Z] 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-10T09:59:47.439Z] ---> job-cost.sh [2021-05-10T09:59:47.439Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-f5uu [2021-05-10T10:00:26.422Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T10:01:48.173Z] lf-activate-venv(): INFO: Adding /tmp/venv-f5uu/bin to PATH [2021-05-10T10:01:48.173Z] INFO: No Stack... [2021-05-10T10:01:48.767Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T10:01:49.363Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T10:01:49.737Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2021-05-10T10:01:49.737Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T10:01:49.892Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-2-stack-cost] [2021-05-10T10:01:49.899Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-2-stack-cost] did not exist. Created. [2021-05-10T10:01:49.900Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T10:01:50.406Z] /w/workspace/device-snmp-go/2@tmp/durable-25ae3695/script.sh: 1: /w/workspace/device-snmp-go/2@tmp/durable-25ae3695/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T10:01:50.785Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T10:01:50.825Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T10:01:50.959Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T10:01:50.981Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-10T10:01:52.037Z] provisioning config files... [2021-05-10T10:01:52.049Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config5167234184930554832tmp [Pipeline] { [Pipeline] sh [2021-05-10T10:01:52.428Z] + set +x [2021-05-10T10:01:52.428Z] + curl -s https://codecov.io/bash [2021-05-10T10:01:52.428Z] + bash -s -- [2021-05-10T10:01:52.692Z] [2021-05-10T10:01:52.692Z] _____ _ [2021-05-10T10:01:52.692Z] / ____| | | [2021-05-10T10:01:52.692Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T10:01:52.692Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T10:01:52.692Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T10:01:52.692Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T10:01:52.692Z] Bash-1.0.2 [2021-05-10T10:01:52.692Z] [2021-05-10T10:01:52.692Z] [2021-05-10T10:01:52.692Z] ==> git version 2.24.3 found [2021-05-10T10:01:52.692Z] ==> 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-10T10:01:52.692Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T10:01:52.692Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T10:01:52.692Z] ==> Jenkins CI detected. [2021-05-10T10:01:52.692Z] project root: . [2021-05-10T10:01:52.692Z] --> token set from env [2021-05-10T10:01:52.692Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T10:01:52.692Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T10:01:52.692Z] ==> Python coveragepy not found [2021-05-10T10:01:52.692Z] ==> Searching for coverage reports in: [2021-05-10T10:01:52.692Z] + . [2021-05-10T10:01:52.692Z] -> Found 1 reports [2021-05-10T10:01:52.692Z] ==> Detecting git/mercurial file structure [2021-05-10T10:01:52.692Z] ==> Reading reports [2021-05-10T10:01:52.692Z] + ./coverage.out bytes=8663 [2021-05-10T10:01:52.692Z] ==> Appending adjustments [2021-05-10T10:01:52.692Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T10:01:52.692Z] + Found adjustments [2021-05-10T10:01:52.692Z] ==> Gzipping contents [2021-05-10T10:01:52.692Z] 4.0K /tmp/codecov.8rPbEN.gz [2021-05-10T10:01:52.972Z] ==> Uploading reports [2021-05-10T10:01:52.972Z] url: https://codecov.io [2021-05-10T10:01:52.972Z] query: branch=PR-93&commit=143164d98a383c63759ddaa63adc3b98c6739614&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= [2021-05-10T10:01:52.972Z] -> Pinging Codecov [2021-05-10T10:01:52.972Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-93&commit=143164d98a383c63759ddaa63adc3b98c6739614&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= [2021-05-10T10:01:53.235Z] -> Uploading to [2021-05-10T10:01:53.235Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/6C56EA5C29638FB4528AC87E60AF5AE0/143164d98a383c63759ddaa63adc3b98c6739614/e225e979-fd74-44de-981b-520b4dbe67b9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T100153Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd8a099a1af46bd3aa0b894414f2447ae36338caffb621f25174c9156a6ee475 [2021-05-10T10:01:53.235Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T10:01:53.235Z] Dload Upload Total Spent Left Speed [2021-05-10T10:01:53.816Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1498 0 0 100 1498 0 4243 --:--:-- --:--:-- --:--:-- 4255 [2021-05-10T10:01:53.816Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/143164d98a383c63759ddaa63adc3b98c6739614 [Pipeline] } [2021-05-10T10:01:53.842Z] 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-10T10:01:56.034Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T10:01:56.643Z] ---> package-listing.sh [2021-05-10T10:01:56.643Z] ++ facter osfamily [2021-05-10T10:01:56.643Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T10:01:56.643Z] + OS_FAMILY=redhat [2021-05-10T10:01:56.643Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-93 [2021-05-10T10:01:56.643Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T10:01:56.643Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T10:01:56.643Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T10:01:56.643Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T10:01:56.643Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' [2021-05-10T10:01:56.643Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T10:01:56.643Z] + case "${OS_FAMILY}" in [2021-05-10T10:01:56.643Z] + rpm -qa [2021-05-10T10:01:56.643Z] + sort [2021-05-10T10:02:01.957Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T10:02:01.957Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T10:02:01.957Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T10:02:01.957Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' [2021-05-10T10:02:01.957Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-93/archives/ [2021-05-10T10:02:01.957Z] + 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-10T10:02:01.996Z] 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-10T10:02:02.310Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:02:02.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T10:02:02.657Z] [2021-05-10T10:02:02.657Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T10:02:03.021Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T10:02:03.021Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T10:02:03.021Z] df20fa9351a1: Pulling fs layer [2021-05-10T10:02:03.021Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T10:02:03.021Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T10:02:03.021Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T10:02:03.021Z] 93b61091891f: Pulling fs layer [2021-05-10T10:02:03.021Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T10:02:03.021Z] 5e14af77c1be: Pulling fs layer [2021-05-10T10:02:03.021Z] 01666e4c0597: Pulling fs layer [2021-05-10T10:02:03.021Z] aa168da1d23b: Pulling fs layer [2021-05-10T10:02:03.021Z] 46f8f816bc3b: Waiting [2021-05-10T10:02:03.021Z] 93b61091891f: Waiting [2021-05-10T10:02:03.021Z] 93b9cdb0e59b: Waiting [2021-05-10T10:02:03.021Z] 5e14af77c1be: Waiting [2021-05-10T10:02:03.021Z] 01666e4c0597: Waiting [2021-05-10T10:02:03.021Z] aa168da1d23b: Waiting [2021-05-10T10:02:03.021Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T10:02:03.021Z] 36b3adc4ff6f: Download complete [2021-05-10T10:02:03.283Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T10:02:03.283Z] 46f8f816bc3b: Download complete [2021-05-10T10:02:03.283Z] df20fa9351a1: Verifying Checksum [2021-05-10T10:02:03.283Z] df20fa9351a1: Download complete [2021-05-10T10:02:03.283Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T10:02:03.283Z] 93b9cdb0e59b: Download complete [2021-05-10T10:02:03.283Z] 93b61091891f: Download complete [2021-05-10T10:02:03.283Z] 5e14af77c1be: Verifying Checksum [2021-05-10T10:02:03.283Z] 5e14af77c1be: Download complete [2021-05-10T10:02:03.283Z] 01666e4c0597: Verifying Checksum [2021-05-10T10:02:03.283Z] 01666e4c0597: Download complete [2021-05-10T10:02:03.283Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T10:02:03.283Z] 8ad3a11d3b57: Download complete [2021-05-10T10:02:03.546Z] df20fa9351a1: Pull complete [2021-05-10T10:02:03.812Z] 36b3adc4ff6f: Pull complete [2021-05-10T10:02:04.780Z] 8ad3a11d3b57: Pull complete [2021-05-10T10:02:04.781Z] 46f8f816bc3b: Pull complete [2021-05-10T10:02:05.369Z] 93b61091891f: Pull complete [2021-05-10T10:02:05.632Z] aa168da1d23b: Verifying Checksum [2021-05-10T10:02:05.632Z] aa168da1d23b: Download complete [2021-05-10T10:02:05.895Z] 93b9cdb0e59b: Pull complete [2021-05-10T10:02:05.895Z] 5e14af77c1be: Pull complete [2021-05-10T10:02:06.162Z] 01666e4c0597: Pull complete [2021-05-10T10:02:12.799Z] aa168da1d23b: Pull complete [2021-05-10T10:02:12.799Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T10:02:12.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T10:02:12.799Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T10:02:13.038Z] prd-centos7-docker-4c-2g-4063 does not seem to be running inside a container [2021-05-10T10:02:13.112Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T10:02:16.915Z] $ docker top c4f79a1cb589d1ba924e3af6558e53526955a565ffb799223d16e68d06dccd7b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T10:02:17.488Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T10:02:17.814Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T10:02:18.135Z] + ls /var/log/sa-host [2021-05-10T10:02:18.135Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T10:02:18.136Z] file_magic: OK [2021-05-10T10:02:18.136Z] HZ: Using current value: 100 [2021-05-10T10:02:18.136Z] file_header: OK [2021-05-10T10:02:18.136Z] 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-10T10:02:18.136Z] Statistics: [2021-05-10T10:02:18.136Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T10:02:18.136Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T10:02:18.136Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T10:02:18.136Z] file_magic: OK [2021-05-10T10:02:18.136Z] HZ: Using current value: 100 [2021-05-10T10:02:18.136Z] file_header: OK [2021-05-10T10:02:18.136Z] 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-10T10:02:18.136Z] Statistics: [2021-05-10T10:02:18.136Z] Hnuu...uuuununununu... [2021-05-10T10:02:18.136Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T10:02:18.385Z] provisioning config files... [2021-05-10T10:02:18.408Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config6735644115876379544tmp [Pipeline] { [Pipeline] echo [2021-05-10T10:02:18.469Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T10:02:18.809Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T10:02:18.835Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T10:02:18.916Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T10:02:19.265Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T10:02:19.303Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T10:02:19.658Z] ---> sudo-logs.sh [2021-05-10T10:02:19.658Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T10:02:19.746Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T10:02:20.087Z] ---> job-cost.sh [2021-05-10T10:02:20.087Z] lf-activate-venv: SKIPPING [2021-05-10T10:02:20.087Z] DEBUG: total: 0.20999999344348907 [2021-05-10T10:02:20.087Z] INFO: Retrieving Stack Cost... [2021-05-10T10:02:21.036Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T10:02:21.611Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T10:02:21.645Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T10:02:21.990Z] ---> logs-deploy.sh [2021-05-10T10:02:21.990Z] lf-activate-venv: SKIPPING [2021-05-10T10:02:21.990Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-93/2 [2021-05-10T10:02:21.990Z] INFO: archiving workspace using pattern(s): [2021-05-10T10:02:23.910Z] Archives upload complete. [2021-05-10T10:02:23.910Z] INFO: archiving logs to Nexus