Pull request #266 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 6f32b0e90f1c1bced46a177c350e483eb4bf55fb+d829a2c887c40068ff6155ebb33a7321d05cdfd6 (fb460d8d4aaa514e0bbc9a21454f401de41195c4) 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-ssh189095468064111048.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7427990449501906950.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-266/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-266/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7071360322926437259.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-266/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10929367928997859498.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh14237378847478759976.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-266/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-266/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5196450878785405609.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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 Running on prd-ubuntu20.04-docker-8c-8g-2417 in /w/workspace/gexfoundry_device-snmp-go_PR-266 [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-266 # 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 > 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/266/head:refs/remotes/origin/PR-266 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d829a2c887c40068ff6155ebb33a7321d05cdfd6 into PR head commit 6f32b0e90f1c1bced46a177c350e483eb4bf55fb Merge succeeded, producing 6f32b0e90f1c1bced46a177c350e483eb4bf55fb Checking out Revision 6f32b0e90f1c1bced46a177c350e483eb4bf55fb (PR-266) > git config core.sparsecheckout # timeout=10 > git checkout -f 6f32b0e90f1c1bced46a177c350e483eb4bf55fb # 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 d829a2c887c40068ff6155ebb33a7321d05cdfd6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f32b0e90f1c1bced46a177c350e483eb4bf55fb # timeout=10 Commit message: "refactor(snap): Update command and metadata sourcing" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T13:23:11.718Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T13:23:11.878Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T13:23:11.969Z] ========================================================= [2023-03-16T13:23:11.969Z] EdgeX Global Pipelines Version Info [2023-03-16T13:23:11.969Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:23:12.696Z] ------------------- [2023-03-16T13:23:12.696Z] stable info: [2023-03-16T13:23:12.696Z] ------------------- [2023-03-16T13:23:12.696Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T13:23:12.696Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T13:23:12.696Z] Message: update stable to v1.0.245 [2023-03-16T13:23:13.266Z] ------------------- [2023-03-16T13:23:13.266Z] experimental info: [2023-03-16T13:23:13.266Z] ------------------- [2023-03-16T13:23:13.266Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T13:23:13.266Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T13:23:13.266Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T13:23:13.560Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-16T13:23:13.602Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-16T13:23:13.641Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T13:23:13.680Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T13:23:13.719Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T13:23:13.758Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T13:23:13.798Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T13:23:13.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T13:23:13.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T13:23:13.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T13:23:13.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T13:23:14.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-16T13:23:14.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T13:23:14.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T13:23:14.125Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T13:23:14.164Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T13:23:14.210Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T13:23:14.248Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T13:23:14.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T13:23:14.318Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T13:23:14.355Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-16T13:23:14.396Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-16T13:23:14.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T13:23:14.477Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T13:23:14.515Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T13:23:14.559Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T13:23:14.602Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T13:23:14.642Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-266 [Pipeline] echo [2023-03-16T13:23:14.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-266 [Pipeline] echo [2023-03-16T13:23:14.731Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-266 [Pipeline] echo [2023-03-16T13:23:14.772Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f32b0e90f1c1bced46a177c350e483eb4bf55fb [Pipeline] echo [2023-03-16T13:23:14.808Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f32b0e [Pipeline] echo [2023-03-16T13:23:14.847Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T13:23:14.961Z] provisioning config files... [2023-03-16T13:23:14.976Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-266@tmp/config696850085036272466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:23:15.322Z] ---> docker-login.sh [2023-03-16T13:23:15.322Z] nexus3.edgexfoundry.org:10001 [2023-03-16T13:23:15.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:23:15.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:23:15.581Z] Configure a credential helper to remove this warning. See [2023-03-16T13:23:15.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:23:15.581Z] [2023-03-16T13:23:15.581Z] Login Succeeded [2023-03-16T13:23:15.581Z] nexus3.edgexfoundry.org:10002 [2023-03-16T13:23:15.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:23:15.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:23:15.581Z] Configure a credential helper to remove this warning. See [2023-03-16T13:23:15.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:23:15.581Z] [2023-03-16T13:23:15.581Z] Login Succeeded [2023-03-16T13:23:15.581Z] nexus3.edgexfoundry.org:10003 [2023-03-16T13:23:15.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:23:15.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:23:15.847Z] Configure a credential helper to remove this warning. See [2023-03-16T13:23:15.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:23:15.847Z] [2023-03-16T13:23:15.847Z] Login Succeeded [2023-03-16T13:23:15.847Z] nexus3.edgexfoundry.org:10004 [2023-03-16T13:23:15.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:23:15.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:23:15.847Z] Configure a credential helper to remove this warning. See [2023-03-16T13:23:15.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:23:15.847Z] [2023-03-16T13:23:15.847Z] Login Succeeded [2023-03-16T13:23:15.847Z] docker.io [2023-03-16T13:23:15.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:23:16.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:23:16.108Z] Configure a credential helper to remove this warning. See [2023-03-16T13:23:16.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:23:16.108Z] [2023-03-16T13:23:16.108Z] Login Succeeded [2023-03-16T13:23:16.108Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T13:23:16.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T13:23:16.759Z] + git rev-list -1 --merges 6f32b0e90f1c1bced46a177c350e483eb4bf55fb~1..6f32b0e90f1c1bced46a177c350e483eb4bf55fb [Pipeline] echo [2023-03-16T13:23:16.824Z] -----------> git rev-list -1 --merges 6f32b0e90f1c1bced46a177c350e483eb4bf55fb~1..6f32b0e90f1c1bced46a177c350e483eb4bf55fb 6f32b0e90f1c1bced46a177c350e483eb4bf55fb [false] [Pipeline] sh [2023-03-16T13:23:17.130Z] + git log --format=format:%s -1 6f32b0e90f1c1bced46a177c350e483eb4bf55fb [Pipeline] echo [2023-03-16T13:23:17.165Z] ========================================================= [2023-03-16T13:23:17.165Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T13:23:17.165Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T13:23:17.591Z] + git log --format=format:%s -1 6f32b0e90f1c1bced46a177c350e483eb4bf55fb [Pipeline] echo [2023-03-16T13:23:17.622Z] [semverPrep] GIT_COMMIT: 6f32b0e90f1c1bced46a177c350e483eb4bf55fb, Commit Message: refactor(snap): Update command and metadata sourcing [Pipeline] echo [2023-03-16T13:23:17.651Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T13:23:18.014Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T13:23:18.014Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T13:23:18.014Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T13:23:18.014Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T13:23:18.014Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T13:23:18.014Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T13:23:18.014Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:23:18.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T13:23:18.433Z] [2023-03-16T13:23:18.433Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:23:18.810Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T13:23:18.810Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T13:23:18.810Z] b85a868b505f: Pulling fs layer [2023-03-16T13:23:18.810Z] e2be974225ed: Pulling fs layer [2023-03-16T13:23:18.810Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T13:23:18.810Z] 988bab9f4d93: Pulling fs layer [2023-03-16T13:23:18.810Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T13:23:18.810Z] eaf3925da568: Pulling fs layer [2023-03-16T13:23:18.810Z] bab4dde63d76: Pulling fs layer [2023-03-16T13:23:18.810Z] bde34c3a00c8: Pulling fs layer [2023-03-16T13:23:18.810Z] b352a97aabf1: Pulling fs layer [2023-03-16T13:23:18.810Z] 4872d77fe225: Pulling fs layer [2023-03-16T13:23:18.810Z] 5851b861e8e6: Pulling fs layer [2023-03-16T13:23:18.810Z] 988bab9f4d93: Waiting [2023-03-16T13:23:18.810Z] 1469e6f7b9e6: Waiting [2023-03-16T13:23:18.810Z] eaf3925da568: Waiting [2023-03-16T13:23:18.810Z] bab4dde63d76: Waiting [2023-03-16T13:23:18.810Z] bde34c3a00c8: Waiting [2023-03-16T13:23:18.810Z] 5851b861e8e6: Waiting [2023-03-16T13:23:18.810Z] 4872d77fe225: Waiting [2023-03-16T13:23:18.810Z] b352a97aabf1: Waiting [2023-03-16T13:23:18.810Z] e2be974225ed: Verifying Checksum [2023-03-16T13:23:18.810Z] e2be974225ed: Download complete [2023-03-16T13:23:18.810Z] 988bab9f4d93: Verifying Checksum [2023-03-16T13:23:18.810Z] 988bab9f4d93: Download complete [2023-03-16T13:23:19.070Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T13:23:19.070Z] 1469e6f7b9e6: Download complete [2023-03-16T13:23:19.070Z] eaf3925da568: Verifying Checksum [2023-03-16T13:23:19.070Z] eaf3925da568: Download complete [2023-03-16T13:23:19.070Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T13:23:19.070Z] 339a4e72a1f5: Download complete [2023-03-16T13:23:19.070Z] bde34c3a00c8: Verifying Checksum [2023-03-16T13:23:19.070Z] bde34c3a00c8: Download complete [2023-03-16T13:23:19.070Z] b352a97aabf1: Verifying Checksum [2023-03-16T13:23:19.070Z] b352a97aabf1: Download complete [2023-03-16T13:23:19.070Z] 4872d77fe225: Verifying Checksum [2023-03-16T13:23:19.070Z] 4872d77fe225: Download complete [2023-03-16T13:23:19.070Z] 5851b861e8e6: Download complete [2023-03-16T13:23:19.070Z] b85a868b505f: Verifying Checksum [2023-03-16T13:23:19.070Z] b85a868b505f: Download complete [2023-03-16T13:23:19.329Z] bab4dde63d76: Verifying Checksum [2023-03-16T13:23:19.329Z] bab4dde63d76: Download complete [2023-03-16T13:23:20.265Z] b85a868b505f: Pull complete [2023-03-16T13:23:20.265Z] e2be974225ed: Pull complete [2023-03-16T13:23:20.832Z] 339a4e72a1f5: Pull complete [2023-03-16T13:23:20.832Z] 988bab9f4d93: Pull complete [2023-03-16T13:23:21.091Z] 1469e6f7b9e6: Pull complete [2023-03-16T13:23:21.091Z] eaf3925da568: Pull complete [2023-03-16T13:23:22.992Z] bab4dde63d76: Pull complete [2023-03-16T13:23:22.992Z] bde34c3a00c8: Pull complete [2023-03-16T13:23:22.992Z] b352a97aabf1: Pull complete [2023-03-16T13:23:22.992Z] 4872d77fe225: Pull complete [2023-03-16T13:23:22.992Z] 5851b861e8e6: Pull complete [2023-03-16T13:23:22.992Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T13:23:22.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T13:23:22.993Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:23:23.227Z] prd-ubuntu20.04-docker-8c-8g-2417 does not seem to be running inside a container [2023-03-16T13:23:23.258Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-266 -v /w/workspace/gexfoundry_device-snmp-go_PR-266:/w/workspace/gexfoundry_device-snmp-go_PR-266:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-266@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-266@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T13:23:24.509Z] $ docker top 8bd5d4ac8cb9709c7d35f8531e24f467787264fa6279769b613ee5cdedd9e088 -eo pid,comm [2023-03-16T13:23:24.553Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-16T13:23:24.553Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T13:23:24.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T13:23:24.674Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T13:23:24.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T13:23:24.795Z] $ docker exec 8bd5d4ac8cb9709c7d35f8531e24f467787264fa6279769b613ee5cdedd9e088 ssh-agent [2023-03-16T13:23:24.901Z] SSH_AUTH_SOCK=/tmp/ssh-VQJoz7M4IRL8/agent.32 [2023-03-16T13:23:24.901Z] SSH_AGENT_PID=38 [2023-03-16T13:23:24.907Z] Running ssh-add (command line suppressed) [2023-03-16T13:23:25.020Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-266@tmp/private_key_2751063531410151635.key (/w/workspace/gexfoundry_device-snmp-go_PR-266@tmp/private_key_2751063531410151635.key) [2023-03-16T13:23:25.032Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T13:23:25.354Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T13:23:25.377Z] $ docker exec --env ******** --env ******** 8bd5d4ac8cb9709c7d35f8531e24f467787264fa6279769b613ee5cdedd9e088 ssh-agent -k [2023-03-16T13:23:25.471Z] unset SSH_AUTH_SOCK; [2023-03-16T13:23:25.471Z] unset SSH_AGENT_PID; [2023-03-16T13:23:25.471Z] echo Agent pid 38 killed; [2023-03-16T13:23:25.478Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T13:23:25.569Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T13:23:25.569Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T13:23:25.683Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T13:23:25.689Z] $ docker exec 8bd5d4ac8cb9709c7d35f8531e24f467787264fa6279769b613ee5cdedd9e088 ssh-agent [2023-03-16T13:23:25.800Z] SSH_AUTH_SOCK=/tmp/ssh-SHWl4WxjAnVA/agent.72 [2023-03-16T13:23:25.800Z] SSH_AGENT_PID=78 [2023-03-16T13:23:25.805Z] Running ssh-add (command line suppressed) [2023-03-16T13:23:25.906Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-266@tmp/private_key_18265446733237884416.key (/w/workspace/gexfoundry_device-snmp-go_PR-266@tmp/private_key_18265446733237884416.key) [2023-03-16T13:23:25.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T13:23:26.242Z] + git semver init [2023-03-16T13:23:26.505Z] 2023-03-16 13:23:26,434 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T13:23:26.505Z] 2023-03-16 13:23:26,435 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-266/.semver [2023-03-16T13:23:26.505Z] 2023-03-16 13:23:26,435 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-266/.semver [2023-03-16T13:23:26.505Z] 2023-03-16 13:23:26,435 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-266/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-266, universal_newlines=False, shell=None, istream=None) [2023-03-16T13:23:27.443Z] 2023-03-16 13:23:27,394 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-266/.git/info/exclude [2023-03-16T13:23:27.443Z] 2023-03-16 13:23:27,395 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-266/.semver/PR-266 with force:False [2023-03-16T13:23:27.443Z] 2023-03-16 13:23:27,395 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-266/.semver/PR-266 [2023-03-16T13:23:27.443Z] 2023-03-16 13:23:27,400 [execute] INFO git cat-file --batch-check [2023-03-16T13:23:27.443Z] 2023-03-16 13:23:27,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-266/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T13:23:27.443Z] 2023-03-16 13:23:27,408 [execute] INFO git cat-file --batch [2023-03-16T13:23:27.443Z] 2023-03-16 13:23:27,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-266/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T13:23:27.443Z] 2023-03-16 13:23:27,415 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-266/.semver/PR-266 [2023-03-16T13:23:27.443Z] 0.0.0 [Pipeline] } [2023-03-16T13:23:27.723Z] $ docker exec --env ******** --env ******** 8bd5d4ac8cb9709c7d35f8531e24f467787264fa6279769b613ee5cdedd9e088 ssh-agent -k [2023-03-16T13:23:27.830Z] unset SSH_AUTH_SOCK; [2023-03-16T13:23:27.831Z] unset SSH_AGENT_PID; [2023-03-16T13:23:27.831Z] echo Agent pid 78 killed; [2023-03-16T13:23:27.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T13:23:28.279Z] + git semver [Pipeline] } [2023-03-16T13:23:28.575Z] $ docker stop --time=1 8bd5d4ac8cb9709c7d35f8531e24f467787264fa6279769b613ee5cdedd9e088 [2023-03-16T13:23:29.913Z] $ docker rm -f --volumes 8bd5d4ac8cb9709c7d35f8531e24f467787264fa6279769b613ee5cdedd9e088 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T13:23:30.306Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T13:23:30.563Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T13:23:30.584Z] [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 [2023-03-16T13:23:31.104Z] provisioning config files... [2023-03-16T13:23:31.112Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-266@tmp/config6273805421774809793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:23:31.457Z] ---> docker-login.sh [2023-03-16T13:23:31.457Z] nexus3.edgexfoundry.org:10001 [2023-03-16T13:23:31.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:23:31.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:23:31.457Z] Configure a credential helper to remove this warning. See [2023-03-16T13:23:31.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:23:31.457Z] [2023-03-16T13:23:31.457Z] Login Succeeded [2023-03-16T13:23:31.457Z] nexus3.edgexfoundry.org:10002 [2023-03-16T13:23:31.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:23:31.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:23:31.457Z] Configure a credential helper to remove this warning. See [2023-03-16T13:23:31.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:23:31.457Z] [2023-03-16T13:23:31.457Z] Login Succeeded [2023-03-16T13:23:31.457Z] nexus3.edgexfoundry.org:10003 [2023-03-16T13:23:31.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:23:31.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:23:31.716Z] Configure a credential helper to remove this warning. See [2023-03-16T13:23:31.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:23:31.716Z] [2023-03-16T13:23:31.716Z] Login Succeeded [2023-03-16T13:23:31.716Z] nexus3.edgexfoundry.org:10004 [2023-03-16T13:23:31.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:23:31.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:23:31.716Z] Configure a credential helper to remove this warning. See [2023-03-16T13:23:31.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:23:31.716Z] [2023-03-16T13:23:31.716Z] Login Succeeded [2023-03-16T13:23:31.716Z] docker.io [2023-03-16T13:23:31.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:23:31.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:23:31.975Z] Configure a credential helper to remove this warning. See [2023-03-16T13:23:31.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:23:31.975Z] [2023-03-16T13:23:31.975Z] Login Succeeded [2023-03-16T13:23:31.975Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T13:23:32.003Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T13:23:32.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T13:23:32.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T13:23:32.264Z] ========================================================= [2023-03-16T13:23:32.264Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T13:23:32.264Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:23:32.724Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T13:23:32.724Z] Sending build context to Docker daemon 5.728MB [2023-03-16T13:23:32.724Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T13:23:32.724Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T13:23:32.724Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T13:23:32.724Z] 63b65145d645: Pulling fs layer [2023-03-16T13:23:32.724Z] a2d21d5440eb: Pulling fs layer [2023-03-16T13:23:32.724Z] 935e6c44a52c: Pulling fs layer [2023-03-16T13:23:32.724Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T13:23:32.724Z] 30dea6a524f1: Pulling fs layer [2023-03-16T13:23:32.724Z] a2aff8979fd8: Pulling fs layer [2023-03-16T13:23:32.724Z] 6808be2612f2: Pulling fs layer [2023-03-16T13:23:32.724Z] f25807f1079a: Pulling fs layer [2023-03-16T13:23:32.724Z] 94cc34f8dd06: Waiting [2023-03-16T13:23:32.724Z] 30dea6a524f1: Waiting [2023-03-16T13:23:32.724Z] a2aff8979fd8: Waiting [2023-03-16T13:23:32.724Z] 6808be2612f2: Waiting [2023-03-16T13:23:32.724Z] f25807f1079a: Waiting [2023-03-16T13:23:32.724Z] a2d21d5440eb: Download complete [2023-03-16T13:23:32.988Z] 94cc34f8dd06: Verifying Checksum [2023-03-16T13:23:32.988Z] 94cc34f8dd06: Download complete [2023-03-16T13:23:32.988Z] 30dea6a524f1: Verifying Checksum [2023-03-16T13:23:32.988Z] 30dea6a524f1: Download complete [2023-03-16T13:23:32.988Z] 63b65145d645: Verifying Checksum [2023-03-16T13:23:32.988Z] 63b65145d645: Download complete [2023-03-16T13:23:32.988Z] a2aff8979fd8: Verifying Checksum [2023-03-16T13:23:32.988Z] a2aff8979fd8: Download complete [2023-03-16T13:23:32.988Z] 63b65145d645: Pull complete [2023-03-16T13:23:33.247Z] a2d21d5440eb: Pull complete [2023-03-16T13:23:33.247Z] f25807f1079a: Verifying Checksum [2023-03-16T13:23:33.247Z] f25807f1079a: Download complete [2023-03-16T13:23:33.504Z] 935e6c44a52c: Verifying Checksum [2023-03-16T13:23:33.504Z] 935e6c44a52c: Download complete [2023-03-16T13:23:33.761Z] 6808be2612f2: Verifying Checksum [2023-03-16T13:23:33.761Z] 6808be2612f2: Download complete [2023-03-16T13:23:37.040Z] 935e6c44a52c: Pull complete [2023-03-16T13:23:37.040Z] 94cc34f8dd06: Pull complete [2023-03-16T13:23:37.040Z] 30dea6a524f1: Pull complete [2023-03-16T13:23:37.040Z] a2aff8979fd8: Pull complete [2023-03-16T13:23:38.938Z] 6808be2612f2: Pull complete [2023-03-16T13:23:39.873Z] f25807f1079a: Pull complete [2023-03-16T13:23:39.873Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T13:23:39.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T13:23:39.873Z] ---> 3b553350e43f [2023-03-16T13:23:39.873Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T13:23:41.250Z] ---> Running in f5508d1f04fd [2023-03-16T13:23:41.250Z] Removing intermediate container f5508d1f04fd [2023-03-16T13:23:41.250Z] ---> 50ceb09d82c6 [2023-03-16T13:23:41.250Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T13:23:41.508Z] ---> Running in 4ed36f122e90 [2023-03-16T13:23:41.508Z] Removing intermediate container 4ed36f122e90 [2023-03-16T13:23:41.508Z] ---> cb18259c25e4 [2023-03-16T13:23:41.508Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T13:23:41.508Z] ---> Running in 12b80136edf3 [2023-03-16T13:23:41.768Z] Removing intermediate container 12b80136edf3 [2023-03-16T13:23:41.768Z] ---> 17e61cbc0b35 [2023-03-16T13:23:41.768Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T13:23:41.768Z] ---> Running in 46672afd02ec [2023-03-16T13:23:41.768Z] Removing intermediate container 46672afd02ec [2023-03-16T13:23:41.768Z] ---> 4e7911ef18c2 [2023-03-16T13:23:41.768Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T13:23:41.768Z] ---> Running in 492989fd6b68 [2023-03-16T13:23:42.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T13:23:42.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T13:23:42.546Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-16T13:23:42.546Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-16T13:23:42.546Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-16T13:23:42.546Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-16T13:23:42.546Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T13:23:42.546Z] OK: 269 MiB in 57 packages [2023-03-16T13:23:43.114Z] Removing intermediate container 492989fd6b68 [2023-03-16T13:23:43.114Z] ---> f5fa6e2e13d5 [2023-03-16T13:23:43.114Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-16T13:23:43.114Z] ---> Running in ae6fc2ab9cc0 [2023-03-16T13:23:43.114Z] Removing intermediate container ae6fc2ab9cc0 [2023-03-16T13:23:43.114Z] ---> ef8fd211b507 [2023-03-16T13:23:43.114Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-16T13:23:43.114Z] ---> a7bf6c3931f5 [2023-03-16T13:23:43.114Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T13:23:43.114Z] ---> Running in 17ac5ef15337 [2023-03-16T13:23:45.951Z] Still waiting to schedule task [2023-03-16T13:23:45.952Z] ‘prd-ubuntu20.04-docker-8c-8g-2405’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-16T13:23:45.952Z] ‘prd-ubuntu20.04-docker-8c-8g-2411’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-16T13:23:45.952Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2412’ is offline [2023-03-16T13:23:45.952Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2419’ is offline [2023-03-16T13:23:45.952Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2420’ is offline [2023-03-16T13:24:01.243Z] Removing intermediate container 17ac5ef15337 [2023-03-16T13:24:01.243Z] ---> 9f931f430482 [2023-03-16T13:24:01.243Z] Step 11/12 : COPY . . [2023-03-16T13:24:01.502Z] ---> e34b002897e6 [2023-03-16T13:24:01.502Z] Step 12/12 : RUN ${MAKE} [2023-03-16T13:24:01.502Z] ---> Running in 0710734c5676 [2023-03-16T13:24:01.762Z] noop [2023-03-16T13:24:02.028Z] Removing intermediate container 0710734c5676 [2023-03-16T13:24:02.028Z] ---> 94691e99e384 [2023-03-16T13:24:02.028Z] Successfully built 94691e99e384 [2023-03-16T13:24:02.028Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:24:02.456Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T13:24:02.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:24:02.631Z] prd-ubuntu20.04-docker-8c-8g-2417 does not seem to be running inside a container [2023-03-16T13:24:02.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-266 -v /w/workspace/gexfoundry_device-snmp-go_PR-266:/w/workspace/gexfoundry_device-snmp-go_PR-266:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-266@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T13:24:03.056Z] $ docker top 5516b5f8f3cc3f0cc61879f094f1300f18899393feb8c15116fbc0cf0060678c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T13:24:03.436Z] + go version [2023-03-16T13:24:03.437Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T13:24:03.465Z] $ docker stop --time=1 5516b5f8f3cc3f0cc61879f094f1300f18899393feb8c15116fbc0cf0060678c [2023-03-16T13:24:04.777Z] $ docker rm -f --volumes 5516b5f8f3cc3f0cc61879f094f1300f18899393feb8c15116fbc0cf0060678c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:24:05.465Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T13:24:05.465Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:24:05.618Z] prd-ubuntu20.04-docker-8c-8g-2417 does not seem to be running inside a container [2023-03-16T13:24:05.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-266 -v /w/workspace/gexfoundry_device-snmp-go_PR-266:/w/workspace/gexfoundry_device-snmp-go_PR-266:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-266@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T13:24:06.020Z] $ docker top deda951195aa798dda83929101b102f6595f87d5cdf86f3b7df02a100afc52ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T13:24:06.401Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-266 [Pipeline] fileExists [Pipeline] sh [2023-03-16T13:24:06.753Z] + make test [2023-03-16T13:24:06.753Z] go test ./... -coverprofile=coverage.out [2023-03-16T13:24:12.016Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-16T13:24:21.978Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-16T13:24:21.978Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2023-03-16T13:24:27.240Z] go vet ./... [2023-03-16T13:24:30.518Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T13:24:30.518Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T13:24:30.518Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T13:24:30.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T13:24:30.585Z] $ docker stop --time=1 deda951195aa798dda83929101b102f6595f87d5cdf86f3b7df02a100afc52ae [2023-03-16T13:24:32.511Z] $ docker rm -f --volumes deda951195aa798dda83929101b102f6595f87d5cdf86f3b7df02a100afc52ae [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T13:24:33.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T13:24:33.083Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-16T13:24:33.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T13:24:33.934Z] + ls -al . [2023-03-16T13:24:33.934Z] total 172 [2023-03-16T13:24:33.934Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 13:24 . [2023-03-16T13:24:33.934Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:23 .. [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 16 13:23 .dockerignore [2023-03-16T13:24:33.934Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:23 .git [2023-03-16T13:24:33.934Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:23 .github [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 16 13:23 .gitignore [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 13:23 .golangci.yml [2023-03-16T13:24:33.934Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 13:23 .semver [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 16 13:23 Attribution.txt [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 16 13:23 CHANGELOG.md [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 16 13:23 Dockerfile [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 13:23 GOVERNANCE.md [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 16 13:23 Jenkinsfile [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 13:23 LICENSE [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 16 13:23 Makefile [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 13:23 OWNERS.md [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 16 13:23 README.md [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 13:23 VERSION [2023-03-16T13:24:33.934Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 13:23 bin [2023-03-16T13:24:33.934Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:23 cmd [2023-03-16T13:24:33.934Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 16 13:24 coverage.out [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 16 13:23 go.mod [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 16 13:23 go.sum [2023-03-16T13:24:33.934Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:23 internal [2023-03-16T13:24:33.934Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:23 snap [2023-03-16T13:24:33.934Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 16 13:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:24:34.313Z] + 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=6f32b0e90f1c1bced46a177c350e483eb4bf55fb --label arch=amd64 --label version=0.0.0 . [2023-03-16T13:24:34.314Z] Sending build context to Docker daemon 5.736MB [2023-03-16T13:24:34.314Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T13:24:34.314Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-16T13:24:34.314Z] ---> 94691e99e384 [2023-03-16T13:24:34.314Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-16T13:24:34.314Z] ---> Running in 13bbf1c9aad1 [2023-03-16T13:24:34.572Z] Removing intermediate container 13bbf1c9aad1 [2023-03-16T13:24:34.572Z] ---> 7f5e465bdaa6 [2023-03-16T13:24:34.572Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T13:24:34.572Z] ---> Running in d7da8cfa5005 [2023-03-16T13:24:34.572Z] Removing intermediate container d7da8cfa5005 [2023-03-16T13:24:34.572Z] ---> 9f228af8053e [2023-03-16T13:24:34.572Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T13:24:34.572Z] ---> Running in bb72b50f5e3c [2023-03-16T13:24:34.572Z] Removing intermediate container bb72b50f5e3c [2023-03-16T13:24:34.572Z] ---> a6158d876e29 [2023-03-16T13:24:34.572Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T13:24:34.829Z] ---> Running in 1c46705e3427 [2023-03-16T13:24:34.829Z] Removing intermediate container 1c46705e3427 [2023-03-16T13:24:34.829Z] ---> ac27d63f51bd [2023-03-16T13:24:34.829Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T13:24:34.829Z] ---> Running in e8c5b01fd50c [2023-03-16T13:24:35.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T13:24:35.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T13:24:35.601Z] OK: 269 MiB in 57 packages [2023-03-16T13:24:35.858Z] Removing intermediate container e8c5b01fd50c [2023-03-16T13:24:35.858Z] ---> a769fe706525 [2023-03-16T13:24:35.858Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-16T13:24:35.858Z] ---> Running in 4f57e21faa9f [2023-03-16T13:24:36.116Z] Removing intermediate container 4f57e21faa9f [2023-03-16T13:24:36.116Z] ---> 1a07267773c8 [2023-03-16T13:24:36.116Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-16T13:24:36.116Z] ---> 9f91d100d72e [2023-03-16T13:24:36.116Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T13:24:36.116Z] ---> Running in b0353a87b01a [2023-03-16T13:24:37.047Z] Removing intermediate container b0353a87b01a [2023-03-16T13:24:37.047Z] ---> 3c150da3b07c [2023-03-16T13:24:37.047Z] Step 11/24 : COPY . . [2023-03-16T13:24:37.304Z] ---> ac2b3cd82bbe [2023-03-16T13:24:37.304Z] Step 12/24 : RUN ${MAKE} [2023-03-16T13:24:37.304Z] ---> Running in 05b317b526de [2023-03-16T13:24:37.562Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-03-16T13:24:55.635Z] Removing intermediate container 05b317b526de [2023-03-16T13:24:55.635Z] ---> ab7879a54a37 [2023-03-16T13:24:55.635Z] Step 13/24 : FROM alpine:3.17 [2023-03-16T13:24:55.635Z] 3.17: Pulling from library/alpine [2023-03-16T13:24:55.635Z] 63b65145d645: Already exists [2023-03-16T13:24:55.635Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T13:24:55.635Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T13:24:55.635Z] ---> b2aa39c304c2 [2023-03-16T13:24:55.635Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-16T13:24:55.635Z] ---> Running in 4b978e2086a1 [2023-03-16T13:24:55.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T13:24:55.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T13:24:55.635Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-16T13:24:55.635Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T13:24:55.635Z] OK: 7 MiB in 16 packages [2023-03-16T13:24:55.635Z] Removing intermediate container 4b978e2086a1 [2023-03-16T13:24:55.635Z] ---> 622c5b23eaec [2023-03-16T13:24:55.635Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-16T13:24:55.635Z] ---> 423af3f4e9e4 [2023-03-16T13:24:55.635Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-16T13:24:55.635Z] ---> 5bdb7fe5c74a [2023-03-16T13:24:55.635Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-16T13:24:55.635Z] ---> ddae4717a930 [2023-03-16T13:24:55.635Z] Step 18/24 : EXPOSE 59993 [2023-03-16T13:24:55.893Z] ---> Running in 9fac23732ed5 [2023-03-16T13:24:55.893Z] Removing intermediate container 9fac23732ed5 [2023-03-16T13:24:55.893Z] ---> 98c7f5df1237 [2023-03-16T13:24:55.893Z] Step 19/24 : EXPOSE 161 [2023-03-16T13:24:55.893Z] ---> Running in 1a3a6e7bdb06 [2023-03-16T13:24:55.893Z] Removing intermediate container 1a3a6e7bdb06 [2023-03-16T13:24:55.893Z] ---> 85e381065f8a [2023-03-16T13:24:55.893Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-16T13:24:55.893Z] ---> Running in 55b292d3e55e [2023-03-16T13:24:56.152Z] Removing intermediate container 55b292d3e55e [2023-03-16T13:24:56.152Z] ---> cfbde1bcac2e [2023-03-16T13:24:56.152Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-16T13:24:56.152Z] ---> Running in 46258ca07a98 [2023-03-16T13:24:56.152Z] Removing intermediate container 46258ca07a98 [2023-03-16T13:24:56.152Z] ---> 7077c8f21cef [2023-03-16T13:24:56.152Z] Step 22/24 : LABEL arch=amd64 [2023-03-16T13:24:56.152Z] ---> Running in 1e92a6d5edb7 [2023-03-16T13:24:56.409Z] Removing intermediate container 1e92a6d5edb7 [2023-03-16T13:24:56.409Z] ---> cf18a3427882 [2023-03-16T13:24:56.409Z] Step 23/24 : LABEL git_sha=6f32b0e90f1c1bced46a177c350e483eb4bf55fb [2023-03-16T13:24:56.409Z] ---> Running in 7bc3ddef7b64 [2023-03-16T13:24:56.409Z] Removing intermediate container 7bc3ddef7b64 [2023-03-16T13:24:56.409Z] ---> 1d6cf430c7dc [2023-03-16T13:24:56.409Z] Step 24/24 : LABEL version=0.0.0 [2023-03-16T13:24:56.409Z] ---> Running in 95eef14bf12b [2023-03-16T13:24:56.668Z] Removing intermediate container 95eef14bf12b [2023-03-16T13:24:56.668Z] ---> a0cc8f0943de [2023-03-16T13:24:56.668Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T13:24:56.668Z] Successfully built a0cc8f0943de [2023-03-16T13:24:56.668Z] 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 [2023-03-16T13:24:57.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T13:24:57.488Z] [2023-03-16T13:24:57.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:24:57.854Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T13:24:57.855Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T13:24:57.855Z] 5eb5b503b376: Pulling fs layer [2023-03-16T13:24:57.855Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T13:24:57.855Z] ec43610c2a17: Pulling fs layer [2023-03-16T13:24:57.855Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T13:24:57.855Z] 33b1e0a273af: Pulling fs layer [2023-03-16T13:24:57.855Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T13:24:57.855Z] 2f39f015ded8: Pulling fs layer [2023-03-16T13:24:57.855Z] 3a2ae6a8a46f: Waiting [2023-03-16T13:24:57.855Z] 33b1e0a273af: Waiting [2023-03-16T13:24:57.855Z] 2f39f015ded8: Waiting [2023-03-16T13:24:57.855Z] 5d3b04190fa2: Waiting [2023-03-16T13:24:57.855Z] 5c69ac0246d0: Verifying Checksum [2023-03-16T13:24:57.855Z] 5c69ac0246d0: Download complete [2023-03-16T13:24:57.855Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-16T13:24:57.855Z] 3a2ae6a8a46f: Download complete [2023-03-16T13:24:57.855Z] 33b1e0a273af: Verifying Checksum [2023-03-16T13:24:57.855Z] 33b1e0a273af: Download complete [2023-03-16T13:24:58.115Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T13:24:58.115Z] 5d3b04190fa2: Download complete [2023-03-16T13:24:58.115Z] ec43610c2a17: Verifying Checksum [2023-03-16T13:24:58.115Z] ec43610c2a17: Download complete [2023-03-16T13:24:58.115Z] 5eb5b503b376: Verifying Checksum [2023-03-16T13:24:58.115Z] 5eb5b503b376: Download complete [2023-03-16T13:24:59.488Z] 5eb5b503b376: Pull complete [2023-03-16T13:24:59.488Z] 5c69ac0246d0: Pull complete [2023-03-16T13:24:59.746Z] ec43610c2a17: Pull complete [2023-03-16T13:24:59.746Z] 3a2ae6a8a46f: Pull complete [2023-03-16T13:25:00.005Z] 33b1e0a273af: Pull complete [2023-03-16T13:25:00.005Z] 5d3b04190fa2: Pull complete [2023-03-16T13:25:04.185Z] 2f39f015ded8: Pull complete [2023-03-16T13:25:04.185Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T13:25:04.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T13:25:04.185Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:25:04.462Z] prd-ubuntu20.04-docker-8c-8g-2417 does not seem to be running inside a container [2023-03-16T13:25:04.493Z] $ 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-266 -v /w/workspace/gexfoundry_device-snmp-go_PR-266:/w/workspace/gexfoundry_device-snmp-go_PR-266:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-266@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T13:25:06.096Z] $ docker top 2b23e588b6c12b6c3cb0c11074a0ea178133e30159dcec297f6e5e651ae2177a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:25:06.510Z] ---> job-cost.sh [2023-03-16T13:25:06.510Z] lf-activate-venv: SKIPPING [2023-03-16T13:25:06.510Z] INFO: No Stack... [2023-03-16T13:25:06.769Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T13:25:07.028Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T13:25:07.336Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-266/archives/cost.csv [2023-03-16T13:25:07.337Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T13:25:07.372Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-266-1-stack-cost] [2023-03-16T13:25:07.377Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-266-1-stack-cost] did not exist. Created. [2023-03-16T13:25:07.377Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-266-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T13:25:07.754Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T13:25:07.803Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T13:25:07.829Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-266-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T13:25:07.912Z] $ docker stop --time=1 2b23e588b6c12b6c3cb0c11074a0ea178133e30159dcec297f6e5e651ae2177a [2023-03-16T13:25:09.070Z] $ docker rm -f --volumes 2b23e588b6c12b6c3cb0c11074a0ea178133e30159dcec297f6e5e651ae2177a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T13:25:40.552Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2422 in /w/workspace/gexfoundry_device-snmp-go_PR-266 [Pipeline] { [Pipeline] ws [2023-03-16T13:25:40.605Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-03-16T13:25:40.700Z] Selected Git installation does not exist. Using Default [2023-03-16T13:25:40.700Z] The recommended git tool is: NONE [2023-03-16T13:25:47.156Z] using credential edgex-jenkins-ssh [2023-03-16T13:25:47.177Z] Cloning the remote Git repository [2023-03-16T13:25:47.229Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-16T13:25:47.334Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-03-16T13:25:47.499Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-16T13:25:47.501Z] > git --version # timeout=10 [2023-03-16T13:25:47.527Z] > git --version # 'git version 2.25.1' [2023-03-16T13:25:47.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T13:25:47.708Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T13:25:48.787Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-16T13:25:48.817Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T13:25:50.477Z] Merging remotes/origin/main commit d829a2c887c40068ff6155ebb33a7321d05cdfd6 into PR head commit 6f32b0e90f1c1bced46a177c350e483eb4bf55fb [2023-03-16T13:25:50.793Z] Merge succeeded, producing 6f32b0e90f1c1bced46a177c350e483eb4bf55fb [2023-03-16T13:25:50.794Z] Checking out Revision 6f32b0e90f1c1bced46a177c350e483eb4bf55fb (PR-266) [2023-03-16T13:25:49.824Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-16T13:25:49.874Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-16T13:25:49.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T13:25:49.894Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T13:25:50.498Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T13:25:50.584Z] > git checkout -f 6f32b0e90f1c1bced46a177c350e483eb4bf55fb # timeout=10 [2023-03-16T13:25:50.684Z] > git remote # timeout=10 [2023-03-16T13:25:50.703Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T13:25:50.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T13:25:50.741Z] > git merge d829a2c887c40068ff6155ebb33a7321d05cdfd6 # timeout=10 [2023-03-16T13:25:50.771Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T13:25:50.803Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T13:25:50.820Z] > git checkout -f 6f32b0e90f1c1bced46a177c350e483eb4bf55fb # timeout=10 [2023-03-16T13:25:54.343Z] Commit message: "refactor(snap): Update command and metadata sourcing" [2023-03-16T13:25:54.412Z] > git --version # timeout=10 [2023-03-16T13:25:54.425Z] > git --version # 'git version 2.25.1' [2023-03-16T13:25:54.441Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T13:25:55.690Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T13:25:55.691Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T13:25:55.691Z] Dload Upload Total Spent Left Speed [2023-03-16T13:25:55.691Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-03-16T13:25:56.505Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T13:25:56.870Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T13:25:56.870Z] + sudo tee /etc/docker/daemon.new [2023-03-16T13:25:56.870Z] { [2023-03-16T13:25:56.870Z] "registry-mirrors": [ [2023-03-16T13:25:56.870Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T13:25:56.870Z] ], [2023-03-16T13:25:56.870Z] "bip": "10.250.0.254/24", [2023-03-16T13:25:56.870Z] "hosts": [ [2023-03-16T13:25:56.870Z] "tcp://0.0.0.0:5555", [2023-03-16T13:25:56.870Z] "unix:///var/run/docker.sock" [2023-03-16T13:25:56.870Z] ], [2023-03-16T13:25:56.870Z] "mtu": 1458, [2023-03-16T13:25:56.870Z] "selinux-enabled": true, [2023-03-16T13:25:56.870Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T13:25:56.870Z] } [Pipeline] sh [2023-03-16T13:25:57.223Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T13:25:57.590Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T13:26:15.954Z] provisioning config files... [2023-03-16T13:26:15.991Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config11340487161942975143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:26:16.402Z] ---> docker-login.sh [2023-03-16T13:26:16.402Z] nexus3.edgexfoundry.org:10001 [2023-03-16T13:26:16.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:26:16.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:26:16.995Z] Configure a credential helper to remove this warning. See [2023-03-16T13:26:16.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:26:16.995Z] [2023-03-16T13:26:16.995Z] Login Succeeded [2023-03-16T13:26:16.995Z] nexus3.edgexfoundry.org:10002 [2023-03-16T13:26:17.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:26:17.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:26:17.590Z] Configure a credential helper to remove this warning. See [2023-03-16T13:26:17.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:26:17.590Z] [2023-03-16T13:26:17.590Z] Login Succeeded [2023-03-16T13:26:17.590Z] nexus3.edgexfoundry.org:10003 [2023-03-16T13:26:17.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:26:17.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:26:17.864Z] Configure a credential helper to remove this warning. See [2023-03-16T13:26:17.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:26:17.864Z] [2023-03-16T13:26:17.864Z] Login Succeeded [2023-03-16T13:26:17.864Z] nexus3.edgexfoundry.org:10004 [2023-03-16T13:26:18.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:26:18.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:26:18.466Z] Configure a credential helper to remove this warning. See [2023-03-16T13:26:18.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:26:18.466Z] [2023-03-16T13:26:18.466Z] Login Succeeded [2023-03-16T13:26:18.466Z] docker.io [2023-03-16T13:26:18.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:26:19.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:26:19.014Z] Configure a credential helper to remove this warning. See [2023-03-16T13:26:19.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:26:19.014Z] [2023-03-16T13:26:19.014Z] Login Succeeded [2023-03-16T13:26:19.014Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T13:26:19.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T13:26:19.487Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T13:26:19.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T13:26:19.555Z] ========================================================= [2023-03-16T13:26:19.555Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T13:26:19.555Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:26:20.056Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T13:26:20.326Z] Sending build context to Docker daemon 2.968MB [2023-03-16T13:26:20.327Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T13:26:20.327Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T13:26:20.600Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T13:26:20.600Z] af6eaf76a39c: Pulling fs layer [2023-03-16T13:26:20.600Z] 55522c791124: Pulling fs layer [2023-03-16T13:26:20.600Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T13:26:20.600Z] 169dfbe0d373: Pulling fs layer [2023-03-16T13:26:20.600Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T13:26:20.600Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T13:26:20.600Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T13:26:20.600Z] 169dfbe0d373: Waiting [2023-03-16T13:26:20.600Z] e1ff8fa3b103: Waiting [2023-03-16T13:26:20.600Z] 52ebb69f0ebf: Waiting [2023-03-16T13:26:20.600Z] 5abe8eddf0d5: Waiting [2023-03-16T13:26:20.600Z] 55522c791124: Verifying Checksum [2023-03-16T13:26:20.600Z] 55522c791124: Download complete [2023-03-16T13:26:20.600Z] 169dfbe0d373: Verifying Checksum [2023-03-16T13:26:20.600Z] 169dfbe0d373: Download complete [2023-03-16T13:26:20.600Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T13:26:20.600Z] e1ff8fa3b103: Download complete [2023-03-16T13:26:20.600Z] af6eaf76a39c: Download complete [2023-03-16T13:26:22.052Z] af6eaf76a39c: Pull complete [2023-03-16T13:26:22.052Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T13:26:22.052Z] 5abe8eddf0d5: Download complete [2023-03-16T13:26:22.646Z] 55522c791124: Pull complete [2023-03-16T13:26:23.627Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T13:26:23.627Z] ce5c4a1c91eb: Download complete [2023-03-16T13:26:23.627Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T13:26:23.627Z] 52ebb69f0ebf: Download complete [2023-03-16T13:26:35.989Z] ce5c4a1c91eb: Pull complete [2023-03-16T13:26:35.989Z] 169dfbe0d373: Pull complete [2023-03-16T13:26:35.989Z] e1ff8fa3b103: Pull complete [2023-03-16T13:26:42.676Z] 52ebb69f0ebf: Pull complete [2023-03-16T13:26:46.052Z] 5abe8eddf0d5: Pull complete [2023-03-16T13:26:46.052Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T13:26:46.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T13:26:46.052Z] ---> 6cb57ee374ae [2023-03-16T13:26:46.052Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T13:26:47.477Z] ---> Running in 514f7da714dc [2023-03-16T13:26:47.757Z] Removing intermediate container 514f7da714dc [2023-03-16T13:26:47.757Z] ---> c82fe9d75631 [2023-03-16T13:26:47.757Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T13:26:47.757Z] ---> Running in 48854038699e [2023-03-16T13:26:48.025Z] Removing intermediate container 48854038699e [2023-03-16T13:26:48.025Z] ---> 4682932d3959 [2023-03-16T13:26:48.025Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T13:26:48.294Z] ---> Running in 1c805515a692 [2023-03-16T13:26:48.576Z] Removing intermediate container 1c805515a692 [2023-03-16T13:26:48.576Z] ---> 12cd96632868 [2023-03-16T13:26:48.576Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T13:26:48.576Z] ---> Running in b7f511446f85 [2023-03-16T13:26:48.845Z] Removing intermediate container b7f511446f85 [2023-03-16T13:26:48.845Z] ---> 73650d5a5cb8 [2023-03-16T13:26:48.845Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T13:26:48.845Z] ---> Running in 76a06de249d3 [2023-03-16T13:26:50.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T13:26:50.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T13:26:51.825Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-16T13:26:51.825Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-16T13:26:51.825Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-16T13:26:51.825Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-16T13:26:51.825Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T13:26:51.825Z] OK: 268 MiB in 57 packages [2023-03-16T13:26:53.261Z] Removing intermediate container 76a06de249d3 [2023-03-16T13:26:53.261Z] ---> 2ad12bfa0633 [2023-03-16T13:26:53.261Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-16T13:26:53.261Z] ---> Running in 551866c7864b [2023-03-16T13:26:53.529Z] Removing intermediate container 551866c7864b [2023-03-16T13:26:53.529Z] ---> a0cb7d9d619f [2023-03-16T13:26:53.529Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-16T13:26:54.119Z] ---> c1051ab30048 [2023-03-16T13:26:54.119Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T13:26:54.119Z] ---> Running in 774c5ce1213c [2023-03-16T13:28:02.059Z] Removing intermediate container 774c5ce1213c [2023-03-16T13:28:02.059Z] ---> daf50136a5bc [2023-03-16T13:28:02.059Z] Step 11/12 : COPY . . [2023-03-16T13:28:02.059Z] ---> 7abf1fd5ab22 [2023-03-16T13:28:02.059Z] Step 12/12 : RUN ${MAKE} [2023-03-16T13:28:02.059Z] ---> Running in b07f492ca738 [2023-03-16T13:28:02.059Z] noop [2023-03-16T13:28:02.059Z] Removing intermediate container b07f492ca738 [2023-03-16T13:28:02.059Z] ---> 58acd1312ced [2023-03-16T13:28:02.059Z] Successfully built 58acd1312ced [2023-03-16T13:28:02.059Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:28:02.541Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T13:28:02.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:28:02.848Z] prd-ubuntu20.04-docker-arm64-4c-16g-2422 does not seem to be running inside a container [2023-03-16T13:28:02.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T13:28:04.263Z] $ docker top 96785681bb01a110c208af351f1fdf1f81f2a75a085f698f7a1e06596ebb45c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T13:28:05.157Z] + go version [2023-03-16T13:28:05.157Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T13:28:05.191Z] $ docker stop --time=1 96785681bb01a110c208af351f1fdf1f81f2a75a085f698f7a1e06596ebb45c0 [2023-03-16T13:28:06.798Z] $ docker rm -f --volumes 96785681bb01a110c208af351f1fdf1f81f2a75a085f698f7a1e06596ebb45c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:28:07.648Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T13:28:07.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:28:07.913Z] prd-ubuntu20.04-docker-arm64-4c-16g-2422 does not seem to be running inside a container [2023-03-16T13:28:07.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T13:28:09.209Z] $ docker top 31be3b17a7f268add5c6a60dbc59dd42d9069f1e43bf260da02422a546f1e424 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T13:28:10.107Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-16T13:28:10.843Z] + make test [2023-03-16T13:28:10.843Z] go test ./... -coverprofile=coverage.out [2023-03-16T13:28:49.786Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-16T13:31:26.591Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-16T13:31:26.592Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.064s coverage: 0.0% of statements [2023-03-16T13:31:26.592Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-16T13:31:26.592Z] go vet ./... [2023-03-16T13:31:48.669Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T13:31:48.669Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T13:31:48.669Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T13:31:48.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T13:31:48.739Z] $ docker stop --time=1 31be3b17a7f268add5c6a60dbc59dd42d9069f1e43bf260da02422a546f1e424 [2023-03-16T13:31:50.621Z] $ docker rm -f --volumes 31be3b17a7f268add5c6a60dbc59dd42d9069f1e43bf260da02422a546f1e424 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T13:31:51.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T13:31:51.892Z] Warning: overwriting stash ‘coverage-report’ [2023-03-16T13:31:52.354Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T13:31:52.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T13:31:53.378Z] + ls -al . [2023-03-16T13:31:53.378Z] total 168 [2023-03-16T13:31:53.378Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:28 . [2023-03-16T13:31:53.378Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:25 .. [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 16 13:25 .dockerignore [2023-03-16T13:31:53.378Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:25 .git [2023-03-16T13:31:53.378Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:25 .github [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 16 13:25 .gitignore [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 13:25 .golangci.yml [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 16 13:25 Attribution.txt [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 16 13:25 CHANGELOG.md [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 16 13:25 Dockerfile [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 13:25 GOVERNANCE.md [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 16 13:25 Jenkinsfile [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 13:25 LICENSE [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 16 13:25 Makefile [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 13:25 OWNERS.md [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 16 13:25 README.md [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 13:23 VERSION [2023-03-16T13:31:53.378Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 13:25 bin [2023-03-16T13:31:53.378Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:25 cmd [2023-03-16T13:31:53.378Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 16 13:31 coverage.out [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 16 13:25 go.mod [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 16 13:25 go.sum [2023-03-16T13:31:53.378Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:25 internal [2023-03-16T13:31:53.378Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:25 snap [2023-03-16T13:31:53.378Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 16 13:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:31:53.805Z] + 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=6f32b0e90f1c1bced46a177c350e483eb4bf55fb --label arch=arm64 --label version=0.0.0 . [2023-03-16T13:31:54.079Z] Sending build context to Docker daemon 2.976MB [2023-03-16T13:31:54.079Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T13:31:54.079Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-16T13:31:54.079Z] ---> 58acd1312ced [2023-03-16T13:31:54.079Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-16T13:31:54.372Z] ---> Running in df18f8d51125 [2023-03-16T13:31:54.659Z] Removing intermediate container df18f8d51125 [2023-03-16T13:31:54.659Z] ---> 432752805659 [2023-03-16T13:31:54.659Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T13:31:54.659Z] ---> Running in a5f6dd260c77 [2023-03-16T13:31:54.953Z] Removing intermediate container a5f6dd260c77 [2023-03-16T13:31:54.953Z] ---> 52c8eb6f47eb [2023-03-16T13:31:54.953Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T13:31:55.249Z] ---> Running in f73eb6d72034 [2023-03-16T13:31:55.523Z] Removing intermediate container f73eb6d72034 [2023-03-16T13:31:55.523Z] ---> be342817ccee [2023-03-16T13:31:55.523Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T13:31:55.523Z] ---> Running in fe4750a2c88a [2023-03-16T13:31:55.794Z] Removing intermediate container fe4750a2c88a [2023-03-16T13:31:55.794Z] ---> 1d84b546b2af [2023-03-16T13:31:55.794Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T13:31:56.067Z] ---> Running in 1bcedba8f9d0 [2023-03-16T13:31:57.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T13:31:57.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T13:31:59.058Z] OK: 268 MiB in 57 packages [2023-03-16T13:31:59.670Z] Removing intermediate container 1bcedba8f9d0 [2023-03-16T13:31:59.670Z] ---> 4956e7ed697c [2023-03-16T13:31:59.670Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-16T13:31:59.940Z] ---> Running in d46e0010a71b [2023-03-16T13:32:00.209Z] Removing intermediate container d46e0010a71b [2023-03-16T13:32:00.209Z] ---> 244f5a0d9992 [2023-03-16T13:32:00.209Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-16T13:32:00.803Z] ---> 63db095ec72f [2023-03-16T13:32:00.803Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T13:32:00.803Z] ---> Running in 38dbdec65608 [2023-03-16T13:32:03.410Z] Removing intermediate container 38dbdec65608 [2023-03-16T13:32:03.410Z] ---> 0040546f43d9 [2023-03-16T13:32:03.410Z] Step 11/24 : COPY . . [2023-03-16T13:32:04.381Z] ---> 1e7eff61f10c [2023-03-16T13:32:04.381Z] Step 12/24 : RUN ${MAKE} [2023-03-16T13:32:04.381Z] ---> Running in b1b6a5c083ef [2023-03-16T13:32:05.357Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-03-16T13:34:27.096Z] Removing intermediate container b1b6a5c083ef [2023-03-16T13:34:27.096Z] ---> bc6ad03578cb [2023-03-16T13:34:27.096Z] Step 13/24 : FROM alpine:3.17 [2023-03-16T13:34:27.096Z] 3.17: Pulling from library/alpine [2023-03-16T13:34:27.096Z] af6eaf76a39c: Already exists [2023-03-16T13:34:27.096Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T13:34:27.096Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T13:34:27.096Z] ---> d74e625d9115 [2023-03-16T13:34:27.096Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-16T13:34:27.096Z] ---> Running in e44b56005674 [2023-03-16T13:34:27.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T13:34:27.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T13:34:28.509Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-16T13:34:28.509Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T13:34:28.509Z] OK: 8 MiB in 16 packages [2023-03-16T13:34:29.096Z] Removing intermediate container e44b56005674 [2023-03-16T13:34:29.096Z] ---> 847e2c3bde02 [2023-03-16T13:34:29.096Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-16T13:34:30.510Z] ---> 88f4160f4f74 [2023-03-16T13:34:30.510Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-16T13:34:31.098Z] ---> 3f1e585aaf88 [2023-03-16T13:34:31.098Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-16T13:34:31.687Z] ---> 866259f712fd [2023-03-16T13:34:31.687Z] Step 18/24 : EXPOSE 59993 [2023-03-16T13:34:31.687Z] ---> Running in f8592764fea5 [2023-03-16T13:34:31.957Z] Removing intermediate container f8592764fea5 [2023-03-16T13:34:31.957Z] ---> 52958ce0c547 [2023-03-16T13:34:31.957Z] Step 19/24 : EXPOSE 161 [2023-03-16T13:34:31.957Z] ---> Running in ab53dc0667a7 [2023-03-16T13:34:32.541Z] Removing intermediate container ab53dc0667a7 [2023-03-16T13:34:32.542Z] ---> 21fc3026c269 [2023-03-16T13:34:32.542Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-16T13:34:32.542Z] ---> Running in ea6bfdad9036 [2023-03-16T13:34:32.809Z] Removing intermediate container ea6bfdad9036 [2023-03-16T13:34:32.809Z] ---> b59d1ff80135 [2023-03-16T13:34:32.809Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-16T13:34:32.809Z] ---> Running in 0e383011474e [2023-03-16T13:34:33.080Z] Removing intermediate container 0e383011474e [2023-03-16T13:34:33.080Z] ---> bc571b280de7 [2023-03-16T13:34:33.080Z] Step 22/24 : LABEL arch=arm64 [2023-03-16T13:34:33.080Z] ---> Running in d557b62fd04e [2023-03-16T13:34:33.664Z] Removing intermediate container d557b62fd04e [2023-03-16T13:34:33.664Z] ---> ded643f093fa [2023-03-16T13:34:33.664Z] Step 23/24 : LABEL git_sha=6f32b0e90f1c1bced46a177c350e483eb4bf55fb [2023-03-16T13:34:33.664Z] ---> Running in fb46567b8e16 [2023-03-16T13:34:33.932Z] Removing intermediate container fb46567b8e16 [2023-03-16T13:34:33.932Z] ---> d00f3e08ccc1 [2023-03-16T13:34:33.932Z] Step 24/24 : LABEL version=0.0.0 [2023-03-16T13:34:33.932Z] ---> Running in d21492537a37 [2023-03-16T13:34:34.200Z] Removing intermediate container d21492537a37 [2023-03-16T13:34:34.200Z] ---> a4c9296849e9 [2023-03-16T13:34:34.200Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T13:34:34.200Z] Successfully built a4c9296849e9 [2023-03-16T13:34:34.200Z] 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 [2023-03-16T13:34:34.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T13:34:34.986Z] [2023-03-16T13:34:34.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:34:35.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T13:34:35.385Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T13:34:35.385Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T13:34:35.385Z] 04944245beec: Pulling fs layer [2023-03-16T13:34:35.385Z] 699f458cf7ca: Pulling fs layer [2023-03-16T13:34:35.385Z] 765212b225bb: Pulling fs layer [2023-03-16T13:34:35.385Z] f23df028b6ca: Pulling fs layer [2023-03-16T13:34:35.385Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T13:34:35.385Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T13:34:35.385Z] 765212b225bb: Waiting [2023-03-16T13:34:35.385Z] 2437ff75d9bd: Waiting [2023-03-16T13:34:35.385Z] f23df028b6ca: Waiting [2023-03-16T13:34:35.385Z] d65c8cfc05b1: Waiting [2023-03-16T13:34:35.668Z] 04944245beec: Verifying Checksum [2023-03-16T13:34:35.668Z] 04944245beec: Download complete [2023-03-16T13:34:35.668Z] 765212b225bb: Verifying Checksum [2023-03-16T13:34:35.668Z] 765212b225bb: Download complete [2023-03-16T13:34:35.668Z] f23df028b6ca: Verifying Checksum [2023-03-16T13:34:35.668Z] f23df028b6ca: Download complete [2023-03-16T13:34:35.668Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T13:34:35.668Z] d65c8cfc05b1: Download complete [2023-03-16T13:34:35.942Z] 699f458cf7ca: Verifying Checksum [2023-03-16T13:34:35.942Z] 699f458cf7ca: Download complete [2023-03-16T13:34:36.211Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T13:34:36.211Z] 8998bd30e6a1: Download complete [2023-03-16T13:34:38.794Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T13:34:38.794Z] 2437ff75d9bd: Download complete [2023-03-16T13:34:40.203Z] 8998bd30e6a1: Pull complete [2023-03-16T13:34:40.475Z] 04944245beec: Pull complete [2023-03-16T13:34:41.885Z] 699f458cf7ca: Pull complete [2023-03-16T13:34:41.885Z] 765212b225bb: Pull complete [2023-03-16T13:34:42.850Z] f23df028b6ca: Pull complete [2023-03-16T13:34:46.194Z] d65c8cfc05b1: Pull complete [2023-03-16T13:34:58.484Z] 2437ff75d9bd: Pull complete [2023-03-16T13:34:59.882Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T13:34:59.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T13:34:59.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:35:00.186Z] prd-ubuntu20.04-docker-arm64-4c-16g-2422 does not seem to be running inside a container [2023-03-16T13:35:00.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T13:35:02.820Z] $ docker top e957e7d2cdde9b800847406cee76d422ea7e68e0e86c211057197c97fd0f8bbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:35:03.702Z] ---> job-cost.sh [2023-03-16T13:35:03.702Z] lf-activate-venv: SKIPPING [2023-03-16T13:35:03.702Z] INFO: No Stack... [2023-03-16T13:35:04.283Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T13:35:04.863Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T13:35:05.196Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-03-16T13:35:05.196Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T13:35:05.530Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-266-1-stack-cost] [2023-03-16T13:35:05.534Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-266-1-stack-cost] did not exist. Created. [2023-03-16T13:35:05.534Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-266-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T13:35:05.938Z] /w/workspace/device-snmp-go/1@tmp/durable-0c56216d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T13:35:06.286Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T13:35:06.321Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T13:35:06.360Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T13:35:06.374Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-266-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T13:35:06.452Z] $ docker stop --time=1 e957e7d2cdde9b800847406cee76d422ea7e68e0e86c211057197c97fd0f8bbc [2023-03-16T13:35:07.920Z] $ docker rm -f --volumes e957e7d2cdde9b800847406cee76d422ea7e68e0e86c211057197c97fd0f8bbc [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 [2023-03-16T13:35:08.865Z] provisioning config files... [2023-03-16T13:35:08.872Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-266@tmp/config10553054675409622020tmp [Pipeline] { [Pipeline] sh [2023-03-16T13:35:09.203Z] + set +x [2023-03-16T13:35:09.203Z] + curl -s https://codecov.io/bash [2023-03-16T13:35:09.203Z] + bash -s -- [2023-03-16T13:35:09.203Z] [2023-03-16T13:35:09.203Z] _____ _ [2023-03-16T13:35:09.203Z] / ____| | | [2023-03-16T13:35:09.203Z] | | ___ __| | ___ ___ _____ __ [2023-03-16T13:35:09.203Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-16T13:35:09.203Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-16T13:35:09.203Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-16T13:35:09.203Z] Bash-1.0.6 [2023-03-16T13:35:09.203Z] [2023-03-16T13:35:09.203Z] [2023-03-16T13:35:09.203Z] ==> git version 2.25.1 found [2023-03-16T13:35:09.203Z] ==> 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 [2023-03-16T13:35:09.203Z] Release-Date: 2020-01-08 [2023-03-16T13:35:09.203Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-16T13:35:09.203Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-16T13:35:09.203Z] ==> Jenkins CI detected. [2023-03-16T13:35:09.203Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-266 [2023-03-16T13:35:09.203Z] project root: . [2023-03-16T13:35:09.203Z] --> token set from env [2023-03-16T13:35:09.203Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-16T13:35:09.203Z] ==> Running gcov in . (disable via -X gcov) [2023-03-16T13:35:09.203Z] ==> Python coveragepy not found [2023-03-16T13:35:09.203Z] ==> Searching for coverage reports in: [2023-03-16T13:35:09.203Z] + . [2023-03-16T13:35:09.203Z] -> Found 1 reports [2023-03-16T13:35:09.203Z] ==> Detecting git/mercurial file structure [2023-03-16T13:35:09.203Z] ==> Reading reports [2023-03-16T13:35:09.203Z] + ./coverage.out bytes=7631 [2023-03-16T13:35:09.203Z] ==> Appending adjustments [2023-03-16T13:35:09.203Z] https://docs.codecov.io/docs/fixing-reports [2023-03-16T13:35:09.464Z] + Found adjustments [2023-03-16T13:35:09.464Z] ==> Gzipping contents [2023-03-16T13:35:09.464Z] 4.0K /tmp/codecov.kntE64.gz [2023-03-16T13:35:09.464Z] ==> Uploading reports [2023-03-16T13:35:09.464Z] url: https://codecov.io [2023-03-16T13:35:09.464Z] query: branch=PR-266&commit=6f32b0e90f1c1bced46a177c350e483eb4bf55fb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-266%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=266&job=&cmd_args= [2023-03-16T13:35:09.464Z] -> Pinging Codecov [2023-03-16T13:35:09.464Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-266&commit=6f32b0e90f1c1bced46a177c350e483eb4bf55fb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-266%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=266&job=&cmd_args= [2023-03-16T13:35:21.675Z] {"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"} [2023-03-16T13:35:21.675Z] 500 [2023-03-16T13:35:21.675Z] ==> Uploading to Codecov [2023-03-16T13:35:21.675Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T13:35:21.675Z] Dload Upload Total Spent Left Speed [2023-03-16T13:35:21.675Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1538 100 31 100 1507 158 7688 --:--:-- --:--:-- --:--:-- 7846 [2023-03-16T13:35:21.675Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 5 retries [2023-03-16T13:35:21.675Z] Warning: left. [2023-03-16T13:35:22.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1538 100 31 100 1507 231 11246 --:--:-- --:--:-- --:--:-- 11477 [2023-03-16T13:35:22.506Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 4 retries [2023-03-16T13:35:22.506Z] Warning: left. [2023-03-16T13:35:24.671Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1538 100 31 100 1507 244 11866 --:--:-- --:--:-- --:--:-- 12110 [2023-03-16T13:35:24.671Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 3 retries [2023-03-16T13:35:24.671Z] Warning: left. [2023-03-16T13:35:26.837Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1538 100 31 100 1507 267 12991 --:--:-- --:--:-- --:--:-- 13373 [2023-03-16T13:35:26.837Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries [2023-03-16T13:35:26.837Z] Warning: left. [2023-03-16T13:35:28.745Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1538 100 31 100 1507 329 16031 --:--:-- --:--:-- --:--:-- 16361 [2023-03-16T13:35:28.745Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 1 retries [2023-03-16T13:35:28.745Z] Warning: left. [2023-03-16T13:35:31.279Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1538 100 31 100 1507 186 9078 --:--:-- --:--:-- --:--:-- 9265 [2023-03-16T13:35:31.279Z] {"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"} [Pipeline] } [2023-03-16T13:35:31.307Z] 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 [2023-03-16T13:35:32.920Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-266/archives ] [2023-03-16T13:35:32.920Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-266/archives [2023-03-16T13:35:32.920Z] total 16 [2023-03-16T13:35:32.920Z] drwxr-xr-x 3 root root 4096 Mar 16 13:25 . [2023-03-16T13:35:32.920Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 13:25 .. [2023-03-16T13:35:32.920Z] drwxr-xr-x 2 root root 4096 Mar 16 13:25 cost [2023-03-16T13:35:32.920Z] -rw-r--r-- 1 root root 86 Mar 16 13:25 cost.csv [2023-03-16T13:35:32.920Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-266/archives [2023-03-16T13:35:32.920Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-266/archives [2023-03-16T13:35:32.920Z] total 16 [2023-03-16T13:35:32.920Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 13:25 . [2023-03-16T13:35:32.920Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 13:25 .. [2023-03-16T13:35:32.920Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 13:25 cost [2023-03-16T13:35:32.920Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 16 13:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:35:33.246Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:35:34.126Z] ---> package-listing.sh [2023-03-16T13:35:34.126Z] ++ facter osfamily [2023-03-16T13:35:34.126Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T13:35:34.385Z] + OS_FAMILY=debian [2023-03-16T13:35:34.385Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-266 [2023-03-16T13:35:34.385Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T13:35:34.385Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T13:35:34.385Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T13:35:34.385Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T13:35:34.385Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-266 ']' [2023-03-16T13:35:34.385Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T13:35:34.385Z] + case "${OS_FAMILY}" in [2023-03-16T13:35:34.385Z] + dpkg -l [2023-03-16T13:35:34.385Z] + grep '^ii' [2023-03-16T13:35:34.385Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T13:35:34.385Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T13:35:34.385Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T13:35:34.385Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-266 ']' [2023-03-16T13:35:34.385Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-266/archives/ [2023-03-16T13:35:34.385Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-266/archives/ [Pipeline] echo [2023-03-16T13:35:34.420Z] 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-266/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T13:35:34.712Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:35:35.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T13:35:35.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:35:35.484Z] prd-ubuntu20.04-docker-8c-8g-2417 does not seem to be running inside a container [2023-03-16T13:35:35.514Z] $ 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-266/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-266 -v /w/workspace/gexfoundry_device-snmp-go_PR-266:/w/workspace/gexfoundry_device-snmp-go_PR-266:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-266@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-266@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 [2023-03-16T13:35:35.736Z] $ docker top 5d585a91ded56b4f98df97f11f795cce5f1fe335e1349b852a5a3b7211d2ecff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T13:35:36.135Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T13:35:36.440Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T13:35:36.749Z] + ls /var/log/sa-host [2023-03-16T13:35:36.749Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T13:35:36.880Z] provisioning config files... [2023-03-16T13:35:36.887Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-266@tmp/config2424082549065604646tmp [Pipeline] { [Pipeline] echo [2023-03-16T13:35:36.944Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:35:37.255Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T13:35:37.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:35:37.672Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T13:35:37.704Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:35:38.027Z] ---> sudo-logs.sh [2023-03-16T13:35:38.028Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T13:35:38.112Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:35:38.423Z] ---> job-cost.sh [2023-03-16T13:35:38.423Z] lf-activate-venv: SKIPPING [2023-03-16T13:35:38.423Z] DEBUG: total: 0.2199999988079071 [2023-03-16T13:35:38.423Z] INFO: Retrieving Stack Cost... [2023-03-16T13:35:38.992Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T13:35:39.251Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T13:35:39.284Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:35:39.594Z] ---> logs-deploy.sh [2023-03-16T13:35:39.594Z] lf-activate-venv: SKIPPING [2023-03-16T13:35:39.594Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-266/1 [2023-03-16T13:35:39.594Z] INFO: archiving workspace using pattern(s): [2023-03-16T13:35:40.532Z] Archives upload complete. [2023-03-16T13:35:40.532Z] INFO: archiving logs to Nexus