Pull request #131 updated 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 farshidtz for edgexfoundry/device-snmp-go Loading trusted files from base branch main at f190e6e8df31eb379f6a262f1bc8f793fb631af1 rather than 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 Obtained Jenkinsfile from f190e6e8df31eb379f6a262f1bc8f793fb631af1 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-ssh4465580832663549125.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh14069526419927979.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-131/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-131/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh52653415628155416.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6470764592555385937.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-131/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-131/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3586632645785409634.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 USE_ALPINE: true 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 Running on prd-centos7-docker-4c-2g-76 in /w/workspace/gexfoundry_device-snmp-go_PR-131 [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-131 # 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-131@tmp/jenkins-gitclient-ssh7159419101546756986.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 f190e6e8df31eb379f6a262f1bc8f793fb631af1 into PR head commit 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 Merge succeeded, producing 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 Checking out Revision 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 (PR-131) > 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-131@tmp/jenkins-gitclient-ssh5347614387535658749.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 # 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-131@tmp/jenkins-gitclient-ssh3873831167278228962.key > git merge f190e6e8df31eb379f6a262f1bc8f793fb631af1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 # timeout=10 Commit message: "refactor(snap): remove obsolete passthrough usage" > git rev-list --no-walk f5177da71b40dc0e158136259bcecd87d3969624 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-02T11:39:14.653Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-02T11:39:14.720Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-02T11:39:14.739Z] ========================================================= [2021-12-02T11:39:14.739Z] EdgeX Global Pipelines Version Info [2021-12-02T11:39:14.739Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:39:15.888Z] ------------------- [2021-12-02T11:39:15.888Z] stable info: [2021-12-02T11:39:15.888Z] ------------------- [2021-12-02T11:39:15.888Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-02T11:39:15.888Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T11:39:15.888Z] Message: update stable to v1.0.217 [2021-12-02T11:39:16.471Z] ------------------- [2021-12-02T11:39:16.471Z] experimental info: [2021-12-02T11:39:16.471Z] ------------------- [2021-12-02T11:39:16.471Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-02T11:39:16.471Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T11:39:16.471Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-02T11:39:16.599Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-12-02T11:39:16.614Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-12-02T11:39:16.626Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-02T11:39:16.642Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-02T11:39:16.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-02T11:39:16.664Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-02T11:39:16.673Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-02T11:39:16.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-02T11:39:16.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-02T11:39:16.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-02T11:39:16.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-02T11:39:16.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-12-02T11:39:16.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-02T11:39:16.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-02T11:39:16.768Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T11:39:16.782Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T11:39:16.796Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T11:39:16.812Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T11:39:16.823Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-02T11:39:16.839Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-02T11:39:16.858Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-02T11:39:16.876Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-02T11:39:16.894Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-02T11:39:16.906Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-02T11:39:16.916Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-02T11:39:16.925Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-02T11:39:16.934Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-131 [Pipeline] echo [2021-12-02T11:39:16.943Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-131 [Pipeline] echo [2021-12-02T11:39:16.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-131 [Pipeline] echo [2021-12-02T11:39:16.967Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 [Pipeline] echo [2021-12-02T11:39:16.977Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5241943 [Pipeline] echo [2021-12-02T11:39:16.987Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:39:17.020Z] provisioning config files... [2021-12-02T11:39:17.035Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-131@tmp/config5363096310758133016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:39:17.353Z] ---> docker-login.sh [2021-12-02T11:39:17.353Z] nexus3.edgexfoundry.org:10001 [2021-12-02T11:39:17.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:39:17.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:39:17.616Z] Configure a credential helper to remove this warning. See [2021-12-02T11:39:17.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:39:17.616Z] [2021-12-02T11:39:17.616Z] Login Succeeded [2021-12-02T11:39:17.616Z] nexus3.edgexfoundry.org:10002 [2021-12-02T11:39:17.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:39:17.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:39:17.616Z] Configure a credential helper to remove this warning. See [2021-12-02T11:39:17.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:39:17.616Z] [2021-12-02T11:39:17.616Z] Login Succeeded [2021-12-02T11:39:17.616Z] nexus3.edgexfoundry.org:10003 [2021-12-02T11:39:17.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:39:17.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:39:17.878Z] Configure a credential helper to remove this warning. See [2021-12-02T11:39:17.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:39:17.878Z] [2021-12-02T11:39:17.878Z] Login Succeeded [2021-12-02T11:39:17.878Z] nexus3.edgexfoundry.org:10004 [2021-12-02T11:39:17.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:39:17.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:39:17.878Z] Configure a credential helper to remove this warning. See [2021-12-02T11:39:17.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:39:17.878Z] [2021-12-02T11:39:17.878Z] Login Succeeded [2021-12-02T11:39:17.878Z] docker.io [2021-12-02T11:39:18.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:39:18.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:39:18.402Z] Configure a credential helper to remove this warning. See [2021-12-02T11:39:18.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:39:18.402Z] [2021-12-02T11:39:18.402Z] Login Succeeded [2021-12-02T11:39:18.402Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T11:39:18.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-02T11:39:18.849Z] + git rev-list -1 --merges 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45~1..52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 [Pipeline] echo [2021-12-02T11:39:18.882Z] -----------> git rev-list -1 --merges 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45~1..52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 [false] [Pipeline] sh [2021-12-02T11:39:19.183Z] + git log --format=format:%s -1 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 [Pipeline] echo [2021-12-02T11:39:19.199Z] ========================================================= [2021-12-02T11:39:19.199Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-02T11:39:19.199Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T11:39:19.548Z] + git log --format=format:%s -1 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 [Pipeline] echo [2021-12-02T11:39:19.562Z] [semverPrep] GIT_COMMIT: 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45, Commit Message: refactor(snap): remove obsolete passthrough usage [Pipeline] echo [2021-12-02T11:39:19.574Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-02T11:39:19.997Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T11:39:19.997Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-02T11:39:19.997Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-02T11:39:19.997Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-02T11:39:19.997Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-02T11:39:19.997Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-02T11:39:19.997Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:39:20.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T11:39:20.418Z] [2021-12-02T11:39:20.418Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:39:20.737Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T11:39:20.737Z] latest: Pulling from edgex-devops/git-semver [2021-12-02T11:39:20.737Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T11:39:20.737Z] 3e5f54012d9b: Pulling fs layer [2021-12-02T11:39:20.737Z] 4c7163046ea9: Pulling fs layer [2021-12-02T11:39:20.737Z] 0c2d73faf560: Pulling fs layer [2021-12-02T11:39:20.737Z] 0c2d73faf560: Waiting [2021-12-02T11:39:20.737Z] 3e5f54012d9b: Verifying Checksum [2021-12-02T11:39:20.737Z] 3e5f54012d9b: Download complete [2021-12-02T11:39:20.737Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T11:39:20.737Z] a0d0a0d46f8b: Download complete [2021-12-02T11:39:20.737Z] 4c7163046ea9: Verifying Checksum [2021-12-02T11:39:20.737Z] 4c7163046ea9: Download complete [2021-12-02T11:39:20.737Z] 0c2d73faf560: Verifying Checksum [2021-12-02T11:39:20.737Z] 0c2d73faf560: Download complete [2021-12-02T11:39:21.014Z] a0d0a0d46f8b: Pull complete [2021-12-02T11:39:21.014Z] 3e5f54012d9b: Pull complete [2021-12-02T11:39:21.277Z] 4c7163046ea9: Pull complete [2021-12-02T11:39:21.540Z] 0c2d73faf560: Pull complete [2021-12-02T11:39:21.540Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-02T11:39:21.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T11:39:21.540Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-02T11:39:21.615Z] prd-centos7-docker-4c-2g-76 does not seem to be running inside a container [2021-12-02T11:39:21.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-131 -v /w/workspace/gexfoundry_device-snmp-go_PR-131:/w/workspace/gexfoundry_device-snmp-go_PR-131:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-131@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-131@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:10004/edgex-devops/git-semver:latest cat [2021-12-02T11:39:22.265Z] $ docker top ce7f128e0b432b7db72694eb7c6a2fbd12f6f465e3782263daca05998903efc7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T11:39:22.367Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T11:39:22.367Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T11:39:22.474Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T11:39:22.477Z] $ docker exec ce7f128e0b432b7db72694eb7c6a2fbd12f6f465e3782263daca05998903efc7 ssh-agent [2021-12-02T11:39:22.571Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfIgjba/agent.14 [2021-12-02T11:39:22.571Z] SSH_AGENT_PID=21 [2021-12-02T11:39:22.578Z] Running ssh-add (command line suppressed) [2021-12-02T11:39:22.670Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-131@tmp/private_key_4293027937856184262.key (/w/workspace/gexfoundry_device-snmp-go_PR-131@tmp/private_key_4293027937856184262.key) [2021-12-02T11:39:22.682Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T11:39:22.988Z] + git tag --points-at HEAD [Pipeline] } [2021-12-02T11:39:23.000Z] $ docker exec --env ******** --env ******** ce7f128e0b432b7db72694eb7c6a2fbd12f6f465e3782263daca05998903efc7 ssh-agent -k [2021-12-02T11:39:23.085Z] unset SSH_AUTH_SOCK; [2021-12-02T11:39:23.085Z] unset SSH_AGENT_PID; [2021-12-02T11:39:23.086Z] echo Agent pid 21 killed; [2021-12-02T11:39:23.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-02T11:39:23.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T11:39:23.125Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T11:39:23.218Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T11:39:23.220Z] $ docker exec ce7f128e0b432b7db72694eb7c6a2fbd12f6f465e3782263daca05998903efc7 ssh-agent [2021-12-02T11:39:23.322Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGfhcBE/agent.53 [2021-12-02T11:39:23.322Z] SSH_AGENT_PID=59 [2021-12-02T11:39:23.327Z] Running ssh-add (command line suppressed) [2021-12-02T11:39:23.425Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-131@tmp/private_key_1273934662616983920.key (/w/workspace/gexfoundry_device-snmp-go_PR-131@tmp/private_key_1273934662616983920.key) [2021-12-02T11:39:23.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T11:39:23.738Z] + git semver init [2021-12-02T11:39:23.738Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T11:39:23.738Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-131/.git [2021-12-02T11:39:23.738Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-131 [2021-12-02T11:39:23.738Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T11:39:23.738Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T11:39:23.738Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T11:39:23.738Z] # $SEMVER_BRANCH = PR-131 [2021-12-02T11:39:23.738Z] # $SEMVER_TEMP = /tmp/semver-992786092 [2021-12-02T11:39:23.738Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-12-02T11:39:24.310Z] # '/tmp/semver-992786092' -> '/w/workspace/gexfoundry_device-snmp-go_PR-131/.semver' [2021-12-02T11:39:24.310Z] # -> Force: false [2021-12-02T11:39:24.570Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-131/.semver [Pipeline] } [2021-12-02T11:39:24.581Z] $ docker exec --env ******** --env ******** ce7f128e0b432b7db72694eb7c6a2fbd12f6f465e3782263daca05998903efc7 ssh-agent -k [2021-12-02T11:39:24.671Z] unset SSH_AUTH_SOCK; [2021-12-02T11:39:24.672Z] unset SSH_AGENT_PID; [2021-12-02T11:39:24.672Z] echo Agent pid 59 killed; [2021-12-02T11:39:24.681Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T11:39:25.014Z] + git semver [Pipeline] } [2021-12-02T11:39:25.025Z] $ docker stop --time=1 ce7f128e0b432b7db72694eb7c6a2fbd12f6f465e3782263daca05998903efc7 [2021-12-02T11:39:26.240Z] $ docker rm -f ce7f128e0b432b7db72694eb7c6a2fbd12f6f465e3782263daca05998903efc7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T11:39:26.595Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-02T11:39:26.818Z] Stashed 1 file(s) [Pipeline] echo [2021-12-02T11:39:26.822Z] [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-12-02T11:39:41.968Z] Still waiting to schedule task [2021-12-02T11:39:41.968Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-76’ [2021-12-02T11:39:41.970Z] Still waiting to schedule task [2021-12-02T11:39:41.970Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-12-02T11:41:07.251Z] Running on prd-centos7-docker-4c-2g-79 in /w/workspace/gexfoundry_device-snmp-go_PR-131 [Pipeline] { [Pipeline] ws [2021-12-02T11:41:07.269Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-12-02T11:41:07.349Z] Selected Git installation does not exist. Using Default [2021-12-02T11:41:07.349Z] The recommended git tool is: NONE [2021-12-02T11:41:08.852Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-77 in /w/workspace/gexfoundry_device-snmp-go_PR-131 [Pipeline] { [Pipeline] ws [2021-12-02T11:41:08.863Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-12-02T11:41:08.988Z] using credential edgex-jenkins-ssh [2021-12-02T11:41:08.998Z] Cloning the remote Git repository [2021-12-02T11:41:09.123Z] Selected Git installation does not exist. Using Default [2021-12-02T11:41:09.123Z] The recommended git tool is: NONE [2021-12-02T11:41:08.709Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T11:41:08.743Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-12-02T11:41:08.772Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T11:41:08.772Z] > git --version # timeout=10 [2021-12-02T11:41:08.782Z] > git --version # 'git version 2.24.4' [2021-12-02T11:41:08.782Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:41:08.805Z] [INFO] Currently running in a labeled security context [2021-12-02T11:41:08.806Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T11:41:08.806Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh1757901234288339544.key [2021-12-02T11:41:08.883Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T11:41:10.519Z] Merging remotes/origin/main commit f190e6e8df31eb379f6a262f1bc8f793fb631af1 into PR head commit 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 [2021-12-02T11:41:10.650Z] Merge succeeded, producing 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 [2021-12-02T11:41:10.651Z] Checking out Revision 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 (PR-131) [2021-12-02T11:41:09.630Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-12-02T11:41:09.643Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T11:41:09.657Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-12-02T11:41:09.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T11:41:09.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:41:09.681Z] [INFO] Currently running in a labeled security context [2021-12-02T11:41:09.681Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T11:41:09.681Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh6167144457925840544.key [2021-12-02T11:41:09.693Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-02T11:41:10.217Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T11:41:10.234Z] > git checkout -f 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 # timeout=10 [2021-12-02T11:41:10.271Z] > git remote # timeout=10 [2021-12-02T11:41:10.283Z] > git config --get remote.origin.url # timeout=10 [2021-12-02T11:41:10.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:41:10.294Z] [INFO] Currently running in a labeled security context [2021-12-02T11:41:10.294Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T11:41:10.294Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh6464153961377752666.key [2021-12-02T11:41:10.313Z] > git merge f190e6e8df31eb379f6a262f1bc8f793fb631af1 # timeout=10 [2021-12-02T11:41:10.323Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-02T11:41:10.340Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T11:41:10.349Z] > git checkout -f 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 # timeout=10 [2021-12-02T11:41:13.975Z] using credential edgex-jenkins-ssh [2021-12-02T11:41:13.997Z] Cloning the remote Git repository [2021-12-02T11:41:14.073Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T11:41:14.142Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-12-02T11:41:14.126Z] Commit message: "refactor(snap): remove obsolete passthrough usage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:41:14.442Z] provisioning config files... [2021-12-02T11:41:14.455Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config354592509573300046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:41:14.855Z] ---> docker-login.sh [2021-12-02T11:41:14.855Z] nexus3.edgexfoundry.org:10001 [2021-12-02T11:41:14.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:41:15.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:41:15.129Z] Configure a credential helper to remove this warning. See [2021-12-02T11:41:15.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:41:15.129Z] [2021-12-02T11:41:15.129Z] Login Succeeded [2021-12-02T11:41:15.129Z] nexus3.edgexfoundry.org:10002 [2021-12-02T11:41:15.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:41:15.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:41:15.129Z] Configure a credential helper to remove this warning. See [2021-12-02T11:41:15.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:41:15.129Z] [2021-12-02T11:41:15.129Z] Login Succeeded [2021-12-02T11:41:15.129Z] nexus3.edgexfoundry.org:10003 [2021-12-02T11:41:15.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:41:14.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T11:41:14.215Z] > git --version # timeout=10 [2021-12-02T11:41:14.230Z] > git --version # 'git version 2.17.1' [2021-12-02T11:41:14.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:41:14.306Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T11:41:15.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:41:15.392Z] Configure a credential helper to remove this warning. See [2021-12-02T11:41:15.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:41:15.392Z] [2021-12-02T11:41:15.392Z] Login Succeeded [2021-12-02T11:41:15.392Z] nexus3.edgexfoundry.org:10004 [2021-12-02T11:41:15.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:41:15.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:41:15.392Z] Configure a credential helper to remove this warning. See [2021-12-02T11:41:15.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:41:15.392Z] [2021-12-02T11:41:15.392Z] Login Succeeded [2021-12-02T11:41:15.392Z] docker.io [2021-12-02T11:41:15.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:41:15.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:41:15.915Z] Configure a credential helper to remove this warning. See [2021-12-02T11:41:15.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:41:15.915Z] [2021-12-02T11:41:15.915Z] Login Succeeded [2021-12-02T11:41:15.915Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T11:41:16.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T11:41:16.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T11:41:16.139Z] ========================================================= [2021-12-02T11:41:16.139Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-02T11:41:16.139Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:41:16.327Z] Merging remotes/origin/main commit f190e6e8df31eb379f6a262f1bc8f793fb631af1 into PR head commit 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 [2021-12-02T11:41:16.461Z] + 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-12-02T11:41:16.461Z] Sending build context to Docker daemon 2.704MB [2021-12-02T11:41:16.461Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T11:41:16.461Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T11:41:16.461Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-02T11:41:16.461Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T11:41:16.461Z] 31adcdaf11c8: Pulling fs layer [2021-12-02T11:41:16.461Z] b8b176561691: Pulling fs layer [2021-12-02T11:41:16.461Z] 4527c011a84f: Pulling fs layer [2021-12-02T11:41:16.461Z] 5d74067f8e1e: Pulling fs layer [2021-12-02T11:41:16.461Z] e0aca202a116: Pulling fs layer [2021-12-02T11:41:16.461Z] 3a43be97a3b4: Pulling fs layer [2021-12-02T11:41:16.461Z] 34cad66bf833: Pulling fs layer [2021-12-02T11:41:16.461Z] b4e3c513aaa6: Pulling fs layer [2021-12-02T11:41:16.461Z] 4527c011a84f: Waiting [2021-12-02T11:41:16.461Z] 5d74067f8e1e: Waiting [2021-12-02T11:41:16.461Z] e0aca202a116: Waiting [2021-12-02T11:41:16.461Z] 3a43be97a3b4: Waiting [2021-12-02T11:41:16.461Z] 34cad66bf833: Waiting [2021-12-02T11:41:16.461Z] b4e3c513aaa6: Waiting [2021-12-02T11:41:16.461Z] b8b176561691: Verifying Checksum [2021-12-02T11:41:16.461Z] b8b176561691: Download complete [2021-12-02T11:41:16.551Z] Merge succeeded, producing 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 [2021-12-02T11:41:16.552Z] Checking out Revision 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 (PR-131) [2021-12-02T11:41:15.441Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-12-02T11:41:15.463Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T11:41:15.491Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-12-02T11:41:15.602Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T11:41:15.603Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:41:15.623Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-02T11:41:16.374Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T11:41:16.409Z] > git checkout -f 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 # timeout=10 [2021-12-02T11:41:16.490Z] > git remote # timeout=10 [2021-12-02T11:41:16.507Z] > git config --get remote.origin.url # timeout=10 [2021-12-02T11:41:16.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:41:16.533Z] > git merge f190e6e8df31eb379f6a262f1bc8f793fb631af1 # timeout=10 [2021-12-02T11:41:16.558Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-02T11:41:16.587Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T11:41:16.598Z] > git checkout -f 52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 # timeout=10 [2021-12-02T11:41:16.728Z] 31adcdaf11c8: Verifying Checksum [2021-12-02T11:41:16.728Z] 31adcdaf11c8: Download complete [2021-12-02T11:41:16.728Z] 5d74067f8e1e: Verifying Checksum [2021-12-02T11:41:16.728Z] 5d74067f8e1e: Download complete [2021-12-02T11:41:16.728Z] e0aca202a116: Verifying Checksum [2021-12-02T11:41:16.728Z] e0aca202a116: Download complete [2021-12-02T11:41:16.728Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T11:41:16.728Z] a0d0a0d46f8b: Download complete [2021-12-02T11:41:16.728Z] 3a43be97a3b4: Verifying Checksum [2021-12-02T11:41:16.728Z] 3a43be97a3b4: Download complete [2021-12-02T11:41:16.728Z] 34cad66bf833: Verifying Checksum [2021-12-02T11:41:16.728Z] 34cad66bf833: Download complete [2021-12-02T11:41:16.995Z] a0d0a0d46f8b: Pull complete [2021-12-02T11:41:17.271Z] 4527c011a84f: Verifying Checksum [2021-12-02T11:41:17.271Z] 4527c011a84f: Download complete [2021-12-02T11:41:17.271Z] b4e3c513aaa6: Verifying Checksum [2021-12-02T11:41:17.271Z] b4e3c513aaa6: Download complete [2021-12-02T11:41:17.271Z] 31adcdaf11c8: Pull complete [2021-12-02T11:41:17.271Z] b8b176561691: Pull complete [2021-12-02T11:41:20.678Z] Commit message: "refactor(snap): remove obsolete passthrough usage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T11:41:21.473Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-02T11:41:21.473Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T11:41:21.473Z] Dload Upload Total Spent Left Speed [2021-12-02T11:41:21.473Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 92375 0 --:--:-- --:--:-- --:--:-- 92375 [2021-12-02T11:41:21.519Z] 4527c011a84f: Pull complete [2021-12-02T11:41:21.519Z] 5d74067f8e1e: Pull complete [2021-12-02T11:41:21.519Z] e0aca202a116: Pull complete [2021-12-02T11:41:21.519Z] 3a43be97a3b4: Pull complete [Pipeline] sh [2021-12-02T11:41:21.787Z] 34cad66bf833: Pull complete [2021-12-02T11:41:22.034Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-02T11:41:22.377Z] + sudo tee /etc/docker/daemon.new [2021-12-02T11:41:22.377Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-02T11:41:22.377Z] { [2021-12-02T11:41:22.377Z] "registry-mirrors": [ [2021-12-02T11:41:22.377Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-02T11:41:22.377Z] ], [2021-12-02T11:41:22.377Z] "bip": "10.250.0.254/24", [2021-12-02T11:41:22.377Z] "hosts": [ [2021-12-02T11:41:22.377Z] "tcp://0.0.0.0:5555", [2021-12-02T11:41:22.377Z] "unix:///var/run/docker.sock" [2021-12-02T11:41:22.377Z] ], [2021-12-02T11:41:22.377Z] "mtu": 1458, [2021-12-02T11:41:22.377Z] "selinux-enabled": true, [2021-12-02T11:41:22.377Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-02T11:41:22.377Z] } [Pipeline] sh [2021-12-02T11:41:22.838Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-02T11:41:23.175Z] + sudo service docker restart [2021-12-02T11:41:24.370Z] b4e3c513aaa6: Pull complete [2021-12-02T11:41:24.370Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-02T11:41:24.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-02T11:41:24.370Z] ---> 9f6097aaca64 [2021-12-02T11:41:24.370Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T11:41:26.313Z] ---> Running in 783ce85db0ff [2021-12-02T11:41:26.313Z] Removing intermediate container 783ce85db0ff [2021-12-02T11:41:26.313Z] ---> af0d427a34b8 [2021-12-02T11:41:26.313Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T11:41:26.313Z] ---> Running in 6e3ddcb26663 [2021-12-02T11:41:26.313Z] Removing intermediate container 6e3ddcb26663 [2021-12-02T11:41:26.313Z] ---> a01c47b4db4f [2021-12-02T11:41:26.313Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T11:41:26.313Z] ---> Running in 9da2a2b36bfb [2021-12-02T11:41:26.313Z] Removing intermediate container 9da2a2b36bfb [2021-12-02T11:41:26.313Z] ---> 873f8e3039b5 [2021-12-02T11:41:26.313Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:41:26.313Z] ---> Running in 4dff5d9c1021 [2021-12-02T11:41:26.888Z] Removing intermediate container 4dff5d9c1021 [2021-12-02T11:41:26.888Z] ---> d8e6c1b8faa5 [2021-12-02T11:41:26.888Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T11:41:26.888Z] ---> Running in d4b9e09b89cb [2021-12-02T11:41:27.151Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T11:41:28.095Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T11:41:28.362Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T11:41:28.362Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T11:41:28.362Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T11:41:28.622Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T11:41:28.622Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T11:41:28.622Z] OK: 224 MiB in 56 packages [2021-12-02T11:41:28.885Z] Removing intermediate container d4b9e09b89cb [2021-12-02T11:41:28.885Z] ---> 0c069f1b9c84 [2021-12-02T11:41:28.885Z] Step 8/11 : WORKDIR /device-snmp-go [2021-12-02T11:41:29.151Z] ---> Running in d94adc7a075d [2021-12-02T11:41:29.151Z] Removing intermediate container d94adc7a075d [2021-12-02T11:41:29.151Z] ---> c07440f706fd [2021-12-02T11:41:29.151Z] Step 9/11 : COPY . . [2021-12-02T11:41:29.419Z] ---> 4440650efc12 [2021-12-02T11:41:29.419Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T11:41:29.419Z] ---> Running in a7c738095edf [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:41:41.496Z] provisioning config files... [2021-12-02T11:41:41.520Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config1707166334938456097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:41:41.890Z] ---> docker-login.sh [2021-12-02T11:41:41.890Z] nexus3.edgexfoundry.org:10001 [2021-12-02T11:41:42.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:41:42.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:41:42.488Z] Configure a credential helper to remove this warning. See [2021-12-02T11:41:42.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:41:42.488Z] [2021-12-02T11:41:42.488Z] Login Succeeded [2021-12-02T11:41:42.760Z] nexus3.edgexfoundry.org:10002 [2021-12-02T11:41:43.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:41:43.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:41:43.035Z] Configure a credential helper to remove this warning. See [2021-12-02T11:41:43.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:41:43.035Z] [2021-12-02T11:41:43.035Z] Login Succeeded [2021-12-02T11:41:43.035Z] nexus3.edgexfoundry.org:10003 [2021-12-02T11:41:43.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:41:43.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:41:43.581Z] Configure a credential helper to remove this warning. See [2021-12-02T11:41:43.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:41:43.581Z] [2021-12-02T11:41:43.581Z] Login Succeeded [2021-12-02T11:41:43.581Z] nexus3.edgexfoundry.org:10004 [2021-12-02T11:41:43.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:41:44.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:41:44.133Z] Configure a credential helper to remove this warning. See [2021-12-02T11:41:44.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:41:44.133Z] [2021-12-02T11:41:44.133Z] Login Succeeded [2021-12-02T11:41:44.133Z] docker.io [2021-12-02T11:41:44.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:41:44.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:41:44.676Z] Configure a credential helper to remove this warning. See [2021-12-02T11:41:44.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:41:44.676Z] [2021-12-02T11:41:44.676Z] Login Succeeded [2021-12-02T11:41:44.676Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T11:41:44.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T11:41:45.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T11:41:45.189Z] ========================================================= [2021-12-02T11:41:45.189Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-02T11:41:45.189Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:41:45.525Z] + 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-12-02T11:41:45.799Z] Sending build context to Docker daemon 2.703MB [2021-12-02T11:41:45.799Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T11:41:45.799Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T11:41:46.074Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-02T11:41:46.074Z] 552d1f2373af: Pulling fs layer [2021-12-02T11:41:46.074Z] ea3f2d53f512: Pulling fs layer [2021-12-02T11:41:46.074Z] 9e70ebbbe112: Pulling fs layer [2021-12-02T11:41:46.074Z] 7a9cfe048b4a: Pulling fs layer [2021-12-02T11:41:46.074Z] 72dc09318566: Pulling fs layer [2021-12-02T11:41:46.074Z] f4f7b4309257: Pulling fs layer [2021-12-02T11:41:46.074Z] 0ac9a79272e3: Pulling fs layer [2021-12-02T11:41:46.074Z] b78e95d17946: Pulling fs layer [2021-12-02T11:41:46.074Z] 72dc09318566: Waiting [2021-12-02T11:41:46.074Z] f4f7b4309257: Waiting [2021-12-02T11:41:46.074Z] 0ac9a79272e3: Waiting [2021-12-02T11:41:46.074Z] b78e95d17946: Waiting [2021-12-02T11:41:46.074Z] 7a9cfe048b4a: Waiting [2021-12-02T11:41:46.074Z] 9e70ebbbe112: Download complete [2021-12-02T11:41:46.074Z] ea3f2d53f512: Verifying Checksum [2021-12-02T11:41:46.074Z] ea3f2d53f512: Download complete [2021-12-02T11:41:46.074Z] 72dc09318566: Verifying Checksum [2021-12-02T11:41:46.074Z] 72dc09318566: Download complete [2021-12-02T11:41:46.074Z] f4f7b4309257: Download complete [2021-12-02T11:41:46.074Z] 0ac9a79272e3: Verifying Checksum [2021-12-02T11:41:46.074Z] 0ac9a79272e3: Download complete [2021-12-02T11:41:46.074Z] 552d1f2373af: Verifying Checksum [2021-12-02T11:41:46.074Z] 552d1f2373af: Download complete [2021-12-02T11:41:47.074Z] 552d1f2373af: Pull complete [2021-12-02T11:41:47.354Z] ea3f2d53f512: Pull complete [2021-12-02T11:41:47.958Z] 9e70ebbbe112: Pull complete [2021-12-02T11:41:47.958Z] b78e95d17946: Verifying Checksum [2021-12-02T11:41:47.958Z] b78e95d17946: Download complete [2021-12-02T11:41:48.550Z] 7a9cfe048b4a: Verifying Checksum [2021-12-02T11:41:48.550Z] 7a9cfe048b4a: Download complete [2021-12-02T11:41:56.044Z] Removing intermediate container a7c738095edf [2021-12-02T11:41:56.044Z] ---> 51540951c5fd [2021-12-02T11:41:56.044Z] Step 11/11 : RUN ${MAKE} [2021-12-02T11:41:56.308Z] ---> Running in 51bf92ff26d6 [2021-12-02T11:41:56.308Z] noop [2021-12-02T11:41:56.569Z] Removing intermediate container 51bf92ff26d6 [2021-12-02T11:41:56.569Z] ---> a00cc9ac7c71 [2021-12-02T11:41:56.569Z] Successfully built a00cc9ac7c71 [2021-12-02T11:41:56.569Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:41:56.876Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T11:41:56.876Z] . [Pipeline] withDockerContainer [2021-12-02T11:41:56.943Z] prd-centos7-docker-4c-2g-79 does not seem to be running inside a container [2021-12-02T11:41:56.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T11:41:57.337Z] $ docker top c60dd3d32f2cdb00eae73c4fa4302203b20be17a87ddd201b9c5b520cf08d0cd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T11:41:57.695Z] + go version [2021-12-02T11:41:57.695Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-02T11:41:57.706Z] $ docker stop --time=1 c60dd3d32f2cdb00eae73c4fa4302203b20be17a87ddd201b9c5b520cf08d0cd [2021-12-02T11:41:58.693Z] 7a9cfe048b4a: Pull complete [2021-12-02T11:41:58.893Z] $ docker rm -f c60dd3d32f2cdb00eae73c4fa4302203b20be17a87ddd201b9c5b520cf08d0cd [Pipeline] // withDockerContainer [Pipeline] } [2021-12-02T11:41:58.965Z] 72dc09318566: Pull complete [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:41:59.238Z] f4f7b4309257: Pull complete [2021-12-02T11:41:59.448Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T11:41:59.448Z] . [Pipeline] withDockerContainer [2021-12-02T11:41:59.517Z] 0ac9a79272e3: Pull complete [2021-12-02T11:41:59.525Z] prd-centos7-docker-4c-2g-79 does not seem to be running inside a container [2021-12-02T11:41:59.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T11:41:59.877Z] $ docker top 8711f49b2ec620e4362be9970b272857be399e9f463971d9043123a2dc6a95ee -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T11:42:00.233Z] + make test [2021-12-02T11:42:00.233Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-02T11:42:00.496Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-12-02T11:42:06.236Z] b78e95d17946: Pull complete [2021-12-02T11:42:06.236Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-02T11:42:06.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-02T11:42:06.236Z] ---> 8b459fc5aaf0 [2021-12-02T11:42:06.236Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T11:42:06.833Z] ---> Running in 7e81b64d276e [2021-12-02T11:42:07.107Z] Removing intermediate container 7e81b64d276e [2021-12-02T11:42:07.107Z] ---> b16cc34bdc2e [2021-12-02T11:42:07.107Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T11:42:07.382Z] ---> Running in d7893de6f3a3 [2021-12-02T11:42:07.663Z] Removing intermediate container d7893de6f3a3 [2021-12-02T11:42:07.663Z] ---> 4af8154016b6 [2021-12-02T11:42:07.663Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T11:42:07.663Z] ---> Running in 10e890eef0a9 [2021-12-02T11:42:08.264Z] Removing intermediate container 10e890eef0a9 [2021-12-02T11:42:08.264Z] ---> 6c52a6623cfb [2021-12-02T11:42:08.264Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:42:08.264Z] ---> Running in 1648d4f5491d [2021-12-02T11:42:10.235Z] Removing intermediate container 1648d4f5491d [2021-12-02T11:42:10.235Z] ---> 6899bf4a0967 [2021-12-02T11:42:10.235Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T11:42:10.235Z] ---> Running in af12475eea94 [2021-12-02T11:42:11.220Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T11:42:12.193Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T11:42:12.788Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T11:42:12.788Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T11:42:13.059Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T11:42:13.059Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T11:42:13.329Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T11:42:13.329Z] OK: 223 MiB in 56 packages [2021-12-02T11:42:14.309Z] Removing intermediate container af12475eea94 [2021-12-02T11:42:14.309Z] ---> 42d958e09699 [2021-12-02T11:42:14.309Z] Step 8/11 : WORKDIR /device-snmp-go [2021-12-02T11:42:14.309Z] ---> Running in 0280df50b13b [2021-12-02T11:42:14.581Z] Removing intermediate container 0280df50b13b [2021-12-02T11:42:14.581Z] ---> 221df112058b [2021-12-02T11:42:14.581Z] Step 9/11 : COPY . . [2021-12-02T11:42:15.469Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-12-02T11:42:15.469Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-12-02T11:42:15.566Z] ---> 17cd125a29d7 [2021-12-02T11:42:15.566Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T11:42:15.742Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T11:42:15.842Z] ---> Running in 0a82ee012910 [2021-12-02T11:42:22.383Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T11:42:22.383Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T11:42:22.383Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T11:42:22.400Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T11:42:22.415Z] $ docker stop --time=1 8711f49b2ec620e4362be9970b272857be399e9f463971d9043123a2dc6a95ee [2021-12-02T11:42:23.837Z] $ docker rm -f 8711f49b2ec620e4362be9970b272857be399e9f463971d9043123a2dc6a95ee [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T11:42:24.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T11:42:24.385Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-02T11:42:25.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T11:42:25.777Z] + ls -al . [2021-12-02T11:42:25.777Z] total 144 [2021-12-02T11:42:25.777Z] drwxrwxr-x. 8 jenkins jenkins 4096 Dec 2 11:42 . [2021-12-02T11:42:25.777Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 2 11:41 .. [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 6926 Dec 2 11:41 Attribution.txt [2021-12-02T11:42:25.777Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 11:41 bin [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 4401 Dec 2 11:41 CHANGELOG.md [2021-12-02T11:42:25.777Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 11:41 cmd [2021-12-02T11:42:25.777Z] -rw-r--r--. 1 jenkins jenkins 7631 Dec 2 11:42 coverage.out [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 1493 Dec 2 11:41 Dockerfile [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 6 Dec 2 11:41 .dockerignore [2021-12-02T11:42:25.777Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 2 11:41 .git [2021-12-02T11:42:25.777Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 11:41 .github [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 262 Dec 2 11:41 .gitignore [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 214 Dec 2 11:41 go.mod [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 49501 Dec 2 11:41 go.sum [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 11:41 GOVERNANCE.md [2021-12-02T11:42:25.777Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 11:41 internal [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 656 Dec 2 11:41 Jenkinsfile [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 11:41 LICENSE [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 1057 Dec 2 11:41 Makefile [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 11:41 OWNERS.md [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 9073 Dec 2 11:41 README.md [2021-12-02T11:42:25.777Z] drwxrwxr-x. 3 jenkins jenkins 58 Dec 2 11:41 snap [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 2 11:39 VERSION [2021-12-02T11:42:25.777Z] -rw-rw-r--. 1 jenkins jenkins 209 Dec 2 11:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:42:26.076Z] + 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=52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 --label arch=amd64 --label version=0.0.0 . [2021-12-02T11:42:26.076Z] Sending build context to Docker daemon 2.713MB [2021-12-02T11:42:26.076Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T11:42:26.076Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-02T11:42:26.076Z] ---> a00cc9ac7c71 [2021-12-02T11:42:26.076Z] Step 3/23 : ARG MAKE='make build' [2021-12-02T11:42:26.076Z] ---> Running in f5b9aefb352b [2021-12-02T11:42:26.345Z] Removing intermediate container f5b9aefb352b [2021-12-02T11:42:26.345Z] ---> c08595ad11ea [2021-12-02T11:42:26.345Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T11:42:26.345Z] ---> Running in cc8691ba4cac [2021-12-02T11:42:26.345Z] Removing intermediate container cc8691ba4cac [2021-12-02T11:42:26.345Z] ---> fba8a91e72ad [2021-12-02T11:42:26.345Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T11:42:26.345Z] ---> Running in 6709dae41f99 [2021-12-02T11:42:26.345Z] Removing intermediate container 6709dae41f99 [2021-12-02T11:42:26.345Z] ---> 7cca59c04336 [2021-12-02T11:42:26.345Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:42:26.345Z] ---> Running in 966801eaac12 [2021-12-02T11:42:26.919Z] Removing intermediate container 966801eaac12 [2021-12-02T11:42:26.919Z] ---> 4adbf120bb24 [2021-12-02T11:42:26.919Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T11:42:26.919Z] ---> Running in 28abd569427d [2021-12-02T11:42:27.180Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T11:42:28.124Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T11:42:28.387Z] OK: 224 MiB in 56 packages [2021-12-02T11:42:28.387Z] Removing intermediate container 28abd569427d [2021-12-02T11:42:28.387Z] ---> ac9d3aeb06fc [2021-12-02T11:42:28.387Z] Step 8/23 : WORKDIR /device-snmp-go [2021-12-02T11:42:28.652Z] ---> Running in cc1fd5fccdd2 [2021-12-02T11:42:28.652Z] Removing intermediate container cc1fd5fccdd2 [2021-12-02T11:42:28.652Z] ---> 122e4c87ff59 [2021-12-02T11:42:28.652Z] Step 9/23 : COPY . . [2021-12-02T11:42:28.915Z] ---> f3ee649d5569 [2021-12-02T11:42:28.915Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T11:42:28.915Z] ---> Running in 3a21c0196287 [2021-12-02T11:42:29.485Z] Removing intermediate container 3a21c0196287 [2021-12-02T11:42:29.485Z] ---> ebc65e2a5299 [2021-12-02T11:42:29.485Z] Step 11/23 : RUN ${MAKE} [2021-12-02T11:42:29.485Z] ---> Running in 319bb4f28fe6 [2021-12-02T11:42:29.752Z] 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-12-02T11:42:42.042Z] Removing intermediate container 319bb4f28fe6 [2021-12-02T11:42:42.042Z] ---> 49c46d910430 [2021-12-02T11:42:42.042Z] Step 12/23 : FROM alpine:3.14 [2021-12-02T11:42:42.042Z] 3.14: Pulling from library/alpine [2021-12-02T11:42:42.042Z] 97518928ae5f: Pulling fs layer [2021-12-02T11:42:42.042Z] 97518928ae5f: Verifying Checksum [2021-12-02T11:42:42.042Z] 97518928ae5f: Download complete [2021-12-02T11:42:42.042Z] 97518928ae5f: Pull complete [2021-12-02T11:42:42.042Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T11:42:42.042Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T11:42:42.042Z] ---> 0a97eee8041e [2021-12-02T11:42:42.042Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T11:42:42.042Z] ---> Running in 0a0cf2255d72 [2021-12-02T11:42:42.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T11:42:42.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T11:42:42.568Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T11:42:42.568Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T11:42:42.568Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T11:42:42.568Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T11:42:42.568Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T11:42:42.568Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T11:42:42.568Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T11:42:42.568Z] OK: 8 MiB in 20 packages [2021-12-02T11:42:42.827Z] Removing intermediate container 0a0cf2255d72 [2021-12-02T11:42:42.827Z] ---> 446b2804aa90 [2021-12-02T11:42:42.827Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-12-02T11:42:43.396Z] ---> defb47c3ca91 [2021-12-02T11:42:43.396Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-12-02T11:42:43.396Z] ---> 6a3b471a9333 [2021-12-02T11:42:43.396Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-12-02T11:42:43.657Z] ---> cbb19362ff1f [2021-12-02T11:42:43.657Z] Step 17/23 : EXPOSE 59993 [2021-12-02T11:42:43.657Z] ---> Running in 9e3f212090fa [2021-12-02T11:42:43.657Z] Removing intermediate container 9e3f212090fa [2021-12-02T11:42:43.657Z] ---> 76207100e49d [2021-12-02T11:42:43.657Z] Step 18/23 : EXPOSE 161 [2021-12-02T11:42:43.657Z] ---> Running in 885d2ab92e84 [2021-12-02T11:42:43.657Z] Removing intermediate container 885d2ab92e84 [2021-12-02T11:42:43.657Z] ---> f529670f150c [2021-12-02T11:42:43.657Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2021-12-02T11:42:43.925Z] ---> Running in 8db1614186bb [2021-12-02T11:42:43.925Z] Removing intermediate container 8db1614186bb [2021-12-02T11:42:43.925Z] ---> d1b1d60a0084 [2021-12-02T11:42:43.925Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T11:42:43.925Z] ---> Running in b946dc90c340 [2021-12-02T11:42:43.925Z] Removing intermediate container b946dc90c340 [2021-12-02T11:42:43.925Z] ---> ce68ab8933bf [2021-12-02T11:42:43.925Z] Step 21/23 : LABEL arch=amd64 [2021-12-02T11:42:43.925Z] ---> Running in a9dab3f3e24c [2021-12-02T11:42:44.189Z] Removing intermediate container a9dab3f3e24c [2021-12-02T11:42:44.189Z] ---> 24d8df869b2f [2021-12-02T11:42:44.189Z] Step 22/23 : LABEL git_sha=52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 [2021-12-02T11:42:44.189Z] ---> Running in 6305ef3cb142 [2021-12-02T11:42:44.189Z] Removing intermediate container 6305ef3cb142 [2021-12-02T11:42:44.189Z] ---> 54578aecd7a9 [2021-12-02T11:42:44.189Z] Step 23/23 : LABEL version=0.0.0 [2021-12-02T11:42:44.189Z] ---> Running in 510734645a38 [2021-12-02T11:42:44.450Z] Removing intermediate container 510734645a38 [2021-12-02T11:42:44.450Z] ---> 473b345daad3 [2021-12-02T11:42:44.450Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T11:42:44.450Z] Successfully built 473b345daad3 [2021-12-02T11:42:44.450Z] 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-12-02T11:42:45.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:42:45.099Z] [2021-12-02T11:42:45.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:42:45.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:42:45.405Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T11:42:45.405Z] b4d181a07f80: Pulling fs layer [2021-12-02T11:42:45.405Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T11:42:45.405Z] ed53099fbce6: Pulling fs layer [2021-12-02T11:42:45.405Z] dc539afda2c1: Pulling fs layer [2021-12-02T11:42:45.405Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T11:42:45.405Z] 9065ff56babe: Pulling fs layer [2021-12-02T11:42:45.405Z] d287ab97295c: Pulling fs layer [2021-12-02T11:42:45.405Z] dc539afda2c1: Waiting [2021-12-02T11:42:45.405Z] 77bc0d833cb6: Waiting [2021-12-02T11:42:45.405Z] 9065ff56babe: Waiting [2021-12-02T11:42:45.406Z] d287ab97295c: Waiting [2021-12-02T11:42:45.406Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T11:42:45.406Z] a1111a8f2ec3: Download complete [2021-12-02T11:42:45.406Z] dc539afda2c1: Verifying Checksum [2021-12-02T11:42:45.406Z] dc539afda2c1: Download complete [2021-12-02T11:42:45.406Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T11:42:45.406Z] 77bc0d833cb6: Download complete [2021-12-02T11:42:45.666Z] ed53099fbce6: Verifying Checksum [2021-12-02T11:42:45.666Z] ed53099fbce6: Download complete [2021-12-02T11:42:45.666Z] 9065ff56babe: Verifying Checksum [2021-12-02T11:42:45.666Z] 9065ff56babe: Download complete [2021-12-02T11:42:45.666Z] b4d181a07f80: Verifying Checksum [2021-12-02T11:42:45.666Z] b4d181a07f80: Download complete [2021-12-02T11:42:46.240Z] d287ab97295c: Verifying Checksum [2021-12-02T11:42:46.240Z] d287ab97295c: Download complete [2021-12-02T11:42:47.197Z] b4d181a07f80: Pull complete [2021-12-02T11:42:47.197Z] a1111a8f2ec3: Pull complete [2021-12-02T11:42:47.776Z] ed53099fbce6: Pull complete [2021-12-02T11:42:47.776Z] dc539afda2c1: Pull complete [2021-12-02T11:42:48.046Z] 77bc0d833cb6: Pull complete [2021-12-02T11:42:48.307Z] 9065ff56babe: Pull complete [2021-12-02T11:42:53.621Z] d287ab97295c: Pull complete [2021-12-02T11:42:53.621Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T11:42:53.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:42:53.621Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T11:42:53.689Z] prd-centos7-docker-4c-2g-79 does not seem to be running inside a container [2021-12-02T11:42:53.730Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T11:42:56.414Z] $ docker top ece8403724eec1e0f8d9b2858fdafc8852c6d021287bfe667ac87ea6967a151a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:42:56.839Z] ---> job-cost.sh [2021-12-02T11:42:56.839Z] lf-activate-venv: SKIPPING [2021-12-02T11:42:56.839Z] INFO: No Stack... [2021-12-02T11:42:57.105Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T11:42:57.679Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T11:42:57.983Z] + cut -d, -f6 [2021-12-02T11:42:57.983Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [Pipeline] lock [2021-12-02T11:42:58.011Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-131-2-stack-cost] [2021-12-02T11:42:58.016Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-131-2-stack-cost] did not exist. Created. [2021-12-02T11:42:58.016Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-131-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T11:42:58.323Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-02T11:42:58.355Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T11:42:58.362Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-131-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T11:42:58.383Z] $ docker stop --time=1 ece8403724eec1e0f8d9b2858fdafc8852c6d021287bfe667ac87ea6967a151a [2021-12-02T11:42:59.528Z] $ docker rm -f ece8403724eec1e0f8d9b2858fdafc8852c6d021287bfe667ac87ea6967a151a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-02T11:43:37.644Z] Removing intermediate container 0a82ee012910 [2021-12-02T11:43:37.644Z] ---> 6873dc071b70 [2021-12-02T11:43:37.644Z] Step 11/11 : RUN ${MAKE} [2021-12-02T11:43:37.644Z] ---> Running in d28a572fbac9 [2021-12-02T11:43:37.644Z] noop [2021-12-02T11:43:37.644Z] Removing intermediate container d28a572fbac9 [2021-12-02T11:43:37.644Z] ---> f34b1447f4b0 [2021-12-02T11:43:37.644Z] Successfully built f34b1447f4b0 [2021-12-02T11:43:37.644Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:43:37.990Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T11:43:37.990Z] . [Pipeline] withDockerContainer [2021-12-02T11:43:38.230Z] prd-ubuntu18.04-docker-arm64-4c-16g-77 does not seem to be running inside a container [2021-12-02T11:43:38.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T11:43:39.692Z] $ docker top 326ca1c5a0663d74ea651c4ee62639e238f368b706218ee301355508ab1a6be5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T11:43:40.585Z] + go version [2021-12-02T11:43:40.585Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-02T11:43:40.613Z] $ docker stop --time=1 326ca1c5a0663d74ea651c4ee62639e238f368b706218ee301355508ab1a6be5 [2021-12-02T11:43:42.241Z] $ docker rm -f 326ca1c5a0663d74ea651c4ee62639e238f368b706218ee301355508ab1a6be5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:43:42.888Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T11:43:42.888Z] . [Pipeline] withDockerContainer [2021-12-02T11:43:43.115Z] prd-ubuntu18.04-docker-arm64-4c-16g-77 does not seem to be running inside a container [2021-12-02T11:43:43.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T11:43:44.539Z] $ docker top a00f54ae0fc481456d985ec474e35f89cc7b48e5ef0b2ee6a8750f74185b983b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T11:43:45.451Z] + make test [2021-12-02T11:43:45.451Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-02T11:43:46.892Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-12-02T11:44:43.517Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-12-02T11:44:43.517Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.039s coverage: 0.0% of statements [2021-12-02T11:44:43.517Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T11:45:10.345Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T11:45:10.345Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T11:45:10.345Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T11:45:10.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T11:45:10.388Z] $ docker stop --time=1 a00f54ae0fc481456d985ec474e35f89cc7b48e5ef0b2ee6a8750f74185b983b [2021-12-02T11:45:12.118Z] $ docker rm -f a00f54ae0fc481456d985ec474e35f89cc7b48e5ef0b2ee6a8750f74185b983b [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T11:45:12.964Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T11:45:12.990Z] Warning: overwriting stash ‘coverage-report’ [2021-12-02T11:45:13.480Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T11:45:13.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T11:45:14.279Z] + ls -al . [2021-12-02T11:45:14.279Z] total 172 [2021-12-02T11:45:14.279Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 11:45 . [2021-12-02T11:45:14.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 11:41 .. [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 6 Dec 2 11:41 .dockerignore [2021-12-02T11:45:14.279Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 11:41 .git [2021-12-02T11:45:14.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 11:41 .github [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 262 Dec 2 11:41 .gitignore [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 6926 Dec 2 11:41 Attribution.txt [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 4401 Dec 2 11:41 CHANGELOG.md [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 1493 Dec 2 11:41 Dockerfile [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 11:41 GOVERNANCE.md [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 656 Dec 2 11:41 Jenkinsfile [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 11:41 LICENSE [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 1057 Dec 2 11:41 Makefile [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 11:41 OWNERS.md [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 9073 Dec 2 11:41 README.md [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 2 11:39 VERSION [2021-12-02T11:45:14.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 11:41 bin [2021-12-02T11:45:14.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 11:41 cmd [2021-12-02T11:45:14.279Z] -rw-r--r-- 1 jenkins jenkins 7631 Dec 2 11:44 coverage.out [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 214 Dec 2 11:41 go.mod [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 49501 Dec 2 11:41 go.sum [2021-12-02T11:45:14.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 11:41 internal [2021-12-02T11:45:14.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 11:41 snap [2021-12-02T11:45:14.279Z] -rw-rw-r-- 1 jenkins jenkins 209 Dec 2 11:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:45:14.629Z] + 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=52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 --label arch=arm64 --label version=0.0.0 . [2021-12-02T11:45:14.902Z] Sending build context to Docker daemon 2.712MB [2021-12-02T11:45:15.176Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T11:45:15.176Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-02T11:45:15.176Z] ---> f34b1447f4b0 [2021-12-02T11:45:15.176Z] Step 3/23 : ARG MAKE='make build' [2021-12-02T11:45:15.176Z] ---> Running in 65f2ed0dc7e3 [2021-12-02T11:45:15.450Z] Removing intermediate container 65f2ed0dc7e3 [2021-12-02T11:45:15.450Z] ---> 2dd63b1c0013 [2021-12-02T11:45:15.450Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T11:45:15.724Z] ---> Running in e7f33d6256aa [2021-12-02T11:45:15.998Z] Removing intermediate container e7f33d6256aa [2021-12-02T11:45:15.998Z] ---> dd7e3ad2f6ed [2021-12-02T11:45:15.998Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T11:45:16.275Z] ---> Running in 342681a38bae [2021-12-02T11:45:16.552Z] Removing intermediate container 342681a38bae [2021-12-02T11:45:16.552Z] ---> 67a5f2eb16bb [2021-12-02T11:45:16.552Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:45:16.552Z] ---> Running in 4bd8d638b176 [2021-12-02T11:45:18.538Z] Removing intermediate container 4bd8d638b176 [2021-12-02T11:45:18.538Z] ---> d0f167b43af1 [2021-12-02T11:45:18.538Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T11:45:18.538Z] ---> Running in 9473cd822c75 [2021-12-02T11:45:19.517Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T11:45:20.533Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T11:45:21.130Z] OK: 223 MiB in 56 packages [2021-12-02T11:45:22.123Z] Removing intermediate container 9473cd822c75 [2021-12-02T11:45:22.123Z] ---> d27ada36c392 [2021-12-02T11:45:22.123Z] Step 8/23 : WORKDIR /device-snmp-go [2021-12-02T11:45:22.123Z] ---> Running in ffe4c39656ad [2021-12-02T11:45:22.729Z] Removing intermediate container ffe4c39656ad [2021-12-02T11:45:22.729Z] ---> 1a440cb4532c [2021-12-02T11:45:22.729Z] Step 9/23 : COPY . . [2021-12-02T11:45:23.729Z] ---> 6c244249d162 [2021-12-02T11:45:23.729Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T11:45:23.729Z] ---> Running in f9ebbc492e8f [2021-12-02T11:45:26.347Z] Removing intermediate container f9ebbc492e8f [2021-12-02T11:45:26.347Z] ---> ecc38136285a [2021-12-02T11:45:26.347Z] Step 11/23 : RUN ${MAKE} [2021-12-02T11:45:26.347Z] ---> Running in ba4a02daf26a [2021-12-02T11:45:27.328Z] 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-12-02T11:46:06.393Z] Removing intermediate container ba4a02daf26a [2021-12-02T11:46:06.393Z] ---> 82d62685773e [2021-12-02T11:46:06.393Z] Step 12/23 : FROM alpine:3.14 [2021-12-02T11:46:06.987Z] 3.14: Pulling from library/alpine [2021-12-02T11:46:07.260Z] be307f383ecc: Pulling fs layer [2021-12-02T11:46:07.537Z] be307f383ecc: Verifying Checksum [2021-12-02T11:46:07.537Z] be307f383ecc: Download complete [2021-12-02T11:46:08.131Z] be307f383ecc: Pull complete [2021-12-02T11:46:08.131Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T11:46:08.131Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T11:46:08.131Z] ---> 5b8b7b635229 [2021-12-02T11:46:08.131Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T11:46:08.131Z] ---> Running in 1f3195934f8d [2021-12-02T11:46:09.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T11:46:09.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T11:46:10.371Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T11:46:10.371Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T11:46:10.371Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T11:46:10.371Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T11:46:10.371Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T11:46:10.371Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T11:46:10.371Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T11:46:10.371Z] OK: 8 MiB in 20 packages [2021-12-02T11:46:11.353Z] Removing intermediate container 1f3195934f8d [2021-12-02T11:46:11.353Z] ---> 96f9a0205a17 [2021-12-02T11:46:11.353Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-12-02T11:46:12.336Z] ---> dd75eff2f75b [2021-12-02T11:46:12.336Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-12-02T11:46:13.323Z] ---> 0ee2c6a3230b [2021-12-02T11:46:13.323Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-12-02T11:46:13.920Z] ---> bc30da2e0778 [2021-12-02T11:46:13.920Z] Step 17/23 : EXPOSE 59993 [2021-12-02T11:46:13.920Z] ---> Running in 149b2b454683 [2021-12-02T11:46:14.201Z] Removing intermediate container 149b2b454683 [2021-12-02T11:46:14.201Z] ---> 20af65cde9e4 [2021-12-02T11:46:14.201Z] Step 18/23 : EXPOSE 161 [2021-12-02T11:46:14.201Z] ---> Running in 57643f30923f [2021-12-02T11:46:14.800Z] Removing intermediate container 57643f30923f [2021-12-02T11:46:14.800Z] ---> 13101fdf93dd [2021-12-02T11:46:14.800Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2021-12-02T11:46:14.800Z] ---> Running in 19ed5145cd45 [2021-12-02T11:46:15.075Z] Removing intermediate container 19ed5145cd45 [2021-12-02T11:46:15.075Z] ---> d80a29af2e8c [2021-12-02T11:46:15.075Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T11:46:15.351Z] ---> Running in 37c4eec024bd [2021-12-02T11:46:15.629Z] Removing intermediate container 37c4eec024bd [2021-12-02T11:46:15.629Z] ---> cf727eb58a0b [2021-12-02T11:46:15.629Z] Step 21/23 : LABEL arch=arm64 [2021-12-02T11:46:15.901Z] ---> Running in 64601e92f28f [2021-12-02T11:46:16.174Z] Removing intermediate container 64601e92f28f [2021-12-02T11:46:16.174Z] ---> d65ff56e54e9 [2021-12-02T11:46:16.174Z] Step 22/23 : LABEL git_sha=52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 [2021-12-02T11:46:16.450Z] ---> Running in 2f0a1ec7010f [2021-12-02T11:46:16.726Z] Removing intermediate container 2f0a1ec7010f [2021-12-02T11:46:16.726Z] ---> 4031597e9317 [2021-12-02T11:46:16.726Z] Step 23/23 : LABEL version=0.0.0 [2021-12-02T11:46:16.726Z] ---> Running in 00ada4e7b45b [2021-12-02T11:46:17.323Z] Removing intermediate container 00ada4e7b45b [2021-12-02T11:46:17.323Z] ---> d2631adfb622 [2021-12-02T11:46:17.323Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T11:46:17.323Z] Successfully built d2631adfb622 [2021-12-02T11:46:17.323Z] 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-12-02T11:46:17.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T11:46:17.879Z] [2021-12-02T11:46:17.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:46:18.239Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T11:46:18.518Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-02T11:46:18.518Z] 448f6bf000e3: Pulling fs layer [2021-12-02T11:46:18.518Z] f757da607395: Pulling fs layer [2021-12-02T11:46:18.518Z] 05883995daec: Pulling fs layer [2021-12-02T11:46:18.518Z] 8603b9c90790: Pulling fs layer [2021-12-02T11:46:18.518Z] 1560dd03e051: Pulling fs layer [2021-12-02T11:46:18.518Z] 27f5ce0e4adf: Pulling fs layer [2021-12-02T11:46:18.518Z] c2d8d7efcc4b: Pulling fs layer [2021-12-02T11:46:18.518Z] 8603b9c90790: Waiting [2021-12-02T11:46:18.518Z] 27f5ce0e4adf: Waiting [2021-12-02T11:46:18.518Z] 1560dd03e051: Waiting [2021-12-02T11:46:18.518Z] f757da607395: Verifying Checksum [2021-12-02T11:46:18.518Z] f757da607395: Download complete [2021-12-02T11:46:18.518Z] 8603b9c90790: Verifying Checksum [2021-12-02T11:46:18.518Z] 8603b9c90790: Download complete [2021-12-02T11:46:18.795Z] 1560dd03e051: Verifying Checksum [2021-12-02T11:46:18.795Z] 1560dd03e051: Download complete [2021-12-02T11:46:18.795Z] 27f5ce0e4adf: Verifying Checksum [2021-12-02T11:46:18.795Z] 27f5ce0e4adf: Download complete [2021-12-02T11:46:18.796Z] 05883995daec: Verifying Checksum [2021-12-02T11:46:18.796Z] 05883995daec: Download complete [2021-12-02T11:46:19.071Z] 448f6bf000e3: Verifying Checksum [2021-12-02T11:46:19.071Z] 448f6bf000e3: Download complete [2021-12-02T11:46:21.721Z] c2d8d7efcc4b: Verifying Checksum [2021-12-02T11:46:21.721Z] c2d8d7efcc4b: Download complete [2021-12-02T11:46:23.157Z] 448f6bf000e3: Pull complete [2021-12-02T11:46:23.433Z] f757da607395: Pull complete [2021-12-02T11:46:24.866Z] 05883995daec: Pull complete [2021-12-02T11:46:25.463Z] 8603b9c90790: Pull complete [2021-12-02T11:46:26.440Z] 1560dd03e051: Pull complete [2021-12-02T11:46:26.440Z] 27f5ce0e4adf: Pull complete [2021-12-02T11:46:41.524Z] c2d8d7efcc4b: Pull complete [2021-12-02T11:46:41.524Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-02T11:46:41.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T11:46:41.524Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-02T11:46:41.744Z] prd-ubuntu18.04-docker-arm64-4c-16g-77 does not seem to be running inside a container [2021-12-02T11:46:41.897Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-02T11:46:45.008Z] $ docker top ec6bb24885ace1184e3a4e721530187512dba344cb5dd03a02ab8020ac6e9eb3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:46:46.030Z] ---> job-cost.sh [2021-12-02T11:46:46.030Z] lf-activate-venv: SKIPPING [2021-12-02T11:46:46.030Z] INFO: No Stack... [2021-12-02T11:46:46.636Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-02T11:46:46.908Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T11:46:47.607Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2021-12-02T11:46:47.607Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T11:46:47.638Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-131-2-stack-cost] [2021-12-02T11:46:47.645Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-131-2-stack-cost] did not exist. Created. [2021-12-02T11:46:47.645Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-131-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T11:46:48.325Z] /w/workspace/device-snmp-go/2@tmp/durable-2d917b07/script.sh: 1: /w/workspace/device-snmp-go/2@tmp/durable-2d917b07/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-02T11:46:49.013Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-02T11:46:49.044Z] Warning: overwriting stash ‘stack-cost’ [2021-12-02T11:46:49.095Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T11:46:49.101Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-131-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T11:46:49.126Z] $ docker stop --time=1 ec6bb24885ace1184e3a4e721530187512dba344cb5dd03a02ab8020ac6e9eb3 [2021-12-02T11:46:50.642Z] $ docker rm -f ec6bb24885ace1184e3a4e721530187512dba344cb5dd03a02ab8020ac6e9eb3 [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-12-02T11:46:51.387Z] provisioning config files... [2021-12-02T11:46:51.395Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-131@tmp/config210752846892630403tmp [Pipeline] { [Pipeline] sh [2021-12-02T11:46:51.695Z] + set +x [2021-12-02T11:46:51.695Z] + bash -s -- [2021-12-02T11:46:51.695Z] + curl -s https://codecov.io/bash [2021-12-02T11:46:51.695Z] [2021-12-02T11:46:51.695Z] _____ _ [2021-12-02T11:46:51.695Z] / ____| | | [2021-12-02T11:46:51.695Z] | | ___ __| | ___ ___ _____ __ [2021-12-02T11:46:51.695Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-02T11:46:51.695Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-02T11:46:51.695Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-02T11:46:51.695Z] Bash-1.0.6 [2021-12-02T11:46:51.695Z] [2021-12-02T11:46:51.695Z] [2021-12-02T11:46:51.695Z] ==> git version 2.24.4 found [2021-12-02T11:46:51.695Z] ==> 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-12-02T11:46:51.695Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-02T11:46:51.695Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-02T11:46:51.695Z] ==> Jenkins CI detected. [2021-12-02T11:46:51.695Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-131 [2021-12-02T11:46:51.695Z] project root: . [2021-12-02T11:46:51.695Z] --> token set from env [2021-12-02T11:46:51.695Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-02T11:46:51.695Z] ==> Running gcov in . (disable via -X gcov) [2021-12-02T11:46:51.695Z] ==> Python coveragepy not found [2021-12-02T11:46:51.695Z] ==> Searching for coverage reports in: [2021-12-02T11:46:51.695Z] + . [2021-12-02T11:46:51.695Z] -> Found 1 reports [2021-12-02T11:46:51.695Z] ==> Detecting git/mercurial file structure [2021-12-02T11:46:51.957Z] ==> Reading reports [2021-12-02T11:46:51.957Z] + ./coverage.out bytes=7631 [2021-12-02T11:46:51.957Z] ==> Appending adjustments [2021-12-02T11:46:51.957Z] https://docs.codecov.io/docs/fixing-reports [2021-12-02T11:46:51.957Z] + Found adjustments [2021-12-02T11:46:51.957Z] ==> Gzipping contents [2021-12-02T11:46:51.957Z] 4.0K /tmp/codecov.DerVB4.gz [2021-12-02T11:46:51.957Z] ==> Uploading reports [2021-12-02T11:46:51.957Z] url: https://codecov.io [2021-12-02T11:46:51.957Z] query: branch=PR-131&commit=52419434cf7d0bbdc4e8a09a515c136b2bbe0e45&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-131%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=131&job=&cmd_args= [2021-12-02T11:46:51.957Z] -> Pinging Codecov [2021-12-02T11:46:51.957Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-131&commit=52419434cf7d0bbdc4e8a09a515c136b2bbe0e45&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-131%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=131&job=&cmd_args= [2021-12-02T11:46:52.217Z] -> Uploading to [2021-12-02T11:46:52.217Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-02/6C56EA5C29638FB4528AC87E60AF5AE0/52419434cf7d0bbdc4e8a09a515c136b2bbe0e45/fa6bb974-7f02-4af6-9f58-63535ed0cbab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T114652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a25a35b3a85a886733584ffd12b569e81a4a41a82741c272c52bf01b9223cd7d [2021-12-02T11:46:52.217Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T11:46:52.217Z] Dload Upload Total Spent Left Speed [2021-12-02T11:46:52.789Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 4888 --:--:-- --:--:-- --:--:-- 4885 100 1578 0 0 100 1578 0 4887 --:--:-- --:--:-- --:--:-- 4885 [2021-12-02T11:46:52.789Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/52419434cf7d0bbdc4e8a09a515c136b2bbe0e45 [Pipeline] } [2021-12-02T11:46:52.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-12-02T11:46:54.400Z] + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-131/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:46:54.735Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:46:55.305Z] ---> package-listing.sh [2021-12-02T11:46:55.305Z] ++ facter osfamily [2021-12-02T11:46:55.305Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-02T11:46:55.582Z] + OS_FAMILY=redhat [2021-12-02T11:46:55.582Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-131 [2021-12-02T11:46:55.582Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-02T11:46:55.582Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-02T11:46:55.582Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-02T11:46:55.582Z] + PACKAGES=/tmp/packages_start.txt [2021-12-02T11:46:55.582Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-131 ']' [2021-12-02T11:46:55.582Z] + PACKAGES=/tmp/packages_end.txt [2021-12-02T11:46:55.582Z] + case "${OS_FAMILY}" in [2021-12-02T11:46:55.582Z] + rpm -qa [2021-12-02T11:46:55.582Z] + sort [2021-12-02T11:46:56.176Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-02T11:46:56.176Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-02T11:46:56.176Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-02T11:46:56.176Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-131 ']' [2021-12-02T11:46:56.176Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-131/archives/ [2021-12-02T11:46:56.176Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-131/archives/ [Pipeline] echo [2021-12-02T11:46:56.185Z] 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-131/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-02T11:46:56.476Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:46:57.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:46:57.052Z] [2021-12-02T11:46:57.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:46:57.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:46:57.360Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T11:46:57.360Z] b4d181a07f80: Pulling fs layer [2021-12-02T11:46:57.360Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T11:46:57.360Z] ed53099fbce6: Pulling fs layer [2021-12-02T11:46:57.360Z] dc539afda2c1: Pulling fs layer [2021-12-02T11:46:57.360Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T11:46:57.360Z] 9065ff56babe: Pulling fs layer [2021-12-02T11:46:57.360Z] d287ab97295c: Pulling fs layer [2021-12-02T11:46:57.360Z] dc539afda2c1: Waiting [2021-12-02T11:46:57.360Z] 77bc0d833cb6: Waiting [2021-12-02T11:46:57.360Z] 9065ff56babe: Waiting [2021-12-02T11:46:57.360Z] d287ab97295c: Waiting [2021-12-02T11:46:57.360Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T11:46:57.360Z] a1111a8f2ec3: Download complete [2021-12-02T11:46:57.360Z] dc539afda2c1: Verifying Checksum [2021-12-02T11:46:57.360Z] dc539afda2c1: Download complete [2021-12-02T11:46:57.624Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T11:46:57.624Z] 77bc0d833cb6: Download complete [2021-12-02T11:46:57.624Z] ed53099fbce6: Verifying Checksum [2021-12-02T11:46:57.624Z] ed53099fbce6: Download complete [2021-12-02T11:46:57.624Z] 9065ff56babe: Verifying Checksum [2021-12-02T11:46:57.624Z] 9065ff56babe: Download complete [2021-12-02T11:46:57.624Z] b4d181a07f80: Verifying Checksum [2021-12-02T11:46:57.624Z] b4d181a07f80: Download complete [2021-12-02T11:46:58.206Z] d287ab97295c: Verifying Checksum [2021-12-02T11:46:58.206Z] d287ab97295c: Download complete [2021-12-02T11:46:59.159Z] b4d181a07f80: Pull complete [2021-12-02T11:46:59.159Z] a1111a8f2ec3: Pull complete [2021-12-02T11:46:59.733Z] ed53099fbce6: Pull complete [2021-12-02T11:46:59.733Z] dc539afda2c1: Pull complete [2021-12-02T11:46:59.992Z] 77bc0d833cb6: Pull complete [2021-12-02T11:47:00.253Z] 9065ff56babe: Pull complete [2021-12-02T11:47:05.619Z] d287ab97295c: Pull complete [2021-12-02T11:47:05.619Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T11:47:05.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:47:05.619Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T11:47:05.687Z] prd-centos7-docker-4c-2g-76 does not seem to be running inside a container [2021-12-02T11:47:05.717Z] $ 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-131/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-131 -v /w/workspace/gexfoundry_device-snmp-go_PR-131:/w/workspace/gexfoundry_device-snmp-go_PR-131:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-131@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-131@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-12-02T11:47:08.197Z] $ docker top 646326887e1415026a75489ed5fa0220db2721550510e976eb1784af026a812c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T11:47:08.557Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-02T11:47:08.853Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-02T11:47:09.151Z] + ls /var/log/sa-host [2021-12-02T11:47:09.151Z] + sadf -c /var/log/sa-host/sa02 [2021-12-02T11:47:09.151Z] file_magic: OK [2021-12-02T11:47:09.151Z] HZ: Using current value: 100 [2021-12-02T11:47:09.151Z] file_header: OK [2021-12-02T11:47:09.151Z] 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-12-02T11:47:09.151Z] Statistics: [2021-12-02T11:47:09.151Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T11:47:09.151Z] File successfully converted to sysstat format version 12.0.3 [2021-12-02T11:47:09.151Z] + sadf -c /var/log/sa-host/sa17 [2021-12-02T11:47:09.151Z] file_magic: OK [2021-12-02T11:47:09.151Z] HZ: Using current value: 100 [2021-12-02T11:47:09.151Z] file_header: OK [2021-12-02T11:47:09.151Z] 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-12-02T11:47:09.151Z] Statistics: [2021-12-02T11:47:09.151Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T11:47:09.151Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:47:09.373Z] provisioning config files... [2021-12-02T11:47:09.380Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-131@tmp/config6802078026145954006tmp [Pipeline] { [Pipeline] echo [2021-12-02T11:47:09.396Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:47:09.682Z] ---> create-netrc.sh [Pipeline] } [2021-12-02T11:47:09.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:47:10.026Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-02T11:47:10.036Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:47:10.328Z] ---> sudo-logs.sh [2021-12-02T11:47:10.328Z] Archiving 'sudo' log.. [2021-12-02T11:47:10.328Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-76.novalocal: Name or service not known [2021-12-02T11:47:10.328Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-76.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-02T11:47:10.354Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:47:10.642Z] ---> job-cost.sh [2021-12-02T11:47:10.642Z] lf-activate-venv: SKIPPING [2021-12-02T11:47:10.642Z] DEBUG: total: 0.10999999940395355 [2021-12-02T11:47:10.642Z] INFO: Retrieving Stack Cost... [2021-12-02T11:47:10.902Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T11:47:11.161Z] INFO: Archiving Costs [Pipeline] echo [2021-12-02T11:47:11.173Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:47:11.460Z] ---> logs-deploy.sh [2021-12-02T11:47:11.460Z] lf-activate-venv: SKIPPING [2021-12-02T11:47:11.460Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-131/2 [2021-12-02T11:47:11.460Z] INFO: archiving workspace using pattern(s): [2021-12-02T11:47:12.030Z] Archives upload complete. [2021-12-02T11:47:12.292Z] INFO: archiving logs to Nexus