Pull request #185 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 MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at f6828afe08f553138e4b56b0659b8be13fc1cd72 rather than c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c Obtained Jenkinsfile from f6828afe08f553138e4b56b0659b8be13fc1cd72 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-ssh9411783440389722365.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13984909347590123089.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2682934227101090742.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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 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-ssh17818637881740877296.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3255513081473394482.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-20585’ is offline Running on prd-ubuntu20.04-docker-8c-8g-20587 in /w/workspace/gexfoundry_device-snmp-go_PR-185 [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-185 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f6828afe08f553138e4b56b0659b8be13fc1cd72 into PR head commit c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c Merge succeeded, producing c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c Checking out Revision c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c (PR-185) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c # timeout=10 Commit message: "refactor(snap): Update snapcraft " First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-20T13:03:49.966Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-20T13:03:50.025Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-20T13:03:50.040Z] ========================================================= [2022-07-20T13:03:50.040Z] EdgeX Global Pipelines Version Info [2022-07-20T13:03:50.040Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 97853843c31ba2f8c44471a1c1cad8690a6f1a58 # timeout=10 [2022-07-20T13:03:50.800Z] ------------------- [2022-07-20T13:03:50.801Z] stable info: [2022-07-20T13:03:50.801Z] ------------------- [2022-07-20T13:03:50.801Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-20T13:03:50.801Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-20T13:03:50.801Z] Message: update stable to v1.0.238 [2022-07-20T13:03:51.375Z] parse error: Invalid numeric literal at line 1, column 10 [2022-07-20T13:03:51.639Z] ------------------- [2022-07-20T13:03:51.639Z] No tag info for: experimental [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-20T13:03:51.829Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-07-20T13:03:51.842Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-07-20T13:03:51.850Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-20T13:03:51.860Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-20T13:03:51.869Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-20T13:03:51.878Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-20T13:03:51.888Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-20T13:03:51.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-20T13:03:51.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-20T13:03:51.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-20T13:03:51.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-20T13:03:51.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-07-20T13:03:51.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-20T13:03:51.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-20T13:03:52.011Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-20T13:03:52.024Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-20T13:03:52.039Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-20T13:03:52.058Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-20T13:03:52.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-20T13:03:52.088Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-20T13:03:52.101Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-20T13:03:52.117Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-20T13:03:52.133Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-20T13:03:52.146Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-20T13:03:52.164Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-20T13:03:52.186Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-20T13:03:52.199Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-20T13:03:52.210Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2022-07-20T13:03:52.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2022-07-20T13:03:52.236Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2022-07-20T13:03:52.254Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c [Pipeline] echo [2022-07-20T13:03:52.265Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c24639b [Pipeline] echo [2022-07-20T13:03:52.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T13:03:52.322Z] provisioning config files... [2022-07-20T13:03:52.335Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config2669029027681670175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:03:52.676Z] ---> docker-login.sh [2022-07-20T13:03:52.676Z] nexus3.edgexfoundry.org:10001 [2022-07-20T13:03:52.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:03:52.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:03:52.940Z] Configure a credential helper to remove this warning. See [2022-07-20T13:03:52.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:03:52.940Z] [2022-07-20T13:03:52.940Z] Login Succeeded [2022-07-20T13:03:52.940Z] nexus3.edgexfoundry.org:10002 [2022-07-20T13:03:53.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:03:53.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:03:53.202Z] Configure a credential helper to remove this warning. See [2022-07-20T13:03:53.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:03:53.202Z] [2022-07-20T13:03:53.202Z] Login Succeeded [2022-07-20T13:03:53.202Z] nexus3.edgexfoundry.org:10003 [2022-07-20T13:03:53.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:03:53.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:03:53.464Z] Configure a credential helper to remove this warning. See [2022-07-20T13:03:53.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:03:53.464Z] [2022-07-20T13:03:53.464Z] Login Succeeded [2022-07-20T13:03:53.464Z] nexus3.edgexfoundry.org:10004 [2022-07-20T13:03:53.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:03:53.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:03:53.465Z] Configure a credential helper to remove this warning. See [2022-07-20T13:03:53.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:03:53.465Z] [2022-07-20T13:03:53.465Z] Login Succeeded [2022-07-20T13:03:53.465Z] docker.io [2022-07-20T13:03:53.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:03:54.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:03:54.039Z] Configure a credential helper to remove this warning. See [2022-07-20T13:03:54.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:03:54.039Z] [2022-07-20T13:03:54.039Z] Login Succeeded [2022-07-20T13:03:54.039Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T13:03:54.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-20T13:03:54.423Z] + git rev-list -1 --merges c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c~1..c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c [Pipeline] echo [2022-07-20T13:03:54.523Z] -----------> git rev-list -1 --merges c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c~1..c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c [false] [Pipeline] sh [2022-07-20T13:03:54.824Z] + git log --format=format:%s -1 c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c [Pipeline] echo [2022-07-20T13:03:54.839Z] ========================================================= [2022-07-20T13:03:54.839Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-20T13:03:54.839Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T13:03:55.181Z] + git log --format=format:%s -1 c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c [Pipeline] echo [2022-07-20T13:03:55.200Z] [semverPrep] GIT_COMMIT: c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c, Commit Message: refactor(snap): Update snapcraft [Pipeline] echo [2022-07-20T13:03:55.212Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-20T13:03:55.564Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-20T13:03:55.564Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-20T13:03:55.564Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-20T13:03:55.564Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-20T13:03:55.564Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-20T13:03:55.564Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-20T13:03:55.564Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:03:55.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T13:03:55.972Z] [2022-07-20T13:03:55.972Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:03:56.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T13:03:56.282Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-20T13:03:56.282Z] b85a868b505f: Pulling fs layer [2022-07-20T13:03:56.282Z] e2be974225ed: Pulling fs layer [2022-07-20T13:03:56.282Z] 339a4e72a1f5: Pulling fs layer [2022-07-20T13:03:56.282Z] 988bab9f4d93: Pulling fs layer [2022-07-20T13:03:56.282Z] 1469e6f7b9e6: Pulling fs layer [2022-07-20T13:03:56.282Z] eaf3925da568: Pulling fs layer [2022-07-20T13:03:56.282Z] bab4dde63d76: Pulling fs layer [2022-07-20T13:03:56.282Z] 1469e6f7b9e6: Waiting [2022-07-20T13:03:56.282Z] eaf3925da568: Waiting [2022-07-20T13:03:56.282Z] bab4dde63d76: Waiting [2022-07-20T13:03:56.282Z] bde34c3a00c8: Pulling fs layer [2022-07-20T13:03:56.282Z] bde34c3a00c8: Waiting [2022-07-20T13:03:56.282Z] b352a97aabf1: Pulling fs layer [2022-07-20T13:03:56.282Z] b352a97aabf1: Waiting [2022-07-20T13:03:56.282Z] 4872d77fe225: Pulling fs layer [2022-07-20T13:03:56.282Z] 5851b861e8e6: Pulling fs layer [2022-07-20T13:03:56.282Z] 4872d77fe225: Waiting [2022-07-20T13:03:56.282Z] 5851b861e8e6: Waiting [2022-07-20T13:03:56.282Z] e2be974225ed: Verifying Checksum [2022-07-20T13:03:56.282Z] e2be974225ed: Download complete [2022-07-20T13:03:56.282Z] 988bab9f4d93: Verifying Checksum [2022-07-20T13:03:56.282Z] 988bab9f4d93: Download complete [2022-07-20T13:03:56.555Z] 1469e6f7b9e6: Verifying Checksum [2022-07-20T13:03:56.555Z] 1469e6f7b9e6: Download complete [2022-07-20T13:03:56.555Z] eaf3925da568: Download complete [2022-07-20T13:03:56.555Z] 339a4e72a1f5: Verifying Checksum [2022-07-20T13:03:56.555Z] 339a4e72a1f5: Download complete [2022-07-20T13:03:56.555Z] bde34c3a00c8: Download complete [2022-07-20T13:03:56.555Z] b352a97aabf1: Download complete [2022-07-20T13:03:56.555Z] 4872d77fe225: Verifying Checksum [2022-07-20T13:03:56.555Z] 4872d77fe225: Download complete [2022-07-20T13:03:56.555Z] 5851b861e8e6: Verifying Checksum [2022-07-20T13:03:56.555Z] 5851b861e8e6: Download complete [2022-07-20T13:03:56.555Z] b85a868b505f: Verifying Checksum [2022-07-20T13:03:56.555Z] b85a868b505f: Download complete [2022-07-20T13:03:56.821Z] bab4dde63d76: Verifying Checksum [2022-07-20T13:03:56.821Z] bab4dde63d76: Download complete [2022-07-20T13:03:58.207Z] b85a868b505f: Pull complete [2022-07-20T13:03:58.207Z] e2be974225ed: Pull complete [2022-07-20T13:03:58.788Z] 339a4e72a1f5: Pull complete [2022-07-20T13:03:58.788Z] 988bab9f4d93: Pull complete [2022-07-20T13:03:59.051Z] 1469e6f7b9e6: Pull complete [2022-07-20T13:03:59.051Z] eaf3925da568: Pull complete [2022-07-20T13:04:00.974Z] bab4dde63d76: Pull complete [2022-07-20T13:04:00.974Z] bde34c3a00c8: Pull complete [2022-07-20T13:04:01.234Z] b352a97aabf1: Pull complete [2022-07-20T13:04:01.234Z] 4872d77fe225: Pull complete [2022-07-20T13:04:01.494Z] 5851b861e8e6: Pull complete [2022-07-20T13:04:01.494Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-20T13:04:01.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T13:04:01.494Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T13:04:01.598Z] prd-ubuntu20.04-docker-8c-8g-20587 does not seem to be running inside a container [2022-07-20T13:04:01.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-20T13:04:03.099Z] $ docker top 91bd72f38e18a454f602814be14344b7bc2b59ed9b17da26eec7bdf14bcb3867 -eo pid,comm [2022-07-20T13:04:03.162Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-20T13:04:03.162Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-20T13:04:03.195Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-20T13:04:03.195Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-20T13:04:03.339Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-20T13:04:03.346Z] $ docker exec 91bd72f38e18a454f602814be14344b7bc2b59ed9b17da26eec7bdf14bcb3867 ssh-agent [2022-07-20T13:04:03.458Z] SSH_AUTH_SOCK=/tmp/ssh-1WwVqekdfzKZ/agent.33 [2022-07-20T13:04:03.458Z] SSH_AGENT_PID=39 [2022-07-20T13:04:03.465Z] Running ssh-add (command line suppressed) [2022-07-20T13:04:03.582Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_8489713892916071219.key (/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_8489713892916071219.key) [2022-07-20T13:04:03.598Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-20T13:04:03.892Z] + git tag --points-at HEAD [Pipeline] } [2022-07-20T13:04:03.909Z] $ docker exec --env ******** --env ******** 91bd72f38e18a454f602814be14344b7bc2b59ed9b17da26eec7bdf14bcb3867 ssh-agent -k [2022-07-20T13:04:04.009Z] unset SSH_AUTH_SOCK; [2022-07-20T13:04:04.009Z] unset SSH_AGENT_PID; [2022-07-20T13:04:04.009Z] echo Agent pid 39 killed; [2022-07-20T13:04:04.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-20T13:04:04.094Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-20T13:04:04.094Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-20T13:04:04.237Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-20T13:04:04.245Z] $ docker exec 91bd72f38e18a454f602814be14344b7bc2b59ed9b17da26eec7bdf14bcb3867 ssh-agent [2022-07-20T13:04:04.360Z] SSH_AUTH_SOCK=/tmp/ssh-WtQuPri2q61Q/agent.71 [2022-07-20T13:04:04.360Z] SSH_AGENT_PID=77 [2022-07-20T13:04:04.366Z] Running ssh-add (command line suppressed) [2022-07-20T13:04:04.488Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_636568421158431357.key (/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_636568421158431357.key) [2022-07-20T13:04:04.500Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-20T13:04:04.790Z] + git semver init [2022-07-20T13:04:05.050Z] 2022-07-20 13:04:05,027 [run_init] DEBUG init version:0.0.0 force:False [2022-07-20T13:04:05.050Z] 2022-07-20 13:04:05,027 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver [2022-07-20T13:04:05.050Z] 2022-07-20 13:04:05,028 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-185/.semver [2022-07-20T13:04:05.050Z] 2022-07-20 13:04:05,028 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185, universal_newlines=False, shell=None, istream=None) [2022-07-20T13:04:05.998Z] 2022-07-20 13:04:05,712 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-185/.git/info/exclude [2022-07-20T13:04:05.998Z] 2022-07-20 13:04:05,713 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 with force:False [2022-07-20T13:04:05.998Z] 2022-07-20 13:04:05,713 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 [2022-07-20T13:04:05.998Z] 2022-07-20 13:04:05,716 [execute] INFO git cat-file --batch-check [2022-07-20T13:04:05.998Z] 2022-07-20 13:04:05,716 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-07-20T13:04:05.998Z] 2022-07-20 13:04:05,722 [execute] INFO git cat-file --batch [2022-07-20T13:04:05.998Z] 2022-07-20 13:04:05,722 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-07-20T13:04:05.998Z] 2022-07-20 13:04:05,727 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 [2022-07-20T13:04:05.998Z] 0.0.0 [Pipeline] } [2022-07-20T13:04:06.015Z] $ docker exec --env ******** --env ******** 91bd72f38e18a454f602814be14344b7bc2b59ed9b17da26eec7bdf14bcb3867 ssh-agent -k [2022-07-20T13:04:06.113Z] unset SSH_AUTH_SOCK; [2022-07-20T13:04:06.114Z] unset SSH_AGENT_PID; [2022-07-20T13:04:06.117Z] echo Agent pid 77 killed; [2022-07-20T13:04:06.119Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-20T13:04:06.428Z] + git semver [Pipeline] } [2022-07-20T13:04:06.708Z] $ docker stop --time=1 91bd72f38e18a454f602814be14344b7bc2b59ed9b17da26eec7bdf14bcb3867 [2022-07-20T13:04:08.045Z] $ docker rm -f 91bd72f38e18a454f602814be14344b7bc2b59ed9b17da26eec7bdf14bcb3867 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T13:04:08.388Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-20T13:04:08.691Z] Stashed 1 file(s) [Pipeline] echo [2022-07-20T13:04:08.694Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T13:04:08.847Z] provisioning config files... [2022-07-20T13:04:08.859Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config6162686548351074187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:04:09.161Z] ---> docker-login.sh [2022-07-20T13:04:09.161Z] nexus3.edgexfoundry.org:10001 [2022-07-20T13:04:09.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:04:09.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:04:09.161Z] Configure a credential helper to remove this warning. See [2022-07-20T13:04:09.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:04:09.161Z] [2022-07-20T13:04:09.161Z] Login Succeeded [2022-07-20T13:04:09.161Z] nexus3.edgexfoundry.org:10002 [2022-07-20T13:04:09.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:04:09.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:04:09.422Z] Configure a credential helper to remove this warning. See [2022-07-20T13:04:09.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:04:09.422Z] [2022-07-20T13:04:09.422Z] Login Succeeded [2022-07-20T13:04:09.422Z] nexus3.edgexfoundry.org:10003 [2022-07-20T13:04:09.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:04:09.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:04:09.422Z] Configure a credential helper to remove this warning. See [2022-07-20T13:04:09.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:04:09.422Z] [2022-07-20T13:04:09.422Z] Login Succeeded [2022-07-20T13:04:09.422Z] nexus3.edgexfoundry.org:10004 [2022-07-20T13:04:09.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:04:09.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:04:09.683Z] Configure a credential helper to remove this warning. See [2022-07-20T13:04:09.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:04:09.683Z] [2022-07-20T13:04:09.683Z] Login Succeeded [2022-07-20T13:04:09.683Z] docker.io [2022-07-20T13:04:09.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:04:09.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:04:09.946Z] Configure a credential helper to remove this warning. See [2022-07-20T13:04:09.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:04:09.946Z] [2022-07-20T13:04:09.946Z] Login Succeeded [2022-07-20T13:04:09.946Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T13:04:09.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-20T13:04:10.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T13:04:10.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T13:04:10.054Z] ========================================================= [2022-07-20T13:04:10.054Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-20T13:04:10.054Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:04:10.369Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-20T13:04:10.369Z] Sending build context to Docker daemon 5.468MB [2022-07-20T13:04:10.369Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-20T13:04:10.369Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-20T13:04:10.369Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-20T13:04:10.369Z] 2408cc74d12b: Pulling fs layer [2022-07-20T13:04:10.369Z] ea60b727a1ce: Pulling fs layer [2022-07-20T13:04:10.369Z] 30c4a7721957: Pulling fs layer [2022-07-20T13:04:10.369Z] 370296b7ddb6: Pulling fs layer [2022-07-20T13:04:10.369Z] 7c6cee850709: Pulling fs layer [2022-07-20T13:04:10.369Z] 39a5fcdaea64: Pulling fs layer [2022-07-20T13:04:10.369Z] d94ebbe4e438: Pulling fs layer [2022-07-20T13:04:10.369Z] bcfd1f05c69d: Pulling fs layer [2022-07-20T13:04:10.369Z] 59ccb84bbe0f: Pulling fs layer [2022-07-20T13:04:10.369Z] 7c6cee850709: Waiting [2022-07-20T13:04:10.369Z] 59ccb84bbe0f: Waiting [2022-07-20T13:04:10.369Z] 39a5fcdaea64: Waiting [2022-07-20T13:04:10.369Z] bcfd1f05c69d: Waiting [2022-07-20T13:04:10.369Z] d94ebbe4e438: Waiting [2022-07-20T13:04:10.369Z] 370296b7ddb6: Waiting [2022-07-20T13:04:10.632Z] 30c4a7721957: Verifying Checksum [2022-07-20T13:04:10.632Z] 30c4a7721957: Download complete [2022-07-20T13:04:10.632Z] ea60b727a1ce: Verifying Checksum [2022-07-20T13:04:10.632Z] ea60b727a1ce: Download complete [2022-07-20T13:04:10.632Z] 7c6cee850709: Verifying Checksum [2022-07-20T13:04:10.632Z] 7c6cee850709: Download complete [2022-07-20T13:04:10.632Z] 39a5fcdaea64: Verifying Checksum [2022-07-20T13:04:10.632Z] 39a5fcdaea64: Download complete [2022-07-20T13:04:10.632Z] 2408cc74d12b: Download complete [2022-07-20T13:04:10.632Z] d94ebbe4e438: Verifying Checksum [2022-07-20T13:04:10.632Z] d94ebbe4e438: Download complete [2022-07-20T13:04:10.632Z] 2408cc74d12b: Pull complete [2022-07-20T13:04:10.896Z] ea60b727a1ce: Pull complete [2022-07-20T13:04:10.897Z] 30c4a7721957: Pull complete [2022-07-20T13:04:11.159Z] 59ccb84bbe0f: Verifying Checksum [2022-07-20T13:04:11.159Z] 59ccb84bbe0f: Download complete [2022-07-20T13:04:11.159Z] bcfd1f05c69d: Verifying Checksum [2022-07-20T13:04:11.159Z] bcfd1f05c69d: Download complete [2022-07-20T13:04:11.418Z] 370296b7ddb6: Verifying Checksum [2022-07-20T13:04:11.418Z] 370296b7ddb6: Download complete [2022-07-20T13:04:15.621Z] 370296b7ddb6: Pull complete [2022-07-20T13:04:15.622Z] 7c6cee850709: Pull complete [2022-07-20T13:04:15.622Z] 39a5fcdaea64: Pull complete [2022-07-20T13:04:15.622Z] d94ebbe4e438: Pull complete [2022-07-20T13:04:17.003Z] bcfd1f05c69d: Pull complete [2022-07-20T13:04:17.942Z] 59ccb84bbe0f: Pull complete [2022-07-20T13:04:17.942Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-20T13:04:17.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-20T13:04:17.942Z] ---> a4fb48ad2a94 [2022-07-20T13:04:17.942Z] Step 3/12 : ARG MAKE='make build' [2022-07-20T13:04:19.854Z] ---> Running in 0ca668504584 [2022-07-20T13:04:19.854Z] Removing intermediate container 0ca668504584 [2022-07-20T13:04:19.854Z] ---> c85495084e23 [2022-07-20T13:04:19.854Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T13:04:19.854Z] ---> Running in 508801d719a1 [2022-07-20T13:04:19.854Z] Removing intermediate container 508801d719a1 [2022-07-20T13:04:19.854Z] ---> 5e7cea6651a8 [2022-07-20T13:04:19.854Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T13:04:19.854Z] ---> Running in 152c5f07dedd [2022-07-20T13:04:20.113Z] Removing intermediate container 152c5f07dedd [2022-07-20T13:04:20.113Z] ---> b5034e51d642 [2022-07-20T13:04:20.113Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T13:04:20.113Z] ---> Running in 616651ded228 [2022-07-20T13:04:20.684Z] Removing intermediate container 616651ded228 [2022-07-20T13:04:20.684Z] ---> e0bb547e2d91 [2022-07-20T13:04:20.684Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T13:04:20.684Z] ---> Running in aafc88a33e42 [2022-07-20T13:04:20.944Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T13:04:21.886Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T13:04:22.148Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-20T13:04:22.408Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-20T13:04:22.409Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-20T13:04:22.669Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-20T13:04:22.669Z] Executing busybox-1.35.0-r13.trigger [2022-07-20T13:04:22.669Z] OK: 216 MiB in 55 packages [2022-07-20T13:04:23.240Z] Removing intermediate container aafc88a33e42 [2022-07-20T13:04:23.240Z] ---> db08cead10f8 [2022-07-20T13:04:23.240Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-20T13:04:23.240Z] ---> Running in dd006cc740af [2022-07-20T13:04:23.501Z] Removing intermediate container dd006cc740af [2022-07-20T13:04:23.501Z] ---> 50032a94e23f [2022-07-20T13:04:23.501Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-20T13:04:23.501Z] ---> bf3cc139bae3 [2022-07-20T13:04:23.501Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T13:04:23.501Z] ---> Running in 2636f40d2a2d [2022-07-20T13:04:23.807Z] Still waiting to schedule task [2022-07-20T13:04:23.808Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-20586’ is offline [2022-07-20T13:04:41.633Z] Removing intermediate container 2636f40d2a2d [2022-07-20T13:04:41.634Z] ---> c7a8be2fd0a2 [2022-07-20T13:04:41.634Z] Step 11/12 : COPY . . [2022-07-20T13:04:41.634Z] ---> 19a3f30f92f1 [2022-07-20T13:04:41.634Z] Step 12/12 : RUN ${MAKE} [2022-07-20T13:04:41.634Z] ---> Running in 4181590787a8 [2022-07-20T13:04:41.634Z] noop [2022-07-20T13:04:41.634Z] Removing intermediate container 4181590787a8 [2022-07-20T13:04:41.634Z] ---> 70ce0f127c20 [2022-07-20T13:04:41.634Z] Successfully built 70ce0f127c20 [2022-07-20T13:04:41.634Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:04:41.953Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-20T13:04:41.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T13:04:42.035Z] prd-ubuntu20.04-docker-8c-8g-20587 does not seem to be running inside a container [2022-07-20T13:04:42.074Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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-x86_64 cat [2022-07-20T13:04:42.453Z] $ docker top a780287d3ef5b50309e53c2d8484a56b8dc3d6acd906fd75c1b0def138aa3b24 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T13:04:42.810Z] + go version [2022-07-20T13:04:42.810Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-20T13:04:42.826Z] $ docker stop --time=1 a780287d3ef5b50309e53c2d8484a56b8dc3d6acd906fd75c1b0def138aa3b24 [2022-07-20T13:04:44.112Z] $ docker rm -f a780287d3ef5b50309e53c2d8484a56b8dc3d6acd906fd75c1b0def138aa3b24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:04:44.515Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-20T13:04:44.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T13:04:44.662Z] prd-ubuntu20.04-docker-8c-8g-20587 does not seem to be running inside a container [2022-07-20T13:04:44.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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-x86_64 cat [2022-07-20T13:04:45.096Z] $ docker top 7b01d90aec08f0d19042ca2bb08131300ddad84ad6cef461da4365b8ac17558a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T13:04:45.451Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] fileExists [Pipeline] sh [2022-07-20T13:04:45.753Z] + make test [2022-07-20T13:04:45.753Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-20T13:04:46.012Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-20T13:04:56.002Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-20T13:04:56.002Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements [2022-07-20T13:05:01.286Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-20T13:05:01.286Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-20T13:05:04.587Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-20T13:05:04.587Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-20T13:05:04.587Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-20T13:05:04.600Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-20T13:05:04.617Z] $ docker stop --time=1 7b01d90aec08f0d19042ca2bb08131300ddad84ad6cef461da4365b8ac17558a [2022-07-20T13:05:06.651Z] $ docker rm -f 7b01d90aec08f0d19042ca2bb08131300ddad84ad6cef461da4365b8ac17558a [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T13:05:07.107Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-20T13:05:07.148Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-20T13:05:07.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-20T13:05:07.857Z] + ls -al . [2022-07-20T13:05:07.857Z] total 168 [2022-07-20T13:05:07.857Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 13:04 . [2022-07-20T13:05:07.857Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:03 .. [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 20 13:03 .dockerignore [2022-07-20T13:05:07.857Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 13:04 .git [2022-07-20T13:05:07.857Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 13:03 .github [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 20 13:03 .gitignore [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 13:03 .golangci.yml [2022-07-20T13:05:07.857Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 13:04 .semver [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 20 13:03 Attribution.txt [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 20 13:03 CHANGELOG.md [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 20 13:03 Dockerfile [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 13:03 GOVERNANCE.md [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 20 13:03 Jenkinsfile [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 13:03 LICENSE [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 20 13:03 Makefile [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 13:03 OWNERS.md [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 20 13:03 README.md [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 13:04 VERSION [2022-07-20T13:05:07.857Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 13:03 bin [2022-07-20T13:05:07.857Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 13:03 cmd [2022-07-20T13:05:07.857Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 20 13:04 coverage.out [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 3302 Jul 20 13:03 go.mod [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 35534 Jul 20 13:03 go.sum [2022-07-20T13:05:07.857Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 13:03 internal [2022-07-20T13:05:07.857Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:03 snap [2022-07-20T13:05:07.857Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 20 13:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:05:08.171Z] + 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=c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c --label arch=amd64 --label version=0.0.0 . [2022-07-20T13:05:08.171Z] Sending build context to Docker daemon 5.476MB [2022-07-20T13:05:08.171Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-20T13:05:08.171Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-20T13:05:08.171Z] ---> 70ce0f127c20 [2022-07-20T13:05:08.171Z] Step 3/24 : ARG MAKE='make build' [2022-07-20T13:05:08.432Z] ---> Running in a5aac034eea3 [2022-07-20T13:05:08.432Z] Removing intermediate container a5aac034eea3 [2022-07-20T13:05:08.432Z] ---> 8a072ee52afb [2022-07-20T13:05:08.432Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T13:05:08.432Z] ---> Running in 4b34c3440707 [2022-07-20T13:05:08.432Z] Removing intermediate container 4b34c3440707 [2022-07-20T13:05:08.432Z] ---> 7a06143bb202 [2022-07-20T13:05:08.432Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T13:05:08.432Z] ---> Running in ab5248c2f1bc [2022-07-20T13:05:08.696Z] Removing intermediate container ab5248c2f1bc [2022-07-20T13:05:08.696Z] ---> 45739cb3aaeb [2022-07-20T13:05:08.696Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T13:05:08.696Z] ---> Running in 17de58e00a88 [2022-07-20T13:05:09.267Z] Removing intermediate container 17de58e00a88 [2022-07-20T13:05:09.267Z] ---> e1488ade6437 [2022-07-20T13:05:09.267Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T13:05:09.267Z] ---> Running in 251bd1baf6f1 [2022-07-20T13:05:09.528Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T13:05:10.468Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T13:05:10.730Z] OK: 216 MiB in 55 packages [2022-07-20T13:05:11.299Z] Removing intermediate container 251bd1baf6f1 [2022-07-20T13:05:11.299Z] ---> 0f3e29eaa20e [2022-07-20T13:05:11.299Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-20T13:05:11.299Z] ---> Running in a3b34708ae7c [2022-07-20T13:05:11.299Z] Removing intermediate container a3b34708ae7c [2022-07-20T13:05:11.299Z] ---> aa614dc45503 [2022-07-20T13:05:11.299Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-20T13:05:11.299Z] ---> 807c43834b0b [2022-07-20T13:05:11.299Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T13:05:11.299Z] ---> Running in fe26462ba53b [2022-07-20T13:05:12.259Z] Removing intermediate container fe26462ba53b [2022-07-20T13:05:12.259Z] ---> 706f68f3493c [2022-07-20T13:05:12.259Z] Step 11/24 : COPY . . [2022-07-20T13:05:12.519Z] ---> ef8e5445ed84 [2022-07-20T13:05:12.519Z] Step 12/24 : RUN ${MAKE} [2022-07-20T13:05:12.519Z] ---> Running in 4612d849ac20 [2022-07-20T13:05:12.779Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.14 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-07-20T13:05:34.721Z] Removing intermediate container 4612d849ac20 [2022-07-20T13:05:34.721Z] ---> ae59072b679e [2022-07-20T13:05:34.721Z] Step 13/24 : FROM alpine:3.16 [2022-07-20T13:05:34.721Z] 3.16: Pulling from library/alpine [2022-07-20T13:05:34.721Z] 530afca65e2e: Pulling fs layer [2022-07-20T13:05:34.721Z] 530afca65e2e: Verifying Checksum [2022-07-20T13:05:34.721Z] 530afca65e2e: Download complete [2022-07-20T13:05:34.721Z] 530afca65e2e: Pull complete [2022-07-20T13:05:34.721Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-20T13:05:34.721Z] Status: Downloaded newer image for alpine:3.16 [2022-07-20T13:05:34.721Z] ---> d7d3d98c851f [2022-07-20T13:05:34.721Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-20T13:05:34.721Z] ---> Running in e5e250008d66 [2022-07-20T13:05:34.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T13:05:34.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T13:05:34.721Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-20T13:05:34.721Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-20T13:05:34.721Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-20T13:05:34.721Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-20T13:05:34.721Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-20T13:05:34.721Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-20T13:05:34.721Z] Executing busybox-1.35.0-r15.trigger [2022-07-20T13:05:34.721Z] OK: 8 MiB in 20 packages [2022-07-20T13:05:34.721Z] Removing intermediate container e5e250008d66 [2022-07-20T13:05:34.721Z] ---> 0c2e8dd7c070 [2022-07-20T13:05:34.721Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-20T13:05:34.721Z] ---> c60459a9708a [2022-07-20T13:05:34.721Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-20T13:05:34.981Z] ---> 01be61f1450f [2022-07-20T13:05:34.981Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-20T13:05:34.981Z] ---> a363af7a0eb4 [2022-07-20T13:05:34.981Z] Step 18/24 : EXPOSE 59993 [2022-07-20T13:05:35.246Z] ---> Running in a7d942f21b36 [2022-07-20T13:05:35.246Z] Removing intermediate container a7d942f21b36 [2022-07-20T13:05:35.246Z] ---> e9a8cbd77a8b [2022-07-20T13:05:35.246Z] Step 19/24 : EXPOSE 161 [2022-07-20T13:05:35.246Z] ---> Running in f46f72ebe2f0 [2022-07-20T13:05:35.507Z] Removing intermediate container f46f72ebe2f0 [2022-07-20T13:05:35.507Z] ---> 2f82d82db504 [2022-07-20T13:05:35.507Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-20T13:05:35.507Z] ---> Running in 357f1adb6b48 [2022-07-20T13:05:35.507Z] Removing intermediate container 357f1adb6b48 [2022-07-20T13:05:35.507Z] ---> 0e334a2344bc [2022-07-20T13:05:35.507Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-20T13:05:35.507Z] ---> Running in e1fbe608f98b [2022-07-20T13:05:35.799Z] Removing intermediate container e1fbe608f98b [2022-07-20T13:05:35.799Z] ---> dd0bdfc90ea1 [2022-07-20T13:05:35.799Z] Step 22/24 : LABEL arch=amd64 [2022-07-20T13:05:35.799Z] ---> Running in 4e1e1daac873 [2022-07-20T13:05:35.799Z] Removing intermediate container 4e1e1daac873 [2022-07-20T13:05:35.799Z] ---> a3d6d45daea1 [2022-07-20T13:05:35.799Z] Step 23/24 : LABEL git_sha=c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c [2022-07-20T13:05:35.799Z] ---> Running in 00d5b9ac899b [2022-07-20T13:05:35.799Z] Removing intermediate container 00d5b9ac899b [2022-07-20T13:05:35.799Z] ---> e19867422a29 [2022-07-20T13:05:35.799Z] Step 24/24 : LABEL version=0.0.0 [2022-07-20T13:05:36.059Z] ---> Running in 2fa1e21cd38f [2022-07-20T13:05:36.059Z] Removing intermediate container 2fa1e21cd38f [2022-07-20T13:05:36.059Z] ---> fe2671e03618 [2022-07-20T13:05:36.059Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-20T13:05:36.059Z] Successfully built fe2671e03618 [2022-07-20T13:05:36.059Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:05:36.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T13:05:36.487Z] [2022-07-20T13:05:36.487Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:05:36.797Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T13:05:36.797Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-20T13:05:36.797Z] 5eb5b503b376: Pulling fs layer [2022-07-20T13:05:36.797Z] 5c69ac0246d0: Pulling fs layer [2022-07-20T13:05:36.797Z] ec43610c2a17: Pulling fs layer [2022-07-20T13:05:36.797Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-20T13:05:36.797Z] 33b1e0a273af: Pulling fs layer [2022-07-20T13:05:36.797Z] 5d3b04190fa2: Pulling fs layer [2022-07-20T13:05:36.797Z] 2f39f015ded8: Pulling fs layer [2022-07-20T13:05:36.797Z] 33b1e0a273af: Waiting [2022-07-20T13:05:36.797Z] 5d3b04190fa2: Waiting [2022-07-20T13:05:36.797Z] 3a2ae6a8a46f: Waiting [2022-07-20T13:05:36.797Z] 2f39f015ded8: Waiting [2022-07-20T13:05:36.797Z] 5c69ac0246d0: Verifying Checksum [2022-07-20T13:05:36.797Z] 5c69ac0246d0: Download complete [2022-07-20T13:05:36.797Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-20T13:05:36.797Z] 3a2ae6a8a46f: Download complete [2022-07-20T13:05:36.797Z] 33b1e0a273af: Verifying Checksum [2022-07-20T13:05:36.797Z] 33b1e0a273af: Download complete [2022-07-20T13:05:36.797Z] 5d3b04190fa2: Verifying Checksum [2022-07-20T13:05:36.797Z] 5d3b04190fa2: Download complete [2022-07-20T13:05:37.057Z] ec43610c2a17: Verifying Checksum [2022-07-20T13:05:37.057Z] ec43610c2a17: Download complete [2022-07-20T13:05:37.057Z] 5eb5b503b376: Verifying Checksum [2022-07-20T13:05:37.057Z] 5eb5b503b376: Download complete [2022-07-20T13:05:37.626Z] 2f39f015ded8: Verifying Checksum [2022-07-20T13:05:37.626Z] 2f39f015ded8: Download complete [2022-07-20T13:05:38.564Z] 5eb5b503b376: Pull complete [2022-07-20T13:05:38.564Z] 5c69ac0246d0: Pull complete [2022-07-20T13:05:39.134Z] ec43610c2a17: Pull complete [2022-07-20T13:05:39.134Z] 3a2ae6a8a46f: Pull complete [2022-07-20T13:05:39.394Z] 33b1e0a273af: Pull complete [2022-07-20T13:05:39.394Z] 5d3b04190fa2: Pull complete [2022-07-20T13:05:43.588Z] 2f39f015ded8: Pull complete [2022-07-20T13:05:43.588Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-20T13:05:43.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T13:05:43.588Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T13:05:43.685Z] prd-ubuntu20.04-docker-8c-8g-20587 does not seem to be running inside a container [2022-07-20T13:05:43.722Z] $ 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/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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:latest cat [2022-07-20T13:05:45.824Z] $ docker top 7fe9790cc1045da2f1cb3a99819c14c373178e9668323d99199f72b8db819ac6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:05:46.200Z] ---> job-cost.sh [2022-07-20T13:05:46.200Z] lf-activate-venv: SKIPPING [2022-07-20T13:05:46.200Z] INFO: No Stack... [2022-07-20T13:05:46.462Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-20T13:05:47.033Z] INFO: Archiving Costs [Pipeline] sh [2022-07-20T13:05:47.326Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/cost.csv [2022-07-20T13:05:47.326Z] + cut -d, -f6 [Pipeline] lock [2022-07-20T13:05:47.340Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-185-4-stack-cost] [2022-07-20T13:05:47.347Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-185-4-stack-cost] did not exist. Created. [2022-07-20T13:05:47.347Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-185-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-20T13:05:47.650Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-20T13:05:47.673Z] Stashed 1 file(s) [Pipeline] } [2022-07-20T13:05:47.678Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-185-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-20T13:05:47.703Z] $ docker stop --time=1 7fe9790cc1045da2f1cb3a99819c14c373178e9668323d99199f72b8db819ac6 [2022-07-20T13:05:48.852Z] $ docker rm -f 7fe9790cc1045da2f1cb3a99819c14c373178e9668323d99199f72b8db819ac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-20T13:05:55.980Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20589 in /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] { [Pipeline] ws [2022-07-20T13:05:55.994Z] Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout [2022-07-20T13:05:56.060Z] Selected Git installation does not exist. Using Default [2022-07-20T13:05:56.060Z] The recommended git tool is: NONE [2022-07-20T13:06:03.282Z] using credential edgex-jenkins-ssh [2022-07-20T13:06:03.305Z] Cloning the remote Git repository [2022-07-20T13:06:03.469Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-07-20T13:06:03.584Z] > git init /w/workspace/device-snmp-go/4 # timeout=10 [2022-07-20T13:06:03.788Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-20T13:06:03.791Z] > git --version # timeout=10 [2022-07-20T13:06:03.854Z] > git --version # 'git version 2.25.1' [2022-07-20T13:06:03.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T13:06:03.946Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-20T13:06:04.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-20T13:06:05.005Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-20T13:06:05.042Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-20T13:06:05.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-20T13:06:05.102Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T13:06:05.122Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-20T13:06:05.654Z] Merging remotes/origin/main commit f6828afe08f553138e4b56b0659b8be13fc1cd72 into PR head commit c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c [2022-07-20T13:06:05.930Z] Merge succeeded, producing c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c [2022-07-20T13:06:05.931Z] Checking out Revision c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c (PR-185) [2022-07-20T13:06:05.696Z] > git config core.sparsecheckout # timeout=10 [2022-07-20T13:06:05.723Z] > git checkout -f c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c # timeout=10 [2022-07-20T13:06:05.807Z] > git remote # timeout=10 [2022-07-20T13:06:05.824Z] > git config --get remote.origin.url # timeout=10 [2022-07-20T13:06:05.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T13:06:05.864Z] > git merge f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 [2022-07-20T13:06:05.911Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-20T13:06:05.942Z] > git config core.sparsecheckout # timeout=10 [2022-07-20T13:06:05.970Z] > git checkout -f c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c # timeout=10 [2022-07-20T13:06:10.235Z] Commit message: "refactor(snap): Update snapcraft " [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T13:06:11.073Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-20T13:06:11.073Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-20T13:06:11.073Z] Dload Upload Total Spent Left Speed [2022-07-20T13:06:11.073Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 86845 0 --:--:-- --:--:-- --:--:-- 86845 [Pipeline] sh [2022-07-20T13:06:11.866Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-20T13:06:12.204Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-20T13:06:12.204Z] + sudo tee /etc/docker/daemon.new [2022-07-20T13:06:12.204Z] { [2022-07-20T13:06:12.204Z] "registry-mirrors": [ [2022-07-20T13:06:12.204Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-20T13:06:12.204Z] ], [2022-07-20T13:06:12.204Z] "bip": "10.250.0.254/24", [2022-07-20T13:06:12.204Z] "hosts": [ [2022-07-20T13:06:12.204Z] "tcp://0.0.0.0:5555", [2022-07-20T13:06:12.204Z] "unix:///var/run/docker.sock" [2022-07-20T13:06:12.204Z] ], [2022-07-20T13:06:12.204Z] "mtu": 1458, [2022-07-20T13:06:12.204Z] "selinux-enabled": true, [2022-07-20T13:06:12.204Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-20T13:06:12.204Z] } [Pipeline] sh [2022-07-20T13:06:12.554Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-20T13:06:12.896Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T13:06:31.246Z] provisioning config files... [2022-07-20T13:06:31.270Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config3286291224044633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:06:31.621Z] ---> docker-login.sh [2022-07-20T13:06:31.621Z] nexus3.edgexfoundry.org:10001 [2022-07-20T13:06:32.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:06:32.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:06:32.496Z] Configure a credential helper to remove this warning. See [2022-07-20T13:06:32.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:06:32.496Z] [2022-07-20T13:06:32.496Z] Login Succeeded [2022-07-20T13:06:32.496Z] nexus3.edgexfoundry.org:10002 [2022-07-20T13:06:32.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:06:32.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:06:32.773Z] Configure a credential helper to remove this warning. See [2022-07-20T13:06:32.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:06:32.773Z] [2022-07-20T13:06:32.773Z] Login Succeeded [2022-07-20T13:06:32.773Z] nexus3.edgexfoundry.org:10003 [2022-07-20T13:06:33.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:06:33.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:06:33.374Z] Configure a credential helper to remove this warning. See [2022-07-20T13:06:33.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:06:33.374Z] [2022-07-20T13:06:33.374Z] Login Succeeded [2022-07-20T13:06:33.374Z] nexus3.edgexfoundry.org:10004 [2022-07-20T13:06:33.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:06:33.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:06:33.652Z] Configure a credential helper to remove this warning. See [2022-07-20T13:06:33.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:06:33.652Z] [2022-07-20T13:06:33.652Z] Login Succeeded [2022-07-20T13:06:33.652Z] docker.io [2022-07-20T13:06:34.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T13:06:34.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T13:06:34.522Z] Configure a credential helper to remove this warning. See [2022-07-20T13:06:34.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T13:06:34.522Z] [2022-07-20T13:06:34.522Z] Login Succeeded [2022-07-20T13:06:34.522Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T13:06:34.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-20T13:06:35.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T13:06:35.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T13:06:35.110Z] ========================================================= [2022-07-20T13:06:35.110Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-20T13:06:35.110Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:06:35.535Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-20T13:06:35.808Z] Sending build context to Docker daemon 2.838MB [2022-07-20T13:06:35.808Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-20T13:06:35.808Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-20T13:06:36.090Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-20T13:06:36.090Z] b3c136eddcbf: Pulling fs layer [2022-07-20T13:06:36.090Z] c0a3192eca97: Pulling fs layer [2022-07-20T13:06:36.090Z] a050256f5b6f: Pulling fs layer [2022-07-20T13:06:36.090Z] 656be50a0ddc: Pulling fs layer [2022-07-20T13:06:36.090Z] 2bbca73fdf42: Pulling fs layer [2022-07-20T13:06:36.090Z] 46d945488cbd: Pulling fs layer [2022-07-20T13:06:36.090Z] 8a5474983e97: Pulling fs layer [2022-07-20T13:06:36.090Z] 329c88fbcd65: Pulling fs layer [2022-07-20T13:06:36.090Z] 656be50a0ddc: Waiting [2022-07-20T13:06:36.090Z] 2bbca73fdf42: Waiting [2022-07-20T13:06:36.090Z] 46d945488cbd: Waiting [2022-07-20T13:06:36.090Z] 8a5474983e97: Waiting [2022-07-20T13:06:36.090Z] 329c88fbcd65: Waiting [2022-07-20T13:06:36.090Z] a050256f5b6f: Verifying Checksum [2022-07-20T13:06:36.090Z] a050256f5b6f: Download complete [2022-07-20T13:06:36.090Z] c0a3192eca97: Verifying Checksum [2022-07-20T13:06:36.090Z] c0a3192eca97: Download complete [2022-07-20T13:06:36.090Z] 2bbca73fdf42: Download complete [2022-07-20T13:06:36.090Z] 46d945488cbd: Verifying Checksum [2022-07-20T13:06:36.090Z] 46d945488cbd: Download complete [2022-07-20T13:06:36.090Z] b3c136eddcbf: Verifying Checksum [2022-07-20T13:06:37.096Z] b3c136eddcbf: Pull complete [2022-07-20T13:06:37.096Z] 329c88fbcd65: Verifying Checksum [2022-07-20T13:06:37.096Z] 329c88fbcd65: Download complete [2022-07-20T13:06:37.700Z] c0a3192eca97: Pull complete [2022-07-20T13:06:37.990Z] a050256f5b6f: Pull complete [2022-07-20T13:06:38.287Z] 8a5474983e97: Verifying Checksum [2022-07-20T13:06:38.287Z] 8a5474983e97: Download complete [2022-07-20T13:06:38.886Z] 656be50a0ddc: Verifying Checksum [2022-07-20T13:06:38.886Z] 656be50a0ddc: Download complete [2022-07-20T13:06:53.982Z] 656be50a0ddc: Pull complete [2022-07-20T13:06:53.982Z] 2bbca73fdf42: Pull complete [2022-07-20T13:06:53.982Z] 46d945488cbd: Pull complete [2022-07-20T13:06:58.300Z] 8a5474983e97: Pull complete [2022-07-20T13:07:00.296Z] 329c88fbcd65: Pull complete [2022-07-20T13:07:00.296Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-20T13:07:00.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-20T13:07:00.296Z] ---> ff4287adb874 [2022-07-20T13:07:00.296Z] Step 3/12 : ARG MAKE='make build' [2022-07-20T13:07:02.286Z] ---> Running in cd4f6b118131 [2022-07-20T13:07:02.286Z] Removing intermediate container cd4f6b118131 [2022-07-20T13:07:02.286Z] ---> 372ee680ee63 [2022-07-20T13:07:02.286Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T13:07:02.286Z] ---> Running in 7d71b07ff813 [2022-07-20T13:07:02.571Z] Removing intermediate container 7d71b07ff813 [2022-07-20T13:07:02.571Z] ---> 25cee200e88d [2022-07-20T13:07:02.571Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T13:07:02.848Z] ---> Running in 50cd8cdd538f [2022-07-20T13:07:03.124Z] Removing intermediate container 50cd8cdd538f [2022-07-20T13:07:03.124Z] ---> c5f002511984 [2022-07-20T13:07:03.124Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T13:07:03.124Z] ---> Running in dd74081da381 [2022-07-20T13:07:05.102Z] Removing intermediate container dd74081da381 [2022-07-20T13:07:05.102Z] ---> 959450bd78d4 [2022-07-20T13:07:05.102Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T13:07:05.102Z] ---> Running in 3a7b7a9ee16f [2022-07-20T13:07:05.701Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T13:07:07.140Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T13:07:07.748Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-20T13:07:08.022Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-20T13:07:08.022Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-20T13:07:08.314Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-20T13:07:08.314Z] Executing busybox-1.35.0-r13.trigger [2022-07-20T13:07:08.586Z] OK: 226 MiB in 55 packages [2022-07-20T13:07:09.569Z] Removing intermediate container 3a7b7a9ee16f [2022-07-20T13:07:09.569Z] ---> 8a312e25b888 [2022-07-20T13:07:09.569Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-20T13:07:09.569Z] ---> Running in 4be4b2b7158a [2022-07-20T13:07:09.843Z] Removing intermediate container 4be4b2b7158a [2022-07-20T13:07:09.843Z] ---> 14fdd774b2a2 [2022-07-20T13:07:09.843Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-20T13:07:10.439Z] ---> 6a24b2de0f9a [2022-07-20T13:07:10.439Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T13:07:10.439Z] ---> Running in bc398ae83624 [2022-07-20T13:07:57.432Z] Removing intermediate container bc398ae83624 [2022-07-20T13:07:57.432Z] ---> f24bcfc2e4db [2022-07-20T13:07:57.432Z] Step 11/12 : COPY . . [2022-07-20T13:07:57.432Z] ---> 50e7771f7bf0 [2022-07-20T13:07:57.432Z] Step 12/12 : RUN ${MAKE} [2022-07-20T13:07:57.432Z] ---> Running in dccf26a9cffd [2022-07-20T13:07:57.432Z] noop [2022-07-20T13:07:57.432Z] Removing intermediate container dccf26a9cffd [2022-07-20T13:07:57.432Z] ---> e2b713e48047 [2022-07-20T13:07:57.432Z] Successfully built e2b713e48047 [2022-07-20T13:07:57.432Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:07:57.790Z] + docker inspect -f . ci-base-image-arm64 [2022-07-20T13:07:57.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T13:07:58.043Z] prd-ubuntu20.04-docker-arm64-4c-16g-20589 does not seem to be running inside a container [2022-07-20T13:07:58.132Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-20T13:07:59.385Z] $ docker top fd7ebae451634308977ef5e838126388bd2e046461beca15b9a57f712e1e91d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T13:08:00.275Z] + go version [2022-07-20T13:08:00.275Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-20T13:08:00.303Z] $ docker stop --time=1 fd7ebae451634308977ef5e838126388bd2e046461beca15b9a57f712e1e91d3 [2022-07-20T13:08:01.939Z] $ docker rm -f fd7ebae451634308977ef5e838126388bd2e046461beca15b9a57f712e1e91d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:08:02.539Z] + docker inspect -f . ci-base-image-arm64 [2022-07-20T13:08:02.539Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T13:08:02.780Z] prd-ubuntu20.04-docker-arm64-4c-16g-20589 does not seem to be running inside a container [2022-07-20T13:08:02.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-20T13:08:04.100Z] $ docker top 7f7ed61fc2624d4223c6a5a15e6bd2ebaa2f9d0f10e1a194a20c4dc018675dc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T13:08:04.981Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/4 [Pipeline] fileExists [Pipeline] sh [2022-07-20T13:08:05.650Z] + make test [2022-07-20T13:08:05.651Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-20T13:08:07.107Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-20T13:09:28.957Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-20T13:09:28.957Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements [2022-07-20T13:09:28.957Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-20T13:09:28.957Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-20T13:09:41.392Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-20T13:09:41.392Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-20T13:09:41.392Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-20T13:09:41.414Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-20T13:09:41.431Z] $ docker stop --time=1 7f7ed61fc2624d4223c6a5a15e6bd2ebaa2f9d0f10e1a194a20c4dc018675dc9 [2022-07-20T13:09:43.175Z] $ docker rm -f 7f7ed61fc2624d4223c6a5a15e6bd2ebaa2f9d0f10e1a194a20c4dc018675dc9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T13:09:44.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-20T13:09:44.124Z] Warning: overwriting stash ‘coverage-report’ [2022-07-20T13:09:44.575Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T13:09:44.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-20T13:09:45.283Z] + ls -al . [2022-07-20T13:09:45.283Z] total 164 [2022-07-20T13:09:45.283Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 13:08 . [2022-07-20T13:09:45.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:06 .. [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 20 13:06 .dockerignore [2022-07-20T13:09:45.283Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 13:06 .git [2022-07-20T13:09:45.283Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 13:06 .github [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 20 13:06 .gitignore [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 13:06 .golangci.yml [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 20 13:06 Attribution.txt [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 20 13:06 CHANGELOG.md [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 20 13:06 Dockerfile [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 13:06 GOVERNANCE.md [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 20 13:06 Jenkinsfile [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 13:06 LICENSE [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 20 13:06 Makefile [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 13:06 OWNERS.md [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 20 13:06 README.md [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 13:04 VERSION [2022-07-20T13:09:45.283Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 13:06 bin [2022-07-20T13:09:45.283Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 13:06 cmd [2022-07-20T13:09:45.283Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 20 13:09 coverage.out [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 3302 Jul 20 13:06 go.mod [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 35534 Jul 20 13:06 go.sum [2022-07-20T13:09:45.283Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 13:06 internal [2022-07-20T13:09:45.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:06 snap [2022-07-20T13:09:45.283Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 20 13:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:09:45.634Z] + 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=c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c --label arch=arm64 --label version=0.0.0 . [2022-07-20T13:09:45.918Z] Sending build context to Docker daemon 2.846MB [2022-07-20T13:09:45.918Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-20T13:09:45.918Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-20T13:09:45.918Z] ---> e2b713e48047 [2022-07-20T13:09:45.918Z] Step 3/24 : ARG MAKE='make build' [2022-07-20T13:09:46.191Z] ---> Running in 656077a89784 [2022-07-20T13:09:46.465Z] Removing intermediate container 656077a89784 [2022-07-20T13:09:46.465Z] ---> fdb27183b114 [2022-07-20T13:09:46.465Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T13:09:46.465Z] ---> Running in a2d91c76a92b [2022-07-20T13:09:46.747Z] Removing intermediate container a2d91c76a92b [2022-07-20T13:09:46.747Z] ---> 8eed0182dc58 [2022-07-20T13:09:46.747Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T13:09:46.747Z] ---> Running in ea98abd56ff3 [2022-07-20T13:09:47.342Z] Removing intermediate container ea98abd56ff3 [2022-07-20T13:09:47.342Z] ---> 4da3979cf0bd [2022-07-20T13:09:47.342Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T13:09:47.342Z] ---> Running in 3122c76e0965 [2022-07-20T13:09:48.792Z] Removing intermediate container 3122c76e0965 [2022-07-20T13:09:48.792Z] ---> e484f8759421 [2022-07-20T13:09:48.792Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T13:09:48.792Z] ---> Running in d9c40d52d501 [2022-07-20T13:09:49.780Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T13:09:50.761Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T13:09:51.739Z] OK: 226 MiB in 55 packages [2022-07-20T13:09:52.341Z] Removing intermediate container d9c40d52d501 [2022-07-20T13:09:52.341Z] ---> bf286addb786 [2022-07-20T13:09:52.341Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-20T13:09:52.341Z] ---> Running in cb99ea0d58c7 [2022-07-20T13:09:52.947Z] Removing intermediate container cb99ea0d58c7 [2022-07-20T13:09:52.947Z] ---> 05455609a1d7 [2022-07-20T13:09:52.947Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-20T13:09:53.226Z] ---> 9921098d4f7b [2022-07-20T13:09:53.226Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T13:09:53.518Z] ---> Running in 56975bf653bf [2022-07-20T13:09:55.510Z] Removing intermediate container 56975bf653bf [2022-07-20T13:09:55.510Z] ---> 17cf4c997f47 [2022-07-20T13:09:55.510Z] Step 11/24 : COPY . . [2022-07-20T13:09:56.112Z] ---> 9248d9ff5c63 [2022-07-20T13:09:56.112Z] Step 12/24 : RUN ${MAKE} [2022-07-20T13:09:56.112Z] ---> Running in 1cca560bd021 [2022-07-20T13:09:57.097Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.14 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-07-20T13:12:04.015Z] Removing intermediate container 1cca560bd021 [2022-07-20T13:12:04.015Z] ---> e8899fa9502f [2022-07-20T13:12:04.015Z] Step 13/24 : FROM alpine:3.16 [2022-07-20T13:12:04.015Z] 3.16: Pulling from library/alpine [2022-07-20T13:12:04.015Z] f97344484467: Pulling fs layer [2022-07-20T13:12:04.015Z] f97344484467: Verifying Checksum [2022-07-20T13:12:04.015Z] f97344484467: Download complete [2022-07-20T13:12:04.015Z] f97344484467: Pull complete [2022-07-20T13:12:04.015Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-20T13:12:04.015Z] Status: Downloaded newer image for alpine:3.16 [2022-07-20T13:12:04.015Z] ---> 3d81c46cd875 [2022-07-20T13:12:04.015Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-20T13:12:04.015Z] ---> Running in ef5a4ceed765 [2022-07-20T13:12:04.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T13:12:04.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T13:12:04.015Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-20T13:12:04.015Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-20T13:12:04.015Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-20T13:12:04.015Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-20T13:12:04.015Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-20T13:12:04.015Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-20T13:12:04.015Z] Executing busybox-1.35.0-r15.trigger [2022-07-20T13:12:04.015Z] OK: 8 MiB in 20 packages [2022-07-20T13:12:04.015Z] Removing intermediate container ef5a4ceed765 [2022-07-20T13:12:04.015Z] ---> 711eca0861d2 [2022-07-20T13:12:04.015Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-20T13:12:04.015Z] ---> 4a2e9922fdde [2022-07-20T13:12:04.015Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-20T13:12:04.612Z] ---> b1571dc4a58d [2022-07-20T13:12:04.612Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-20T13:12:05.209Z] ---> a674c36c1af1 [2022-07-20T13:12:05.209Z] Step 18/24 : EXPOSE 59993 [2022-07-20T13:12:05.209Z] ---> Running in db73a21e444a [2022-07-20T13:12:05.486Z] Removing intermediate container db73a21e444a [2022-07-20T13:12:05.486Z] ---> 8a53dfb2295e [2022-07-20T13:12:05.486Z] Step 19/24 : EXPOSE 161 [2022-07-20T13:12:05.759Z] ---> Running in b2add9e584c9 [2022-07-20T13:12:06.033Z] Removing intermediate container b2add9e584c9 [2022-07-20T13:12:06.033Z] ---> 51db3e501229 [2022-07-20T13:12:06.033Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-20T13:12:06.033Z] ---> Running in f1dd3ac7f808 [2022-07-20T13:12:06.310Z] Removing intermediate container f1dd3ac7f808 [2022-07-20T13:12:06.310Z] ---> 10e55e31cb57 [2022-07-20T13:12:06.310Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-20T13:12:06.310Z] ---> Running in 592993fcc796 [2022-07-20T13:12:06.588Z] Removing intermediate container 592993fcc796 [2022-07-20T13:12:06.588Z] ---> 79f5fac26719 [2022-07-20T13:12:06.588Z] Step 22/24 : LABEL arch=arm64 [2022-07-20T13:12:06.862Z] ---> Running in 020941a2775e [2022-07-20T13:12:07.137Z] Removing intermediate container 020941a2775e [2022-07-20T13:12:07.137Z] ---> fb63937f2c37 [2022-07-20T13:12:07.137Z] Step 23/24 : LABEL git_sha=c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c [2022-07-20T13:12:07.137Z] ---> Running in 40169c52cc40 [2022-07-20T13:12:07.410Z] Removing intermediate container 40169c52cc40 [2022-07-20T13:12:07.410Z] ---> 0f9ce58a8730 [2022-07-20T13:12:07.410Z] Step 24/24 : LABEL version=0.0.0 [2022-07-20T13:12:07.410Z] ---> Running in 413d9d2b377a [2022-07-20T13:12:08.011Z] Removing intermediate container 413d9d2b377a [2022-07-20T13:12:08.011Z] ---> 97e22575b125 [2022-07-20T13:12:08.011Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-20T13:12:08.011Z] Successfully built 97e22575b125 [2022-07-20T13:12:08.011Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:12:08.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T13:12:08.465Z] [2022-07-20T13:12:08.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:12:08.816Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T13:12:09.092Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-20T13:12:09.092Z] 8998bd30e6a1: Pulling fs layer [2022-07-20T13:12:09.092Z] 04944245beec: Pulling fs layer [2022-07-20T13:12:09.092Z] 699f458cf7ca: Pulling fs layer [2022-07-20T13:12:09.092Z] 765212b225bb: Pulling fs layer [2022-07-20T13:12:09.092Z] f23df028b6ca: Pulling fs layer [2022-07-20T13:12:09.092Z] d65c8cfc05b1: Pulling fs layer [2022-07-20T13:12:09.092Z] 2437ff75d9bd: Pulling fs layer [2022-07-20T13:12:09.092Z] 765212b225bb: Waiting [2022-07-20T13:12:09.092Z] f23df028b6ca: Waiting [2022-07-20T13:12:09.092Z] d65c8cfc05b1: Waiting [2022-07-20T13:12:09.092Z] 2437ff75d9bd: Waiting [2022-07-20T13:12:09.092Z] 04944245beec: Verifying Checksum [2022-07-20T13:12:09.092Z] 04944245beec: Download complete [2022-07-20T13:12:09.092Z] 765212b225bb: Verifying Checksum [2022-07-20T13:12:09.092Z] 765212b225bb: Download complete [2022-07-20T13:12:09.370Z] f23df028b6ca: Verifying Checksum [2022-07-20T13:12:09.370Z] f23df028b6ca: Download complete [2022-07-20T13:12:09.370Z] d65c8cfc05b1: Verifying Checksum [2022-07-20T13:12:09.370Z] d65c8cfc05b1: Download complete [2022-07-20T13:12:09.370Z] 699f458cf7ca: Verifying Checksum [2022-07-20T13:12:09.370Z] 699f458cf7ca: Download complete [2022-07-20T13:12:09.645Z] 8998bd30e6a1: Verifying Checksum [2022-07-20T13:12:09.645Z] 8998bd30e6a1: Download complete [2022-07-20T13:12:12.276Z] 2437ff75d9bd: Verifying Checksum [2022-07-20T13:12:12.276Z] 2437ff75d9bd: Download complete [2022-07-20T13:12:14.255Z] 8998bd30e6a1: Pull complete [2022-07-20T13:12:14.528Z] 04944245beec: Pull complete [2022-07-20T13:12:15.978Z] 699f458cf7ca: Pull complete [2022-07-20T13:12:16.252Z] 765212b225bb: Pull complete [2022-07-20T13:12:16.850Z] f23df028b6ca: Pull complete [2022-07-20T13:12:17.126Z] d65c8cfc05b1: Pull complete [2022-07-20T13:12:32.237Z] 2437ff75d9bd: Pull complete [2022-07-20T13:12:32.237Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-20T13:12:32.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T13:12:32.237Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T13:12:32.495Z] prd-ubuntu20.04-docker-arm64-4c-16g-20589 does not seem to be running inside a container [2022-07-20T13:12:32.595Z] $ 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/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-20T13:12:35.127Z] $ docker top f53c4cb9a267e0a48346918bbd049515f625df4edeca9739c04888fc745ca7a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:12:36.067Z] ---> job-cost.sh [2022-07-20T13:12:36.067Z] lf-activate-venv: SKIPPING [2022-07-20T13:12:36.067Z] INFO: No Stack... [2022-07-20T13:12:36.341Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-20T13:12:37.325Z] INFO: Archiving Costs [Pipeline] sh [2022-07-20T13:12:38.002Z] + cat /w/workspace/device-snmp-go/4/archives/cost.csv+ [2022-07-20T13:12:38.002Z] cut -d, -f6 [Pipeline] lock [2022-07-20T13:12:38.069Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-185-4-stack-cost] [2022-07-20T13:12:38.075Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-185-4-stack-cost] did not exist. Created. [2022-07-20T13:12:38.076Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-185-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-20T13:12:38.769Z] /w/workspace/device-snmp-go/4@tmp/durable-bbfb78cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-20T13:12:39.457Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-20T13:12:39.478Z] Warning: overwriting stash ‘stack-cost’ [2022-07-20T13:12:39.520Z] Stashed 1 file(s) [Pipeline] } [2022-07-20T13:12:39.527Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-185-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-20T13:12:39.546Z] $ docker stop --time=1 f53c4cb9a267e0a48346918bbd049515f625df4edeca9739c04888fc745ca7a8 [2022-07-20T13:12:41.077Z] $ docker rm -f f53c4cb9a267e0a48346918bbd049515f625df4edeca9739c04888fc745ca7a8 [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 [2022-07-20T13:12:41.551Z] provisioning config files... [2022-07-20T13:12:41.561Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config739532987592296144tmp [Pipeline] { [Pipeline] sh [2022-07-20T13:12:41.858Z] + set +x [2022-07-20T13:12:41.858Z] + curl -s https://codecov.io/bash [2022-07-20T13:12:41.858Z] + bash -s -- [2022-07-20T13:12:41.858Z] [2022-07-20T13:12:41.858Z] _____ _ [2022-07-20T13:12:41.858Z] / ____| | | [2022-07-20T13:12:41.858Z] | | ___ __| | ___ ___ _____ __ [2022-07-20T13:12:41.858Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-20T13:12:41.858Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-20T13:12:41.858Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-20T13:12:41.858Z] Bash-1.0.6 [2022-07-20T13:12:41.858Z] [2022-07-20T13:12:41.858Z] [2022-07-20T13:12:41.858Z] ==> git version 2.25.1 found [2022-07-20T13:12:41.858Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-20T13:12:41.858Z] Release-Date: 2020-01-08 [2022-07-20T13:12:41.858Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-20T13:12:41.858Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-20T13:12:41.858Z] ==> Jenkins CI detected. [2022-07-20T13:12:41.858Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-185 [2022-07-20T13:12:41.858Z] project root: . [2022-07-20T13:12:41.858Z] --> token set from env [2022-07-20T13:12:41.858Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-20T13:12:41.858Z] ==> Running gcov in . (disable via -X gcov) [2022-07-20T13:12:41.858Z] ==> Python coveragepy not found [2022-07-20T13:12:41.858Z] ==> Searching for coverage reports in: [2022-07-20T13:12:41.858Z] + . [2022-07-20T13:12:41.858Z] -> Found 1 reports [2022-07-20T13:12:41.858Z] ==> Detecting git/mercurial file structure [2022-07-20T13:12:41.858Z] ==> Reading reports [2022-07-20T13:12:41.858Z] + ./coverage.out bytes=7631 [2022-07-20T13:12:41.858Z] ==> Appending adjustments [2022-07-20T13:12:41.858Z] https://docs.codecov.io/docs/fixing-reports [2022-07-20T13:12:42.118Z] + Found adjustments [2022-07-20T13:12:42.118Z] ==> Gzipping contents [2022-07-20T13:12:42.118Z] 4.0K /tmp/codecov.dZuFms.gz [2022-07-20T13:12:42.118Z] ==> Uploading reports [2022-07-20T13:12:42.118Z] url: https://codecov.io [2022-07-20T13:12:42.118Z] query: branch=PR-185&commit=c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-185%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-07-20T13:12:42.118Z] -> Pinging Codecov [2022-07-20T13:12:42.118Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-185&commit=c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-185%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-07-20T13:12:42.380Z] -> Uploading to [2022-07-20T13:12:42.380Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-20/6C56EA5C29638FB4528AC87E60AF5AE0/c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c/2e5224ea-814c-4385-b123-8bc16b5b3880.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220720T131242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd5155e03ae5036b44557053079d482740b21baeafd7dc769b74e6c1fc5636e9 [2022-07-20T13:12:42.380Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-20T13:12:42.380Z] Dload Upload Total Spent Left Speed [2022-07-20T13:12:42.640Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1529 0 0 100 1529 0 7532 --:--:-- --:--:-- --:--:-- 7495 100 1529 0 0 100 1529 0 6116 --:--:-- --:--:-- --:--:-- 6091 [2022-07-20T13:12:42.640Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c [Pipeline] } [2022-07-20T13:12:42.647Z] 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 [2022-07-20T13:12:43.298Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-185/archives ] [2022-07-20T13:12:43.298Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-185/archives [2022-07-20T13:12:43.298Z] total 16 [2022-07-20T13:12:43.298Z] drwxr-xr-x 3 root root 4096 Jul 20 13:05 . [2022-07-20T13:12:43.298Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 13:05 .. [2022-07-20T13:12:43.298Z] drwxr-xr-x 2 root root 4096 Jul 20 13:05 cost [2022-07-20T13:12:43.298Z] -rw-r--r-- 1 root root 85 Jul 20 13:05 cost.csv [2022-07-20T13:12:43.298Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-185/archives [2022-07-20T13:12:43.298Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-185/archives [2022-07-20T13:12:43.298Z] total 16 [2022-07-20T13:12:43.298Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 13:05 . [2022-07-20T13:12:43.298Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 13:05 .. [2022-07-20T13:12:43.298Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 13:05 cost [2022-07-20T13:12:43.298Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 20 13:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:12:43.585Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:12:44.449Z] ---> package-listing.sh [2022-07-20T13:12:44.450Z] ++ facter osfamily [2022-07-20T13:12:44.450Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-20T13:12:44.710Z] + OS_FAMILY=debian [2022-07-20T13:12:44.710Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-185 [2022-07-20T13:12:44.710Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-20T13:12:44.710Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-20T13:12:44.710Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-20T13:12:44.710Z] + PACKAGES=/tmp/packages_start.txt [2022-07-20T13:12:44.710Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-185 ']' [2022-07-20T13:12:44.710Z] + PACKAGES=/tmp/packages_end.txt [2022-07-20T13:12:44.710Z] + case "${OS_FAMILY}" in [2022-07-20T13:12:44.711Z] + dpkg -l [2022-07-20T13:12:44.711Z] + grep '^ii' [2022-07-20T13:12:44.711Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-20T13:12:44.711Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-20T13:12:44.711Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-20T13:12:44.711Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-185 ']' [2022-07-20T13:12:44.711Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/ [2022-07-20T13:12:44.711Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/ [Pipeline] echo [2022-07-20T13:12:44.721Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-20T13:12:44.996Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:12:45.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T13:12:45.570Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T13:12:45.649Z] prd-ubuntu20.04-docker-8c-8g-20587 does not seem to be running inside a container [2022-07-20T13:12:45.686Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-185/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-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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 [2022-07-20T13:12:45.932Z] $ docker top a989f00d1df2463fc598b09780db455f506155c8b946d85837c14126a055d638 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T13:12:46.436Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-20T13:12:46.724Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-20T13:12:47.017Z] + ls /var/log/sa-host [2022-07-20T13:12:47.017Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T13:12:47.098Z] provisioning config files... [2022-07-20T13:12:47.107Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config1064207716034921504tmp [Pipeline] { [Pipeline] echo [2022-07-20T13:12:47.124Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:12:47.410Z] ---> create-netrc.sh [Pipeline] } [2022-07-20T13:12:47.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:12:47.751Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-20T13:12:47.761Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:12:48.046Z] ---> sudo-logs.sh [2022-07-20T13:12:48.046Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-20T13:12:48.079Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:12:48.369Z] ---> job-cost.sh [2022-07-20T13:12:48.369Z] lf-activate-venv: SKIPPING [2022-07-20T13:12:48.369Z] DEBUG: total: 0.2199999988079071 [2022-07-20T13:12:48.369Z] INFO: Retrieving Stack Cost... [2022-07-20T13:12:48.942Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-20T13:12:49.513Z] INFO: Archiving Costs [Pipeline] echo [2022-07-20T13:12:49.524Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:12:49.807Z] ---> logs-deploy.sh [2022-07-20T13:12:49.808Z] lf-activate-venv: SKIPPING [2022-07-20T13:12:49.808Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-185/4 [2022-07-20T13:12:49.808Z] INFO: archiving workspace using pattern(s): [2022-07-20T13:12:50.751Z] Archives upload complete. [2022-07-20T13:12:51.016Z] INFO: archiving logs to Nexus