Pull request #123 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-snmp-go Obtained Jenkinsfile from eba394160bc80d533d871d20424c0e8bf8171f14+503ab130c2d1a1a41fbe2fb04032090d761871c6 (be7551bbff16d9855e6a989fd54661b777e16981) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5861435177152640282.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8515875181206173252.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-123/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-123/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5942049703292838642.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-123/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6298515074053939997.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8187844962153355710.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-123/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-123/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6991003455250056075.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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_BUILD_IMAGE_TARGET: builder 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-1018 in /w/workspace/gexfoundry_device-snmp-go_PR-123 [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-123 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-123@tmp/jenkins-gitclient-ssh9075554158082338430.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 503ab130c2d1a1a41fbe2fb04032090d761871c6 into PR head commit eba394160bc80d533d871d20424c0e8bf8171f14 Merge succeeded, producing eba394160bc80d533d871d20424c0e8bf8171f14 Checking out Revision eba394160bc80d533d871d20424c0e8bf8171f14 (PR-123) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-123@tmp/jenkins-gitclient-ssh3171521976830676774.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eba394160bc80d533d871d20424c0e8bf8171f14 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-123@tmp/jenkins-gitclient-ssh34645837021375988.key > git merge 503ab130c2d1a1a41fbe2fb04032090d761871c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eba394160bc80d533d871d20424c0e8bf8171f14 # timeout=10 Commit message: "build: update alpine base to 3.14" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-23T21:58:03.779Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-23T21:58:03.999Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-23T21:58:04.121Z] ========================================================= [2021-09-23T21:58:04.121Z] EdgeX Global Pipelines Version Info [2021-09-23T21:58:04.121Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:58:05.416Z] ------------------- [2021-09-23T21:58:05.416Z] stable info: [2021-09-23T21:58:05.416Z] ------------------- [2021-09-23T21:58:05.416Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-23T21:58:05.416Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-23T21:58:05.416Z] Message: update stable to v1.0.205 [2021-09-23T21:58:06.008Z] ------------------- [2021-09-23T21:58:06.008Z] experimental info: [2021-09-23T21:58:06.008Z] ------------------- [2021-09-23T21:58:06.008Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-23T21:58:06.008Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-23T21:58:06.008Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-23T21:58:06.271Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-09-23T21:58:06.335Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-09-23T21:58:06.397Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-23T21:58:06.477Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-23T21:58:06.539Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-23T21:58:06.600Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-09-23T21:58:06.667Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-09-23T21:58:06.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-09-23T21:58:06.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-09-23T21:58:06.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-09-23T21:58:06.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-23T21:58:06.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-23T21:58:07.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-09-23T21:58:07.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-23T21:58:07.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-23T21:58:07.273Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-09-23T21:58:07.414Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-09-23T21:58:07.480Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-09-23T21:58:07.547Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-09-23T21:58:07.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-23T21:58:07.691Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-23T21:58:07.763Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-09-23T21:58:07.837Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-09-23T21:58:07.904Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-09-23T21:58:07.969Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-09-23T21:58:08.035Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-09-23T21:58:08.100Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-23T21:58:08.164Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-123 [Pipeline] echo [2021-09-23T21:58:08.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-123 [Pipeline] echo [2021-09-23T21:58:08.292Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-123 [Pipeline] echo [2021-09-23T21:58:08.355Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eba394160bc80d533d871d20424c0e8bf8171f14 [Pipeline] echo [2021-09-23T21:58:08.419Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eba3941 [Pipeline] echo [2021-09-23T21:58:08.495Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-23T21:58:08.651Z] provisioning config files... [2021-09-23T21:58:08.671Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-123@tmp/config5014705008128261358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T21:58:09.079Z] ---> docker-login.sh [2021-09-23T21:58:09.079Z] nexus3.edgexfoundry.org:10001 [2021-09-23T21:58:09.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:58:09.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:58:09.349Z] Configure a credential helper to remove this warning. See [2021-09-23T21:58:09.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:58:09.349Z] [2021-09-23T21:58:09.349Z] Login Succeeded [2021-09-23T21:58:09.349Z] nexus3.edgexfoundry.org:10002 [2021-09-23T21:58:09.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:58:09.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:58:09.620Z] Configure a credential helper to remove this warning. See [2021-09-23T21:58:09.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:58:09.620Z] [2021-09-23T21:58:09.620Z] Login Succeeded [2021-09-23T21:58:09.620Z] nexus3.edgexfoundry.org:10003 [2021-09-23T21:58:09.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:58:09.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:58:09.620Z] Configure a credential helper to remove this warning. See [2021-09-23T21:58:09.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:58:09.620Z] [2021-09-23T21:58:09.620Z] Login Succeeded [2021-09-23T21:58:09.620Z] nexus3.edgexfoundry.org:10004 [2021-09-23T21:58:09.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:58:09.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:58:09.887Z] Configure a credential helper to remove this warning. See [2021-09-23T21:58:09.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:58:09.887Z] [2021-09-23T21:58:09.887Z] Login Succeeded [2021-09-23T21:58:09.887Z] docker.io [2021-09-23T21:58:09.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T21:58:10.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T21:58:10.154Z] Configure a credential helper to remove this warning. See [2021-09-23T21:58:10.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T21:58:10.154Z] [2021-09-23T21:58:10.154Z] Login Succeeded [2021-09-23T21:58:10.154Z] ---> docker-login.sh ends [Pipeline] } [2021-09-23T21:58:10.182Z] 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-09-23T21:58:11.189Z] + git log --format=format:%s -1 eba394160bc80d533d871d20424c0e8bf8171f14 [Pipeline] echo [2021-09-23T21:58:11.271Z] GIT_COMMIT: eba394160bc80d533d871d20424c0e8bf8171f14, Commit Message: build: update alpine base to 3.14 [Pipeline] echo [2021-09-23T21:58:11.317Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:58:11.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-23T21:58:11.966Z] [2021-09-23T21:58:11.966Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T21:58:12.343Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-23T21:58:15.688Z] latest: Pulling from edgex-devops/git-semver [2021-09-23T21:58:15.688Z] 31603596830f: Pulling fs layer [2021-09-23T21:58:15.688Z] 04fac38145f0: Pulling fs layer [2021-09-23T21:58:15.688Z] 701f6daf10bf: Pulling fs layer [2021-09-23T21:58:15.688Z] 24f72da36158: Pulling fs layer [2021-09-23T21:58:15.688Z] 24f72da36158: Waiting [2021-09-23T21:58:15.688Z] 04fac38145f0: Verifying Checksum [2021-09-23T21:58:15.688Z] 04fac38145f0: Download complete [2021-09-23T21:58:15.688Z] 31603596830f: Verifying Checksum [2021-09-23T21:58:15.688Z] 31603596830f: Download complete [2021-09-23T21:58:15.688Z] 31603596830f: Pull complete [2021-09-23T21:58:15.688Z] 04fac38145f0: Pull complete [2021-09-23T21:58:15.688Z] 24f72da36158: Verifying Checksum [2021-09-23T21:58:15.688Z] 24f72da36158: Download complete [2021-09-23T21:58:15.688Z] 701f6daf10bf: Verifying Checksum [2021-09-23T21:58:15.688Z] 701f6daf10bf: Download complete [2021-09-23T21:58:16.272Z] 701f6daf10bf: Pull complete [2021-09-23T21:58:16.537Z] 24f72da36158: Pull complete [2021-09-23T21:58:16.537Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-23T21:58:16.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-23T21:58:16.537Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-23T21:58:16.664Z] prd-centos7-docker-4c-2g-1018 does not seem to be running inside a container [2021-09-23T21:58:16.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-123 -v /w/workspace/gexfoundry_device-snmp-go_PR-123:/w/workspace/gexfoundry_device-snmp-go_PR-123:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-123@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-123@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-09-23T21:58:17.504Z] $ docker top 5f43910e408a4f0f370277a1d6c64cbb4e8abffdc42e0c6fc3f7a6970d42bd0f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-23T21:58:17.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-23T21:58:17.737Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-23T21:58:17.859Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-23T21:58:17.864Z] $ docker exec 5f43910e408a4f0f370277a1d6c64cbb4e8abffdc42e0c6fc3f7a6970d42bd0f ssh-agent [2021-09-23T21:58:17.999Z] SSH_AUTH_SOCK=/tmp/ssh-ZqKHpVY8dK2O/agent.14 [2021-09-23T21:58:17.999Z] SSH_AGENT_PID=21 [2021-09-23T21:58:18.012Z] Running ssh-add (command line suppressed) [2021-09-23T21:58:18.120Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-123@tmp/private_key_2046061431441806032.key (/w/workspace/gexfoundry_device-snmp-go_PR-123@tmp/private_key_2046061431441806032.key) [2021-09-23T21:58:18.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-23T21:58:18.498Z] + git tag --points-at HEAD [Pipeline] } [2021-09-23T21:58:18.530Z] $ docker exec --env ******** --env ******** 5f43910e408a4f0f370277a1d6c64cbb4e8abffdc42e0c6fc3f7a6970d42bd0f ssh-agent -k [2021-09-23T21:58:18.636Z] unset SSH_AUTH_SOCK; [2021-09-23T21:58:18.636Z] unset SSH_AGENT_PID; [2021-09-23T21:58:18.636Z] echo Agent pid 21 killed; [2021-09-23T21:58:18.653Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-23T21:58:18.749Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-23T21:58:18.749Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-23T21:58:18.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-23T21:58:18.892Z] $ docker exec 5f43910e408a4f0f370277a1d6c64cbb4e8abffdc42e0c6fc3f7a6970d42bd0f ssh-agent [2021-09-23T21:58:19.013Z] SSH_AUTH_SOCK=/tmp/ssh-nTnkA4YDhTIq/agent.53 [2021-09-23T21:58:19.013Z] SSH_AGENT_PID=60 [2021-09-23T21:58:19.023Z] Running ssh-add (command line suppressed) [2021-09-23T21:58:19.130Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-123@tmp/private_key_1855995280169429743.key (/w/workspace/gexfoundry_device-snmp-go_PR-123@tmp/private_key_1855995280169429743.key) [2021-09-23T21:58:19.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-23T21:58:19.518Z] + git semver init [2021-09-23T21:58:19.518Z] # -> Open(): unable to determine branch for HEAD [2021-09-23T21:58:19.518Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-123/.git [2021-09-23T21:58:19.518Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-123 [2021-09-23T21:58:19.518Z] # $SEMVER_REMOTE_NAME = origin [2021-09-23T21:58:19.518Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-23T21:58:19.518Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-23T21:58:19.518Z] # $SEMVER_BRANCH = PR-123 [2021-09-23T21:58:19.518Z] # $SEMVER_TEMP = /tmp/semver-235850959 [2021-09-23T21:58:19.518Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-09-23T21:58:51.739Z] # '/tmp/semver-235850959' -> '/w/workspace/gexfoundry_device-snmp-go_PR-123/.semver' [2021-09-23T21:58:51.739Z] # -> Force: false [2021-09-23T21:58:51.739Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-123/.semver [Pipeline] } [2021-09-23T21:58:51.779Z] $ docker exec --env ******** --env ******** 5f43910e408a4f0f370277a1d6c64cbb4e8abffdc42e0c6fc3f7a6970d42bd0f ssh-agent -k [2021-09-23T21:58:51.893Z] unset SSH_AUTH_SOCK; [2021-09-23T21:58:51.893Z] unset SSH_AGENT_PID; [2021-09-23T21:58:51.893Z] echo Agent pid 60 killed; [2021-09-23T21:58:51.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-23T21:58:52.356Z] + git semver [Pipeline] } [2021-09-23T21:58:52.406Z] $ docker stop --time=1 5f43910e408a4f0f370277a1d6c64cbb4e8abffdc42e0c6fc3f7a6970d42bd0f [2021-09-23T21:58:53.632Z] $ docker rm -f 5f43910e408a4f0f370277a1d6c64cbb4e8abffdc42e0c6fc3f7a6970d42bd0f [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-23T21:58:54.119Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-23T21:58:54.748Z] Stashed 1 file(s) [Pipeline] echo [2021-09-23T21:58:54.779Z] [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-09-23T21:59:10.368Z] Still waiting to schedule task [2021-09-23T21:59:10.369Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-09-23T21:59:10.397Z] Still waiting to schedule task [2021-09-23T21:59:10.397Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-09-23T22:01:12.296Z] Running on prd-centos7-docker-4c-2g-1021 in /w/workspace/gexfoundry_device-snmp-go_PR-123 [Pipeline] { [Pipeline] ws [2021-09-23T22:01:12.364Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-09-23T22:01:12.518Z] Selected Git installation does not exist. Using Default [2021-09-23T22:01:12.518Z] The recommended git tool is: NONE [2021-09-23T22:01:15.326Z] using credential edgex-jenkins-ssh [2021-09-23T22:01:15.355Z] Cloning the remote Git repository [2021-09-23T22:01:15.298Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-09-23T22:01:15.370Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-09-23T22:01:15.400Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-09-23T22:01:15.401Z] > git --version # timeout=10 [2021-09-23T22:01:15.411Z] > git --version # 'git version 2.24.4' [2021-09-23T22:01:15.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T22:01:15.440Z] [INFO] Currently running in a labeled security context [2021-09-23T22:01:15.441Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-23T22:01:15.441Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh2494688935608947817.key [2021-09-23T22:01:15.449Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-23T22:01:30.208Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-09-23T22:01:30.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-23T22:01:30.816Z] Merging remotes/origin/main commit 503ab130c2d1a1a41fbe2fb04032090d761871c6 into PR head commit eba394160bc80d533d871d20424c0e8bf8171f14 [2021-09-23T22:01:30.914Z] Merge succeeded, producing eba394160bc80d533d871d20424c0e8bf8171f14 [2021-09-23T22:01:30.915Z] Checking out Revision eba394160bc80d533d871d20424c0e8bf8171f14 (PR-123) [2021-09-23T22:01:30.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-09-23T22:01:30.253Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-09-23T22:01:30.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T22:01:30.254Z] [INFO] Currently running in a labeled security context [2021-09-23T22:01:30.255Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-23T22:01:30.255Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh5788500598802532951.key [2021-09-23T22:01:30.261Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-23T22:01:30.825Z] > git config core.sparsecheckout # timeout=10 [2021-09-23T22:01:30.836Z] > git checkout -f eba394160bc80d533d871d20424c0e8bf8171f14 # timeout=10 [2021-09-23T22:01:30.871Z] > git remote # timeout=10 [2021-09-23T22:01:30.878Z] > git config --get remote.origin.url # timeout=10 [2021-09-23T22:01:30.886Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T22:01:30.887Z] [INFO] Currently running in a labeled security context [2021-09-23T22:01:30.887Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-23T22:01:30.887Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh2211843800328453991.key [2021-09-23T22:01:30.891Z] > git merge 503ab130c2d1a1a41fbe2fb04032090d761871c6 # timeout=10 [2021-09-23T22:01:30.901Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-23T22:01:30.915Z] > git config core.sparsecheckout # timeout=10 [2021-09-23T22:01:30.919Z] > git checkout -f eba394160bc80d533d871d20424c0e8bf8171f14 # timeout=10 [2021-09-23T22:01:34.634Z] Commit message: "build: update alpine base to 3.14" [2021-09-23T22:01:34.684Z] > git --version # timeout=10 [2021-09-23T22:01:34.693Z] > git --version # 'git version 2.24.4' [2021-09-23T22:01:34.701Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-23T22:01:35.367Z] provisioning config files... [2021-09-23T22:01:35.397Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5732574638936375827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T22:01:35.918Z] ---> docker-login.sh [2021-09-23T22:01:35.918Z] nexus3.edgexfoundry.org:10001 [2021-09-23T22:01:35.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T22:01:35.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T22:01:35.918Z] Configure a credential helper to remove this warning. See [2021-09-23T22:01:35.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T22:01:35.918Z] [2021-09-23T22:01:35.918Z] Login Succeeded [2021-09-23T22:01:35.918Z] nexus3.edgexfoundry.org:10002 [2021-09-23T22:01:36.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T22:01:36.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T22:01:36.188Z] Configure a credential helper to remove this warning. See [2021-09-23T22:01:36.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T22:01:36.188Z] [2021-09-23T22:01:36.188Z] Login Succeeded [2021-09-23T22:01:36.188Z] nexus3.edgexfoundry.org:10003 [2021-09-23T22:01:36.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T22:01:36.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T22:01:36.456Z] Configure a credential helper to remove this warning. See [2021-09-23T22:01:36.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T22:01:36.456Z] [2021-09-23T22:01:36.456Z] Login Succeeded [2021-09-23T22:01:36.456Z] nexus3.edgexfoundry.org:10004 [2021-09-23T22:01:36.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T22:01:36.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T22:01:36.456Z] Configure a credential helper to remove this warning. See [2021-09-23T22:01:36.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T22:01:36.456Z] [2021-09-23T22:01:36.456Z] Login Succeeded [2021-09-23T22:01:36.456Z] docker.io [2021-09-23T22:01:36.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T22:01:37.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T22:01:37.047Z] Configure a credential helper to remove this warning. See [2021-09-23T22:01:37.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T22:01:37.047Z] [2021-09-23T22:01:37.047Z] Login Succeeded [2021-09-23T22:01:37.047Z] ---> docker-login.sh ends [Pipeline] } [2021-09-23T22:01:37.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-23T22:01:37.415Z] ========================================================= [2021-09-23T22:01:37.415Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-09-23T22:01:37.415Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:01:37.892Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-09-23T22:01:37.892Z] Sending build context to Docker daemon 376.3kB [2021-09-23T22:01:37.892Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-09-23T22:01:37.892Z] Step 2/12 : FROM ${BASE} AS builder [2021-09-23T22:01:37.892Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-09-23T22:01:37.892Z] 540db60ca938: Pulling fs layer [2021-09-23T22:01:37.892Z] adcc1eea9eea: Pulling fs layer [2021-09-23T22:01:37.892Z] 4c4ab2625f07: Pulling fs layer [2021-09-23T22:01:37.892Z] db62176df00c: Pulling fs layer [2021-09-23T22:01:37.892Z] 3b30891b0d05: Pulling fs layer [2021-09-23T22:01:37.892Z] 06b49ca38bd5: Pulling fs layer [2021-09-23T22:01:37.892Z] c788192a36de: Pulling fs layer [2021-09-23T22:01:37.892Z] a77e37c0d609: Pulling fs layer [2021-09-23T22:01:37.892Z] c3185cebc471: Pulling fs layer [2021-09-23T22:01:37.892Z] db62176df00c: Waiting [2021-09-23T22:01:37.892Z] 3b30891b0d05: Waiting [2021-09-23T22:01:37.892Z] 06b49ca38bd5: Waiting [2021-09-23T22:01:37.892Z] c788192a36de: Waiting [2021-09-23T22:01:37.892Z] a77e37c0d609: Waiting [2021-09-23T22:01:37.892Z] c3185cebc471: Waiting [2021-09-23T22:01:37.892Z] 4c4ab2625f07: Verifying Checksum [2021-09-23T22:01:37.892Z] 4c4ab2625f07: Download complete [2021-09-23T22:01:38.161Z] adcc1eea9eea: Verifying Checksum [2021-09-23T22:01:38.161Z] adcc1eea9eea: Download complete [2021-09-23T22:01:38.161Z] 3b30891b0d05: Verifying Checksum [2021-09-23T22:01:38.161Z] 3b30891b0d05: Download complete [2021-09-23T22:01:38.161Z] 06b49ca38bd5: Verifying Checksum [2021-09-23T22:01:38.161Z] 06b49ca38bd5: Download complete [2021-09-23T22:01:38.161Z] c788192a36de: Verifying Checksum [2021-09-23T22:01:38.161Z] c788192a36de: Download complete [2021-09-23T22:01:38.161Z] 540db60ca938: Verifying Checksum [2021-09-23T22:01:38.161Z] 540db60ca938: Download complete [2021-09-23T22:01:38.446Z] 540db60ca938: Pull complete [2021-09-23T22:01:38.446Z] adcc1eea9eea: Pull complete [2021-09-23T22:01:38.712Z] 4c4ab2625f07: Pull complete [2021-09-23T22:01:38.983Z] a77e37c0d609: Verifying Checksum [2021-09-23T22:01:38.983Z] a77e37c0d609: Download complete [2021-09-23T22:01:42.332Z] c3185cebc471: Verifying Checksum [2021-09-23T22:01:42.332Z] c3185cebc471: Download complete [2021-09-23T22:01:42.918Z] db62176df00c: Verifying Checksum [2021-09-23T22:01:42.918Z] db62176df00c: Download complete [2021-09-23T22:01:46.313Z] db62176df00c: Pull complete [2021-09-23T22:01:46.313Z] 3b30891b0d05: Pull complete [2021-09-23T22:01:46.313Z] 06b49ca38bd5: Pull complete [2021-09-23T22:01:46.313Z] c788192a36de: Pull complete [2021-09-23T22:01:46.580Z] a77e37c0d609: Pull complete [2021-09-23T22:01:48.550Z] c3185cebc471: Pull complete [2021-09-23T22:01:48.550Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-09-23T22:01:48.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-23T22:01:48.550Z] ---> 031687cdd783 [2021-09-23T22:01:48.550Z] Step 3/12 : ARG MAKE='make build' [2021-09-23T22:01:51.904Z] ---> Running in 39deb4aa8ffc [2021-09-23T22:01:52.170Z] Removing intermediate container 39deb4aa8ffc [2021-09-23T22:01:52.170Z] ---> ff907c50ba5f [2021-09-23T22:01:52.170Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-23T22:01:52.170Z] ---> Running in b7af0ad3c36c [2021-09-23T22:01:52.170Z] Removing intermediate container b7af0ad3c36c [2021-09-23T22:01:52.170Z] ---> 208d97a6f9b0 [2021-09-23T22:01:52.170Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-09-23T22:01:52.171Z] ---> Running in f9d0e4a1b0ef [2021-09-23T22:01:52.446Z] Removing intermediate container f9d0e4a1b0ef [2021-09-23T22:01:52.446Z] ---> 5c1fdfdd9e60 [2021-09-23T22:01:52.446Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-23T22:01:52.446Z] ---> Running in 7bcc393df141 [2021-09-23T22:01:53.026Z] Removing intermediate container 7bcc393df141 [2021-09-23T22:01:53.026Z] ---> d076c3681681 [2021-09-23T22:01:53.026Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-23T22:01:53.026Z] ---> Running in a0ecc4d5a80e [2021-09-23T22:01:53.026Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-09-23T22:01:54.437Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-09-23T22:01:55.395Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-09-23T22:01:55.395Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-09-23T22:01:55.662Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-09-23T22:01:56.246Z] Executing busybox-1.32.1-r6.trigger [2021-09-23T22:01:56.246Z] OK: 223 MiB in 55 packages [2021-09-23T22:01:56.513Z] Removing intermediate container a0ecc4d5a80e [2021-09-23T22:01:56.513Z] ---> 6bcf4e1337ff [2021-09-23T22:01:56.513Z] Step 8/12 : WORKDIR /device-snmp-go [2021-09-23T22:01:56.513Z] ---> Running in df1926162687 [2021-09-23T22:01:56.513Z] Removing intermediate container df1926162687 [2021-09-23T22:01:56.513Z] ---> 1168ee5b1ab6 [2021-09-23T22:01:56.513Z] Step 9/12 : COPY . . [2021-09-23T22:01:56.779Z] ---> 9fda82fc5b26 [2021-09-23T22:01:56.779Z] Step 10/12 : RUN go mod tidy [2021-09-23T22:01:56.779Z] ---> Running in 4d4e721a9f6c [2021-09-23T22:02:02.123Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-09-23T22:02:02.123Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-23T22:02:02.392Z] go: downloading github.com/soniah/gosnmp v1.21.0 [2021-09-23T22:02:02.392Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-23T22:02:02.658Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-23T22:02:02.658Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-23T22:02:02.658Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-23T22:02:02.926Z] go: downloading github.com/google/uuid v1.2.0 [2021-09-23T22:02:03.197Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-23T22:02:03.197Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-23T22:02:03.197Z] go: downloading github.com/golang/mock v1.2.0 [2021-09-23T22:02:03.197Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-23T22:02:03.463Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-23T22:02:03.463Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-23T22:02:03.463Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-23T22:02:03.463Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-23T22:02:03.463Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-23T22:02:04.045Z] go: downloading golang.org/x/text v0.3.2 [2021-09-23T22:02:04.045Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-23T22:02:04.313Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-23T22:02:05.274Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-23T22:02:05.274Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-23T22:02:05.274Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-09-23T22:02:05.274Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-23T22:02:05.545Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-23T22:02:05.545Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-23T22:02:05.545Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-23T22:02:05.545Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-23T22:02:05.813Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-09-23T22:02:05.813Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-23T22:02:05.813Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-23T22:02:06.080Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-23T22:02:06.080Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-23T22:02:06.350Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-23T22:02:06.350Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-23T22:02:06.350Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-23T22:02:06.350Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-23T22:02:06.617Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-23T22:02:06.617Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-23T22:02:06.617Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-23T22:02:06.617Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-23T22:02:06.884Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-23T22:02:06.884Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-23T22:02:06.884Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-23T22:02:06.884Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-23T22:02:06.884Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-23T22:02:07.151Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-23T22:02:07.151Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-23T22:02:07.151Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-23T22:02:07.419Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-23T22:02:07.419Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-23T22:02:07.419Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-23T22:02:07.691Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-23T22:02:07.691Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-23T22:02:07.691Z] go: downloading github.com/kr/text v0.1.0 [2021-09-23T22:02:07.691Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-23T22:02:07.691Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-23T22:02:07.691Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-23T22:02:07.958Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-23T22:02:07.958Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-23T22:02:07.958Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-23T22:02:07.958Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-23T22:02:07.958Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-23T22:02:08.225Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-23T22:02:08.225Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-23T22:02:08.225Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-23T22:02:08.225Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-23T22:02:08.225Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-23T22:02:08.492Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-23T22:02:08.492Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-23T22:02:08.492Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-23T22:02:08.492Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-23T22:02:08.759Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-23T22:02:08.759Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-23T22:02:08.759Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-23T22:02:08.759Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-23T22:02:09.030Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-23T22:02:13.297Z] Removing intermediate container 4d4e721a9f6c [2021-09-23T22:02:13.297Z] ---> 491ee4b652f3 [2021-09-23T22:02:13.297Z] Step 11/12 : RUN make update [2021-09-23T22:02:13.297Z] ---> Running in 72585d3da186 [2021-09-23T22:02:13.563Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-09-23T22:02:25.882Z] Removing intermediate container 72585d3da186 [2021-09-23T22:02:25.882Z] ---> e2ad7b0ad7eb [2021-09-23T22:02:25.882Z] Step 12/12 : RUN ${MAKE} [2021-09-23T22:02:25.882Z] ---> Running in d83b3da6c773 [2021-09-23T22:02:25.882Z] noop [2021-09-23T22:02:25.882Z] Removing intermediate container d83b3da6c773 [2021-09-23T22:02:25.882Z] ---> 7fa61c863e1b [2021-09-23T22:02:25.882Z] Successfully built 7fa61c863e1b [2021-09-23T22:02:25.882Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:02:26.241Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-23T22:02:26.241Z] . [Pipeline] withDockerContainer [2021-09-23T22:02:26.352Z] prd-centos7-docker-4c-2g-1021 does not seem to be running inside a container [2021-09-23T22:02:26.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-23T22:02:26.806Z] $ docker top 4c5954397ffddadb9e7ec72de795c289ef1fb3a8c065ccb9a1161a26a8031a99 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-23T22:02:27.279Z] + go version [2021-09-23T22:02:27.279Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-09-23T22:02:27.306Z] $ docker stop --time=1 4c5954397ffddadb9e7ec72de795c289ef1fb3a8c065ccb9a1161a26a8031a99 [2021-09-23T22:02:28.508Z] $ docker rm -f 4c5954397ffddadb9e7ec72de795c289ef1fb3a8c065ccb9a1161a26a8031a99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:02:29.290Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-23T22:02:29.290Z] . [Pipeline] withDockerContainer [2021-09-23T22:02:29.422Z] prd-centos7-docker-4c-2g-1021 does not seem to be running inside a container [2021-09-23T22:02:29.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-23T22:02:29.842Z] $ docker top 9fced6ba218217bb8532a9b4d06bd5966948af2d7d8aabb454a2a4565819a240 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-23T22:02:30.346Z] + go mod tidy [Pipeline] sh [2021-09-23T22:02:30.981Z] + make test [2021-09-23T22:02:30.982Z] go mod tidy [2021-09-23T22:02:30.982Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-09-23T22:02:31.569Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-09-23T22:02:46.660Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-09-23T22:02:46.660Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-09-23T22:02:46.660Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-23T22:02:52.053Z] gofmt -l . [2021-09-23T22:02:52.053Z] [ "`gofmt -l .`" = "" ] [2021-09-23T22:02:52.053Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-09-23T22:02:52.349Z] $ docker stop --time=1 9fced6ba218217bb8532a9b4d06bd5966948af2d7d8aabb454a2a4565819a240 [2021-09-23T22:02:53.794Z] $ docker rm -f 9fced6ba218217bb8532a9b4d06bd5966948af2d7d8aabb454a2a4565819a240 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-23T22:02:54.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-23T22:02:54.698Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-09-23T22:02:57.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-23T22:02:57.519Z] + ls -al . [2021-09-23T22:02:57.519Z] total 116 [2021-09-23T22:02:57.519Z] drwxrwxr-x. 7 jenkins jenkins 4096 Sep 23 22:02 . [2021-09-23T22:02:57.519Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 23 22:01 .. [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 6520 Sep 23 22:01 Attribution.txt [2021-09-23T22:02:57.519Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 23 22:01 bin [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 4401 Sep 23 22:01 CHANGELOG.md [2021-09-23T22:02:57.519Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 23 22:01 cmd [2021-09-23T22:02:57.519Z] -rw-r--r--. 1 jenkins jenkins 7631 Sep 23 22:02 coverage.out [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 1459 Sep 23 22:01 Dockerfile [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 6 Sep 23 22:01 .dockerignore [2021-09-23T22:02:57.519Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 23 22:01 .git [2021-09-23T22:02:57.519Z] drwxrwxr-x. 2 jenkins jenkins 103 Sep 23 22:01 .github [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 269 Sep 23 22:01 .gitignore [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 208 Sep 23 22:01 go.mod [2021-09-23T22:02:57.519Z] -rw-r--r--. 1 jenkins jenkins 20831 Sep 23 22:02 go.sum [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 677 Sep 23 22:01 GOVERNANCE.md [2021-09-23T22:02:57.519Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 23 22:01 internal [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 656 Sep 23 22:01 Jenkinsfile [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 23 22:01 LICENSE [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 23 22:01 Makefile [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 620 Sep 23 22:01 OWNERS.md [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 9073 Sep 23 22:01 README.md [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 23 21:58 VERSION [2021-09-23T22:02:57.519Z] -rw-rw-r--. 1 jenkins jenkins 209 Sep 23 22:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:02:57.880Z] + 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=eba394160bc80d533d871d20424c0e8bf8171f14 --label arch=amd64 --label version=0.0.0 . [2021-09-23T22:02:57.880Z] Sending build context to Docker daemon 384.5kB [2021-09-23T22:02:57.880Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-09-23T22:02:57.880Z] Step 2/24 : FROM ${BASE} AS builder [2021-09-23T22:02:57.880Z] ---> 7fa61c863e1b [2021-09-23T22:02:57.880Z] Step 3/24 : ARG MAKE='make build' [2021-09-23T22:02:57.880Z] ---> Running in eb8a7d401b1d [2021-09-23T22:02:57.880Z] Removing intermediate container eb8a7d401b1d [2021-09-23T22:02:57.880Z] ---> 5993abcd6e11 [2021-09-23T22:02:57.880Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-23T22:02:58.150Z] ---> Running in 9981cb78e016 [2021-09-23T22:02:58.150Z] Removing intermediate container 9981cb78e016 [2021-09-23T22:02:58.150Z] ---> 338e29f4826f [2021-09-23T22:02:58.150Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-09-23T22:02:58.150Z] ---> Running in 1dcdc2078f50 [2021-09-23T22:02:58.150Z] Removing intermediate container 1dcdc2078f50 [2021-09-23T22:02:58.150Z] ---> 92a9c774085b [2021-09-23T22:02:58.150Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-23T22:02:58.150Z] ---> Running in ae7469deb46e [2021-09-23T22:02:58.736Z] Removing intermediate container ae7469deb46e [2021-09-23T22:02:58.736Z] ---> e2a19821ca4b [2021-09-23T22:02:58.736Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-23T22:02:58.736Z] ---> Running in 15aa16c02c9e [2021-09-23T22:02:59.003Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-09-23T22:02:59.962Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-09-23T22:03:00.559Z] OK: 223 MiB in 55 packages [2021-09-23T22:03:00.829Z] Removing intermediate container 15aa16c02c9e [2021-09-23T22:03:00.829Z] ---> 456dfdd483ad [2021-09-23T22:03:00.829Z] Step 8/24 : WORKDIR /device-snmp-go [2021-09-23T22:03:00.829Z] ---> Running in ff6ee2f6a65e [2021-09-23T22:03:01.102Z] Removing intermediate container ff6ee2f6a65e [2021-09-23T22:03:01.102Z] ---> 17842451705d [2021-09-23T22:03:01.102Z] Step 9/24 : COPY . . [2021-09-23T22:03:01.102Z] ---> 863b66b43e58 [2021-09-23T22:03:01.102Z] Step 10/24 : RUN go mod tidy [2021-09-23T22:03:01.102Z] ---> Running in 20652defeb99 [2021-09-23T22:03:02.078Z] Removing intermediate container 20652defeb99 [2021-09-23T22:03:02.078Z] ---> 9e542c41664b [2021-09-23T22:03:02.078Z] Step 11/24 : RUN make update [2021-09-23T22:03:02.078Z] ---> Running in 7d4ce13f7ae4 [2021-09-23T22:03:02.078Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-09-23T22:03:02.347Z] Removing intermediate container 7d4ce13f7ae4 [2021-09-23T22:03:02.347Z] ---> f585104434e2 [2021-09-23T22:03:02.347Z] Step 12/24 : RUN ${MAKE} [2021-09-23T22:03:02.347Z] ---> Running in e71593bf6099 [2021-09-23T22:03:02.625Z] go mod tidy [2021-09-23T22:03:02.903Z] 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-09-23T22:03:15.328Z] Removing intermediate container e71593bf6099 [2021-09-23T22:03:15.328Z] ---> 504e1c36b38b [2021-09-23T22:03:15.328Z] Step 13/24 : FROM alpine:3.14 [2021-09-23T22:03:15.328Z] 3.14: Pulling from library/alpine [2021-09-23T22:03:15.328Z] a0d0a0d46f8b: Pulling fs layer [2021-09-23T22:03:15.328Z] a0d0a0d46f8b: Verifying Checksum [2021-09-23T22:03:15.328Z] a0d0a0d46f8b: Download complete [2021-09-23T22:03:15.328Z] a0d0a0d46f8b: Pull complete [2021-09-23T22:03:15.328Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-09-23T22:03:15.328Z] Status: Downloaded newer image for alpine:3.14 [2021-09-23T22:03:15.328Z] ---> 14119a10abf4 [2021-09-23T22:03:15.328Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-09-23T22:03:15.328Z] ---> Running in 211af350fc6d [2021-09-23T22:03:15.594Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-09-23T22:03:15.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-09-23T22:03:15.861Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-09-23T22:03:16.127Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-09-23T22:03:16.127Z] (3/6) Installing libsodium (1.0.18-r0) [2021-09-23T22:03:16.127Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-09-23T22:03:16.127Z] (5/6) Installing libzmq (4.3.4-r0) [2021-09-23T22:03:16.127Z] (6/6) Installing zeromq (4.3.4-r0) [2021-09-23T22:03:16.127Z] Executing busybox-1.33.1-r3.trigger [2021-09-23T22:03:16.127Z] OK: 8 MiB in 20 packages [2021-09-23T22:03:16.394Z] Removing intermediate container 211af350fc6d [2021-09-23T22:03:16.394Z] ---> a661948087e1 [2021-09-23T22:03:16.394Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-09-23T22:03:16.661Z] ---> 546f20c52dce [2021-09-23T22:03:16.661Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-09-23T22:03:16.926Z] ---> 3b63b7f9fcfb [2021-09-23T22:03:16.926Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-09-23T22:03:16.926Z] ---> 2fe639cc4822 [2021-09-23T22:03:16.926Z] Step 18/24 : EXPOSE 59993 [2021-09-23T22:03:17.193Z] ---> Running in 2a663cbe1d6d [2021-09-23T22:03:17.193Z] Removing intermediate container 2a663cbe1d6d [2021-09-23T22:03:17.193Z] ---> 47dbcbc55df4 [2021-09-23T22:03:17.193Z] Step 19/24 : EXPOSE 161 [2021-09-23T22:03:17.193Z] ---> Running in 1c3f58e2c91f [2021-09-23T22:03:17.193Z] Removing intermediate container 1c3f58e2c91f [2021-09-23T22:03:17.193Z] ---> b3a7fd9f04f0 [2021-09-23T22:03:17.193Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-09-23T22:03:17.193Z] ---> Running in 1932a858f1ae [2021-09-23T22:03:17.461Z] Removing intermediate container 1932a858f1ae [2021-09-23T22:03:17.461Z] ---> cb00b3eaf052 [2021-09-23T22:03:17.461Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-09-23T22:03:17.461Z] ---> Running in 3739e9b1375d [2021-09-23T22:03:17.461Z] Removing intermediate container 3739e9b1375d [2021-09-23T22:03:17.461Z] ---> 83c93078383e [2021-09-23T22:03:17.461Z] Step 22/24 : LABEL arch=amd64 [2021-09-23T22:03:17.461Z] ---> Running in ffe91758cd52 [2021-09-23T22:03:17.729Z] Removing intermediate container ffe91758cd52 [2021-09-23T22:03:17.729Z] ---> 2a58c901b787 [2021-09-23T22:03:17.729Z] Step 23/24 : LABEL git_sha=eba394160bc80d533d871d20424c0e8bf8171f14 [2021-09-23T22:03:17.729Z] ---> Running in db7d2662f96a [2021-09-23T22:03:17.729Z] Removing intermediate container db7d2662f96a [2021-09-23T22:03:17.729Z] ---> b41efd0f34e8 [2021-09-23T22:03:17.729Z] Step 24/24 : LABEL version=0.0.0 [2021-09-23T22:03:17.729Z] ---> Running in e08fa2bb8420 [2021-09-23T22:03:17.729Z] Removing intermediate container e08fa2bb8420 [2021-09-23T22:03:17.729Z] ---> fb04709087e7 [2021-09-23T22:03:17.729Z] [Warning] One or more build-args [ARCH] were not consumed [2021-09-23T22:03:17.729Z] Successfully built fb04709087e7 [2021-09-23T22:03:17.729Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:03:18.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T22:03:18.797Z] [2021-09-23T22:03:18.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:03:19.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T22:03:19.186Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-23T22:03:19.186Z] b4d181a07f80: Pulling fs layer [2021-09-23T22:03:19.186Z] a1111a8f2ec3: Pulling fs layer [2021-09-23T22:03:19.186Z] ed53099fbce6: Pulling fs layer [2021-09-23T22:03:19.186Z] dc539afda2c1: Pulling fs layer [2021-09-23T22:03:19.186Z] 77bc0d833cb6: Pulling fs layer [2021-09-23T22:03:19.186Z] 9065ff56babe: Pulling fs layer [2021-09-23T22:03:19.186Z] d287ab97295c: Pulling fs layer [2021-09-23T22:03:19.186Z] 77bc0d833cb6: Waiting [2021-09-23T22:03:19.186Z] 9065ff56babe: Waiting [2021-09-23T22:03:19.186Z] d287ab97295c: Waiting [2021-09-23T22:03:19.186Z] dc539afda2c1: Waiting [2021-09-23T22:03:19.451Z] a1111a8f2ec3: Verifying Checksum [2021-09-23T22:03:19.451Z] a1111a8f2ec3: Download complete [2021-09-23T22:03:19.451Z] dc539afda2c1: Verifying Checksum [2021-09-23T22:03:19.451Z] dc539afda2c1: Download complete [2021-09-23T22:03:19.717Z] 77bc0d833cb6: Download complete [2021-09-23T22:03:19.717Z] 9065ff56babe: Verifying Checksum [2021-09-23T22:03:19.717Z] 9065ff56babe: Download complete [2021-09-23T22:03:20.299Z] ed53099fbce6: Verifying Checksum [2021-09-23T22:03:20.300Z] ed53099fbce6: Download complete [2021-09-23T22:03:21.258Z] b4d181a07f80: Verifying Checksum [2021-09-23T22:03:21.258Z] b4d181a07f80: Download complete [2021-09-23T22:03:22.234Z] b4d181a07f80: Pull complete [2021-09-23T22:03:22.499Z] a1111a8f2ec3: Pull complete [2021-09-23T22:03:22.766Z] ed53099fbce6: Pull complete [2021-09-23T22:03:23.031Z] dc539afda2c1: Pull complete [2021-09-23T22:03:23.296Z] 77bc0d833cb6: Pull complete [2021-09-23T22:03:23.296Z] 9065ff56babe: Pull complete [2021-09-23T22:03:27.799Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1022 in /w/workspace/gexfoundry_device-snmp-go_PR-123 [Pipeline] { [Pipeline] ws [2021-09-23T22:03:27.860Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-09-23T22:03:28.136Z] Selected Git installation does not exist. Using Default [2021-09-23T22:03:28.136Z] The recommended git tool is: NONE [2021-09-23T22:03:28.638Z] d287ab97295c: Verifying Checksum [2021-09-23T22:03:28.638Z] d287ab97295c: Download complete [2021-09-23T22:03:31.989Z] d287ab97295c: Pull complete [2021-09-23T22:03:31.989Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-23T22:03:31.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T22:03:31.989Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-23T22:03:32.098Z] prd-centos7-docker-4c-2g-1021 does not seem to be running inside a container [2021-09-23T22:03:32.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-23T22:03:33.566Z] using credential edgex-jenkins-ssh [2021-09-23T22:03:33.600Z] Cloning the remote Git repository [2021-09-23T22:03:33.655Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-09-23T22:03:33.803Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-09-23T22:03:33.908Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-09-23T22:03:33.909Z] > git --version # timeout=10 [2021-09-23T22:03:33.933Z] > git --version # 'git version 2.17.1' [2021-09-23T22:03:33.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T22:03:34.022Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-23T22:03:34.750Z] $ docker top c87bc9a72d7564655e295e1d92a3663637e344a010fbb4a97477d79778acb016 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T22:03:35.292Z] ---> job-cost.sh [2021-09-23T22:03:35.292Z] lf-activate-venv: SKIPPING [2021-09-23T22:03:35.292Z] INFO: No Stack... [2021-09-23T22:03:34.996Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-09-23T22:03:35.019Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-23T22:03:35.049Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-09-23T22:03:35.090Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-09-23T22:03:35.092Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T22:03:35.106Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-23T22:03:35.755Z] Merging remotes/origin/main commit 503ab130c2d1a1a41fbe2fb04032090d761871c6 into PR head commit eba394160bc80d533d871d20424c0e8bf8171f14 [2021-09-23T22:03:35.875Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-23T22:03:35.962Z] Merge succeeded, producing eba394160bc80d533d871d20424c0e8bf8171f14 [2021-09-23T22:03:35.962Z] Checking out Revision eba394160bc80d533d871d20424c0e8bf8171f14 (PR-123) [2021-09-23T22:03:36.141Z] INFO: Archiving Costs [Pipeline] sh [2021-09-23T22:03:36.481Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-09-23T22:03:36.481Z] + cut -d, -f6 [Pipeline] lock [2021-09-23T22:03:36.548Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-123-1-stack-cost] [2021-09-23T22:03:36.555Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-123-1-stack-cost] did not exist. Created. [2021-09-23T22:03:36.555Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-123-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-23T22:03:35.772Z] > git config core.sparsecheckout # timeout=10 [2021-09-23T22:03:35.787Z] > git checkout -f eba394160bc80d533d871d20424c0e8bf8171f14 # timeout=10 [2021-09-23T22:03:35.870Z] > git remote # timeout=10 [2021-09-23T22:03:35.895Z] > git config --get remote.origin.url # timeout=10 [2021-09-23T22:03:35.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-23T22:03:35.922Z] > git merge 503ab130c2d1a1a41fbe2fb04032090d761871c6 # timeout=10 [2021-09-23T22:03:35.945Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-23T22:03:35.966Z] > git config core.sparsecheckout # timeout=10 [2021-09-23T22:03:35.979Z] > git checkout -f eba394160bc80d533d871d20424c0e8bf8171f14 # timeout=10 [2021-09-23T22:03:36.986Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-23T22:03:37.037Z] Stashed 1 file(s) [Pipeline] } [2021-09-23T22:03:37.072Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-123-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-23T22:03:37.144Z] $ docker stop --time=1 c87bc9a72d7564655e295e1d92a3663637e344a010fbb4a97477d79778acb016 [2021-09-23T22:03:38.289Z] $ docker rm -f c87bc9a72d7564655e295e1d92a3663637e344a010fbb4a97477d79778acb016 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-23T22:03:40.445Z] Commit message: "build: update alpine base to 3.14" [2021-09-23T22:03:40.515Z] > git --version # timeout=10 [2021-09-23T22:03:40.529Z] > git --version # 'git version 2.17.1' [2021-09-23T22:03:40.549Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-23T22:03:41.196Z] provisioning config files... [2021-09-23T22:03:41.230Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config9136432358163123287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T22:03:42.079Z] ---> docker-login.sh [2021-09-23T22:03:42.079Z] nexus3.edgexfoundry.org:10001 [2021-09-23T22:03:43.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T22:03:44.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T22:03:44.125Z] Configure a credential helper to remove this warning. See [2021-09-23T22:03:44.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T22:03:44.125Z] [2021-09-23T22:03:44.125Z] Login Succeeded [2021-09-23T22:03:44.125Z] nexus3.edgexfoundry.org:10002 [2021-09-23T22:03:44.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T22:03:44.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T22:03:44.678Z] Configure a credential helper to remove this warning. See [2021-09-23T22:03:44.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T22:03:44.678Z] [2021-09-23T22:03:44.678Z] Login Succeeded [2021-09-23T22:03:44.678Z] nexus3.edgexfoundry.org:10003 [2021-09-23T22:03:44.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T22:03:45.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T22:03:45.245Z] Configure a credential helper to remove this warning. See [2021-09-23T22:03:45.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T22:03:45.245Z] [2021-09-23T22:03:45.245Z] Login Succeeded [2021-09-23T22:03:45.245Z] nexus3.edgexfoundry.org:10004 [2021-09-23T22:03:45.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T22:03:45.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T22:03:45.851Z] Configure a credential helper to remove this warning. See [2021-09-23T22:03:45.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T22:03:45.851Z] [2021-09-23T22:03:45.851Z] Login Succeeded [2021-09-23T22:03:45.851Z] docker.io [2021-09-23T22:03:46.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-23T22:03:46.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-23T22:03:46.732Z] Configure a credential helper to remove this warning. See [2021-09-23T22:03:46.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-23T22:03:46.732Z] [2021-09-23T22:03:46.732Z] Login Succeeded [2021-09-23T22:03:46.732Z] ---> docker-login.sh ends [Pipeline] } [2021-09-23T22:03:46.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-23T22:03:47.532Z] ========================================================= [2021-09-23T22:03:47.532Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-09-23T22:03:47.532Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:03:48.023Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-09-23T22:03:48.636Z] Sending build context to Docker daemon 375.3kB [2021-09-23T22:03:48.636Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-09-23T22:03:48.636Z] Step 2/12 : FROM ${BASE} AS builder [2021-09-23T22:03:48.915Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-09-23T22:03:48.915Z] 595b0fe564bb: Pulling fs layer [2021-09-23T22:03:48.915Z] 24495759ef45: Pulling fs layer [2021-09-23T22:03:48.915Z] d148012ef14d: Pulling fs layer [2021-09-23T22:03:48.915Z] e90a11edd702: Pulling fs layer [2021-09-23T22:03:48.915Z] d77568369979: Pulling fs layer [2021-09-23T22:03:48.915Z] fc1c9f9a7f3b: Pulling fs layer [2021-09-23T22:03:48.915Z] 170f2ba95c9a: Pulling fs layer [2021-09-23T22:03:48.915Z] 97ac5df62f85: Pulling fs layer [2021-09-23T22:03:48.915Z] d77568369979: Waiting [2021-09-23T22:03:48.915Z] 97ac5df62f85: Waiting [2021-09-23T22:03:48.915Z] fc1c9f9a7f3b: Waiting [2021-09-23T22:03:48.915Z] 170f2ba95c9a: Waiting [2021-09-23T22:03:48.915Z] e90a11edd702: Waiting [2021-09-23T22:03:48.915Z] d148012ef14d: Verifying Checksum [2021-09-23T22:03:48.915Z] d148012ef14d: Download complete [2021-09-23T22:03:48.915Z] 24495759ef45: Verifying Checksum [2021-09-23T22:03:48.915Z] 24495759ef45: Download complete [2021-09-23T22:03:48.915Z] d77568369979: Verifying Checksum [2021-09-23T22:03:48.915Z] d77568369979: Download complete [2021-09-23T22:03:48.915Z] fc1c9f9a7f3b: Verifying Checksum [2021-09-23T22:03:48.915Z] fc1c9f9a7f3b: Download complete [2021-09-23T22:03:48.915Z] 595b0fe564bb: Verifying Checksum [2021-09-23T22:03:48.915Z] 595b0fe564bb: Download complete [2021-09-23T22:03:48.915Z] 170f2ba95c9a: Verifying Checksum [2021-09-23T22:03:48.915Z] 170f2ba95c9a: Download complete [2021-09-23T22:03:49.916Z] 595b0fe564bb: Pull complete [2021-09-23T22:03:50.526Z] 24495759ef45: Pull complete [2021-09-23T22:03:51.130Z] d148012ef14d: Pull complete [2021-09-23T22:03:52.590Z] 97ac5df62f85: Verifying Checksum [2021-09-23T22:03:52.590Z] 97ac5df62f85: Download complete [2021-09-23T22:03:52.867Z] e90a11edd702: Download complete [2021-09-23T22:04:03.042Z] e90a11edd702: Pull complete [2021-09-23T22:04:03.317Z] d77568369979: Pull complete [2021-09-23T22:04:03.591Z] fc1c9f9a7f3b: Pull complete [2021-09-23T22:04:04.186Z] 170f2ba95c9a: Pull complete [2021-09-23T22:04:09.617Z] 97ac5df62f85: Pull complete [2021-09-23T22:04:09.617Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-09-23T22:04:09.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-23T22:04:09.617Z] ---> 04bc70af865f [2021-09-23T22:04:09.617Z] Step 3/12 : ARG MAKE='make build' [2021-09-23T22:04:16.336Z] ---> Running in 67fb77622335 [2021-09-23T22:04:16.336Z] Removing intermediate container 67fb77622335 [2021-09-23T22:04:16.336Z] ---> d67b72e35b43 [2021-09-23T22:04:16.336Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-23T22:04:16.336Z] ---> Running in 3767fbdd4901 [2021-09-23T22:04:16.931Z] Removing intermediate container 3767fbdd4901 [2021-09-23T22:04:16.931Z] ---> a8fd33af3896 [2021-09-23T22:04:16.931Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-09-23T22:04:16.931Z] ---> Running in 6021bc59ac14 [2021-09-23T22:04:17.524Z] Removing intermediate container 6021bc59ac14 [2021-09-23T22:04:17.524Z] ---> 1efdf9307ea7 [2021-09-23T22:04:17.524Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-23T22:04:17.796Z] ---> Running in 416f955ce6cb [2021-09-23T22:04:21.203Z] Removing intermediate container 416f955ce6cb [2021-09-23T22:04:21.203Z] ---> 3eeb6107fe0d [2021-09-23T22:04:21.203Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-23T22:04:21.203Z] ---> Running in 7db645cc46b0 [2021-09-23T22:04:22.185Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-09-23T22:04:23.179Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-09-23T22:04:24.155Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-09-23T22:04:24.427Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-09-23T22:04:24.427Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-09-23T22:04:25.409Z] Executing busybox-1.32.1-r6.trigger [2021-09-23T22:04:25.409Z] OK: 222 MiB in 55 packages [2021-09-23T22:04:26.848Z] Removing intermediate container 7db645cc46b0 [2021-09-23T22:04:26.848Z] ---> c03907fda657 [2021-09-23T22:04:26.848Z] Step 8/12 : WORKDIR /device-snmp-go [2021-09-23T22:04:27.125Z] ---> Running in 0c1220c4b97c [2021-09-23T22:04:27.736Z] Removing intermediate container 0c1220c4b97c [2021-09-23T22:04:27.736Z] ---> 70ce84ee6ab3 [2021-09-23T22:04:27.736Z] Step 9/12 : COPY . . [2021-09-23T22:04:28.718Z] ---> 982723f1a27c [2021-09-23T22:04:28.718Z] Step 10/12 : RUN go mod tidy [2021-09-23T22:04:28.997Z] ---> Running in 10498c34e430 [2021-09-23T22:04:35.703Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-09-23T22:04:35.703Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-23T22:04:36.299Z] go: downloading github.com/soniah/gosnmp v1.21.0 [2021-09-23T22:04:36.299Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-23T22:04:36.299Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-23T22:04:36.299Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-23T22:04:36.572Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-23T22:04:36.572Z] go: downloading github.com/google/uuid v1.2.0 [2021-09-23T22:04:36.572Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-23T22:04:36.846Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-23T22:04:36.846Z] go: downloading github.com/golang/mock v1.2.0 [2021-09-23T22:04:36.846Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-23T22:04:36.846Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-23T22:04:36.846Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-23T22:04:37.122Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-09-23T22:04:37.123Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-23T22:04:37.123Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-23T22:04:37.123Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-23T22:04:37.123Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-23T22:04:37.123Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-23T22:04:37.404Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-23T22:04:37.404Z] go: downloading golang.org/x/text v0.3.2 [2021-09-23T22:04:37.404Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-23T22:04:37.679Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-23T22:04:41.068Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-23T22:04:41.068Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-23T22:04:41.343Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-09-23T22:04:41.343Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-23T22:04:41.343Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-23T22:04:41.343Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-23T22:04:41.621Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-23T22:04:41.621Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-23T22:04:41.621Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-23T22:04:41.621Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-23T22:04:41.621Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-23T22:04:41.621Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-23T22:04:41.900Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-23T22:04:42.182Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-23T22:04:42.182Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-23T22:04:42.182Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-23T22:04:42.182Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-23T22:04:42.182Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-23T22:04:42.182Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-23T22:04:42.455Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-23T22:04:42.455Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-23T22:04:42.455Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-23T22:04:42.455Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-23T22:04:42.726Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-23T22:04:42.726Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-23T22:04:42.726Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-23T22:04:42.726Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-23T22:04:42.726Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-23T22:04:43.004Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-23T22:04:43.004Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-23T22:04:43.275Z] go: downloading github.com/kr/text v0.1.0 [2021-09-23T22:04:43.275Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-23T22:04:43.275Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-23T22:04:43.275Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-23T22:04:43.275Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-23T22:04:43.275Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-23T22:04:43.552Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-23T22:04:43.552Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-23T22:04:43.552Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-23T22:04:43.552Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-23T22:04:43.552Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-23T22:04:43.824Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-23T22:04:43.824Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-23T22:04:43.824Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-23T22:04:43.824Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-23T22:04:43.824Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-23T22:04:43.824Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-23T22:04:43.824Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-23T22:04:43.824Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-23T22:04:44.179Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-23T22:04:44.179Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-23T22:04:44.179Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-23T22:04:44.179Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-23T22:04:59.310Z] Removing intermediate container 10498c34e430 [2021-09-23T22:04:59.310Z] ---> 6e280541fd1c [2021-09-23T22:04:59.310Z] Step 11/12 : RUN make update [2021-09-23T22:04:59.310Z] ---> Running in 393d7c115e32 [2021-09-23T22:04:59.310Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-09-23T22:05:17.604Z] Removing intermediate container 393d7c115e32 [2021-09-23T22:05:17.604Z] ---> b2e657b85bd6 [2021-09-23T22:05:17.604Z] Step 12/12 : RUN ${MAKE} [2021-09-23T22:05:17.604Z] ---> Running in ca2b2e278a4d [2021-09-23T22:05:17.604Z] noop [2021-09-23T22:05:18.579Z] Removing intermediate container ca2b2e278a4d [2021-09-23T22:05:18.579Z] ---> dc7fc4a82f44 [2021-09-23T22:05:18.579Z] Successfully built dc7fc4a82f44 [2021-09-23T22:05:18.579Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:05:18.973Z] + docker inspect -f . ci-base-image-arm64 [2021-09-23T22:05:18.973Z] . [Pipeline] withDockerContainer [2021-09-23T22:05:19.267Z] prd-ubuntu18.04-docker-arm64-4c-16g-1022 does not seem to be running inside a container [2021-09-23T22:05:19.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-23T22:05:21.171Z] $ docker top aa7646693f5336ba4b67cd2bd6c9a86208cb91ab1e1aaa1119affc0efd9255f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-23T22:05:22.170Z] + go version [2021-09-23T22:05:22.170Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-09-23T22:05:22.204Z] $ docker stop --time=1 aa7646693f5336ba4b67cd2bd6c9a86208cb91ab1e1aaa1119affc0efd9255f5 [2021-09-23T22:05:24.252Z] $ docker rm -f aa7646693f5336ba4b67cd2bd6c9a86208cb91ab1e1aaa1119affc0efd9255f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:05:25.318Z] + docker inspect -f . ci-base-image-arm64 [2021-09-23T22:05:25.318Z] . [Pipeline] withDockerContainer [2021-09-23T22:05:25.577Z] prd-ubuntu18.04-docker-arm64-4c-16g-1022 does not seem to be running inside a container [2021-09-23T22:05:25.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-23T22:05:27.313Z] $ docker top a6b6db7e641381000a412fa033033d4d0cc6a5433032acb89251fc04af43b6a2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-23T22:05:28.434Z] + go mod tidy [Pipeline] sh [2021-09-23T22:05:29.751Z] + make test [2021-09-23T22:05:29.751Z] go mod tidy [2021-09-23T22:05:30.352Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-09-23T22:05:31.794Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-09-23T22:06:28.385Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-09-23T22:06:28.385Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.030s coverage: 0.0% of statements [2021-09-23T22:06:28.385Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-23T22:06:46.839Z] gofmt -l . [2021-09-23T22:06:46.839Z] [ "`gofmt -l .`" = "" ] [2021-09-23T22:06:46.839Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-09-23T22:06:47.143Z] $ docker stop --time=1 a6b6db7e641381000a412fa033033d4d0cc6a5433032acb89251fc04af43b6a2 [2021-09-23T22:06:49.231Z] $ docker rm -f a6b6db7e641381000a412fa033033d4d0cc6a5433032acb89251fc04af43b6a2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-23T22:06:50.169Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-23T22:06:50.216Z] Warning: overwriting stash ‘coverage-report’ [2021-09-23T22:06:50.869Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-23T22:06:51.652Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-23T22:06:52.031Z] + ls -al . [2021-09-23T22:06:52.031Z] total 140 [2021-09-23T22:06:52.031Z] drwxrwxr-x 7 jenkins jenkins 4096 Sep 23 22:06 . [2021-09-23T22:06:52.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 22:03 .. [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 23 22:03 .dockerignore [2021-09-23T22:06:52.031Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 22:03 .git [2021-09-23T22:06:52.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 22:03 .github [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 269 Sep 23 22:03 .gitignore [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 6520 Sep 23 22:03 Attribution.txt [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 4401 Sep 23 22:03 CHANGELOG.md [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 1459 Sep 23 22:03 Dockerfile [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 22:03 GOVERNANCE.md [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 23 22:03 Jenkinsfile [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 22:03 LICENSE [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 23 22:03 Makefile [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 23 22:03 OWNERS.md [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 9073 Sep 23 22:03 README.md [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 21:58 VERSION [2021-09-23T22:06:52.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 22:03 bin [2021-09-23T22:06:52.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 22:03 cmd [2021-09-23T22:06:52.031Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 23 22:06 coverage.out [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 208 Sep 23 22:03 go.mod [2021-09-23T22:06:52.031Z] -rw-r--r-- 1 jenkins jenkins 20831 Sep 23 22:05 go.sum [2021-09-23T22:06:52.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 22:03 internal [2021-09-23T22:06:52.031Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 23 22:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:06:52.423Z] + 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=eba394160bc80d533d871d20424c0e8bf8171f14 --label arch=arm64 --label version=0.0.0 . [2021-09-23T22:06:52.704Z] Sending build context to Docker daemon 383.5kB [2021-09-23T22:06:53.048Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-09-23T22:06:53.048Z] Step 2/24 : FROM ${BASE} AS builder [2021-09-23T22:06:53.048Z] ---> dc7fc4a82f44 [2021-09-23T22:06:53.048Z] Step 3/24 : ARG MAKE='make build' [2021-09-23T22:06:53.048Z] ---> Running in 6abec034ba11 [2021-09-23T22:06:53.647Z] Removing intermediate container 6abec034ba11 [2021-09-23T22:06:53.647Z] ---> 6bacdb5a1883 [2021-09-23T22:06:53.647Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-23T22:06:53.921Z] ---> Running in 78dc5ae0f32a [2021-09-23T22:06:54.521Z] Removing intermediate container 78dc5ae0f32a [2021-09-23T22:06:54.521Z] ---> ecd2cfa226cd [2021-09-23T22:06:54.521Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-09-23T22:06:54.521Z] ---> Running in 7ac2a9285494 [2021-09-23T22:06:55.120Z] Removing intermediate container 7ac2a9285494 [2021-09-23T22:06:55.120Z] ---> c2a122fc0ffc [2021-09-23T22:06:55.120Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-23T22:06:55.120Z] ---> Running in 05d18b774731 [2021-09-23T22:06:57.754Z] Removing intermediate container 05d18b774731 [2021-09-23T22:06:57.754Z] ---> 02423da83e63 [2021-09-23T22:06:57.754Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-23T22:06:57.754Z] ---> Running in 033572f52b95 [2021-09-23T22:06:59.202Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-09-23T22:07:00.182Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-09-23T22:07:01.167Z] OK: 222 MiB in 55 packages [2021-09-23T22:07:02.603Z] Removing intermediate container 033572f52b95 [2021-09-23T22:07:02.603Z] ---> e35d06cb681a [2021-09-23T22:07:02.603Z] Step 8/24 : WORKDIR /device-snmp-go [2021-09-23T22:07:02.603Z] ---> Running in 60e87645454e [2021-09-23T22:07:03.201Z] Removing intermediate container 60e87645454e [2021-09-23T22:07:03.201Z] ---> 73a2b0cae6e5 [2021-09-23T22:07:03.201Z] Step 9/24 : COPY . . [2021-09-23T22:07:04.184Z] ---> 95b48e3b9a33 [2021-09-23T22:07:04.184Z] Step 10/24 : RUN go mod tidy [2021-09-23T22:07:04.456Z] ---> Running in 86c9b33ffb3b [2021-09-23T22:07:07.839Z] Removing intermediate container 86c9b33ffb3b [2021-09-23T22:07:07.839Z] ---> 16e559210516 [2021-09-23T22:07:07.839Z] Step 11/24 : RUN make update [2021-09-23T22:07:07.839Z] ---> Running in 24b394abda54 [2021-09-23T22:07:08.432Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-09-23T22:07:09.871Z] Removing intermediate container 24b394abda54 [2021-09-23T22:07:09.871Z] ---> e50128b9bc3c [2021-09-23T22:07:09.871Z] Step 12/24 : RUN ${MAKE} [2021-09-23T22:07:09.871Z] ---> Running in 492abef88471 [2021-09-23T22:07:11.311Z] go mod tidy [2021-09-23T22:07:11.588Z] 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-09-23T22:07:50.606Z] Removing intermediate container 492abef88471 [2021-09-23T22:07:50.606Z] ---> 269f32843837 [2021-09-23T22:07:50.606Z] Step 13/24 : FROM alpine:3.14 [2021-09-23T22:07:50.606Z] 3.14: Pulling from library/alpine [2021-09-23T22:07:50.606Z] 552d1f2373af: Pulling fs layer [2021-09-23T22:07:50.606Z] 552d1f2373af: Verifying Checksum [2021-09-23T22:07:50.606Z] 552d1f2373af: Download complete [2021-09-23T22:07:50.606Z] 552d1f2373af: Pull complete [2021-09-23T22:07:50.882Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-09-23T22:07:50.882Z] Status: Downloaded newer image for alpine:3.14 [2021-09-23T22:07:50.882Z] ---> bb3de5531c18 [2021-09-23T22:07:50.882Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-09-23T22:07:51.158Z] ---> Running in 8957903d4bce [2021-09-23T22:07:52.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-09-23T22:07:52.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-09-23T22:07:53.582Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-09-23T22:07:53.582Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-09-23T22:07:53.582Z] (3/6) Installing libsodium (1.0.18-r0) [2021-09-23T22:07:53.582Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-09-23T22:07:53.582Z] (5/6) Installing libzmq (4.3.4-r0) [2021-09-23T22:07:53.582Z] (6/6) Installing zeromq (4.3.4-r0) [2021-09-23T22:07:53.582Z] Executing busybox-1.33.1-r3.trigger [2021-09-23T22:07:53.582Z] OK: 8 MiB in 20 packages [2021-09-23T22:07:54.565Z] Removing intermediate container 8957903d4bce [2021-09-23T22:07:54.565Z] ---> 0b70b6295b89 [2021-09-23T22:07:54.565Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-09-23T22:07:55.996Z] ---> 19f8a87b8bed [2021-09-23T22:07:55.996Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-09-23T22:07:56.997Z] ---> 41f287a75474 [2021-09-23T22:07:56.997Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-09-23T22:07:57.616Z] ---> 2f1290bece7e [2021-09-23T22:07:57.616Z] Step 18/24 : EXPOSE 59993 [2021-09-23T22:07:57.935Z] ---> Running in cbf877369a53 [2021-09-23T22:07:58.224Z] Removing intermediate container cbf877369a53 [2021-09-23T22:07:58.224Z] ---> b97071c69536 [2021-09-23T22:07:58.224Z] Step 19/24 : EXPOSE 161 [2021-09-23T22:07:58.501Z] ---> Running in 8367ab28dea4 [2021-09-23T22:07:59.104Z] Removing intermediate container 8367ab28dea4 [2021-09-23T22:07:59.104Z] ---> 8f4419ec44b2 [2021-09-23T22:07:59.104Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-09-23T22:07:59.104Z] ---> Running in 838bd872785e [2021-09-23T22:07:59.699Z] Removing intermediate container 838bd872785e [2021-09-23T22:07:59.699Z] ---> bfe218cfd0a8 [2021-09-23T22:07:59.699Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-09-23T22:07:59.699Z] ---> Running in 6cbaba65b99a [2021-09-23T22:08:00.300Z] Removing intermediate container 6cbaba65b99a [2021-09-23T22:08:00.300Z] ---> 654c7bcbf502 [2021-09-23T22:08:00.300Z] Step 22/24 : LABEL arch=arm64 [2021-09-23T22:08:00.300Z] ---> Running in 5c32d424f162 [2021-09-23T22:08:00.893Z] Removing intermediate container 5c32d424f162 [2021-09-23T22:08:00.893Z] ---> f2bddd980d9c [2021-09-23T22:08:00.893Z] Step 23/24 : LABEL git_sha=eba394160bc80d533d871d20424c0e8bf8171f14 [2021-09-23T22:08:00.893Z] ---> Running in 3943641392ef [2021-09-23T22:08:01.487Z] Removing intermediate container 3943641392ef [2021-09-23T22:08:01.487Z] ---> a2d051fa7573 [2021-09-23T22:08:01.487Z] Step 24/24 : LABEL version=0.0.0 [2021-09-23T22:08:01.487Z] ---> Running in 482bdc540dc5 [2021-09-23T22:08:02.084Z] Removing intermediate container 482bdc540dc5 [2021-09-23T22:08:02.084Z] ---> cf232effd253 [2021-09-23T22:08:02.084Z] [Warning] One or more build-args [ARCH] were not consumed [2021-09-23T22:08:02.084Z] Successfully built cf232effd253 [2021-09-23T22:08:02.084Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:08:03.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-23T22:08:03.063Z] [2021-09-23T22:08:03.063Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:08:03.454Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-23T22:08:03.726Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-23T22:08:03.726Z] 448f6bf000e3: Pulling fs layer [2021-09-23T22:08:03.726Z] f757da607395: Pulling fs layer [2021-09-23T22:08:03.726Z] 05883995daec: Pulling fs layer [2021-09-23T22:08:03.726Z] 8603b9c90790: Pulling fs layer [2021-09-23T22:08:03.726Z] 1560dd03e051: Pulling fs layer [2021-09-23T22:08:03.726Z] 27f5ce0e4adf: Pulling fs layer [2021-09-23T22:08:03.726Z] c2d8d7efcc4b: Pulling fs layer [2021-09-23T22:08:03.726Z] 27f5ce0e4adf: Waiting [2021-09-23T22:08:03.726Z] c2d8d7efcc4b: Waiting [2021-09-23T22:08:03.726Z] 8603b9c90790: Waiting [2021-09-23T22:08:03.726Z] 1560dd03e051: Waiting [2021-09-23T22:08:04.003Z] f757da607395: Verifying Checksum [2021-09-23T22:08:04.003Z] f757da607395: Download complete [2021-09-23T22:08:04.003Z] 8603b9c90790: Download complete [2021-09-23T22:08:04.003Z] 1560dd03e051: Verifying Checksum [2021-09-23T22:08:04.003Z] 1560dd03e051: Download complete [2021-09-23T22:08:04.003Z] 27f5ce0e4adf: Verifying Checksum [2021-09-23T22:08:04.003Z] 27f5ce0e4adf: Download complete [2021-09-23T22:08:04.275Z] 05883995daec: Verifying Checksum [2021-09-23T22:08:04.275Z] 05883995daec: Download complete [2021-09-23T22:08:04.870Z] 448f6bf000e3: Download complete [2021-09-23T22:08:08.268Z] c2d8d7efcc4b: Verifying Checksum [2021-09-23T22:08:08.268Z] c2d8d7efcc4b: Download complete [2021-09-23T22:08:08.268Z] 448f6bf000e3: Pull complete [2021-09-23T22:08:08.870Z] f757da607395: Pull complete [2021-09-23T22:08:10.309Z] 05883995daec: Pull complete [2021-09-23T22:08:10.904Z] 8603b9c90790: Pull complete [2021-09-23T22:08:11.880Z] 1560dd03e051: Pull complete [2021-09-23T22:08:11.880Z] 27f5ce0e4adf: Pull complete [2021-09-23T22:08:26.978Z] c2d8d7efcc4b: Pull complete [2021-09-23T22:08:26.978Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-23T22:08:26.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-23T22:08:26.978Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-23T22:08:27.336Z] prd-ubuntu18.04-docker-arm64-4c-16g-1022 does not seem to be running inside a container [2021-09-23T22:08:27.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-09-23T22:08:32.555Z] $ docker top 024a4515b6e07045d189a25c7cfe2b73c25a0c7c70a04788e798d560b035dbfa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-23T22:08:33.640Z] ---> job-cost.sh [2021-09-23T22:08:33.641Z] lf-activate-venv: SKIPPING [2021-09-23T22:08:33.641Z] INFO: No Stack... [2021-09-23T22:08:34.620Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-23T22:08:34.896Z] INFO: Archiving Costs [Pipeline] sh [2021-09-23T22:08:35.583Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-09-23T22:08:35.583Z] + cut -d, -f6 [Pipeline] lock [2021-09-23T22:08:35.681Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-123-1-stack-cost] [2021-09-23T22:08:35.690Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-123-1-stack-cost] did not exist. Created. [2021-09-23T22:08:35.691Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-123-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-23T22:08:36.477Z] /w/workspace/device-snmp-go/1@tmp/durable-905b2bda/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-905b2bda/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-23T22:08:37.230Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-23T22:08:37.266Z] Warning: overwriting stash ‘stack-cost’ [2021-09-23T22:08:37.309Z] Stashed 1 file(s) [Pipeline] } [2021-09-23T22:08:37.327Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-123-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-23T22:08:37.404Z] $ docker stop --time=1 024a4515b6e07045d189a25c7cfe2b73c25a0c7c70a04788e798d560b035dbfa [2021-09-23T22:08:39.107Z] $ docker rm -f 024a4515b6e07045d189a25c7cfe2b73c25a0c7c70a04788e798d560b035dbfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-09-23T22:08:40.451Z] provisioning config files... [2021-09-23T22:08:40.466Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-123@tmp/config8912037173044022957tmp [Pipeline] { [Pipeline] sh [2021-09-23T22:08:41.055Z] + set +x [2021-09-23T22:08:41.055Z] + curl -s https://codecov.io/bash [2021-09-23T22:08:41.055Z] + bash -s -- [2021-09-23T22:08:41.055Z] [2021-09-23T22:08:41.055Z] _____ _ [2021-09-23T22:08:41.055Z] / ____| | | [2021-09-23T22:08:41.055Z] | | ___ __| | ___ ___ _____ __ [2021-09-23T22:08:41.055Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-09-23T22:08:41.055Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-09-23T22:08:41.055Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-09-23T22:08:41.055Z] Bash-1.0.6 [2021-09-23T22:08:41.055Z] [2021-09-23T22:08:41.055Z] [2021-09-23T22:08:41.055Z] ==> git version 2.24.4 found [2021-09-23T22:08:41.055Z] ==> 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-09-23T22:08:41.055Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-09-23T22:08:41.055Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-09-23T22:08:41.055Z] ==> Jenkins CI detected. [2021-09-23T22:08:41.055Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-123 [2021-09-23T22:08:41.055Z] project root: . [2021-09-23T22:08:41.055Z] --> token set from env [2021-09-23T22:08:41.055Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-09-23T22:08:41.055Z] ==> Running gcov in . (disable via -X gcov) [2021-09-23T22:08:41.055Z] ==> Python coveragepy not found [2021-09-23T22:08:41.055Z] ==> Searching for coverage reports in: [2021-09-23T22:08:41.055Z] + . [2021-09-23T22:08:41.055Z] -> Found 1 reports [2021-09-23T22:08:41.055Z] ==> Detecting git/mercurial file structure [2021-09-23T22:08:41.055Z] ==> Reading reports [2021-09-23T22:08:41.055Z] + ./coverage.out bytes=7631 [2021-09-23T22:08:41.055Z] ==> Appending adjustments [2021-09-23T22:08:41.055Z] https://docs.codecov.io/docs/fixing-reports [2021-09-23T22:08:41.055Z] + Found adjustments [2021-09-23T22:08:41.055Z] ==> Gzipping contents [2021-09-23T22:08:41.055Z] 4.0K /tmp/codecov.HmTcnu.gz [2021-09-23T22:08:41.055Z] ==> Uploading reports [2021-09-23T22:08:41.055Z] url: https://codecov.io [2021-09-23T22:08:41.055Z] query: branch=PR-123&commit=eba394160bc80d533d871d20424c0e8bf8171f14&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-123%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=123&job=&cmd_args= [2021-09-23T22:08:41.055Z] -> Pinging Codecov [2021-09-23T22:08:41.055Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-123&commit=eba394160bc80d533d871d20424c0e8bf8171f14&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-123%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=123&job=&cmd_args= [2021-09-23T22:08:41.639Z] -> Uploading to [2021-09-23T22:08:41.639Z] https://storage.googleapis.com/codecov/v4/raw/2021-09-23/6C56EA5C29638FB4528AC87E60AF5AE0/eba394160bc80d533d871d20424c0e8bf8171f14/55ccd5e1-9cc3-4d4d-ab81-c8a9397b1f2e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210923T220841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9dc41c7de2ca3e4ff9d73dfeee411bedfbafd26fa66111fb5ce4a119a9ae1fdd [2021-09-23T22:08:41.639Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-23T22:08:41.639Z] Dload Upload Total Spent Left Speed [2021-09-23T22:08:42.231Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1329 0 0 100 1329 0 1637 --:--:-- --:--:-- --:--:-- 1636 [2021-09-23T22:08:42.231Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/eba394160bc80d533d871d20424c0e8bf8171f14 [Pipeline] } [2021-09-23T22:08:42.276Z] 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] sh [2021-09-23T22:08:44.568Z] + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-123/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-23T22:08:44.935Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T22:08:45.557Z] ---> package-listing.sh [2021-09-23T22:08:45.557Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-23T22:08:45.557Z] ++ facter osfamily [2021-09-23T22:08:45.824Z] + OS_FAMILY=redhat [2021-09-23T22:08:45.824Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-123 [2021-09-23T22:08:45.824Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-23T22:08:45.824Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-23T22:08:45.824Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-23T22:08:45.824Z] + PACKAGES=/tmp/packages_start.txt [2021-09-23T22:08:45.824Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-123 ']' [2021-09-23T22:08:45.824Z] + PACKAGES=/tmp/packages_end.txt [2021-09-23T22:08:45.824Z] + case "${OS_FAMILY}" in [2021-09-23T22:08:45.824Z] + sort [2021-09-23T22:08:45.824Z] + rpm -qa [2021-09-23T22:08:46.407Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-23T22:08:46.407Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-23T22:08:46.407Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-23T22:08:46.407Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-123 ']' [2021-09-23T22:08:46.407Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-123/archives/ [2021-09-23T22:08:46.407Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-123/archives/ [Pipeline] echo [2021-09-23T22:08:46.601Z] 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-123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-09-23T22:08:46.929Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:08:47.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T22:08:47.559Z] [2021-09-23T22:08:47.559Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-23T22:08:47.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T22:08:47.936Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-23T22:08:47.936Z] b4d181a07f80: Pulling fs layer [2021-09-23T22:08:47.936Z] a1111a8f2ec3: Pulling fs layer [2021-09-23T22:08:47.936Z] ed53099fbce6: Pulling fs layer [2021-09-23T22:08:47.936Z] dc539afda2c1: Pulling fs layer [2021-09-23T22:08:47.936Z] 77bc0d833cb6: Pulling fs layer [2021-09-23T22:08:47.936Z] 9065ff56babe: Pulling fs layer [2021-09-23T22:08:47.936Z] d287ab97295c: Pulling fs layer [2021-09-23T22:08:47.936Z] dc539afda2c1: Waiting [2021-09-23T22:08:47.936Z] 9065ff56babe: Waiting [2021-09-23T22:08:47.936Z] d287ab97295c: Waiting [2021-09-23T22:08:47.936Z] 77bc0d833cb6: Waiting [2021-09-23T22:08:48.203Z] a1111a8f2ec3: Verifying Checksum [2021-09-23T22:08:48.203Z] a1111a8f2ec3: Download complete [2021-09-23T22:08:48.203Z] dc539afda2c1: Verifying Checksum [2021-09-23T22:08:48.203Z] dc539afda2c1: Download complete [2021-09-23T22:08:48.471Z] 77bc0d833cb6: Verifying Checksum [2021-09-23T22:08:48.471Z] 77bc0d833cb6: Download complete [2021-09-23T22:08:48.471Z] 9065ff56babe: Verifying Checksum [2021-09-23T22:08:48.471Z] 9065ff56babe: Download complete [2021-09-23T22:08:48.737Z] ed53099fbce6: Verifying Checksum [2021-09-23T22:08:48.737Z] ed53099fbce6: Download complete [2021-09-23T22:08:49.321Z] b4d181a07f80: Verifying Checksum [2021-09-23T22:08:49.321Z] b4d181a07f80: Download complete [2021-09-23T22:08:50.775Z] b4d181a07f80: Pull complete [2021-09-23T22:08:50.775Z] a1111a8f2ec3: Pull complete [2021-09-23T22:08:51.365Z] ed53099fbce6: Pull complete [2021-09-23T22:08:51.365Z] dc539afda2c1: Pull complete [2021-09-23T22:08:51.631Z] 77bc0d833cb6: Pull complete [2021-09-23T22:08:51.631Z] 9065ff56babe: Pull complete [2021-09-23T22:08:53.051Z] d287ab97295c: Verifying Checksum [2021-09-23T22:08:53.051Z] d287ab97295c: Download complete [2021-09-23T22:08:57.345Z] d287ab97295c: Pull complete [2021-09-23T22:08:57.346Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-23T22:08:57.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-23T22:08:57.346Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-23T22:08:57.469Z] prd-centos7-docker-4c-2g-1018 does not seem to be running inside a container [2021-09-23T22:08:57.528Z] $ 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-123/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-123 -v /w/workspace/gexfoundry_device-snmp-go_PR-123:/w/workspace/gexfoundry_device-snmp-go_PR-123:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-123@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-123@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:latest cat [2021-09-23T22:09:00.061Z] $ docker top 5e03b22f0119f44ef265535cb5c52913bc98a5df975a77129bb4cb89dedde55b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-23T22:09:00.510Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-23T22:09:00.853Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-23T22:09:01.198Z] + ls /var/log/sa-host [2021-09-23T22:09:01.198Z] + sadf -c /var/log/sa-host/sa05 [2021-09-23T22:09:01.198Z] file_magic: OK [2021-09-23T22:09:01.198Z] HZ: Using current value: 100 [2021-09-23T22:09:01.198Z] file_header: OK [2021-09-23T22:09:01.198Z] 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-09-23T22:09:01.198Z] Statistics: [2021-09-23T22:09:01.198Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-23T22:09:01.198Z] File successfully converted to sysstat format version 12.0.3 [2021-09-23T22:09:01.198Z] + sadf -c /var/log/sa-host/sa23 [2021-09-23T22:09:01.198Z] file_magic: OK [2021-09-23T22:09:01.198Z] HZ: Using current value: 100 [2021-09-23T22:09:01.198Z] file_header: OK [2021-09-23T22:09:01.198Z] 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-09-23T22:09:01.198Z] Statistics: [2021-09-23T22:09:01.198Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-23T22:09:01.198Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-23T22:09:01.453Z] provisioning config files... [2021-09-23T22:09:01.471Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-123@tmp/config6555619899795358424tmp [Pipeline] { [Pipeline] echo [2021-09-23T22:09:01.543Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T22:09:01.930Z] ---> create-netrc.sh [Pipeline] } [2021-09-23T22:09:01.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-23T22:09:02.459Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-23T22:09:02.497Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T22:09:02.854Z] ---> sudo-logs.sh [2021-09-23T22:09:02.854Z] Archiving 'sudo' log.. [2021-09-23T22:09:02.854Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1018.vexxhost.local: Name or service not known [2021-09-23T22:09:02.854Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1018.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-23T22:09:02.986Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T22:09:03.335Z] ---> job-cost.sh [2021-09-23T22:09:03.335Z] lf-activate-venv: SKIPPING [2021-09-23T22:09:03.335Z] DEBUG: total: 0.10999999940395355 [2021-09-23T22:09:03.335Z] INFO: Retrieving Stack Cost... [2021-09-23T22:09:03.920Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-23T22:09:04.503Z] INFO: Archiving Costs [Pipeline] echo [2021-09-23T22:09:04.544Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-23T22:09:04.905Z] ---> logs-deploy.sh [2021-09-23T22:09:04.905Z] lf-activate-venv: SKIPPING [2021-09-23T22:09:04.905Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-123/1 [2021-09-23T22:09:04.905Z] INFO: archiving workspace using pattern(s): [2021-09-23T22:09:05.491Z] Archives upload complete. [2021-09-23T22:09:05.759Z] INFO: archiving logs to Nexus