Pull request #184 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c45d64c38cdfbf96c825fa1e95389ef6003e4fb3+d0a0e99d902e45b7e17db09c4331e4d14954addb (3fdb621e3c97a61819f1f7f1a61da80fa3d2216f) 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-ssh16125734264511976508.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-ssh1401798266680319437.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1052734430803395105.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11826984067116936844.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh8564402243528309701.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7100813859760755783.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20369 in /w/workspace/gexfoundry_device-snmp-go_PR-184 [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-184 # 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 d0a0e99d902e45b7e17db09c4331e4d14954addb into PR head commit c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 Merge succeeded, producing c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 Checking out Revision c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 (PR-184) > 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/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 # 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 d0a0e99d902e45b7e17db09c4331e4d14954addb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-18T05:03:57.679Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-18T05:03:57.866Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-18T05:03:57.964Z] ========================================================= [2022-07-18T05:03:57.964Z] EdgeX Global Pipelines Version Info [2022-07-18T05:03:57.964Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:03:58.785Z] ------------------- [2022-07-18T05:03:58.785Z] stable info: [2022-07-18T05:03:58.785Z] ------------------- [2022-07-18T05:03:58.785Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T05:03:58.785Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T05:03:58.785Z] Message: update stable to v1.0.238 [2022-07-18T05:03:59.356Z] ------------------- [2022-07-18T05:03:59.356Z] experimental info: [2022-07-18T05:03:59.356Z] ------------------- [2022-07-18T05:03:59.356Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T05:03:59.356Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T05:03:59.356Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-18T05:03:59.707Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-07-18T05:03:59.747Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-07-18T05:03:59.783Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-18T05:03:59.821Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-18T05:03:59.856Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-18T05:03:59.894Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-18T05:03:59.933Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-18T05:03:59.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-18T05:04:00.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-18T05:04:00.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-18T05:04:00.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-18T05:04:00.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-07-18T05:04:00.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-18T05:04:00.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-18T05:04:00.226Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T05:04:00.263Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T05:04:00.302Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T05:04:00.340Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T05:04:00.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-18T05:04:00.421Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-18T05:04:00.458Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-18T05:04:00.494Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-18T05:04:00.535Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-18T05:04:00.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-18T05:04:00.610Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-18T05:04:00.650Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-18T05:04:00.689Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-18T05:04:00.726Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo [2022-07-18T05:04:00.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo [2022-07-18T05:04:00.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo [2022-07-18T05:04:00.836Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [Pipeline] echo [2022-07-18T05:04:00.875Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c45d64c [Pipeline] echo [2022-07-18T05:04:00.914Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T05:04:01.018Z] provisioning config files... [2022-07-18T05:04:01.033Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/config2106876098437216846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:04:01.379Z] ---> docker-login.sh [2022-07-18T05:04:01.379Z] nexus3.edgexfoundry.org:10001 [2022-07-18T05:04:01.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:04:01.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:04:01.902Z] Configure a credential helper to remove this warning. See [2022-07-18T05:04:01.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:04:01.902Z] [2022-07-18T05:04:01.902Z] Login Succeeded [2022-07-18T05:04:01.902Z] nexus3.edgexfoundry.org:10002 [2022-07-18T05:04:01.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:04:01.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:04:01.902Z] Configure a credential helper to remove this warning. See [2022-07-18T05:04:01.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:04:01.902Z] [2022-07-18T05:04:01.902Z] Login Succeeded [2022-07-18T05:04:01.902Z] nexus3.edgexfoundry.org:10003 [2022-07-18T05:04:02.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:04:02.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:04:02.164Z] Configure a credential helper to remove this warning. See [2022-07-18T05:04:02.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:04:02.164Z] [2022-07-18T05:04:02.164Z] Login Succeeded [2022-07-18T05:04:02.164Z] nexus3.edgexfoundry.org:10004 [2022-07-18T05:04:02.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:04:02.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:04:02.164Z] Configure a credential helper to remove this warning. See [2022-07-18T05:04:02.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:04:02.164Z] [2022-07-18T05:04:02.425Z] Login Succeeded [2022-07-18T05:04:02.425Z] docker.io [2022-07-18T05:04:02.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:04:02.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:04:02.689Z] Configure a credential helper to remove this warning. See [2022-07-18T05:04:02.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:04:02.689Z] [2022-07-18T05:04:02.689Z] Login Succeeded [2022-07-18T05:04:02.689Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T05:04:02.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-18T05:04:03.377Z] + git rev-list -1 --merges c45d64c38cdfbf96c825fa1e95389ef6003e4fb3~1..c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [Pipeline] echo [2022-07-18T05:04:03.430Z] -----------> git rev-list -1 --merges c45d64c38cdfbf96c825fa1e95389ef6003e4fb3~1..c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [false] [Pipeline] sh [2022-07-18T05:04:03.760Z] + git log --format=format:%s -1 c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [Pipeline] echo [2022-07-18T05:04:03.796Z] ========================================================= [2022-07-18T05:04:03.797Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-18T05:04:03.797Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T05:04:04.275Z] + git log --format=format:%s -1 c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [Pipeline] echo [2022-07-18T05:04:04.310Z] [semverPrep] GIT_COMMIT: c45d64c38cdfbf96c825fa1e95389ef6003e4fb3, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-07-18T05:04:04.342Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-18T05:04:04.739Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T05:04:04.739Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-18T05:04:04.739Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-18T05:04:04.739Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-18T05:04:04.739Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-18T05:04:04.739Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-18T05:04:04.739Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T05:04:05.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T05:04:05.235Z] [2022-07-18T05:04:05.235Z] 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-18T05:04:05.623Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T05:04:05.623Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-18T05:04:05.623Z] b85a868b505f: Pulling fs layer [2022-07-18T05:04:05.623Z] e2be974225ed: Pulling fs layer [2022-07-18T05:04:05.623Z] 339a4e72a1f5: Pulling fs layer [2022-07-18T05:04:05.623Z] 988bab9f4d93: Pulling fs layer [2022-07-18T05:04:05.623Z] 1469e6f7b9e6: Pulling fs layer [2022-07-18T05:04:05.623Z] eaf3925da568: Pulling fs layer [2022-07-18T05:04:05.623Z] bab4dde63d76: Pulling fs layer [2022-07-18T05:04:05.623Z] bde34c3a00c8: Pulling fs layer [2022-07-18T05:04:05.623Z] b352a97aabf1: Pulling fs layer [2022-07-18T05:04:05.623Z] 4872d77fe225: Pulling fs layer [2022-07-18T05:04:05.623Z] 5851b861e8e6: Pulling fs layer [2022-07-18T05:04:05.623Z] bab4dde63d76: Waiting [2022-07-18T05:04:05.623Z] bde34c3a00c8: Waiting [2022-07-18T05:04:05.623Z] b352a97aabf1: Waiting [2022-07-18T05:04:05.623Z] 988bab9f4d93: Waiting [2022-07-18T05:04:05.623Z] 1469e6f7b9e6: Waiting [2022-07-18T05:04:05.623Z] eaf3925da568: Waiting [2022-07-18T05:04:05.623Z] 4872d77fe225: Waiting [2022-07-18T05:04:05.623Z] e2be974225ed: Download complete [2022-07-18T05:04:05.623Z] 988bab9f4d93: Download complete [2022-07-18T05:04:05.885Z] 1469e6f7b9e6: Verifying Checksum [2022-07-18T05:04:05.885Z] 1469e6f7b9e6: Download complete [2022-07-18T05:04:05.885Z] eaf3925da568: Verifying Checksum [2022-07-18T05:04:05.885Z] eaf3925da568: Download complete [2022-07-18T05:04:05.885Z] 339a4e72a1f5: Verifying Checksum [2022-07-18T05:04:05.885Z] 339a4e72a1f5: Download complete [2022-07-18T05:04:05.885Z] bde34c3a00c8: Verifying Checksum [2022-07-18T05:04:05.885Z] bde34c3a00c8: Download complete [2022-07-18T05:04:05.885Z] b352a97aabf1: Verifying Checksum [2022-07-18T05:04:05.885Z] b352a97aabf1: Download complete [2022-07-18T05:04:05.885Z] 4872d77fe225: Download complete [2022-07-18T05:04:05.885Z] 5851b861e8e6: Verifying Checksum [2022-07-18T05:04:05.885Z] 5851b861e8e6: Download complete [2022-07-18T05:04:05.885Z] b85a868b505f: Verifying Checksum [2022-07-18T05:04:05.885Z] b85a868b505f: Download complete [2022-07-18T05:04:06.145Z] bab4dde63d76: Verifying Checksum [2022-07-18T05:04:06.145Z] bab4dde63d76: Download complete [2022-07-18T05:04:07.538Z] b85a868b505f: Pull complete [2022-07-18T05:04:07.538Z] e2be974225ed: Pull complete [2022-07-18T05:04:08.108Z] 339a4e72a1f5: Pull complete [2022-07-18T05:04:08.108Z] 988bab9f4d93: Pull complete [2022-07-18T05:04:08.680Z] 1469e6f7b9e6: Pull complete [2022-07-18T05:04:08.681Z] eaf3925da568: Pull complete [2022-07-18T05:04:10.603Z] bab4dde63d76: Pull complete [2022-07-18T05:04:10.603Z] bde34c3a00c8: Pull complete [2022-07-18T05:04:10.865Z] b352a97aabf1: Pull complete [2022-07-18T05:04:10.865Z] 4872d77fe225: Pull complete [2022-07-18T05:04:11.125Z] 5851b861e8e6: Pull complete [2022-07-18T05:04:11.125Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-18T05:04:11.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T05:04:11.125Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T05:04:11.356Z] prd-ubuntu20.04-docker-8c-8g-20369 does not seem to be running inside a container [2022-07-18T05:04:11.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-184 -v /w/workspace/gexfoundry_device-snmp-go_PR-184:/w/workspace/gexfoundry_device-snmp-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-184@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-18T05:04:12.941Z] $ docker top 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T05:04:13.139Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T05:04:13.139Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T05:04:13.276Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T05:04:13.282Z] $ docker exec 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 ssh-agent [2022-07-18T05:04:13.418Z] SSH_AUTH_SOCK=/tmp/ssh-jHCqWn6AhQp9/agent.33 [2022-07-18T05:04:13.418Z] SSH_AGENT_PID=39 [2022-07-18T05:04:13.425Z] Running ssh-add (command line suppressed) [2022-07-18T05:04:13.552Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/private_key_6470658967209127403.key (/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/private_key_6470658967209127403.key) [2022-07-18T05:04:13.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T05:04:13.903Z] + git tag --points-at HEAD [Pipeline] } [2022-07-18T05:04:13.937Z] $ docker exec --env ******** --env ******** 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 ssh-agent -k [2022-07-18T05:04:14.053Z] unset SSH_AUTH_SOCK; [2022-07-18T05:04:14.053Z] unset SSH_AGENT_PID; [2022-07-18T05:04:14.053Z] echo Agent pid 39 killed; [2022-07-18T05:04:14.063Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-18T05:04:14.164Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T05:04:14.164Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T05:04:14.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T05:04:14.305Z] $ docker exec 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 ssh-agent [2022-07-18T05:04:14.425Z] SSH_AUTH_SOCK=/tmp/ssh-aisoMQn2BItW/agent.72 [2022-07-18T05:04:14.425Z] SSH_AGENT_PID=79 [2022-07-18T05:04:14.431Z] Running ssh-add (command line suppressed) [2022-07-18T05:04:14.558Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/private_key_3277969953279479712.key (/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/private_key_3277969953279479712.key) [2022-07-18T05:04:14.571Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T05:04:14.919Z] + git semver init [2022-07-18T05:04:15.181Z] 2022-07-18 05:04:15,140 [run_init] DEBUG init version:0.0.0 force:False [2022-07-18T05:04:15.181Z] 2022-07-18 05:04:15,141 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-184/.semver [2022-07-18T05:04:15.181Z] 2022-07-18 05:04:15,142 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-184/.semver [2022-07-18T05:04:15.181Z] 2022-07-18 05:04:15,142 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-184/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-184, universal_newlines=False, shell=None, istream=None) [2022-07-18T05:04:16.124Z] 2022-07-18 05:04:15,930 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-184/.git/info/exclude [2022-07-18T05:04:16.124Z] 2022-07-18 05:04:15,931 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-184/.semver/PR-184 with force:False [2022-07-18T05:04:16.124Z] 2022-07-18 05:04:15,931 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-184/.semver/PR-184 [2022-07-18T05:04:16.124Z] 2022-07-18 05:04:15,934 [execute] INFO git cat-file --batch-check [2022-07-18T05:04:16.124Z] 2022-07-18 05:04:15,935 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T05:04:16.124Z] 2022-07-18 05:04:15,940 [execute] INFO git cat-file --batch [2022-07-18T05:04:16.124Z] 2022-07-18 05:04:15,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T05:04:16.124Z] 2022-07-18 05:04:15,945 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-184/.semver/PR-184 [2022-07-18T05:04:16.124Z] 0.0.0 [Pipeline] } [2022-07-18T05:04:16.154Z] $ docker exec --env ******** --env ******** 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 ssh-agent -k [2022-07-18T05:04:16.282Z] unset SSH_AUTH_SOCK; [2022-07-18T05:04:16.283Z] unset SSH_AGENT_PID; [2022-07-18T05:04:16.283Z] echo Agent pid 79 killed; [2022-07-18T05:04:16.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T05:04:16.737Z] + git semver [Pipeline] } [2022-07-18T05:04:17.039Z] $ docker stop --time=1 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 [2022-07-18T05:04:18.366Z] $ docker rm -f 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T05:04:18.785Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-18T05:04:19.101Z] Stashed 1 file(s) [Pipeline] echo [2022-07-18T05:04:19.119Z] [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-18T05:04:19.702Z] provisioning config files... [2022-07-18T05:04:19.714Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/config1838997563855630812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:04:20.060Z] ---> docker-login.sh [2022-07-18T05:04:20.060Z] nexus3.edgexfoundry.org:10001 [2022-07-18T05:04:20.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:04:20.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:04:20.060Z] Configure a credential helper to remove this warning. See [2022-07-18T05:04:20.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:04:20.060Z] [2022-07-18T05:04:20.060Z] Login Succeeded [2022-07-18T05:04:20.060Z] nexus3.edgexfoundry.org:10002 [2022-07-18T05:04:20.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:04:20.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:04:20.320Z] Configure a credential helper to remove this warning. See [2022-07-18T05:04:20.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:04:20.320Z] [2022-07-18T05:04:20.321Z] Login Succeeded [2022-07-18T05:04:20.321Z] nexus3.edgexfoundry.org:10003 [2022-07-18T05:04:20.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:04:20.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:04:20.321Z] Configure a credential helper to remove this warning. See [2022-07-18T05:04:20.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:04:20.321Z] [2022-07-18T05:04:20.321Z] Login Succeeded [2022-07-18T05:04:20.321Z] nexus3.edgexfoundry.org:10004 [2022-07-18T05:04:20.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:04:20.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:04:20.582Z] Configure a credential helper to remove this warning. See [2022-07-18T05:04:20.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:04:20.582Z] [2022-07-18T05:04:20.582Z] Login Succeeded [2022-07-18T05:04:20.582Z] docker.io [2022-07-18T05:04:20.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:04:20.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:04:20.843Z] Configure a credential helper to remove this warning. See [2022-07-18T05:04:20.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:04:20.843Z] [2022-07-18T05:04:20.843Z] Login Succeeded [2022-07-18T05:04:20.843Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T05:04:20.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T05:04:21.043Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T05:04:21.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T05:04:21.110Z] ========================================================= [2022-07-18T05:04:21.110Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-18T05:04:21.110Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T05:04:21.584Z] + 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-18T05:04:21.584Z] Sending build context to Docker daemon 5.425MB [2022-07-18T05:04:21.584Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T05:04:21.584Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-18T05:04:21.584Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-18T05:04:21.584Z] 2408cc74d12b: Pulling fs layer [2022-07-18T05:04:21.584Z] ea60b727a1ce: Pulling fs layer [2022-07-18T05:04:21.584Z] 30c4a7721957: Pulling fs layer [2022-07-18T05:04:21.584Z] 370296b7ddb6: Pulling fs layer [2022-07-18T05:04:21.584Z] 7c6cee850709: Pulling fs layer [2022-07-18T05:04:21.584Z] 39a5fcdaea64: Pulling fs layer [2022-07-18T05:04:21.584Z] d94ebbe4e438: Pulling fs layer [2022-07-18T05:04:21.584Z] bcfd1f05c69d: Pulling fs layer [2022-07-18T05:04:21.585Z] 59ccb84bbe0f: Pulling fs layer [2022-07-18T05:04:21.585Z] 370296b7ddb6: Waiting [2022-07-18T05:04:21.585Z] d94ebbe4e438: Waiting [2022-07-18T05:04:21.585Z] 39a5fcdaea64: Waiting [2022-07-18T05:04:21.585Z] 59ccb84bbe0f: Waiting [2022-07-18T05:04:21.585Z] bcfd1f05c69d: Waiting [2022-07-18T05:04:21.585Z] 30c4a7721957: Verifying Checksum [2022-07-18T05:04:21.585Z] 30c4a7721957: Download complete [2022-07-18T05:04:21.850Z] ea60b727a1ce: Download complete [2022-07-18T05:04:21.850Z] 39a5fcdaea64: Verifying Checksum [2022-07-18T05:04:21.850Z] 39a5fcdaea64: Download complete [2022-07-18T05:04:21.850Z] 2408cc74d12b: Verifying Checksum [2022-07-18T05:04:21.850Z] 2408cc74d12b: Download complete [2022-07-18T05:04:21.850Z] d94ebbe4e438: Verifying Checksum [2022-07-18T05:04:21.850Z] d94ebbe4e438: Download complete [2022-07-18T05:04:21.850Z] 2408cc74d12b: Pull complete [2022-07-18T05:04:22.114Z] ea60b727a1ce: Pull complete [2022-07-18T05:04:22.114Z] 30c4a7721957: Pull complete [2022-07-18T05:04:22.374Z] 59ccb84bbe0f: Verifying Checksum [2022-07-18T05:04:22.374Z] 59ccb84bbe0f: Download complete [2022-07-18T05:04:22.374Z] bcfd1f05c69d: Verifying Checksum [2022-07-18T05:04:22.375Z] bcfd1f05c69d: Download complete [2022-07-18T05:04:22.634Z] 370296b7ddb6: Verifying Checksum [2022-07-18T05:04:22.634Z] 370296b7ddb6: Download complete [2022-07-18T05:04:27.914Z] 370296b7ddb6: Pull complete [2022-07-18T05:04:27.914Z] 7c6cee850709: Pull complete [2022-07-18T05:04:27.914Z] 39a5fcdaea64: Pull complete [2022-07-18T05:04:27.914Z] d94ebbe4e438: Pull complete [2022-07-18T05:04:29.830Z] bcfd1f05c69d: Pull complete [2022-07-18T05:04:30.405Z] 59ccb84bbe0f: Pull complete [2022-07-18T05:04:30.405Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-18T05:04:30.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-18T05:04:30.405Z] ---> a4fb48ad2a94 [2022-07-18T05:04:30.405Z] Step 3/12 : ARG MAKE='make build' [2022-07-18T05:04:32.323Z] ---> Running in 790ca9cb0f22 [2022-07-18T05:04:32.323Z] Removing intermediate container 790ca9cb0f22 [2022-07-18T05:04:32.323Z] ---> a5e665084d3a [2022-07-18T05:04:32.323Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T05:04:32.323Z] ---> Running in bf6eb4a35c04 [2022-07-18T05:04:32.323Z] Removing intermediate container bf6eb4a35c04 [2022-07-18T05:04:32.323Z] ---> 2fa11f1620ef [2022-07-18T05:04:32.323Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T05:04:32.323Z] ---> Running in 8b866686df41 [2022-07-18T05:04:32.586Z] Removing intermediate container 8b866686df41 [2022-07-18T05:04:32.587Z] ---> 00e922001fcf [2022-07-18T05:04:32.587Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T05:04:32.587Z] ---> Running in 3c53fc52ee10 [2022-07-18T05:04:33.162Z] Removing intermediate container 3c53fc52ee10 [2022-07-18T05:04:33.162Z] ---> 3b71075db17c [2022-07-18T05:04:33.162Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T05:04:33.162Z] ---> Running in 9c6b9610543d [2022-07-18T05:04:33.424Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T05:04:34.528Z] Still waiting to schedule task [2022-07-18T05:04:34.528Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-18T05:04:35.346Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T05:04:35.346Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-18T05:04:35.346Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-18T05:04:35.608Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-18T05:04:35.608Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-18T05:04:35.608Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T05:04:35.608Z] OK: 216 MiB in 55 packages [2022-07-18T05:04:36.180Z] Removing intermediate container 9c6b9610543d [2022-07-18T05:04:36.180Z] ---> 8b8add1f1830 [2022-07-18T05:04:36.180Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-18T05:04:36.180Z] ---> Running in 449fd1fa826e [2022-07-18T05:04:36.442Z] Removing intermediate container 449fd1fa826e [2022-07-18T05:04:36.442Z] ---> 5ef1bebbbf7f [2022-07-18T05:04:36.442Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-18T05:04:36.442Z] ---> ba11c3591a18 [2022-07-18T05:04:36.442Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T05:04:36.442Z] ---> Running in 0a6a0529303e [2022-07-18T05:04:58.408Z] Removing intermediate container 0a6a0529303e [2022-07-18T05:04:58.408Z] ---> 2b16316f8ffe [2022-07-18T05:04:58.408Z] Step 11/12 : COPY . . [2022-07-18T05:04:58.408Z] ---> 7b52e5c78f88 [2022-07-18T05:04:58.408Z] Step 12/12 : RUN ${MAKE} [2022-07-18T05:04:58.408Z] ---> Running in 5e4c8af6ed57 [2022-07-18T05:04:58.408Z] noop [2022-07-18T05:04:58.670Z] Removing intermediate container 5e4c8af6ed57 [2022-07-18T05:04:58.670Z] ---> 228a143c3c4a [2022-07-18T05:04:58.670Z] Successfully built 228a143c3c4a [2022-07-18T05:04:58.670Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T05:04:59.123Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T05:04:59.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T05:04:59.278Z] prd-ubuntu20.04-docker-8c-8g-20369 does not seem to be running inside a container [2022-07-18T05:04:59.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-184 -v /w/workspace/gexfoundry_device-snmp-go_PR-184:/w/workspace/gexfoundry_device-snmp-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-184@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 ******** ci-base-image-x86_64 cat [2022-07-18T05:04:59.765Z] $ docker top 7bd8d1727a4c875d8ad14c995e3c7dfb87b5cefd740d1c552874dd79dfa9892f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T05:05:00.183Z] + go version [2022-07-18T05:05:00.183Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-18T05:05:00.228Z] $ docker stop --time=1 7bd8d1727a4c875d8ad14c995e3c7dfb87b5cefd740d1c552874dd79dfa9892f [2022-07-18T05:05:01.525Z] $ docker rm -f 7bd8d1727a4c875d8ad14c995e3c7dfb87b5cefd740d1c552874dd79dfa9892f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T05:05:02.307Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T05:05:02.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T05:05:02.483Z] prd-ubuntu20.04-docker-8c-8g-20369 does not seem to be running inside a container [2022-07-18T05:05:02.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-snmp-go_PR-184 -v /w/workspace/gexfoundry_device-snmp-go_PR-184:/w/workspace/gexfoundry_device-snmp-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-184@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 ******** ci-base-image-x86_64 cat [2022-07-18T05:05:02.922Z] $ docker top 09d8211b61c1ef436eb70fae4dc500630be00b577ae13694585bf18ee9bd8482 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T05:05:03.319Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-184 [Pipeline] fileExists [Pipeline] sh [2022-07-18T05:05:03.680Z] + make test [2022-07-18T05:05:03.680Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-18T05:05:03.942Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-18T05:05:13.930Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-18T05:05:13.930Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.026s coverage: 0.0% of statements [2022-07-18T05:05:19.204Z] 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-18T05:05:19.204Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T05:05:22.495Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T05:05:22.495Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T05:05:22.495Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T05:05:22.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T05:05:22.573Z] $ docker stop --time=1 09d8211b61c1ef436eb70fae4dc500630be00b577ae13694585bf18ee9bd8482 [2022-07-18T05:05:24.415Z] $ docker rm -f 09d8211b61c1ef436eb70fae4dc500630be00b577ae13694585bf18ee9bd8482 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T05:05:24.928Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T05:05:24.987Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-18T05:05:25.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T05:05:25.973Z] + ls -al . [2022-07-18T05:05:25.973Z] total 168 [2022-07-18T05:05:25.973Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 05:05 . [2022-07-18T05:05:25.973Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 05:03 .. [2022-07-18T05:05:25.973Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 18 05:03 .dockerignore [2022-07-18T05:05:25.973Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 05:05 .git [2022-07-18T05:05:25.973Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:03 .github [2022-07-18T05:05:25.973Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 18 05:03 .gitignore [2022-07-18T05:05:25.973Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 05:03 .golangci.yml [2022-07-18T05:05:25.973Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 05:04 .semver [2022-07-18T05:05:25.973Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 18 05:03 Attribution.txt [2022-07-18T05:05:25.973Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 18 05:03 CHANGELOG.md [2022-07-18T05:05:25.973Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 18 05:03 Dockerfile [2022-07-18T05:05:25.973Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 05:03 GOVERNANCE.md [2022-07-18T05:05:25.974Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 18 05:03 Jenkinsfile [2022-07-18T05:05:25.974Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 05:03 LICENSE [2022-07-18T05:05:25.974Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 18 05:03 Makefile [2022-07-18T05:05:25.974Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 05:03 OWNERS.md [2022-07-18T05:05:25.974Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 18 05:03 README.md [2022-07-18T05:05:25.974Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 05:04 VERSION [2022-07-18T05:05:25.974Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 05:03 bin [2022-07-18T05:05:25.974Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:03 cmd [2022-07-18T05:05:25.974Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 18 05:05 coverage.out [2022-07-18T05:05:25.974Z] -rw-rw-r-- 1 jenkins jenkins 3302 Jul 18 05:03 go.mod [2022-07-18T05:05:25.974Z] -rw-rw-r-- 1 jenkins jenkins 35534 Jul 18 05:03 go.sum [2022-07-18T05:05:25.974Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:03 internal [2022-07-18T05:05:25.974Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:03 snap [2022-07-18T05:05:25.974Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 18 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T05:05:26.365Z] + 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=c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 --label arch=amd64 --label version=0.0.0 . [2022-07-18T05:05:26.366Z] Sending build context to Docker daemon 5.433MB [2022-07-18T05:05:26.366Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T05:05:26.366Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-18T05:05:26.366Z] ---> 228a143c3c4a [2022-07-18T05:05:26.366Z] Step 3/24 : ARG MAKE='make build' [2022-07-18T05:05:26.366Z] ---> Running in 4674176899af [2022-07-18T05:05:26.625Z] Removing intermediate container 4674176899af [2022-07-18T05:05:26.625Z] ---> c314411a044c [2022-07-18T05:05:26.625Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T05:05:26.625Z] ---> Running in 0fee5cc5c43f [2022-07-18T05:05:26.625Z] Removing intermediate container 0fee5cc5c43f [2022-07-18T05:05:26.625Z] ---> f49b064bac86 [2022-07-18T05:05:26.626Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T05:05:26.626Z] ---> Running in 781c785fe502 [2022-07-18T05:05:26.887Z] Removing intermediate container 781c785fe502 [2022-07-18T05:05:26.887Z] ---> 0bf7cca3377c [2022-07-18T05:05:26.887Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T05:05:26.887Z] ---> Running in 2055a94e3602 [2022-07-18T05:05:27.458Z] Removing intermediate container 2055a94e3602 [2022-07-18T05:05:27.458Z] ---> c636ef407cef [2022-07-18T05:05:27.458Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T05:05:27.458Z] ---> Running in 8d0c3aedf318 [2022-07-18T05:05:27.724Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T05:05:28.669Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T05:05:29.241Z] OK: 216 MiB in 55 packages [2022-07-18T05:05:29.502Z] Removing intermediate container 8d0c3aedf318 [2022-07-18T05:05:29.502Z] ---> 454545e5b7c9 [2022-07-18T05:05:29.502Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-18T05:05:29.502Z] ---> Running in ce94ae902246 [2022-07-18T05:05:29.502Z] Removing intermediate container ce94ae902246 [2022-07-18T05:05:29.502Z] ---> 4bed6489e194 [2022-07-18T05:05:29.502Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-18T05:05:29.763Z] ---> 67a48feb796b [2022-07-18T05:05:29.763Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T05:05:29.763Z] ---> Running in 127fdeb03acf [2022-07-18T05:05:30.335Z] Removing intermediate container 127fdeb03acf [2022-07-18T05:05:30.335Z] ---> b31f1a0b35a5 [2022-07-18T05:05:30.335Z] Step 11/24 : COPY . . [2022-07-18T05:05:30.596Z] ---> 4a7df5cf6123 [2022-07-18T05:05:30.596Z] Step 12/24 : RUN ${MAKE} [2022-07-18T05:05:30.596Z] ---> Running in 850e85a7b24a [2022-07-18T05:05:30.855Z] 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-18T05:05:52.814Z] Removing intermediate container 850e85a7b24a [2022-07-18T05:05:52.815Z] ---> 3ce2b32a5c5a [2022-07-18T05:05:52.815Z] Step 13/24 : FROM alpine:3.16 [2022-07-18T05:05:52.815Z] 3.16: Pulling from library/alpine [2022-07-18T05:05:52.815Z] 2408cc74d12b: Already exists [2022-07-18T05:05:52.815Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-18T05:05:52.815Z] Status: Downloaded newer image for alpine:3.16 [2022-07-18T05:05:52.815Z] ---> e66264b98777 [2022-07-18T05:05:52.815Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T05:05:52.815Z] ---> Running in 1caa65f66b10 [2022-07-18T05:05:52.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T05:05:52.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T05:05:52.815Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T05:05:52.815Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-18T05:05:52.815Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T05:05:52.815Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-18T05:05:52.815Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T05:05:52.815Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T05:05:52.815Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T05:05:52.815Z] OK: 8 MiB in 20 packages [2022-07-18T05:05:52.815Z] Removing intermediate container 1caa65f66b10 [2022-07-18T05:05:52.815Z] ---> 5b768a526328 [2022-07-18T05:05:52.815Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-18T05:05:53.074Z] ---> a3b87c7fb1c2 [2022-07-18T05:05:53.074Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-18T05:05:53.337Z] ---> ffee06f5c7fa [2022-07-18T05:05:53.337Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-18T05:05:53.337Z] ---> 558bf21a67be [2022-07-18T05:05:53.337Z] Step 18/24 : EXPOSE 59993 [2022-07-18T05:05:53.600Z] ---> Running in 31f147e242b2 [2022-07-18T05:05:53.600Z] Removing intermediate container 31f147e242b2 [2022-07-18T05:05:53.600Z] ---> bf08119f2cbe [2022-07-18T05:05:53.600Z] Step 19/24 : EXPOSE 161 [2022-07-18T05:05:53.600Z] ---> Running in 5493894ba73f [2022-07-18T05:05:53.600Z] Removing intermediate container 5493894ba73f [2022-07-18T05:05:53.600Z] ---> 5d941968603a [2022-07-18T05:05:53.600Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-18T05:05:53.863Z] ---> Running in daa11dbd4b90 [2022-07-18T05:05:53.863Z] Removing intermediate container daa11dbd4b90 [2022-07-18T05:05:53.863Z] ---> 34203f19f682 [2022-07-18T05:05:53.863Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-18T05:05:53.863Z] ---> Running in 3cd043facb05 [2022-07-18T05:05:53.863Z] Removing intermediate container 3cd043facb05 [2022-07-18T05:05:53.863Z] ---> 63cc79b0f3da [2022-07-18T05:05:53.863Z] Step 22/24 : LABEL arch=amd64 [2022-07-18T05:05:54.124Z] ---> Running in d1abbaa0b12d [2022-07-18T05:05:54.124Z] Removing intermediate container d1abbaa0b12d [2022-07-18T05:05:54.124Z] ---> 21d148d6cf80 [2022-07-18T05:05:54.124Z] Step 23/24 : LABEL git_sha=c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [2022-07-18T05:05:54.124Z] ---> Running in 2518d92c7183 [2022-07-18T05:05:54.386Z] Removing intermediate container 2518d92c7183 [2022-07-18T05:05:54.386Z] ---> 628bcca2aa42 [2022-07-18T05:05:54.386Z] Step 24/24 : LABEL version=0.0.0 [2022-07-18T05:05:54.386Z] ---> Running in daa9b0a7f17b [2022-07-18T05:05:54.386Z] Removing intermediate container daa9b0a7f17b [2022-07-18T05:05:54.386Z] ---> 91a903d0589f [2022-07-18T05:05:54.386Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T05:05:54.386Z] Successfully built 91a903d0589f [2022-07-18T05:05:54.386Z] 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-18T05:05:55.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T05:05:55.209Z] [2022-07-18T05:05:55.210Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T05:05:55.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T05:05:55.581Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-18T05:05:55.581Z] 5eb5b503b376: Pulling fs layer [2022-07-18T05:05:55.581Z] 5c69ac0246d0: Pulling fs layer [2022-07-18T05:05:55.581Z] ec43610c2a17: Pulling fs layer [2022-07-18T05:05:55.581Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-18T05:05:55.581Z] 33b1e0a273af: Pulling fs layer [2022-07-18T05:05:55.581Z] 5d3b04190fa2: Pulling fs layer [2022-07-18T05:05:55.581Z] 2f39f015ded8: Pulling fs layer [2022-07-18T05:05:55.581Z] 2f39f015ded8: Waiting [2022-07-18T05:05:55.581Z] 5d3b04190fa2: Waiting [2022-07-18T05:05:55.581Z] 3a2ae6a8a46f: Waiting [2022-07-18T05:05:55.581Z] 5c69ac0246d0: Verifying Checksum [2022-07-18T05:05:55.581Z] 5c69ac0246d0: Download complete [2022-07-18T05:05:55.581Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-18T05:05:55.581Z] 3a2ae6a8a46f: Download complete [2022-07-18T05:05:55.581Z] 33b1e0a273af: Verifying Checksum [2022-07-18T05:05:55.581Z] 33b1e0a273af: Download complete [2022-07-18T05:05:55.581Z] 5d3b04190fa2: Verifying Checksum [2022-07-18T05:05:55.581Z] 5d3b04190fa2: Download complete [2022-07-18T05:05:55.581Z] ec43610c2a17: Verifying Checksum [2022-07-18T05:05:55.581Z] ec43610c2a17: Download complete [2022-07-18T05:05:55.839Z] 5eb5b503b376: Verifying Checksum [2022-07-18T05:05:55.839Z] 5eb5b503b376: Download complete [2022-07-18T05:05:56.407Z] 2f39f015ded8: Download complete [2022-07-18T05:05:56.976Z] 5eb5b503b376: Pull complete [2022-07-18T05:05:57.237Z] 5c69ac0246d0: Pull complete [2022-07-18T05:05:57.809Z] ec43610c2a17: Pull complete [2022-07-18T05:05:57.809Z] 3a2ae6a8a46f: Pull complete [2022-07-18T05:05:58.069Z] 33b1e0a273af: Pull complete [2022-07-18T05:05:58.069Z] 5d3b04190fa2: Pull complete [2022-07-18T05:06:02.274Z] 2f39f015ded8: Pull complete [2022-07-18T05:06:02.274Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-18T05:06:02.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T05:06:02.274Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T05:06:02.501Z] prd-ubuntu20.04-docker-8c-8g-20369 does not seem to be running inside a container [2022-07-18T05:06:02.539Z] $ 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-184 -v /w/workspace/gexfoundry_device-snmp-go_PR-184:/w/workspace/gexfoundry_device-snmp-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-184@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-18T05:06:04.324Z] $ docker top 809757313f245678fe5b06c3db46df73089a5d218796b0e788839ece33b64a91 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:06:04.784Z] ---> job-cost.sh [2022-07-18T05:06:04.784Z] lf-activate-venv: SKIPPING [2022-07-18T05:06:04.784Z] INFO: No Stack... [2022-07-18T05:06:05.044Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T05:06:05.615Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T05:06:06.000Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-184/archives/cost.csv [2022-07-18T05:06:06.000Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T05:06:06.064Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] [2022-07-18T05:06:06.070Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] did not exist. Created. [2022-07-18T05:06:06.070Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] [Pipeline] { [Pipeline] unstash [2022-07-18T05:06:06.140Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20372 in /w/workspace/gexfoundry_device-snmp-go_PR-184 [Pipeline] { [Pipeline] sh [Pipeline] ws [2022-07-18T05:06:06.269Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-07-18T05:06:06.346Z] Selected Git installation does not exist. Using Default [2022-07-18T05:06:06.346Z] The recommended git tool is: NONE [2022-07-18T05:06:06.495Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-18T05:06:06.545Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T05:06:06.574Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T05:06:06.665Z] $ docker stop --time=1 809757313f245678fe5b06c3db46df73089a5d218796b0e788839ece33b64a91 [2022-07-18T05:06:07.833Z] $ docker rm -f 809757313f245678fe5b06c3db46df73089a5d218796b0e788839ece33b64a91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-18T05:06:12.014Z] using credential edgex-jenkins-ssh [2022-07-18T05:06:12.033Z] Cloning the remote Git repository [2022-07-18T05:06:12.112Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-07-18T05:06:12.199Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-07-18T05:06:12.268Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-18T05:06:12.268Z] > git --version # timeout=10 [2022-07-18T05:06:12.292Z] > git --version # 'git version 2.25.1' [2022-07-18T05:06:12.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T05:06:12.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T05:06:13.920Z] Merging remotes/origin/main commit d0a0e99d902e45b7e17db09c4331e4d14954addb into PR head commit c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [2022-07-18T05:06:14.132Z] Merge succeeded, producing c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [2022-07-18T05:06:14.132Z] Checking out Revision c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 (PR-184) [2022-07-18T05:06:13.388Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-18T05:06:13.424Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T05:06:13.452Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-18T05:06:13.489Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-18T05:06:13.490Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T05:06:13.504Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-18T05:06:13.941Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T05:06:13.956Z] > git checkout -f c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 # timeout=10 [2022-07-18T05:06:14.034Z] > git remote # timeout=10 [2022-07-18T05:06:14.049Z] > git config --get remote.origin.url # timeout=10 [2022-07-18T05:06:14.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T05:06:14.085Z] > git merge d0a0e99d902e45b7e17db09c4331e4d14954addb # timeout=10 [2022-07-18T05:06:14.112Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-18T05:06:14.142Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T05:06:14.154Z] > git checkout -f c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 # timeout=10 [2022-07-18T05:06:18.300Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-07-18T05:06:18.356Z] > git --version # timeout=10 [2022-07-18T05:06:18.367Z] > git --version # 'git version 2.25.1' [2022-07-18T05:06:18.383Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T05:06:19.420Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-18T05:06:19.420Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T05:06:19.420Z] Dload Upload Total Spent Left Speed [2022-07-18T05:06:19.420Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2022-07-18T05:06:20.428Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-18T05:06:20.783Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-18T05:06:20.783Z] + sudo tee /etc/docker/daemon.new [2022-07-18T05:06:20.783Z] { [2022-07-18T05:06:20.783Z] "registry-mirrors": [ [2022-07-18T05:06:20.783Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-18T05:06:20.783Z] ], [2022-07-18T05:06:20.783Z] "bip": "10.250.0.254/24", [2022-07-18T05:06:20.783Z] "hosts": [ [2022-07-18T05:06:20.783Z] "tcp://0.0.0.0:5555", [2022-07-18T05:06:20.783Z] "unix:///var/run/docker.sock" [2022-07-18T05:06:20.783Z] ], [2022-07-18T05:06:20.783Z] "mtu": 1458, [2022-07-18T05:06:20.783Z] "selinux-enabled": true, [2022-07-18T05:06:20.783Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-18T05:06:20.783Z] } [Pipeline] sh [2022-07-18T05:06:21.135Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-18T05:06:21.491Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T05:06:39.879Z] provisioning config files... [2022-07-18T05:06:39.903Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3461046394222061671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:06:40.300Z] ---> docker-login.sh [2022-07-18T05:06:40.300Z] nexus3.edgexfoundry.org:10001 [2022-07-18T05:06:40.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:06:41.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:06:41.181Z] Configure a credential helper to remove this warning. See [2022-07-18T05:06:41.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:06:41.181Z] [2022-07-18T05:06:41.181Z] Login Succeeded [2022-07-18T05:06:41.181Z] nexus3.edgexfoundry.org:10002 [2022-07-18T05:06:41.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:06:41.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:06:41.727Z] Configure a credential helper to remove this warning. See [2022-07-18T05:06:41.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:06:41.728Z] [2022-07-18T05:06:41.728Z] Login Succeeded [2022-07-18T05:06:41.728Z] nexus3.edgexfoundry.org:10003 [2022-07-18T05:06:42.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:06:42.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:06:42.276Z] Configure a credential helper to remove this warning. See [2022-07-18T05:06:42.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:06:42.276Z] [2022-07-18T05:06:42.276Z] Login Succeeded [2022-07-18T05:06:42.276Z] nexus3.edgexfoundry.org:10004 [2022-07-18T05:06:42.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:06:42.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:06:42.549Z] Configure a credential helper to remove this warning. See [2022-07-18T05:06:42.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:06:42.549Z] [2022-07-18T05:06:42.549Z] Login Succeeded [2022-07-18T05:06:42.549Z] docker.io [2022-07-18T05:06:43.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T05:06:43.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T05:06:43.419Z] Configure a credential helper to remove this warning. See [2022-07-18T05:06:43.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T05:06:43.419Z] [2022-07-18T05:06:43.419Z] Login Succeeded [2022-07-18T05:06:43.419Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T05:06:43.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T05:06:43.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T05:06:43.864Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T05:06:43.899Z] ========================================================= [2022-07-18T05:06:43.899Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-18T05:06:43.899Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T05:06:44.393Z] + 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-18T05:06:44.666Z] Sending build context to Docker daemon 2.798MB [2022-07-18T05:06:44.666Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T05:06:44.666Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-18T05:06:44.943Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-18T05:06:44.943Z] b3c136eddcbf: Pulling fs layer [2022-07-18T05:06:44.943Z] c0a3192eca97: Pulling fs layer [2022-07-18T05:06:44.943Z] a050256f5b6f: Pulling fs layer [2022-07-18T05:06:44.943Z] 656be50a0ddc: Pulling fs layer [2022-07-18T05:06:44.943Z] 2bbca73fdf42: Pulling fs layer [2022-07-18T05:06:44.943Z] 46d945488cbd: Pulling fs layer [2022-07-18T05:06:44.943Z] 8a5474983e97: Pulling fs layer [2022-07-18T05:06:44.943Z] 329c88fbcd65: Pulling fs layer [2022-07-18T05:06:44.943Z] 46d945488cbd: Waiting [2022-07-18T05:06:44.943Z] 8a5474983e97: Waiting [2022-07-18T05:06:44.943Z] 329c88fbcd65: Waiting [2022-07-18T05:06:44.943Z] 656be50a0ddc: Waiting [2022-07-18T05:06:44.943Z] 2bbca73fdf42: Waiting [2022-07-18T05:06:44.943Z] a050256f5b6f: Verifying Checksum [2022-07-18T05:06:44.943Z] a050256f5b6f: Download complete [2022-07-18T05:06:44.943Z] c0a3192eca97: Verifying Checksum [2022-07-18T05:06:44.943Z] c0a3192eca97: Download complete [2022-07-18T05:06:44.943Z] 2bbca73fdf42: Verifying Checksum [2022-07-18T05:06:44.943Z] 2bbca73fdf42: Download complete [2022-07-18T05:06:44.943Z] 46d945488cbd: Verifying Checksum [2022-07-18T05:06:44.943Z] 46d945488cbd: Download complete [2022-07-18T05:06:44.943Z] b3c136eddcbf: Verifying Checksum [2022-07-18T05:06:44.943Z] b3c136eddcbf: Download complete [2022-07-18T05:06:45.939Z] b3c136eddcbf: Pull complete [2022-07-18T05:06:46.218Z] 329c88fbcd65: Verifying Checksum [2022-07-18T05:06:46.218Z] 329c88fbcd65: Download complete [2022-07-18T05:06:46.496Z] c0a3192eca97: Pull complete [2022-07-18T05:06:46.775Z] a050256f5b6f: Pull complete [2022-07-18T05:06:47.376Z] 8a5474983e97: Verifying Checksum [2022-07-18T05:06:47.376Z] 8a5474983e97: Download complete [2022-07-18T05:06:47.974Z] 656be50a0ddc: Verifying Checksum [2022-07-18T05:06:47.974Z] 656be50a0ddc: Download complete [2022-07-18T05:07:03.076Z] 656be50a0ddc: Pull complete [2022-07-18T05:07:03.076Z] 2bbca73fdf42: Pull complete [2022-07-18T05:07:03.076Z] 46d945488cbd: Pull complete [2022-07-18T05:07:08.493Z] 8a5474983e97: Pull complete [2022-07-18T05:07:09.932Z] 329c88fbcd65: Pull complete [2022-07-18T05:07:09.932Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-18T05:07:09.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-18T05:07:09.932Z] ---> ff4287adb874 [2022-07-18T05:07:09.932Z] Step 3/12 : ARG MAKE='make build' [2022-07-18T05:07:10.917Z] ---> Running in 6861fac3f5f6 [2022-07-18T05:07:11.196Z] Removing intermediate container 6861fac3f5f6 [2022-07-18T05:07:11.196Z] ---> 1beff40868ab [2022-07-18T05:07:11.196Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T05:07:11.471Z] ---> Running in 85b782f6e3ac [2022-07-18T05:07:11.745Z] Removing intermediate container 85b782f6e3ac [2022-07-18T05:07:11.745Z] ---> 35774959aa33 [2022-07-18T05:07:11.745Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T05:07:11.745Z] ---> Running in 5716b81cc250 [2022-07-18T05:07:12.022Z] Removing intermediate container 5716b81cc250 [2022-07-18T05:07:12.022Z] ---> c86ac652edd3 [2022-07-18T05:07:12.022Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T05:07:12.303Z] ---> Running in ab777fbf46fa [2022-07-18T05:07:14.967Z] Removing intermediate container ab777fbf46fa [2022-07-18T05:07:14.967Z] ---> e3aac89f56c1 [2022-07-18T05:07:14.967Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T05:07:14.967Z] ---> Running in 623aefd22651 [2022-07-18T05:07:15.956Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T05:07:16.933Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T05:07:17.917Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-18T05:07:17.917Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-18T05:07:18.190Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-18T05:07:18.190Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-18T05:07:18.462Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T05:07:18.462Z] OK: 226 MiB in 55 packages [2022-07-18T05:07:19.455Z] Removing intermediate container 623aefd22651 [2022-07-18T05:07:19.455Z] ---> 5c0be3d9fe25 [2022-07-18T05:07:19.455Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-18T05:07:19.455Z] ---> Running in deff9a26f8f9 [2022-07-18T05:07:19.729Z] Removing intermediate container deff9a26f8f9 [2022-07-18T05:07:19.729Z] ---> 935b4c8fa993 [2022-07-18T05:07:19.729Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-18T05:07:20.331Z] ---> 8e3a3044ab33 [2022-07-18T05:07:20.331Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T05:07:20.331Z] ---> Running in 336f7a2c5c8e [2022-07-18T05:08:07.334Z] Removing intermediate container 336f7a2c5c8e [2022-07-18T05:08:07.334Z] ---> ee0988278d0f [2022-07-18T05:08:07.334Z] Step 11/12 : COPY . . [2022-07-18T05:08:07.334Z] ---> a6b5e517a4de [2022-07-18T05:08:07.334Z] Step 12/12 : RUN ${MAKE} [2022-07-18T05:08:07.334Z] ---> Running in 6464e3b3e486 [2022-07-18T05:08:07.334Z] noop [2022-07-18T05:08:07.334Z] Removing intermediate container 6464e3b3e486 [2022-07-18T05:08:07.334Z] ---> ff4c4d381473 [2022-07-18T05:08:07.334Z] Successfully built ff4c4d381473 [2022-07-18T05:08:07.334Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T05:08:07.836Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T05:08:07.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T05:08:08.179Z] prd-ubuntu20.04-docker-arm64-4c-16g-20372 does not seem to be running inside a container [2022-07-18T05:08:08.278Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-18T05:08:09.674Z] $ docker top ddc323f8c539c82d1a0431011e9204ce9c1e13a733191fb853e547e05e23ea1c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T05:08:10.631Z] + go version [2022-07-18T05:08:10.631Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-18T05:08:10.677Z] $ docker stop --time=1 ddc323f8c539c82d1a0431011e9204ce9c1e13a733191fb853e547e05e23ea1c [2022-07-18T05:08:12.355Z] $ docker rm -f ddc323f8c539c82d1a0431011e9204ce9c1e13a733191fb853e547e05e23ea1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T05:08:13.293Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T05:08:13.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T05:08:13.634Z] prd-ubuntu20.04-docker-arm64-4c-16g-20372 does not seem to be running inside a container [2022-07-18T05:08:13.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-18T05:08:15.001Z] $ docker top aa52cdec544cfcf49522967b0b454736dc00e062030188363abd366fdfe3e0d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T05:08:15.955Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-18T05:08:16.675Z] + make test [2022-07-18T05:08:16.675Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-18T05:08:18.658Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-18T05:09:40.489Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-18T05:09:40.489Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements [2022-07-18T05:09:40.489Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-18T05:09:40.489Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T05:09:58.839Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T05:09:58.839Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T05:09:58.839Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T05:09:58.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T05:09:58.908Z] $ docker stop --time=1 aa52cdec544cfcf49522967b0b454736dc00e062030188363abd366fdfe3e0d8 [2022-07-18T05:10:00.711Z] $ docker rm -f aa52cdec544cfcf49522967b0b454736dc00e062030188363abd366fdfe3e0d8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T05:10:01.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T05:10:01.809Z] Warning: overwriting stash ‘coverage-report’ [2022-07-18T05:10:02.316Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T05:10:02.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T05:10:03.291Z] + ls -al . [2022-07-18T05:10:03.291Z] total 164 [2022-07-18T05:10:03.291Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 05:08 . [2022-07-18T05:10:03.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 05:06 .. [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 18 05:06 .dockerignore [2022-07-18T05:10:03.291Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 05:06 .git [2022-07-18T05:10:03.291Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:06 .github [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 18 05:06 .gitignore [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 05:06 .golangci.yml [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 18 05:06 Attribution.txt [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 18 05:06 CHANGELOG.md [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 18 05:06 Dockerfile [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 05:06 GOVERNANCE.md [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 18 05:06 Jenkinsfile [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 05:06 LICENSE [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 18 05:06 Makefile [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 05:06 OWNERS.md [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 18 05:06 README.md [2022-07-18T05:10:03.291Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 05:04 VERSION [2022-07-18T05:10:03.291Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 05:06 bin [2022-07-18T05:10:03.291Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:06 cmd [2022-07-18T05:10:03.292Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 18 05:09 coverage.out [2022-07-18T05:10:03.292Z] -rw-rw-r-- 1 jenkins jenkins 3302 Jul 18 05:06 go.mod [2022-07-18T05:10:03.292Z] -rw-rw-r-- 1 jenkins jenkins 35534 Jul 18 05:06 go.sum [2022-07-18T05:10:03.292Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:06 internal [2022-07-18T05:10:03.292Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:06 snap [2022-07-18T05:10:03.292Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 18 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T05:10:03.767Z] + 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=c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 --label arch=arm64 --label version=0.0.0 . [2022-07-18T05:10:04.057Z] Sending build context to Docker daemon 2.806MB [2022-07-18T05:10:04.057Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T05:10:04.057Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-18T05:10:04.057Z] ---> ff4c4d381473 [2022-07-18T05:10:04.057Z] Step 3/24 : ARG MAKE='make build' [2022-07-18T05:10:04.335Z] ---> Running in 9bb30c3dec69 [2022-07-18T05:10:04.611Z] Removing intermediate container 9bb30c3dec69 [2022-07-18T05:10:04.611Z] ---> 8ca1ff58d4ed [2022-07-18T05:10:04.611Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T05:10:04.611Z] ---> Running in bfd0ebf8fb52 [2022-07-18T05:10:04.886Z] Removing intermediate container bfd0ebf8fb52 [2022-07-18T05:10:04.886Z] ---> f6a651c57ded [2022-07-18T05:10:04.886Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T05:10:05.169Z] ---> Running in 89d60cf197e6 [2022-07-18T05:10:05.447Z] Removing intermediate container 89d60cf197e6 [2022-07-18T05:10:05.447Z] ---> 3a9119e184f9 [2022-07-18T05:10:05.447Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T05:10:05.447Z] ---> Running in 357ca43e8545 [2022-07-18T05:10:07.456Z] Removing intermediate container 357ca43e8545 [2022-07-18T05:10:07.456Z] ---> 488c4849e885 [2022-07-18T05:10:07.456Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T05:10:07.456Z] ---> Running in 7753751ac67f [2022-07-18T05:10:08.438Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T05:10:09.039Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T05:10:10.022Z] OK: 226 MiB in 55 packages [2022-07-18T05:10:11.007Z] Removing intermediate container 7753751ac67f [2022-07-18T05:10:11.007Z] ---> 681572d3312f [2022-07-18T05:10:11.007Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-18T05:10:11.007Z] ---> Running in 95f8c23e08ef [2022-07-18T05:10:11.281Z] Removing intermediate container 95f8c23e08ef [2022-07-18T05:10:11.281Z] ---> 1d2120daf27f [2022-07-18T05:10:11.281Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-18T05:10:11.881Z] ---> ad89d2c36752 [2022-07-18T05:10:11.881Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T05:10:11.881Z] ---> Running in 333e48b36e6f [2022-07-18T05:10:13.865Z] Removing intermediate container 333e48b36e6f [2022-07-18T05:10:13.865Z] ---> 532610692b60 [2022-07-18T05:10:13.865Z] Step 11/24 : COPY . . [2022-07-18T05:10:14.849Z] ---> 7a634285d8b5 [2022-07-18T05:10:14.849Z] Step 12/24 : RUN ${MAKE} [2022-07-18T05:10:14.849Z] ---> Running in e822372c2ba3 [2022-07-18T05:10:15.833Z] 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-18T05:12:37.784Z] Removing intermediate container e822372c2ba3 [2022-07-18T05:12:37.784Z] ---> ad5100ed9ea2 [2022-07-18T05:12:37.784Z] Step 13/24 : FROM alpine:3.16 [2022-07-18T05:12:37.784Z] 3.16: Pulling from library/alpine [2022-07-18T05:12:37.784Z] b3c136eddcbf: Already exists [2022-07-18T05:12:37.784Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-18T05:12:37.784Z] Status: Downloaded newer image for alpine:3.16 [2022-07-18T05:12:37.784Z] ---> 6e30ab57aeee [2022-07-18T05:12:37.784Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T05:12:37.784Z] ---> Running in 20d3c0c4c0d6 [2022-07-18T05:12:37.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T05:12:37.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T05:12:37.784Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T05:12:37.784Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-18T05:12:37.784Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T05:12:37.784Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-18T05:12:37.784Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T05:12:37.784Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T05:12:37.784Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T05:12:37.784Z] OK: 8 MiB in 20 packages [2022-07-18T05:12:37.784Z] Removing intermediate container 20d3c0c4c0d6 [2022-07-18T05:12:37.784Z] ---> 875e076a9c74 [2022-07-18T05:12:37.784Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-18T05:12:37.784Z] ---> bd7b41a546cf [2022-07-18T05:12:37.784Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-18T05:12:37.784Z] ---> 0d57fbcb5642 [2022-07-18T05:12:37.784Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-18T05:12:37.784Z] ---> 787d662fb201 [2022-07-18T05:12:37.784Z] Step 18/24 : EXPOSE 59993 [2022-07-18T05:12:37.784Z] ---> Running in d8291ed25f30 [2022-07-18T05:12:37.784Z] Removing intermediate container d8291ed25f30 [2022-07-18T05:12:37.784Z] ---> f294719a751b [2022-07-18T05:12:37.784Z] Step 19/24 : EXPOSE 161 [2022-07-18T05:12:37.784Z] ---> Running in dca67715b734 [2022-07-18T05:12:37.784Z] Removing intermediate container dca67715b734 [2022-07-18T05:12:37.784Z] ---> 9f4642b7ab85 [2022-07-18T05:12:37.784Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-18T05:12:37.784Z] ---> Running in 38e273333528 [2022-07-18T05:12:37.784Z] Removing intermediate container 38e273333528 [2022-07-18T05:12:37.784Z] ---> a3ffb6338039 [2022-07-18T05:12:37.784Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-18T05:12:37.784Z] ---> Running in 8e198e0c67d4 [2022-07-18T05:12:37.784Z] Removing intermediate container 8e198e0c67d4 [2022-07-18T05:12:37.784Z] ---> 8e7bed8225c4 [2022-07-18T05:12:37.784Z] Step 22/24 : LABEL arch=arm64 [2022-07-18T05:12:37.784Z] ---> Running in 97e68ad03934 [2022-07-18T05:12:37.784Z] Removing intermediate container 97e68ad03934 [2022-07-18T05:12:37.784Z] ---> a19ed272d7ee [2022-07-18T05:12:37.784Z] Step 23/24 : LABEL git_sha=c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [2022-07-18T05:12:37.784Z] ---> Running in e3fe45333f83 [2022-07-18T05:12:37.784Z] Removing intermediate container e3fe45333f83 [2022-07-18T05:12:37.784Z] ---> 6532a19f664b [2022-07-18T05:12:37.784Z] Step 24/24 : LABEL version=0.0.0 [2022-07-18T05:12:37.784Z] ---> Running in bec012936579 [2022-07-18T05:12:37.784Z] Removing intermediate container bec012936579 [2022-07-18T05:12:37.784Z] ---> 66741db851c9 [2022-07-18T05:12:37.784Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T05:12:37.784Z] Successfully built 66741db851c9 [2022-07-18T05:12:37.784Z] 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-18T05:12:38.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T05:12:38.610Z] [2022-07-18T05:12:38.610Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T05:12:39.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T05:12:39.315Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-18T05:12:39.315Z] 8998bd30e6a1: Pulling fs layer [2022-07-18T05:12:39.315Z] 04944245beec: Pulling fs layer [2022-07-18T05:12:39.315Z] 699f458cf7ca: Pulling fs layer [2022-07-18T05:12:39.315Z] 765212b225bb: Pulling fs layer [2022-07-18T05:12:39.315Z] f23df028b6ca: Pulling fs layer [2022-07-18T05:12:39.315Z] d65c8cfc05b1: Pulling fs layer [2022-07-18T05:12:39.315Z] 2437ff75d9bd: Pulling fs layer [2022-07-18T05:12:39.315Z] 765212b225bb: Waiting [2022-07-18T05:12:39.315Z] f23df028b6ca: Waiting [2022-07-18T05:12:39.315Z] d65c8cfc05b1: Waiting [2022-07-18T05:12:39.315Z] 2437ff75d9bd: Waiting [2022-07-18T05:12:39.315Z] 04944245beec: Verifying Checksum [2022-07-18T05:12:39.315Z] 04944245beec: Download complete [2022-07-18T05:12:39.315Z] 765212b225bb: Verifying Checksum [2022-07-18T05:12:39.315Z] 765212b225bb: Download complete [2022-07-18T05:12:39.315Z] f23df028b6ca: Verifying Checksum [2022-07-18T05:12:39.315Z] f23df028b6ca: Download complete [2022-07-18T05:12:39.594Z] d65c8cfc05b1: Verifying Checksum [2022-07-18T05:12:39.594Z] d65c8cfc05b1: Download complete [2022-07-18T05:12:39.594Z] 699f458cf7ca: Download complete [2022-07-18T05:12:39.874Z] 8998bd30e6a1: Verifying Checksum [2022-07-18T05:12:39.874Z] 8998bd30e6a1: Download complete [2022-07-18T05:12:42.508Z] 2437ff75d9bd: Verifying Checksum [2022-07-18T05:12:42.508Z] 2437ff75d9bd: Download complete [2022-07-18T05:12:44.493Z] 8998bd30e6a1: Pull complete [2022-07-18T05:12:44.769Z] 04944245beec: Pull complete [2022-07-18T05:12:46.757Z] 699f458cf7ca: Pull complete [2022-07-18T05:12:46.757Z] 765212b225bb: Pull complete [2022-07-18T05:12:47.748Z] f23df028b6ca: Pull complete [2022-07-18T05:12:47.748Z] d65c8cfc05b1: Pull complete [2022-07-18T05:13:02.858Z] 2437ff75d9bd: Pull complete [2022-07-18T05:13:02.858Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-18T05:13:02.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T05:13:02.858Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T05:13:03.255Z] prd-ubuntu20.04-docker-arm64-4c-16g-20372 does not seem to be running inside a container [2022-07-18T05:13:03.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-18T05:13:06.077Z] $ docker top eb291f8f1763a1c9e4ced29134ccc0e521a317395864bc7be3094fd71cbcc7e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:13:07.081Z] ---> job-cost.sh [2022-07-18T05:13:07.081Z] lf-activate-venv: SKIPPING [2022-07-18T05:13:07.081Z] INFO: No Stack... [2022-07-18T05:13:07.678Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-18T05:13:08.276Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T05:13:08.958Z] + + cutcat -d, /w/workspace/device-snmp-go/1/archives/cost.csv -f6 [2022-07-18T05:13:08.958Z] [Pipeline] lock [2022-07-18T05:13:09.035Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] [2022-07-18T05:13:09.040Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] did not exist. Created. [2022-07-18T05:13:09.040Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T05:13:09.790Z] /w/workspace/device-snmp-go/1@tmp/durable-ac9c2432/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-18T05:13:10.502Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-18T05:13:10.541Z] Warning: overwriting stash ‘stack-cost’ [2022-07-18T05:13:10.590Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T05:13:10.604Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T05:13:10.697Z] $ docker stop --time=1 eb291f8f1763a1c9e4ced29134ccc0e521a317395864bc7be3094fd71cbcc7e0 [2022-07-18T05:13:12.232Z] $ docker rm -f eb291f8f1763a1c9e4ced29134ccc0e521a317395864bc7be3094fd71cbcc7e0 [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-18T05:13:13.309Z] provisioning config files... [2022-07-18T05:13:13.317Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/config3657178988408567317tmp [Pipeline] { [Pipeline] sh [2022-07-18T05:13:13.656Z] + set +x [2022-07-18T05:13:13.656Z] + curl -s https://codecov.io/bash [2022-07-18T05:13:13.656Z] + bash -s -- [2022-07-18T05:13:13.656Z] [2022-07-18T05:13:13.656Z] _____ _ [2022-07-18T05:13:13.656Z] / ____| | | [2022-07-18T05:13:13.656Z] | | ___ __| | ___ ___ _____ __ [2022-07-18T05:13:13.657Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-18T05:13:13.657Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-18T05:13:13.657Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-18T05:13:13.657Z] Bash-1.0.6 [2022-07-18T05:13:13.657Z] [2022-07-18T05:13:13.657Z] [2022-07-18T05:13:13.657Z] ==> git version 2.25.1 found [2022-07-18T05:13:13.657Z] ==> 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-18T05:13:13.657Z] Release-Date: 2020-01-08 [2022-07-18T05:13:13.657Z] 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-18T05:13:13.657Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-18T05:13:13.657Z] ==> Jenkins CI detected. [2022-07-18T05:13:13.657Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-184 [2022-07-18T05:13:13.657Z] project root: . [2022-07-18T05:13:13.657Z] --> token set from env [2022-07-18T05:13:13.657Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-18T05:13:13.657Z] ==> Running gcov in . (disable via -X gcov) [2022-07-18T05:13:13.657Z] ==> Python coveragepy not found [2022-07-18T05:13:13.657Z] ==> Searching for coverage reports in: [2022-07-18T05:13:13.657Z] + . [2022-07-18T05:13:13.657Z] -> Found 1 reports [2022-07-18T05:13:13.657Z] ==> Detecting git/mercurial file structure [2022-07-18T05:13:13.920Z] ==> Reading reports [2022-07-18T05:13:13.920Z] + ./coverage.out bytes=7631 [2022-07-18T05:13:13.920Z] ==> Appending adjustments [2022-07-18T05:13:13.920Z] https://docs.codecov.io/docs/fixing-reports [2022-07-18T05:13:13.920Z] + Found adjustments [2022-07-18T05:13:13.920Z] ==> Gzipping contents [2022-07-18T05:13:13.920Z] 4.0K /tmp/codecov.nup6pq.gz [2022-07-18T05:13:13.920Z] ==> Uploading reports [2022-07-18T05:13:13.920Z] url: https://codecov.io [2022-07-18T05:13:13.920Z] query: branch=PR-184&commit=c45d64c38cdfbf96c825fa1e95389ef6003e4fb3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-184%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-07-18T05:13:13.920Z] -> Pinging Codecov [2022-07-18T05:13:13.920Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-184&commit=c45d64c38cdfbf96c825fa1e95389ef6003e4fb3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-184%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-07-18T05:13:14.181Z] -> Uploading to [2022-07-18T05:13:14.181Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-18/6C56EA5C29638FB4528AC87E60AF5AE0/c45d64c38cdfbf96c825fa1e95389ef6003e4fb3/7834a751-4db7-4a08-8e9b-59dc43243d91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T051313Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=44fb1ffbfcac360f735b77dd8d7460795a5d5b7c9dea50d2a8d56df072142914 [2022-07-18T05:13:14.181Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T05:13:14.181Z] Dload Upload Total Spent Left Speed [2022-07-18T05:13:14.443Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 4687 --:--:-- --:--:-- --:--:-- 4687 100 1603 0 0 100 1603 0 4687 --:--:-- --:--:-- --:--:-- 4673 [2022-07-18T05:13:14.444Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [Pipeline] } [2022-07-18T05:13:14.470Z] 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-18T05:13:16.208Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-184/archives ] [2022-07-18T05:13:16.208Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-184/archives [2022-07-18T05:13:16.208Z] total 16 [2022-07-18T05:13:16.208Z] drwxr-xr-x 3 root root 4096 Jul 18 05:06 . [2022-07-18T05:13:16.208Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 05:06 .. [2022-07-18T05:13:16.208Z] drwxr-xr-x 2 root root 4096 Jul 18 05:06 cost [2022-07-18T05:13:16.208Z] -rw-r--r-- 1 root root 85 Jul 18 05:06 cost.csv [2022-07-18T05:13:16.208Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-184/archives [2022-07-18T05:13:16.208Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-184/archives [2022-07-18T05:13:16.208Z] total 16 [2022-07-18T05:13:16.208Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 05:06 . [2022-07-18T05:13:16.208Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 05:06 .. [2022-07-18T05:13:16.208Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 05:06 cost [2022-07-18T05:13:16.208Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 18 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:13:16.546Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:13:17.451Z] ---> package-listing.sh [2022-07-18T05:13:17.451Z] ++ facter osfamily [2022-07-18T05:13:17.451Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-18T05:13:17.711Z] + OS_FAMILY=debian [2022-07-18T05:13:17.711Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-184 [2022-07-18T05:13:17.711Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-18T05:13:17.711Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-18T05:13:17.711Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-18T05:13:17.711Z] + PACKAGES=/tmp/packages_start.txt [2022-07-18T05:13:17.711Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-184 ']' [2022-07-18T05:13:17.711Z] + PACKAGES=/tmp/packages_end.txt [2022-07-18T05:13:17.711Z] + case "${OS_FAMILY}" in [2022-07-18T05:13:17.711Z] + dpkg -l [2022-07-18T05:13:17.711Z] + grep '^ii' [2022-07-18T05:13:17.711Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-18T05:13:17.711Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-18T05:13:17.711Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-18T05:13:17.711Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-184 ']' [2022-07-18T05:13:17.711Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-184/archives/ [2022-07-18T05:13:17.711Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-184/archives/ [Pipeline] echo [2022-07-18T05:13:17.744Z] 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-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-18T05:13:18.036Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T05:13:18.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T05:13:18.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T05:13:18.830Z] prd-ubuntu20.04-docker-8c-8g-20369 does not seem to be running inside a container [2022-07-18T05:13:18.866Z] $ 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-184/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-184 -v /w/workspace/gexfoundry_device-snmp-go_PR-184:/w/workspace/gexfoundry_device-snmp-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-18T05:13:19.074Z] $ docker top 09a1a7e6b13cbcaeeb26f8e91d7c2652c67c9419177fdf6bbdc6e7b4a07e3496 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T05:13:19.482Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-18T05:13:19.802Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-18T05:13:20.116Z] + ls /var/log/sa-host [2022-07-18T05:13:20.117Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T05:13:20.333Z] provisioning config files... [2022-07-18T05:13:20.343Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/config1732909239302285281tmp [Pipeline] { [Pipeline] echo [2022-07-18T05:13:20.400Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:13:20.714Z] ---> create-netrc.sh [Pipeline] } [2022-07-18T05:13:20.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:13:21.151Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-18T05:13:21.181Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:13:21.493Z] ---> sudo-logs.sh [2022-07-18T05:13:21.493Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-18T05:13:21.574Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:13:21.889Z] ---> job-cost.sh [2022-07-18T05:13:21.889Z] lf-activate-venv: SKIPPING [2022-07-18T05:13:21.889Z] DEBUG: total: 0.2199999988079071 [2022-07-18T05:13:21.889Z] INFO: Retrieving Stack Cost... [2022-07-18T05:13:23.805Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T05:13:23.805Z] INFO: Archiving Costs [Pipeline] echo [2022-07-18T05:13:23.844Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T05:13:24.159Z] ---> logs-deploy.sh [2022-07-18T05:13:24.159Z] lf-activate-venv: SKIPPING [2022-07-18T05:13:24.159Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-184/1 [2022-07-18T05:13:24.159Z] INFO: archiving workspace using pattern(s): [2022-07-18T05:13:25.101Z] Archives upload complete. [2022-07-18T05:13:25.101Z] INFO: archiving logs to Nexus