Pull request #116 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 cloudxxx8 for edgexfoundry/device-snmp-go Obtained Jenkinsfile from e5219133750b379a1257bf2430fb2eeceabfc390+828c04b1f0eb937037ce2076f410b90c0d25fe4c (f0f21bc1fedcb637071061d571fdd0e9182422c4) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5430926958243549443.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9171792001306174900.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-116/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-116/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5020180168744940285.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4441905929299633964.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-116/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-116/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3069690531030441364.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-318 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-116 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/jenkins-gitclient-ssh2163783463927047105.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/jenkins-gitclient-ssh4372125955912025806.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit e5219133750b379a1257bf2430fb2eeceabfc390 Merge succeeded, producing e5219133750b379a1257bf2430fb2eeceabfc390 Checking out Revision e5219133750b379a1257bf2430fb2eeceabfc390 (PR-116) > git config core.sparsecheckout # timeout=10 > git checkout -f e5219133750b379a1257bf2430fb2eeceabfc390 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/jenkins-gitclient-ssh9091203026836143195.key > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e5219133750b379a1257bf2430fb2eeceabfc390 # timeout=10 Commit message: "docs: Remove dev churn and add dependency refs" > git rev-list --no-walk d8626894defcb2c2b52710bcc5fb3763afdac6b6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-27T07:07:47.204Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-27T07:07:47.298Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-27T07:07:47.331Z] ========================================================= [2021-06-27T07:07:47.331Z] EdgeX Global Pipelines Version Info [2021-06-27T07:07:47.331Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:07:48.766Z] ------------------- [2021-06-27T07:07:48.766Z] stable info: [2021-06-27T07:07:48.766Z] ------------------- [2021-06-27T07:07:48.766Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-27T07:07:48.766Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:07:48.766Z] Message: update stable to v1.0.195 [2021-06-27T07:07:49.339Z] ------------------- [2021-06-27T07:07:49.340Z] experimental info: [2021-06-27T07:07:49.340Z] ------------------- [2021-06-27T07:07:49.340Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-27T07:07:49.340Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:07:49.340Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-27T07:07:49.472Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-27T07:07:49.498Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-27T07:07:49.525Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-27T07:07:49.556Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-27T07:07:49.587Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-27T07:07:49.614Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-27T07:07:49.640Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-27T07:07:49.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-27T07:07:49.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-27T07:07:49.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-27T07:07:49.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-27T07:07:49.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-27T07:07:49.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-27T07:07:49.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-27T07:07:49.886Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:07:49.916Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:07:49.940Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:07:49.964Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:07:49.988Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-27T07:07:50.013Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-27T07:07:50.041Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-27T07:07:50.071Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-27T07:07:50.099Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-27T07:07:50.128Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-27T07:07:50.156Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-27T07:07:50.193Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-27T07:07:50.222Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-116 [Pipeline] echo [2021-06-27T07:07:50.248Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-116 [Pipeline] echo [2021-06-27T07:07:50.295Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-116 [Pipeline] echo [2021-06-27T07:07:50.341Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5219133750b379a1257bf2430fb2eeceabfc390 [Pipeline] echo [2021-06-27T07:07:50.369Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e521913 [Pipeline] echo [2021-06-27T07:07:50.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:07:50.480Z] provisioning config files... [2021-06-27T07:07:50.496Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config1045198249295979620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:07:50.817Z] ---> docker-login.sh [2021-06-27T07:07:50.817Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:07:50.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:07:51.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:07:51.089Z] Configure a credential helper to remove this warning. See [2021-06-27T07:07:51.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:07:51.089Z] [2021-06-27T07:07:51.089Z] Login Succeeded [2021-06-27T07:07:51.089Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:07:51.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:07:51.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:07:51.089Z] Configure a credential helper to remove this warning. See [2021-06-27T07:07:51.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:07:51.089Z] [2021-06-27T07:07:51.089Z] Login Succeeded [2021-06-27T07:07:51.089Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:07:51.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:07:51.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:07:51.352Z] Configure a credential helper to remove this warning. See [2021-06-27T07:07:51.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:07:51.352Z] [2021-06-27T07:07:51.352Z] Login Succeeded [2021-06-27T07:07:51.352Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:07:51.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:07:51.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:07:51.352Z] Configure a credential helper to remove this warning. See [2021-06-27T07:07:51.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:07:51.352Z] [2021-06-27T07:07:51.352Z] Login Succeeded [2021-06-27T07:07:51.352Z] docker.io [2021-06-27T07:07:51.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:07:51.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:07:51.883Z] Configure a credential helper to remove this warning. See [2021-06-27T07:07:51.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:07:51.883Z] [2021-06-27T07:07:51.883Z] Login Succeeded [2021-06-27T07:07:51.883Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:07:51.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:07:52.434Z] + git log --format=format:%s -1 e5219133750b379a1257bf2430fb2eeceabfc390 [Pipeline] echo [2021-06-27T07:07:52.475Z] GIT_COMMIT: e5219133750b379a1257bf2430fb2eeceabfc390, Commit Message: docs: Remove dev churn and add dependency refs [Pipeline] echo [2021-06-27T07:07:52.490Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:07:53.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:07:53.437Z] [2021-06-27T07:07:53.437Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:07:53.757Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:07:53.757Z] latest: Pulling from edgex-devops/git-semver [2021-06-27T07:07:53.757Z] 31603596830f: Pulling fs layer [2021-06-27T07:07:53.757Z] 54011a49482f: Pulling fs layer [2021-06-27T07:07:53.757Z] a6820b24f6d8: Pulling fs layer [2021-06-27T07:07:53.757Z] f581987b2513: Pulling fs layer [2021-06-27T07:07:53.757Z] f581987b2513: Waiting [2021-06-27T07:07:53.757Z] 54011a49482f: Verifying Checksum [2021-06-27T07:07:53.757Z] 54011a49482f: Download complete [2021-06-27T07:07:53.757Z] 31603596830f: Verifying Checksum [2021-06-27T07:07:53.757Z] 31603596830f: Download complete [2021-06-27T07:07:54.020Z] f581987b2513: Verifying Checksum [2021-06-27T07:07:54.020Z] f581987b2513: Download complete [2021-06-27T07:07:54.020Z] a6820b24f6d8: Verifying Checksum [2021-06-27T07:07:54.020Z] a6820b24f6d8: Download complete [2021-06-27T07:07:54.020Z] 31603596830f: Pull complete [2021-06-27T07:07:54.283Z] 54011a49482f: Pull complete [2021-06-27T07:07:54.864Z] a6820b24f6d8: Pull complete [2021-06-27T07:07:54.864Z] f581987b2513: Pull complete [2021-06-27T07:07:55.125Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-27T07:07:55.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:07:55.125Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-27T07:07:55.203Z] prd-centos7-docker-4c-2g-318 does not seem to be running inside a container [2021-06-27T07:07:55.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-116 -v /w/workspace/gexfoundry_device-snmp-go_PR-116:/w/workspace/gexfoundry_device-snmp-go_PR-116:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-27T07:07:56.492Z] $ docker top cf284d14cac87b219210e38ba32dc0121e62d2c1ba9a9487860d587997218b7a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-27T07:07:56.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:07:56.614Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:07:56.737Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:07:56.740Z] $ docker exec cf284d14cac87b219210e38ba32dc0121e62d2c1ba9a9487860d587997218b7a ssh-agent [2021-06-27T07:07:56.860Z] SSH_AUTH_SOCK=/tmp/ssh-S3C7IIS6oXbS/agent.13 [2021-06-27T07:07:56.860Z] SSH_AGENT_PID=20 [2021-06-27T07:07:56.870Z] Running ssh-add (command line suppressed) [2021-06-27T07:07:56.967Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_833446554843521033.key (/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_833446554843521033.key) [2021-06-27T07:07:56.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:07:57.292Z] + git tag --points-at HEAD [Pipeline] } [2021-06-27T07:07:57.306Z] $ docker exec --env ******** --env ******** cf284d14cac87b219210e38ba32dc0121e62d2c1ba9a9487860d587997218b7a ssh-agent -k [2021-06-27T07:07:57.399Z] unset SSH_AUTH_SOCK; [2021-06-27T07:07:57.402Z] unset SSH_AGENT_PID; [2021-06-27T07:07:57.402Z] echo Agent pid 20 killed; [2021-06-27T07:07:57.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-27T07:07:57.460Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:07:57.460Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:07:57.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:07:57.592Z] $ docker exec cf284d14cac87b219210e38ba32dc0121e62d2c1ba9a9487860d587997218b7a ssh-agent [2021-06-27T07:07:57.707Z] SSH_AUTH_SOCK=/tmp/ssh-jkhZNjTekzb8/agent.54 [2021-06-27T07:07:57.707Z] SSH_AGENT_PID=60 [2021-06-27T07:07:57.714Z] Running ssh-add (command line suppressed) [2021-06-27T07:07:57.817Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_3700124406257747735.key (/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_3700124406257747735.key) [2021-06-27T07:07:57.834Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:07:58.149Z] + git semver init [2021-06-27T07:07:58.149Z] # -> Open(): unable to determine branch for HEAD [2021-06-27T07:07:58.149Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-116/.git [2021-06-27T07:07:58.149Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-116 [2021-06-27T07:07:58.149Z] # $SEMVER_REMOTE_NAME = origin [2021-06-27T07:07:58.149Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-27T07:07:58.149Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-27T07:07:58.149Z] # $SEMVER_BRANCH = PR-116 [2021-06-27T07:07:58.149Z] # $SEMVER_TEMP = /tmp/semver-058530915 [2021-06-27T07:07:58.149Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-27T07:07:58.414Z] # '/tmp/semver-058530915' -> '/w/workspace/gexfoundry_device-snmp-go_PR-116/.semver' [2021-06-27T07:07:58.414Z] # -> Force: false [2021-06-27T07:07:58.414Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-116/.semver [Pipeline] } [2021-06-27T07:07:58.429Z] $ docker exec --env ******** --env ******** cf284d14cac87b219210e38ba32dc0121e62d2c1ba9a9487860d587997218b7a ssh-agent -k [2021-06-27T07:07:58.546Z] unset SSH_AUTH_SOCK; [2021-06-27T07:07:58.547Z] unset SSH_AGENT_PID; [2021-06-27T07:07:58.547Z] echo Agent pid 60 killed; [2021-06-27T07:07:58.560Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-27T07:07:58.918Z] + git semver [Pipeline] } [2021-06-27T07:07:58.932Z] $ docker stop --time=1 cf284d14cac87b219210e38ba32dc0121e62d2c1ba9a9487860d587997218b7a [2021-06-27T07:08:00.201Z] $ docker rm -f cf284d14cac87b219210e38ba32dc0121e62d2c1ba9a9487860d587997218b7a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:08:00.580Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-27T07:08:00.851Z] Stashed 1 file(s) [Pipeline] echo [2021-06-27T07:08:00.855Z] [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-06-27T07:08:16.090Z] Still waiting to schedule task [2021-06-27T07:08:16.091Z] ‘prd-centos7-blackbox-4c-2g-214’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:08:16.091Z] ‘prd-centos7-docker-4c-2g-312’ is offline [2021-06-27T07:08:16.091Z] ‘prd-centos7-docker-4c-2g-320’ is offline [2021-06-27T07:08:16.092Z] ‘prd-centos7-docker-4c-2g-915’ is offline [2021-06-27T07:08:16.092Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:08:16.092Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-315’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:08:16.092Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-319’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:08:16.095Z] Still waiting to schedule task [2021-06-27T07:08:16.095Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-27T07:08:35.490Z] Running on prd-centos7-docker-4c-2g-321 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [Pipeline] { [Pipeline] ws [2021-06-27T07:08:35.509Z] Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout [2021-06-27T07:08:35.626Z] Selected Git installation does not exist. Using Default [2021-06-27T07:08:35.626Z] The recommended git tool is: NONE [2021-06-27T07:08:37.958Z] using credential edgex-jenkins-ssh [2021-06-27T07:08:37.978Z] Cloning the remote Git repository [2021-06-27T07:08:37.661Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-27T07:08:37.748Z] > git init /w/workspace/device-snmp-go/4 # timeout=10 [2021-06-27T07:08:37.783Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-27T07:08:37.783Z] > git --version # timeout=10 [2021-06-27T07:08:37.796Z] > git --version # 'git version 2.24.4' [2021-06-27T07:08:37.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:08:37.824Z] [INFO] Currently running in a labeled security context [2021-06-27T07:08:37.825Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:08:37.825Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/4@tmp/jenkins-gitclient-ssh5230909055388342905.key [2021-06-27T07:08:37.865Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:08:38.406Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-27T07:08:38.417Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:08:38.429Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-27T07:08:38.444Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-27T07:08:38.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:08:38.448Z] [INFO] Currently running in a labeled security context [2021-06-27T07:08:38.448Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:08:38.448Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/4@tmp/jenkins-gitclient-ssh8545601412677698707.key [2021-06-27T07:08:38.455Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-27T07:08:39.166Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit e5219133750b379a1257bf2430fb2eeceabfc390 [2021-06-27T07:08:39.264Z] Merge succeeded, producing e5219133750b379a1257bf2430fb2eeceabfc390 [2021-06-27T07:08:39.265Z] Checking out Revision e5219133750b379a1257bf2430fb2eeceabfc390 (PR-116) [2021-06-27T07:08:38.935Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:08:38.949Z] > git checkout -f e5219133750b379a1257bf2430fb2eeceabfc390 # timeout=10 [2021-06-27T07:08:38.981Z] > git remote # timeout=10 [2021-06-27T07:08:38.988Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:08:38.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:08:38.997Z] [INFO] Currently running in a labeled security context [2021-06-27T07:08:38.997Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:08:38.997Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/4@tmp/jenkins-gitclient-ssh3969350900000782088.key [2021-06-27T07:08:39.004Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-27T07:08:39.019Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:08:39.034Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:08:39.038Z] > git checkout -f e5219133750b379a1257bf2430fb2eeceabfc390 # timeout=10 [2021-06-27T07:08:42.649Z] Commit message: "docs: Remove dev churn and add dependency refs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:08:43.778Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:08:44.128Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:08:44.435Z] + sudo service docker restart [2021-06-27T07:08:44.435Z] + true [2021-06-27T07:08:44.435Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:09:02.639Z] provisioning config files... [2021-06-27T07:09:02.662Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config8597077897053008039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:09:03.011Z] ---> docker-login.sh [2021-06-27T07:09:03.011Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:09:03.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:09:03.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:09:03.282Z] Configure a credential helper to remove this warning. See [2021-06-27T07:09:03.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:09:03.282Z] [2021-06-27T07:09:03.282Z] Login Succeeded [2021-06-27T07:09:03.282Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:09:03.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:09:03.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:09:03.550Z] Configure a credential helper to remove this warning. See [2021-06-27T07:09:03.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:09:03.550Z] [2021-06-27T07:09:03.550Z] Login Succeeded [2021-06-27T07:09:03.550Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:09:03.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:09:03.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:09:03.550Z] Configure a credential helper to remove this warning. See [2021-06-27T07:09:03.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:09:03.550Z] [2021-06-27T07:09:03.550Z] Login Succeeded [2021-06-27T07:09:03.550Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:09:03.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:09:03.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:09:03.813Z] Configure a credential helper to remove this warning. See [2021-06-27T07:09:03.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:09:03.813Z] [2021-06-27T07:09:03.813Z] Login Succeeded [2021-06-27T07:09:03.813Z] docker.io [2021-06-27T07:09:03.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:09:04.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:09:04.389Z] Configure a credential helper to remove this warning. See [2021-06-27T07:09:04.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:09:04.389Z] [2021-06-27T07:09:04.389Z] Login Succeeded [2021-06-27T07:09:04.389Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:09:04.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:09:04.578Z] ========================================================= [2021-06-27T07:09:04.578Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-27T07:09:04.578Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:09:04.904Z] + 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-06-27T07:09:04.904Z] Sending build context to Docker daemon 391.2kB [2021-06-27T07:09:04.904Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:09:04.904Z] Step 2/10 : FROM ${BASE} [2021-06-27T07:09:04.904Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-27T07:09:04.904Z] 540db60ca938: Pulling fs layer [2021-06-27T07:09:04.904Z] adcc1eea9eea: Pulling fs layer [2021-06-27T07:09:04.904Z] 4c4ab2625f07: Pulling fs layer [2021-06-27T07:09:04.904Z] 0510c868ecb4: Pulling fs layer [2021-06-27T07:09:04.904Z] afea3b2eda06: Pulling fs layer [2021-06-27T07:09:04.904Z] 7809a108b3ef: Pulling fs layer [2021-06-27T07:09:04.904Z] f706445af74f: Pulling fs layer [2021-06-27T07:09:04.904Z] afea3b2eda06: Waiting [2021-06-27T07:09:04.904Z] 7809a108b3ef: Waiting [2021-06-27T07:09:04.904Z] f706445af74f: Waiting [2021-06-27T07:09:04.904Z] 0510c868ecb4: Waiting [2021-06-27T07:09:05.175Z] 4c4ab2625f07: Verifying Checksum [2021-06-27T07:09:05.175Z] 4c4ab2625f07: Download complete [2021-06-27T07:09:05.175Z] adcc1eea9eea: Verifying Checksum [2021-06-27T07:09:05.175Z] adcc1eea9eea: Download complete [2021-06-27T07:09:05.175Z] afea3b2eda06: Verifying Checksum [2021-06-27T07:09:05.175Z] afea3b2eda06: Download complete [2021-06-27T07:09:05.175Z] 7809a108b3ef: Verifying Checksum [2021-06-27T07:09:05.175Z] 7809a108b3ef: Download complete [2021-06-27T07:09:05.175Z] 540db60ca938: Verifying Checksum [2021-06-27T07:09:05.175Z] 540db60ca938: Download complete [2021-06-27T07:09:05.175Z] 540db60ca938: Pull complete [2021-06-27T07:09:05.436Z] adcc1eea9eea: Pull complete [2021-06-27T07:09:05.436Z] 4c4ab2625f07: Pull complete [2021-06-27T07:09:06.834Z] f706445af74f: Verifying Checksum [2021-06-27T07:09:06.834Z] f706445af74f: Download complete [2021-06-27T07:09:07.409Z] 0510c868ecb4: Verifying Checksum [2021-06-27T07:09:07.409Z] 0510c868ecb4: Download complete [2021-06-27T07:09:11.653Z] 0510c868ecb4: Pull complete [2021-06-27T07:09:11.654Z] afea3b2eda06: Pull complete [2021-06-27T07:09:11.654Z] 7809a108b3ef: Pull complete [2021-06-27T07:09:12.613Z] f706445af74f: Pull complete [2021-06-27T07:09:12.613Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-27T07:09:12.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-27T07:09:12.613Z] ---> b068be0155e3 [2021-06-27T07:09:12.613Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:09:17.913Z] ---> Running in ebd4d8a0526f [2021-06-27T07:09:17.913Z] Removing intermediate container ebd4d8a0526f [2021-06-27T07:09:17.913Z] ---> 35979e4f0883 [2021-06-27T07:09:17.913Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:09:17.913Z] ---> Running in 8725490248de [2021-06-27T07:09:17.913Z] Removing intermediate container 8725490248de [2021-06-27T07:09:17.913Z] ---> a2cf79c74892 [2021-06-27T07:09:17.913Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-27T07:09:17.913Z] ---> Running in 11e75a9b7940 [2021-06-27T07:09:17.913Z] Removing intermediate container 11e75a9b7940 [2021-06-27T07:09:17.913Z] ---> fa9f779aa44a [2021-06-27T07:09:17.913Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:09:17.913Z] ---> Running in 4877be1e34e4 [2021-06-27T07:09:18.177Z] Removing intermediate container 4877be1e34e4 [2021-06-27T07:09:18.177Z] ---> d616cd0b4135 [2021-06-27T07:09:18.177Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:09:18.177Z] ---> Running in c4deb39457c6 [2021-06-27T07:09:18.439Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:09:19.388Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:09:19.962Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-27T07:09:19.962Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-27T07:09:20.225Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-27T07:09:20.225Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:09:20.488Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:09:20.488Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-27T07:09:20.488Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:09:21.063Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-27T07:09:21.063Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-27T07:09:21.063Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-27T07:09:21.326Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-27T07:09:21.587Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-27T07:09:21.849Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:09:21.849Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:09:21.849Z] OK: 156 MiB in 53 packages [2021-06-27T07:09:22.425Z] Removing intermediate container c4deb39457c6 [2021-06-27T07:09:22.425Z] ---> b62b958ac18c [2021-06-27T07:09:22.425Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-27T07:09:22.425Z] ---> Running in fecb8973d9e8 [2021-06-27T07:09:22.425Z] Removing intermediate container fecb8973d9e8 [2021-06-27T07:09:22.425Z] ---> ef8a64d6a55c [2021-06-27T07:09:22.425Z] Step 9/10 : COPY . . [2021-06-27T07:09:22.692Z] ---> 0f9040b36a1e [2021-06-27T07:09:22.692Z] Step 10/10 : RUN go mod download [2021-06-27T07:09:22.692Z] ---> Running in c7d80d372f29 [2021-06-27T07:09:34.977Z] Removing intermediate container c7d80d372f29 [2021-06-27T07:09:34.977Z] ---> 4eb52f400bee [2021-06-27T07:09:34.977Z] Successfully built 4eb52f400bee [2021-06-27T07:09:34.977Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:09:35.288Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:09:35.289Z] . [Pipeline] withDockerContainer [2021-06-27T07:09:35.381Z] prd-centos7-docker-4c-2g-321 does not seem to be running inside a container [2021-06-27T07:09:35.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-27T07:09:35.808Z] $ docker top fc0a388a6b500e17f93c50a59fbaf0a18d904edfbcda07e8797fca14b8b59c7a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:09:36.217Z] + go version [2021-06-27T07:09:36.217Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-27T07:09:36.226Z] $ docker stop --time=1 fc0a388a6b500e17f93c50a59fbaf0a18d904edfbcda07e8797fca14b8b59c7a [2021-06-27T07:09:37.424Z] $ docker rm -f fc0a388a6b500e17f93c50a59fbaf0a18d904edfbcda07e8797fca14b8b59c7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:09:37.963Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:09:37.963Z] . [Pipeline] withDockerContainer [2021-06-27T07:09:38.044Z] prd-centos7-docker-4c-2g-321 does not seem to be running inside a container [2021-06-27T07:09:38.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-27T07:09:38.469Z] $ docker top b57ba094e199528c2a389694c895ec8601a73cecfa48ebcd6de456d8856372f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:09:38.875Z] + go mod tidy [Pipeline] sh [2021-06-27T07:09:39.461Z] + make test [2021-06-27T07:09:39.461Z] go mod tidy [2021-06-27T07:09:39.732Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-27T07:09:39.996Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-27T07:09:58.226Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-27T07:09:58.226Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2021-06-27T07:09:58.226Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:10:03.577Z] gofmt -l . [2021-06-27T07:10:03.577Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:10:03.577Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-27T07:10:04.164Z] $ docker stop --time=1 b57ba094e199528c2a389694c895ec8601a73cecfa48ebcd6de456d8856372f3 [2021-06-27T07:10:05.688Z] $ docker rm -f b57ba094e199528c2a389694c895ec8601a73cecfa48ebcd6de456d8856372f3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:10:06.135Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:10:06.336Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-27T07:10:07.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:10:07.894Z] + ls -al . [2021-06-27T07:10:07.894Z] total 112 [2021-06-27T07:10:07.894Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 27 07:10 . [2021-06-27T07:10:07.894Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 27 07:08 .. [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 27 07:08 Attribution.txt [2021-06-27T07:10:07.894Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 27 07:08 bin [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 4401 Jun 27 07:08 CHANGELOG.md [2021-06-27T07:10:07.894Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 27 07:08 cmd [2021-06-27T07:10:07.894Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 27 07:09 coverage.out [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 27 07:08 Dockerfile [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 27 07:08 Dockerfile.build [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 27 07:08 .dockerignore [2021-06-27T07:10:07.894Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 27 07:08 .git [2021-06-27T07:10:07.894Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 27 07:08 .github [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 27 07:08 .gitignore [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 223 Jun 27 07:08 go.mod [2021-06-27T07:10:07.894Z] -rw-r--r--. 1 jenkins jenkins 21038 Jun 27 07:09 go.sum [2021-06-27T07:10:07.894Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 27 07:08 internal [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 27 07:08 Jenkinsfile [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 27 07:08 LICENSE [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 27 07:08 Makefile [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 27 07:08 README.md [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 27 07:08 VERSION [2021-06-27T07:10:07.894Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 27 07:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:10:08.209Z] + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e5219133750b379a1257bf2430fb2eeceabfc390 --label arch=amd64 --label version=0.0.0 . [2021-06-27T07:10:08.209Z] Sending build context to Docker daemon 399.4kB [2021-06-27T07:10:08.209Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:10:08.209Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-27T07:10:08.209Z] ---> 4eb52f400bee [2021-06-27T07:10:08.209Z] Step 3/24 : ARG MAKE='make build' [2021-06-27T07:10:08.209Z] ---> Running in 396255ddd832 [2021-06-27T07:10:08.209Z] Removing intermediate container 396255ddd832 [2021-06-27T07:10:08.209Z] ---> d193b8329fba [2021-06-27T07:10:08.209Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:10:08.475Z] ---> Running in 65077a9bc0da [2021-06-27T07:10:08.476Z] Removing intermediate container 65077a9bc0da [2021-06-27T07:10:08.476Z] ---> 33ca205bfd13 [2021-06-27T07:10:08.476Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:10:08.476Z] ---> Running in 2c7cdaf6a13f [2021-06-27T07:10:08.476Z] Removing intermediate container 2c7cdaf6a13f [2021-06-27T07:10:08.476Z] ---> da19a345b93b [2021-06-27T07:10:08.476Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:10:08.476Z] ---> Running in 964bd4477328 [2021-06-27T07:10:09.058Z] Removing intermediate container 964bd4477328 [2021-06-27T07:10:09.058Z] ---> 8564ee252e03 [2021-06-27T07:10:09.058Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:10:09.326Z] ---> Running in 7dd84413f2f2 [2021-06-27T07:10:09.595Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:10:10.547Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:10:10.813Z] OK: 156 MiB in 53 packages [2021-06-27T07:10:11.077Z] Removing intermediate container 7dd84413f2f2 [2021-06-27T07:10:11.077Z] ---> 3a03e7f8c377 [2021-06-27T07:10:11.077Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-27T07:10:11.077Z] ---> Running in 3c593de231af [2021-06-27T07:10:11.077Z] Removing intermediate container 3c593de231af [2021-06-27T07:10:11.077Z] ---> dcd0a1632bf3 [2021-06-27T07:10:11.077Z] Step 9/24 : COPY . . [2021-06-27T07:10:11.342Z] ---> 7bea8cfc249c [2021-06-27T07:10:11.342Z] Step 10/24 : RUN go mod tidy [2021-06-27T07:10:11.342Z] ---> Running in 74971c19804d [2021-06-27T07:10:12.296Z] Removing intermediate container 74971c19804d [2021-06-27T07:10:12.296Z] ---> 03868f540860 [2021-06-27T07:10:12.296Z] Step 11/24 : RUN make update [2021-06-27T07:10:12.296Z] ---> Running in 81fe852f417e [2021-06-27T07:10:12.568Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-27T07:10:12.834Z] Removing intermediate container 81fe852f417e [2021-06-27T07:10:12.834Z] ---> ffbeef4c1d59 [2021-06-27T07:10:12.834Z] Step 12/24 : RUN ${MAKE} [2021-06-27T07:10:12.834Z] ---> Running in b62ff436800e [2021-06-27T07:10:13.100Z] go mod tidy [2021-06-27T07:10:13.370Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-27T07:10:26.562Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-322 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [Pipeline] { [Pipeline] ws [2021-06-27T07:10:26.582Z] Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout [2021-06-27T07:10:26.801Z] Selected Git installation does not exist. Using Default [2021-06-27T07:10:26.801Z] The recommended git tool is: NONE [2021-06-27T07:10:28.375Z] Removing intermediate container b62ff436800e [2021-06-27T07:10:28.375Z] ---> f38e22e26933 [2021-06-27T07:10:28.375Z] Step 13/24 : FROM alpine:3.12 [2021-06-27T07:10:28.375Z] 3.12: Pulling from library/alpine [2021-06-27T07:10:28.375Z] 339de151aab4: Pulling fs layer [2021-06-27T07:10:28.375Z] 339de151aab4: Verifying Checksum [2021-06-27T07:10:28.375Z] 339de151aab4: Download complete [2021-06-27T07:10:28.375Z] 339de151aab4: Pull complete [2021-06-27T07:10:28.375Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:10:28.375Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:10:28.375Z] ---> 13621d1b12d4 [2021-06-27T07:10:28.375Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:10:28.375Z] ---> Running in e9088ac98650 [2021-06-27T07:10:28.375Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:10:28.375Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:10:28.375Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:10:28.375Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:10:28.375Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:10:28.375Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:10:28.375Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:10:28.375Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:10:28.375Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:10:28.375Z] OK: 8 MiB in 20 packages [2021-06-27T07:10:28.375Z] Removing intermediate container e9088ac98650 [2021-06-27T07:10:28.375Z] ---> bf71c81c7350 [2021-06-27T07:10:28.375Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-27T07:10:28.375Z] ---> ec749e0030ba [2021-06-27T07:10:28.375Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-27T07:10:28.375Z] ---> df77cb41d048 [2021-06-27T07:10:28.375Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-27T07:10:28.638Z] ---> 4fc96632ec34 [2021-06-27T07:10:28.638Z] Step 18/24 : EXPOSE 59993 [2021-06-27T07:10:28.638Z] ---> Running in 9a8dc2939679 [2021-06-27T07:10:28.638Z] Removing intermediate container 9a8dc2939679 [2021-06-27T07:10:28.638Z] ---> ea80b7bff5e8 [2021-06-27T07:10:28.638Z] Step 19/24 : EXPOSE 161 [2021-06-27T07:10:28.638Z] ---> Running in ce15d7e1ca9e [2021-06-27T07:10:28.638Z] Removing intermediate container ce15d7e1ca9e [2021-06-27T07:10:28.638Z] ---> 0f63b67f1283 [2021-06-27T07:10:28.638Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-27T07:10:28.901Z] ---> Running in c52871dbdbab [2021-06-27T07:10:28.901Z] Removing intermediate container c52871dbdbab [2021-06-27T07:10:28.901Z] ---> b6916defac00 [2021-06-27T07:10:28.901Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-27T07:10:28.901Z] ---> Running in bfd022378328 [2021-06-27T07:10:28.901Z] Removing intermediate container bfd022378328 [2021-06-27T07:10:28.901Z] ---> a4cd6b61b9ce [2021-06-27T07:10:28.901Z] Step 22/24 : LABEL arch=amd64 [2021-06-27T07:10:28.901Z] ---> Running in ab514aaab8a6 [2021-06-27T07:10:29.169Z] Removing intermediate container ab514aaab8a6 [2021-06-27T07:10:29.169Z] ---> e04307ad22f7 [2021-06-27T07:10:29.169Z] Step 23/24 : LABEL git_sha=e5219133750b379a1257bf2430fb2eeceabfc390 [2021-06-27T07:10:29.169Z] ---> Running in 9406647b4101 [2021-06-27T07:10:29.169Z] Removing intermediate container 9406647b4101 [2021-06-27T07:10:29.169Z] ---> 2c51b75500da [2021-06-27T07:10:29.169Z] Step 24/24 : LABEL version=0.0.0 [2021-06-27T07:10:29.169Z] ---> Running in ad0f12a756d1 [2021-06-27T07:10:29.431Z] Removing intermediate container ad0f12a756d1 [2021-06-27T07:10:29.431Z] ---> 3cffa5ede135 [2021-06-27T07:10:29.431Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:10:29.431Z] Successfully built 3cffa5ede135 [2021-06-27T07:10:29.431Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:10:30.167Z] ---> job-cost.sh [2021-06-27T07:10:30.167Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BxOL [2021-06-27T07:10:32.150Z] using credential edgex-jenkins-ssh [2021-06-27T07:10:32.169Z] Cloning the remote Git repository [2021-06-27T07:10:32.225Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-27T07:10:32.354Z] > git init /w/workspace/device-snmp-go/4 # timeout=10 [2021-06-27T07:10:32.440Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-27T07:10:32.441Z] > git --version # timeout=10 [2021-06-27T07:10:32.457Z] > git --version # 'git version 2.17.1' [2021-06-27T07:10:32.459Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:10:32.553Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:10:33.889Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit e5219133750b379a1257bf2430fb2eeceabfc390 [2021-06-27T07:10:34.072Z] Merge succeeded, producing e5219133750b379a1257bf2430fb2eeceabfc390 [2021-06-27T07:10:34.073Z] Checking out Revision e5219133750b379a1257bf2430fb2eeceabfc390 (PR-116) [2021-06-27T07:10:33.252Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-27T07:10:33.270Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:10:33.298Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-27T07:10:33.332Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-27T07:10:33.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:10:33.345Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-27T07:10:33.902Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:10:33.919Z] > git checkout -f e5219133750b379a1257bf2430fb2eeceabfc390 # timeout=10 [2021-06-27T07:10:33.991Z] > git remote # timeout=10 [2021-06-27T07:10:34.006Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:10:34.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:10:34.031Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-27T07:10:34.052Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:10:34.073Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:10:34.084Z] > git checkout -f e5219133750b379a1257bf2430fb2eeceabfc390 # timeout=10 [2021-06-27T07:10:38.327Z] Commit message: "docs: Remove dev churn and add dependency refs" [2021-06-27T07:10:38.593Z] [2021-06-27T07:10:38.593Z] GitHub has been notified of this commit’s build result [2021-06-27T07:10:38.593Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:10:39.599Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:10:40.166Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:10:40.213Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:10:40.516Z] + sudo service docker restart [2021-06-27T07:10:40.516Z] + true [2021-06-27T07:10:55.171Z] lf-activate-venv(): INFO: Adding /tmp/venv-BxOL/bin to PATH [2021-06-27T07:10:55.171Z] INFO: No Stack... [2021-06-27T07:10:55.171Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:10:55.171Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:10:55.472Z] + cat /w/workspace/device-snmp-go/4/archives/cost.csv [2021-06-27T07:10:55.472Z] + cut -d, -f6 [Pipeline] lock [2021-06-27T07:10:55.507Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-116-4-stack-cost] [2021-06-27T07:10:55.518Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-116-4-stack-cost] did not exist. Created. [2021-06-27T07:10:55.518Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-116-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:10:55.840Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-27T07:10:55.917Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:10:55.929Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-116-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:10:58.885Z] provisioning config files... [2021-06-27T07:10:58.911Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config4543460908781459613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:10:59.284Z] ---> docker-login.sh [2021-06-27T07:10:59.284Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:10:59.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:11:00.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:11:00.499Z] Configure a credential helper to remove this warning. See [2021-06-27T07:11:00.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:11:00.499Z] [2021-06-27T07:11:00.499Z] Login Succeeded [2021-06-27T07:11:00.499Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:11:00.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:11:01.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:11:01.049Z] Configure a credential helper to remove this warning. See [2021-06-27T07:11:01.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:11:01.049Z] [2021-06-27T07:11:01.049Z] Login Succeeded [2021-06-27T07:11:01.049Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:11:01.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:11:01.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:11:01.603Z] Configure a credential helper to remove this warning. See [2021-06-27T07:11:01.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:11:01.603Z] [2021-06-27T07:11:01.603Z] Login Succeeded [2021-06-27T07:11:01.603Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:11:01.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:11:02.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:11:02.172Z] Configure a credential helper to remove this warning. See [2021-06-27T07:11:02.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:11:02.172Z] [2021-06-27T07:11:02.172Z] Login Succeeded [2021-06-27T07:11:02.172Z] docker.io [2021-06-27T07:11:02.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:11:02.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:11:02.729Z] Configure a credential helper to remove this warning. See [2021-06-27T07:11:02.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:11:02.729Z] [2021-06-27T07:11:02.729Z] Login Succeeded [2021-06-27T07:11:02.729Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:11:02.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:11:03.060Z] ========================================================= [2021-06-27T07:11:03.060Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-27T07:11:03.060Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:11:03.401Z] + 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-06-27T07:11:03.677Z] Sending build context to Docker daemon 390.1kB [2021-06-27T07:11:03.677Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:11:03.677Z] Step 2/10 : FROM ${BASE} [2021-06-27T07:11:03.966Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-27T07:11:03.966Z] 595b0fe564bb: Pulling fs layer [2021-06-27T07:11:03.966Z] 3088b5b3c5c0: Pulling fs layer [2021-06-27T07:11:03.966Z] 5b7225fbf94c: Pulling fs layer [2021-06-27T07:11:03.966Z] ba82ee9f976e: Pulling fs layer [2021-06-27T07:11:03.966Z] 506bd15cee9f: Pulling fs layer [2021-06-27T07:11:03.966Z] 75a0a4a0db45: Pulling fs layer [2021-06-27T07:11:03.966Z] 618dc40b7e24: Pulling fs layer [2021-06-27T07:11:03.966Z] 506bd15cee9f: Waiting [2021-06-27T07:11:03.966Z] 75a0a4a0db45: Waiting [2021-06-27T07:11:03.966Z] 618dc40b7e24: Waiting [2021-06-27T07:11:03.966Z] ba82ee9f976e: Waiting [2021-06-27T07:11:03.966Z] 5b7225fbf94c: Download complete [2021-06-27T07:11:04.241Z] 3088b5b3c5c0: Verifying Checksum [2021-06-27T07:11:04.241Z] 3088b5b3c5c0: Download complete [2021-06-27T07:11:04.241Z] 506bd15cee9f: Verifying Checksum [2021-06-27T07:11:04.241Z] 506bd15cee9f: Download complete [2021-06-27T07:11:04.241Z] 595b0fe564bb: Verifying Checksum [2021-06-27T07:11:04.241Z] 595b0fe564bb: Download complete [2021-06-27T07:11:04.241Z] 75a0a4a0db45: Verifying Checksum [2021-06-27T07:11:04.241Z] 75a0a4a0db45: Download complete [2021-06-27T07:11:04.851Z] 595b0fe564bb: Pull complete [2021-06-27T07:11:05.463Z] 3088b5b3c5c0: Pull complete [2021-06-27T07:11:06.061Z] 5b7225fbf94c: Pull complete [2021-06-27T07:11:06.338Z] 618dc40b7e24: Verifying Checksum [2021-06-27T07:11:06.338Z] 618dc40b7e24: Download complete [2021-06-27T07:11:07.772Z] ba82ee9f976e: Verifying Checksum [2021-06-27T07:11:07.772Z] ba82ee9f976e: Download complete [2021-06-27T07:11:17.928Z] ba82ee9f976e: Pull complete [2021-06-27T07:11:18.521Z] 506bd15cee9f: Pull complete [2021-06-27T07:11:18.797Z] 75a0a4a0db45: Pull complete [2021-06-27T07:11:23.121Z] 618dc40b7e24: Pull complete [2021-06-27T07:11:23.121Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-27T07:11:23.121Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-27T07:11:23.121Z] ---> a36622ca3599 [2021-06-27T07:11:23.121Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:11:24.563Z] ---> Running in e08eabf78f28 [2021-06-27T07:11:24.844Z] Removing intermediate container e08eabf78f28 [2021-06-27T07:11:24.844Z] ---> f5251edbaa29 [2021-06-27T07:11:25.160Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:11:25.160Z] ---> Running in d53469b5c3a7 [2021-06-27T07:11:25.768Z] Removing intermediate container d53469b5c3a7 [2021-06-27T07:11:25.768Z] ---> 51df80b33cf6 [2021-06-27T07:11:25.768Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-27T07:11:25.768Z] ---> Running in bc9a7a8e91c7 [2021-06-27T07:11:26.361Z] Removing intermediate container bc9a7a8e91c7 [2021-06-27T07:11:26.361Z] ---> c13c584377c0 [2021-06-27T07:11:26.361Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:11:26.361Z] ---> Running in 97f142538285 [2021-06-27T07:11:29.004Z] Removing intermediate container 97f142538285 [2021-06-27T07:11:29.004Z] ---> 5ebab04a07bc [2021-06-27T07:11:29.004Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:11:29.004Z] ---> Running in 96008e8bd4f9 [2021-06-27T07:11:29.991Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:11:30.967Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:11:32.396Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-27T07:11:32.396Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-27T07:11:32.669Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-27T07:11:32.669Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:11:32.669Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:11:32.941Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-27T07:11:32.941Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:11:33.217Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-27T07:11:33.490Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-27T07:11:33.490Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-27T07:11:33.766Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-27T07:11:33.766Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-27T07:11:34.042Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:11:34.042Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:11:34.042Z] OK: 145 MiB in 53 packages [2021-06-27T07:11:35.485Z] Removing intermediate container 96008e8bd4f9 [2021-06-27T07:11:35.485Z] ---> e4296f8f27cf [2021-06-27T07:11:35.485Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-27T07:11:35.760Z] ---> Running in 790be7a0dc10 [2021-06-27T07:11:36.360Z] Removing intermediate container 790be7a0dc10 [2021-06-27T07:11:36.360Z] ---> d20792fecf60 [2021-06-27T07:11:36.360Z] Step 9/10 : COPY . . [2021-06-27T07:11:37.343Z] ---> d2875b5e4a90 [2021-06-27T07:11:37.343Z] Step 10/10 : RUN go mod download [2021-06-27T07:11:37.343Z] ---> Running in 13ac0479deff [2021-06-27T07:12:04.142Z] Removing intermediate container 13ac0479deff [2021-06-27T07:12:04.142Z] ---> 8af6b58c5312 [2021-06-27T07:12:04.142Z] Successfully built 8af6b58c5312 [2021-06-27T07:12:04.142Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:12:04.483Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:12:04.483Z] . [Pipeline] withDockerContainer [2021-06-27T07:12:04.709Z] prd-ubuntu18.04-docker-arm64-4c-16g-322 does not seem to be running inside a container [2021-06-27T07:12:04.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-27T07:12:06.312Z] $ docker top dadb8d4f8a3f9f26a6e34a2bea668e3157fdba8f4631391f7a7892169168ec04 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:12:07.275Z] + go version [2021-06-27T07:12:07.275Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-27T07:12:07.295Z] $ docker stop --time=1 dadb8d4f8a3f9f26a6e34a2bea668e3157fdba8f4631391f7a7892169168ec04 [2021-06-27T07:12:09.085Z] $ docker rm -f dadb8d4f8a3f9f26a6e34a2bea668e3157fdba8f4631391f7a7892169168ec04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:12:09.812Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:12:09.812Z] . [Pipeline] withDockerContainer [2021-06-27T07:12:10.042Z] prd-ubuntu18.04-docker-arm64-4c-16g-322 does not seem to be running inside a container [2021-06-27T07:12:10.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-27T07:12:11.554Z] $ docker top c465fda29095ee76c599b42c9ad70762d58bd736114488845f56307cf4e7cc4e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:12:12.500Z] + go mod tidy [Pipeline] sh [2021-06-27T07:12:13.759Z] + make test [2021-06-27T07:12:13.759Z] go mod tidy [2021-06-27T07:12:14.359Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-27T07:12:15.345Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-27T07:13:02.416Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-27T07:13:02.417Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.032s coverage: 0.0% of statements [2021-06-27T07:13:02.694Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:13:29.514Z] gofmt -l . [2021-06-27T07:13:29.514Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:13:29.514Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-27T07:13:29.536Z] $ docker stop --time=1 c465fda29095ee76c599b42c9ad70762d58bd736114488845f56307cf4e7cc4e [2021-06-27T07:13:31.604Z] $ docker rm -f c465fda29095ee76c599b42c9ad70762d58bd736114488845f56307cf4e7cc4e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:13:32.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:13:32.496Z] Warning: overwriting stash ‘coverage-report’ [2021-06-27T07:13:32.964Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:13:33.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:13:33.829Z] + ls -al . [2021-06-27T07:13:33.830Z] total 136 [2021-06-27T07:13:33.830Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 27 07:13 . [2021-06-27T07:13:33.830Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 07:10 .. [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 27 07:10 .dockerignore [2021-06-27T07:13:33.830Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 07:10 .git [2021-06-27T07:13:33.830Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:10 .github [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 27 07:10 .gitignore [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 27 07:10 Attribution.txt [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 4401 Jun 27 07:10 CHANGELOG.md [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 27 07:10 Dockerfile [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 27 07:10 Dockerfile.build [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 27 07:10 Jenkinsfile [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 07:10 LICENSE [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 27 07:10 Makefile [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 27 07:10 README.md [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 07:08 VERSION [2021-06-27T07:13:33.830Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:10 bin [2021-06-27T07:13:33.830Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 07:10 cmd [2021-06-27T07:13:33.830Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 27 07:13 coverage.out [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 223 Jun 27 07:10 go.mod [2021-06-27T07:13:33.830Z] -rw-r--r-- 1 jenkins jenkins 21038 Jun 27 07:12 go.sum [2021-06-27T07:13:33.830Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 07:10 internal [2021-06-27T07:13:33.830Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 27 07:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:13:34.170Z] + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e5219133750b379a1257bf2430fb2eeceabfc390 --label arch=arm64 --label version=0.0.0 . [2021-06-27T07:13:34.441Z] Sending build context to Docker daemon 398.3kB [2021-06-27T07:13:34.719Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:13:34.719Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-27T07:13:34.719Z] ---> 8af6b58c5312 [2021-06-27T07:13:34.719Z] Step 3/24 : ARG MAKE='make build' [2021-06-27T07:13:34.719Z] ---> Running in 0598827217bd [2021-06-27T07:13:35.315Z] Removing intermediate container 0598827217bd [2021-06-27T07:13:35.315Z] ---> 5fd265d81664 [2021-06-27T07:13:35.315Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:13:35.315Z] ---> Running in 10120704dff2 [2021-06-27T07:13:35.911Z] Removing intermediate container 10120704dff2 [2021-06-27T07:13:35.911Z] ---> ac75dfb7f06f [2021-06-27T07:13:35.911Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:13:36.186Z] ---> Running in 4c597d3187ec [2021-06-27T07:13:36.458Z] Removing intermediate container 4c597d3187ec [2021-06-27T07:13:36.458Z] ---> d2206563a5ed [2021-06-27T07:13:36.458Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:13:36.730Z] ---> Running in ade21cc6ab7e [2021-06-27T07:13:39.347Z] Removing intermediate container ade21cc6ab7e [2021-06-27T07:13:39.347Z] ---> ba668eeca595 [2021-06-27T07:13:39.347Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:13:39.347Z] ---> Running in bfaad411a980 [2021-06-27T07:13:40.337Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:13:41.313Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:13:41.908Z] OK: 145 MiB in 53 packages [2021-06-27T07:13:42.911Z] Removing intermediate container bfaad411a980 [2021-06-27T07:13:42.911Z] ---> 571124a21707 [2021-06-27T07:13:42.911Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-27T07:13:43.203Z] ---> Running in ea9f0fb0bacf [2021-06-27T07:13:43.873Z] Removing intermediate container ea9f0fb0bacf [2021-06-27T07:13:43.873Z] ---> 1b96087e5f47 [2021-06-27T07:13:43.873Z] Step 9/24 : COPY . . [2021-06-27T07:13:44.907Z] ---> 88fae514dcd1 [2021-06-27T07:13:44.907Z] Step 10/24 : RUN go mod tidy [2021-06-27T07:13:45.198Z] ---> Running in 73b0aad0c917 [2021-06-27T07:13:47.834Z] Removing intermediate container 73b0aad0c917 [2021-06-27T07:13:47.834Z] ---> ab6c0b0d2c4d [2021-06-27T07:13:47.834Z] Step 11/24 : RUN make update [2021-06-27T07:13:48.107Z] ---> Running in d18d4735d48f [2021-06-27T07:13:49.087Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-27T07:13:50.524Z] Removing intermediate container d18d4735d48f [2021-06-27T07:13:50.524Z] ---> aac687c5268d [2021-06-27T07:13:50.524Z] Step 12/24 : RUN ${MAKE} [2021-06-27T07:13:50.524Z] ---> Running in 926e69bb78e3 [2021-06-27T07:13:51.513Z] go mod tidy [2021-06-27T07:13:52.110Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-27T07:14:31.167Z] Removing intermediate container 926e69bb78e3 [2021-06-27T07:14:31.167Z] ---> bed5249be2fa [2021-06-27T07:14:31.167Z] Step 13/24 : FROM alpine:3.12 [2021-06-27T07:14:31.167Z] 3.12: Pulling from library/alpine [2021-06-27T07:14:31.167Z] d2f70382dc9a: Pulling fs layer [2021-06-27T07:14:31.167Z] d2f70382dc9a: Verifying Checksum [2021-06-27T07:14:31.167Z] d2f70382dc9a: Download complete [2021-06-27T07:14:31.167Z] d2f70382dc9a: Pull complete [2021-06-27T07:14:31.167Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:14:31.167Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:14:31.167Z] ---> c4fd0aeabfcf [2021-06-27T07:14:31.167Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:14:31.167Z] ---> Running in 237e58c96154 [2021-06-27T07:14:31.167Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:14:31.167Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:14:31.167Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:14:31.167Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:14:31.167Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:14:31.167Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:14:31.167Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:14:31.167Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:14:31.167Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:14:31.167Z] OK: 8 MiB in 20 packages [2021-06-27T07:14:31.759Z] Removing intermediate container 237e58c96154 [2021-06-27T07:14:31.759Z] ---> ec33beae49b0 [2021-06-27T07:14:31.759Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-27T07:14:33.186Z] ---> 663ef4c18423 [2021-06-27T07:14:33.186Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-27T07:14:33.785Z] ---> a6e5bae1479e [2021-06-27T07:14:33.785Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-27T07:14:34.379Z] ---> 9bd36fdf5c22 [2021-06-27T07:14:34.379Z] Step 18/24 : EXPOSE 59993 [2021-06-27T07:14:34.653Z] ---> Running in dcdf2c7f5c6d [2021-06-27T07:14:35.246Z] Removing intermediate container dcdf2c7f5c6d [2021-06-27T07:14:35.246Z] ---> 9f504f619b10 [2021-06-27T07:14:35.246Z] Step 19/24 : EXPOSE 161 [2021-06-27T07:14:35.246Z] ---> Running in c182e01736d5 [2021-06-27T07:14:35.840Z] Removing intermediate container c182e01736d5 [2021-06-27T07:14:35.840Z] ---> 0023561d723b [2021-06-27T07:14:35.840Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-27T07:14:35.840Z] ---> Running in 6131d260c430 [2021-06-27T07:14:36.439Z] Removing intermediate container 6131d260c430 [2021-06-27T07:14:36.439Z] ---> 937332466fc1 [2021-06-27T07:14:36.439Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-27T07:14:36.439Z] ---> Running in 58f2845cecc3 [2021-06-27T07:14:37.034Z] Removing intermediate container 58f2845cecc3 [2021-06-27T07:14:37.034Z] ---> df535dc94a7d [2021-06-27T07:14:37.034Z] Step 22/24 : LABEL arch=arm64 [2021-06-27T07:14:37.034Z] ---> Running in 8dbf865840ea [2021-06-27T07:14:37.634Z] Removing intermediate container 8dbf865840ea [2021-06-27T07:14:37.634Z] ---> 849242bf8812 [2021-06-27T07:14:37.634Z] Step 23/24 : LABEL git_sha=e5219133750b379a1257bf2430fb2eeceabfc390 [2021-06-27T07:14:37.634Z] ---> Running in 2fbac254aa5e [2021-06-27T07:14:38.244Z] Removing intermediate container 2fbac254aa5e [2021-06-27T07:14:38.244Z] ---> dc7ece3e47c0 [2021-06-27T07:14:38.244Z] Step 24/24 : LABEL version=0.0.0 [2021-06-27T07:14:38.244Z] ---> Running in 4898024f74a4 [2021-06-27T07:14:38.849Z] Removing intermediate container 4898024f74a4 [2021-06-27T07:14:38.849Z] ---> 892d85fc4a43 [2021-06-27T07:14:38.849Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:14:38.849Z] Successfully built 892d85fc4a43 [2021-06-27T07:14:38.849Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:14:39.535Z] ---> job-cost.sh [2021-06-27T07:14:39.535Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ACHh [2021-06-27T07:15:18.551Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:16:40.278Z] lf-activate-venv(): INFO: Adding /tmp/venv-ACHh/bin to PATH [2021-06-27T07:16:40.278Z] INFO: No Stack... [2021-06-27T07:16:40.278Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-27T07:16:40.278Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:16:40.626Z] + cat /w/workspace/device-snmp-go/4/archives/cost.csv [2021-06-27T07:16:40.627Z] + cut -d, -f6 [Pipeline] lock [2021-06-27T07:16:40.686Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-116-4-stack-cost] [2021-06-27T07:16:40.694Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-116-4-stack-cost] did not exist. Created. [2021-06-27T07:16:40.694Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-116-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:16:41.071Z] /w/workspace/device-snmp-go/4@tmp/durable-f3f95dc6/script.sh: 1: /w/workspace/device-snmp-go/4@tmp/durable-f3f95dc6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-27T07:16:41.420Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-27T07:16:41.453Z] Warning: overwriting stash ‘stack-cost’ [2021-06-27T07:16:41.599Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:16:41.609Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-116-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-27T07:16:42.371Z] provisioning config files... [2021-06-27T07:16:42.379Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config8238335315451080537tmp [Pipeline] { [Pipeline] sh [2021-06-27T07:16:42.698Z] + set +x [2021-06-27T07:16:42.698Z] + curl -s https://codecov.io/bash [2021-06-27T07:16:42.698Z] + bash -s -- [2021-06-27T07:16:42.698Z] [2021-06-27T07:16:42.698Z] _____ _ [2021-06-27T07:16:42.698Z] / ____| | | [2021-06-27T07:16:42.698Z] | | ___ __| | ___ ___ _____ __ [2021-06-27T07:16:42.698Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-27T07:16:42.698Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-27T07:16:42.698Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-27T07:16:42.698Z] Bash-1.0.3 [2021-06-27T07:16:42.698Z] [2021-06-27T07:16:42.698Z] [2021-06-27T07:16:42.698Z] ==> git version 2.24.4 found [2021-06-27T07:16:42.698Z] ==> 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-06-27T07:16:42.698Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-27T07:16:42.698Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-27T07:16:42.698Z] ==> Jenkins CI detected. [2021-06-27T07:16:42.698Z] project root: . [2021-06-27T07:16:42.698Z] --> token set from env [2021-06-27T07:16:42.698Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-27T07:16:42.698Z] ==> Running gcov in . (disable via -X gcov) [2021-06-27T07:16:42.698Z] ==> Python coveragepy not found [2021-06-27T07:16:42.698Z] ==> Searching for coverage reports in: [2021-06-27T07:16:42.698Z] + . [2021-06-27T07:16:42.698Z] -> Found 1 reports [2021-06-27T07:16:42.698Z] ==> Detecting git/mercurial file structure [2021-06-27T07:16:42.698Z] ==> Reading reports [2021-06-27T07:16:42.962Z] + ./coverage.out bytes=7631 [2021-06-27T07:16:42.962Z] ==> Appending adjustments [2021-06-27T07:16:42.962Z] https://docs.codecov.io/docs/fixing-reports [2021-06-27T07:16:42.962Z] + Found adjustments [2021-06-27T07:16:42.962Z] ==> Gzipping contents [2021-06-27T07:16:42.962Z] 4.0K /tmp/codecov.yWRiOT.gz [2021-06-27T07:16:42.962Z] ==> Uploading reports [2021-06-27T07:16:42.962Z] url: https://codecov.io [2021-06-27T07:16:42.962Z] query: branch=PR-116&commit=e5219133750b379a1257bf2430fb2eeceabfc390&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-116%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=116&job=&cmd_args= [2021-06-27T07:16:42.962Z] -> Pinging Codecov [2021-06-27T07:16:42.962Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-116&commit=e5219133750b379a1257bf2430fb2eeceabfc390&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-116%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=116&job=&cmd_args= [2021-06-27T07:16:43.223Z] -> Uploading to [2021-06-27T07:16:43.223Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-27/6C56EA5C29638FB4528AC87E60AF5AE0/e5219133750b379a1257bf2430fb2eeceabfc390/011c043f-48d5-49a8-90ad-d4d3d317a90d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210627T071643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=72c80244740a65859f8580b5fb0aa09f320a12eceb5a1acd188f6ce22d56a585 [2021-06-27T07:16:43.223Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-27T07:16:43.223Z] Dload Upload Total Spent Left Speed [2021-06-27T07:16:43.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 4075 --:--:-- --:--:-- --:--:-- 4076 100 1378 0 0 100 1378 0 4074 --:--:-- --:--:-- --:--:-- 4064 [2021-06-27T07:16:43.794Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/e5219133750b379a1257bf2430fb2eeceabfc390 [Pipeline] } [2021-06-27T07:16:43.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:16:45.487Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:16:46.065Z] ---> package-listing.sh [2021-06-27T07:16:46.065Z] ++ facter osfamily [2021-06-27T07:16:46.065Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-27T07:16:46.331Z] + OS_FAMILY=redhat [2021-06-27T07:16:46.331Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-116 [2021-06-27T07:16:46.331Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-27T07:16:46.331Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-27T07:16:46.331Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-27T07:16:46.331Z] + PACKAGES=/tmp/packages_start.txt [2021-06-27T07:16:46.331Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-116 ']' [2021-06-27T07:16:46.331Z] + PACKAGES=/tmp/packages_end.txt [2021-06-27T07:16:46.331Z] + case "${OS_FAMILY}" in [2021-06-27T07:16:46.331Z] + sort [2021-06-27T07:16:46.331Z] + rpm -qa [2021-06-27T07:16:46.905Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-27T07:16:46.905Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-27T07:16:46.905Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-27T07:16:46.905Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-116 ']' [2021-06-27T07:16:46.905Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-116/archives/ [2021-06-27T07:16:46.905Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-116/archives/ [Pipeline] echo [2021-06-27T07:16:46.919Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-27T07:16:47.205Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:16:47.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:16:47.772Z] [2021-06-27T07:16:47.772Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:16:48.094Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:16:48.094Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-27T07:16:48.094Z] df20fa9351a1: Pulling fs layer [2021-06-27T07:16:48.094Z] 36b3adc4ff6f: Pulling fs layer [2021-06-27T07:16:48.094Z] 8ad3a11d3b57: Pulling fs layer [2021-06-27T07:16:48.094Z] 46f8f816bc3b: Pulling fs layer [2021-06-27T07:16:48.094Z] 93b61091891f: Pulling fs layer [2021-06-27T07:16:48.094Z] 93b9cdb0e59b: Pulling fs layer [2021-06-27T07:16:48.094Z] 5e14af77c1be: Pulling fs layer [2021-06-27T07:16:48.094Z] 01666e4c0597: Pulling fs layer [2021-06-27T07:16:48.094Z] aa168da1d23b: Pulling fs layer [2021-06-27T07:16:48.094Z] 93b9cdb0e59b: Waiting [2021-06-27T07:16:48.094Z] 5e14af77c1be: Waiting [2021-06-27T07:16:48.094Z] 01666e4c0597: Waiting [2021-06-27T07:16:48.094Z] aa168da1d23b: Waiting [2021-06-27T07:16:48.094Z] 46f8f816bc3b: Waiting [2021-06-27T07:16:48.094Z] 93b61091891f: Waiting [2021-06-27T07:16:48.094Z] 36b3adc4ff6f: Verifying Checksum [2021-06-27T07:16:48.094Z] 36b3adc4ff6f: Download complete [2021-06-27T07:16:48.094Z] 46f8f816bc3b: Verifying Checksum [2021-06-27T07:16:48.094Z] 46f8f816bc3b: Download complete [2021-06-27T07:16:48.094Z] df20fa9351a1: Verifying Checksum [2021-06-27T07:16:48.094Z] df20fa9351a1: Download complete [2021-06-27T07:16:48.094Z] 93b9cdb0e59b: Verifying Checksum [2021-06-27T07:16:48.094Z] 93b9cdb0e59b: Download complete [2021-06-27T07:16:48.364Z] 5e14af77c1be: Verifying Checksum [2021-06-27T07:16:48.364Z] 5e14af77c1be: Download complete [2021-06-27T07:16:48.364Z] 93b61091891f: Verifying Checksum [2021-06-27T07:16:48.364Z] 93b61091891f: Download complete [2021-06-27T07:16:48.364Z] 01666e4c0597: Verifying Checksum [2021-06-27T07:16:48.364Z] 01666e4c0597: Download complete [2021-06-27T07:16:48.364Z] df20fa9351a1: Pull complete [2021-06-27T07:16:48.364Z] 8ad3a11d3b57: Verifying Checksum [2021-06-27T07:16:48.364Z] 8ad3a11d3b57: Download complete [2021-06-27T07:16:48.637Z] 36b3adc4ff6f: Pull complete [2021-06-27T07:16:49.216Z] 8ad3a11d3b57: Pull complete [2021-06-27T07:16:49.216Z] 46f8f816bc3b: Pull complete [2021-06-27T07:16:49.482Z] 93b61091891f: Pull complete [2021-06-27T07:16:49.482Z] 93b9cdb0e59b: Pull complete [2021-06-27T07:16:49.744Z] 5e14af77c1be: Pull complete [2021-06-27T07:16:50.005Z] aa168da1d23b: Verifying Checksum [2021-06-27T07:16:50.005Z] aa168da1d23b: Download complete [2021-06-27T07:16:50.271Z] 01666e4c0597: Pull complete [2021-06-27T07:16:54.511Z] aa168da1d23b: Pull complete [2021-06-27T07:16:54.511Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-27T07:16:54.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:16:54.511Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-27T07:16:54.590Z] prd-centos7-docker-4c-2g-318 does not seem to be running inside a container [2021-06-27T07:16:54.627Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-116 -v /w/workspace/gexfoundry_device-snmp-go_PR-116:/w/workspace/gexfoundry_device-snmp-go_PR-116:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-27T07:16:57.500Z] $ docker top 14ebf866aa1337506e15b214303471ddc489d1caf554f4bdaa6c8c2d5c297b2a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:16:57.884Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-27T07:16:58.184Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-27T07:16:58.487Z] + ls /var/log/sa-host [2021-06-27T07:16:58.488Z] + sadf -c /var/log/sa-host/sa05 [2021-06-27T07:16:58.488Z] file_magic: OK [2021-06-27T07:16:58.488Z] HZ: Using current value: 100 [2021-06-27T07:16:58.488Z] file_header: OK [2021-06-27T07:16:58.488Z] 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-06-27T07:16:58.488Z] Statistics: [2021-06-27T07:16:58.488Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:16:58.488Z] File successfully converted to sysstat format version 12.2.1 [2021-06-27T07:16:58.488Z] + sadf -c /var/log/sa-host/sa27 [2021-06-27T07:16:58.488Z] file_magic: OK [2021-06-27T07:16:58.488Z] HZ: Using current value: 100 [2021-06-27T07:16:58.488Z] file_header: OK [2021-06-27T07:16:58.488Z] 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-06-27T07:16:58.488Z] Statistics: [2021-06-27T07:16:58.488Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:16:58.488Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:16:58.733Z] provisioning config files... [2021-06-27T07:16:58.745Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config2560010728935934623tmp [Pipeline] { [Pipeline] echo [2021-06-27T07:16:58.771Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:16:59.073Z] ---> create-netrc.sh [Pipeline] } [2021-06-27T07:16:59.083Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:16:59.501Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-27T07:16:59.512Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:16:59.822Z] ---> sudo-logs.sh [2021-06-27T07:16:59.822Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-27T07:16:59.873Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:17:00.172Z] ---> job-cost.sh [2021-06-27T07:17:00.172Z] lf-activate-venv: SKIPPING [2021-06-27T07:17:00.172Z] DEBUG: total: 0.18000000715255737 [2021-06-27T07:17:00.172Z] INFO: Retrieving Stack Cost... [2021-06-27T07:17:01.115Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:17:01.689Z] INFO: Archiving Costs [Pipeline] echo [2021-06-27T07:17:01.706Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:17:02.015Z] ---> logs-deploy.sh [2021-06-27T07:17:02.015Z] lf-activate-venv: SKIPPING [2021-06-27T07:17:02.015Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-116/4 [2021-06-27T07:17:02.015Z] INFO: archiving workspace using pattern(s): [2021-06-27T07:17:02.960Z] Archives upload complete. [2021-06-27T07:17:02.960Z] INFO: archiving logs to Nexus