Pull request #334 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 ejlee3 for edgexfoundry/device-snmp-go Obtained Jenkinsfile from d122d14a8fed92173b031bf0a51c963ee16b299a+b852d33a75a07d69fbdb63dde5dbae2cfe6da43b (399a84f58c17c30418dddaa18339439b96fd5a8d) 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-ssh11829458436325637829.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh2428813180783757075.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-334/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-334/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18165756297679414569.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-334/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11346721701336828453.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh4346838658826020451.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-334/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-334/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14553911337982776713.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2460 in /w/workspace/gexfoundry_device-snmp-go_PR-334 [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-334 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b852d33a75a07d69fbdb63dde5dbae2cfe6da43b into PR head commit d122d14a8fed92173b031bf0a51c963ee16b299a Merge succeeded, producing d122d14a8fed92173b031bf0a51c963ee16b299a Checking out Revision d122d14a8fed92173b031bf0a51c963ee16b299a (PR-334) > 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/334/head:refs/remotes/origin/PR-334 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d122d14a8fed92173b031bf0a51c963ee16b299a # 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 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d122d14a8fed92173b031bf0a51c963ee16b299a # timeout=10 Commit message: "build: Update to latest 3.2.0 dev go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-28T19:10:39.565Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-28T19:10:39.764Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-28T19:10:39.942Z] ========================================================= [2023-11-28T19:10:39.942Z] EdgeX Global Pipelines Version Info [2023-11-28T19:10:39.942Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:10:41.500Z] ------------------- [2023-11-28T19:10:41.501Z] stable info: [2023-11-28T19:10:41.501Z] ------------------- [2023-11-28T19:10:41.501Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-28T19:10:41.501Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T19:10:41.501Z] Message: update stable to v1.0.258 [2023-11-28T19:10:41.762Z] ------------------- [2023-11-28T19:10:41.762Z] experimental info: [2023-11-28T19:10:41.762Z] ------------------- [2023-11-28T19:10:41.762Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-28T19:10:41.762Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T19:10:41.762Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-28T19:10:41.975Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-11-28T19:10:42.033Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-11-28T19:10:42.086Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-28T19:10:42.146Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-28T19:10:42.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-28T19:10:42.270Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-28T19:10:42.331Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-28T19:10:42.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-28T19:10:42.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-28T19:10:42.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-28T19:10:42.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-28T19:10:42.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-11-28T19:10:42.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-28T19:10:42.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-28T19:10:42.848Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T19:10:42.912Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T19:10:42.978Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T19:10:43.051Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T19:10:43.118Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-28T19:10:43.197Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-28T19:10:43.269Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-28T19:10:43.335Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-28T19:10:43.416Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-28T19:10:43.490Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-28T19:10:43.570Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-28T19:10:43.650Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-28T19:10:43.729Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-28T19:10:43.831Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-334 [Pipeline] echo [2023-11-28T19:10:43.895Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-334 [Pipeline] echo [2023-11-28T19:10:43.960Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-334 [Pipeline] echo [2023-11-28T19:10:44.157Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d122d14a8fed92173b031bf0a51c963ee16b299a [Pipeline] echo [2023-11-28T19:10:44.248Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d122d14 [Pipeline] echo [2023-11-28T19:10:44.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:10:44.522Z] provisioning config files... [2023-11-28T19:10:44.537Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-334@tmp/config362772655332619386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:10:44.959Z] ---> ****-login.sh [2023-11-28T19:10:44.959Z] nexus3.edgexfoundry.org:10001 [2023-11-28T19:10:45.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:10:45.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:10:45.219Z] Configure a credential helper to remove this warning. See [2023-11-28T19:10:45.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:10:45.219Z] [2023-11-28T19:10:45.219Z] Login Succeeded [2023-11-28T19:10:45.219Z] nexus3.edgexfoundry.org:10002 [2023-11-28T19:10:45.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:10:45.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:10:45.219Z] Configure a credential helper to remove this warning. See [2023-11-28T19:10:45.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:10:45.219Z] [2023-11-28T19:10:45.219Z] Login Succeeded [2023-11-28T19:10:45.220Z] nexus3.edgexfoundry.org:10003 [2023-11-28T19:10:45.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:10:45.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:10:45.480Z] Configure a credential helper to remove this warning. See [2023-11-28T19:10:45.480Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:10:45.480Z] [2023-11-28T19:10:45.480Z] Login Succeeded [2023-11-28T19:10:45.480Z] nexus3.edgexfoundry.org:10004 [2023-11-28T19:10:45.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:10:45.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:10:45.480Z] Configure a credential helper to remove this warning. See [2023-11-28T19:10:45.480Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:10:45.480Z] [2023-11-28T19:10:45.480Z] Login Succeeded [2023-11-28T19:10:45.480Z] ****.io [2023-11-28T19:10:45.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:10:45.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:10:45.741Z] Configure a credential helper to remove this warning. See [2023-11-28T19:10:45.741Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:10:45.741Z] [2023-11-28T19:10:45.741Z] Login Succeeded [2023-11-28T19:10:45.742Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T19:10:45.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-28T19:10:46.597Z] + git rev-list -1 --merges d122d14a8fed92173b031bf0a51c963ee16b299a~1..d122d14a8fed92173b031bf0a51c963ee16b299a [Pipeline] echo [2023-11-28T19:10:46.658Z] -----------> git rev-list -1 --merges d122d14a8fed92173b031bf0a51c963ee16b299a~1..d122d14a8fed92173b031bf0a51c963ee16b299a d122d14a8fed92173b031bf0a51c963ee16b299a [false] [Pipeline] sh [2023-11-28T19:10:46.984Z] + git log --format=format:%s -1 d122d14a8fed92173b031bf0a51c963ee16b299a [Pipeline] echo [2023-11-28T19:10:47.065Z] ========================================================= [2023-11-28T19:10:47.065Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-28T19:10:47.065Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:10:47.708Z] + git log --format=format:%s -1 d122d14a8fed92173b031bf0a51c963ee16b299a [Pipeline] echo [2023-11-28T19:10:47.742Z] [semverPrep] GIT_COMMIT: d122d14a8fed92173b031bf0a51c963ee16b299a, Commit Message: build: Update to latest 3.2.0 dev go-mods [Pipeline] echo [2023-11-28T19:10:47.792Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-28T19:10:48.223Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T19:10:48.223Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-28T19:10:48.223Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-28T19:10:48.223Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-28T19:10:48.223Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-28T19:10:48.223Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-28T19:10:48.223Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:10:48.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T19:10:48.681Z] [2023-11-28T19:10:48.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:10:49.086Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T19:10:49.086Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-28T19:10:49.086Z] b85a868b505f: Pulling fs layer [2023-11-28T19:10:49.086Z] e2be974225ed: Pulling fs layer [2023-11-28T19:10:49.086Z] 339a4e72a1f5: Pulling fs layer [2023-11-28T19:10:49.086Z] 988bab9f4d93: Pulling fs layer [2023-11-28T19:10:49.086Z] 1469e6f7b9e6: Pulling fs layer [2023-11-28T19:10:49.086Z] eaf3925da568: Pulling fs layer [2023-11-28T19:10:49.086Z] bab4dde63d76: Pulling fs layer [2023-11-28T19:10:49.086Z] bde34c3a00c8: Pulling fs layer [2023-11-28T19:10:49.086Z] b352a97aabf1: Pulling fs layer [2023-11-28T19:10:49.086Z] 4872d77fe225: Pulling fs layer [2023-11-28T19:10:49.086Z] 5851b861e8e6: Pulling fs layer [2023-11-28T19:10:49.086Z] eaf3925da568: Waiting [2023-11-28T19:10:49.086Z] bab4dde63d76: Waiting [2023-11-28T19:10:49.086Z] bde34c3a00c8: Waiting [2023-11-28T19:10:49.086Z] 1469e6f7b9e6: Waiting [2023-11-28T19:10:49.086Z] b352a97aabf1: Waiting [2023-11-28T19:10:49.086Z] 4872d77fe225: Waiting [2023-11-28T19:10:49.086Z] 5851b861e8e6: Waiting [2023-11-28T19:10:49.086Z] 988bab9f4d93: Waiting [2023-11-28T19:10:49.086Z] e2be974225ed: Verifying Checksum [2023-11-28T19:10:49.086Z] e2be974225ed: Download complete [2023-11-28T19:10:49.086Z] 988bab9f4d93: Verifying Checksum [2023-11-28T19:10:49.086Z] 988bab9f4d93: Download complete [2023-11-28T19:10:49.344Z] 1469e6f7b9e6: Verifying Checksum [2023-11-28T19:10:49.344Z] 1469e6f7b9e6: Download complete [2023-11-28T19:10:49.344Z] eaf3925da568: Download complete [2023-11-28T19:10:49.344Z] 339a4e72a1f5: Verifying Checksum [2023-11-28T19:10:49.344Z] 339a4e72a1f5: Download complete [2023-11-28T19:10:49.344Z] bde34c3a00c8: Verifying Checksum [2023-11-28T19:10:49.344Z] bde34c3a00c8: Download complete [2023-11-28T19:10:49.344Z] b352a97aabf1: Verifying Checksum [2023-11-28T19:10:49.344Z] 4872d77fe225: Download complete [2023-11-28T19:10:49.344Z] 5851b861e8e6: Verifying Checksum [2023-11-28T19:10:49.344Z] 5851b861e8e6: Download complete [2023-11-28T19:10:49.344Z] b85a868b505f: Verifying Checksum [2023-11-28T19:10:49.344Z] b85a868b505f: Download complete [2023-11-28T19:10:49.603Z] bab4dde63d76: Verifying Checksum [2023-11-28T19:10:49.603Z] bab4dde63d76: Download complete [2023-11-28T19:10:50.536Z] b85a868b505f: Pull complete [2023-11-28T19:10:50.536Z] e2be974225ed: Pull complete [2023-11-28T19:10:51.105Z] 339a4e72a1f5: Pull complete [2023-11-28T19:10:51.105Z] 988bab9f4d93: Pull complete [2023-11-28T19:10:51.366Z] 1469e6f7b9e6: Pull complete [2023-11-28T19:10:51.366Z] eaf3925da568: Pull complete [2023-11-28T19:10:53.271Z] bab4dde63d76: Pull complete [2023-11-28T19:10:53.271Z] bde34c3a00c8: Pull complete [2023-11-28T19:10:53.271Z] b352a97aabf1: Pull complete [2023-11-28T19:10:53.271Z] 4872d77fe225: Pull complete [2023-11-28T19:10:53.533Z] 5851b861e8e6: Pull complete [2023-11-28T19:10:53.533Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-28T19:10:53.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T19:10:53.533Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:10:53.911Z] prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container [2023-11-28T19:10:53.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-334 -v /w/workspace/gexfoundry_device-snmp-go_PR-334:/w/workspace/gexfoundry_device-snmp-go_PR-334:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-334@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-334@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-devops/py-git-semver:0.1.4 cat [2023-11-28T19:10:56.925Z] $ docker top cb12f4d9d34d955f591049a45641312982159fb27f6a775773a1f99e9df24f44 -eo pid,comm [2023-11-28T19:10:56.986Z] 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-11-28T19:10:56.986Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T19:10:57.182Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T19:10:57.182Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T19:10:57.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T19:10:57.304Z] $ docker exec cb12f4d9d34d955f591049a45641312982159fb27f6a775773a1f99e9df24f44 ssh-agent [2023-11-28T19:10:57.412Z] SSH_AUTH_SOCK=/tmp/ssh-LMkBEKWmsaW1/agent.32 [2023-11-28T19:10:57.412Z] SSH_AGENT_PID=38 [2023-11-28T19:10:57.418Z] Running ssh-add (command line suppressed) [2023-11-28T19:10:57.516Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-334@tmp/private_key_3562569263648312936.key (/w/workspace/gexfoundry_device-snmp-go_PR-334@tmp/private_key_3562569263648312936.key) [2023-11-28T19:10:57.535Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T19:10:57.888Z] + git tag --points-at HEAD [Pipeline] } [2023-11-28T19:10:57.912Z] $ docker exec --env ******** --env ******** cb12f4d9d34d955f591049a45641312982159fb27f6a775773a1f99e9df24f44 ssh-agent -k [2023-11-28T19:10:58.018Z] unset SSH_AUTH_SOCK; [2023-11-28T19:10:58.019Z] unset SSH_AGENT_PID; [2023-11-28T19:10:58.019Z] echo Agent pid 38 killed; [2023-11-28T19:10:58.032Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-28T19:10:58.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T19:10:58.179Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T19:10:58.284Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T19:10:58.286Z] $ docker exec cb12f4d9d34d955f591049a45641312982159fb27f6a775773a1f99e9df24f44 ssh-agent [2023-11-28T19:10:58.398Z] SSH_AUTH_SOCK=/tmp/ssh-nRgAgpHknpNy/agent.71 [2023-11-28T19:10:58.398Z] SSH_AGENT_PID=77 [2023-11-28T19:10:58.405Z] Running ssh-add (command line suppressed) [2023-11-28T19:10:58.502Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-334@tmp/private_key_9771041027267558782.key (/w/workspace/gexfoundry_device-snmp-go_PR-334@tmp/private_key_9771041027267558782.key) [2023-11-28T19:10:58.518Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T19:10:58.874Z] + git semver init [2023-11-28T19:10:59.134Z] 2023-11-28 19:10:59,033 [run_init] DEBUG init version:0.0.0 force:False [2023-11-28T19:10:59.134Z] 2023-11-28 19:10:59,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-334/.semver [2023-11-28T19:10:59.134Z] 2023-11-28 19:10:59,035 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-334/.semver [2023-11-28T19:10:59.134Z] 2023-11-28 19:10:59,035 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-334/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-334, universal_newlines=False, shell=None, istream=None) [2023-11-28T19:11:00.517Z] 2023-11-28 19:11:00,332 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-334/.git/info/exclude [2023-11-28T19:11:00.517Z] 2023-11-28 19:11:00,332 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-334/.semver/PR-334 with force:False [2023-11-28T19:11:00.517Z] 2023-11-28 19:11:00,333 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-334/.semver/PR-334 [2023-11-28T19:11:00.517Z] 2023-11-28 19:11:00,337 [execute] INFO git cat-file --batch-check [2023-11-28T19:11:00.517Z] 2023-11-28 19:11:00,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-334/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T19:11:00.517Z] 2023-11-28 19:11:00,344 [execute] INFO git cat-file --batch [2023-11-28T19:11:00.517Z] 2023-11-28 19:11:00,344 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-334/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T19:11:00.517Z] 2023-11-28 19:11:00,348 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-334/.semver/PR-334 [2023-11-28T19:11:00.517Z] 0.0.0 [Pipeline] } [2023-11-28T19:11:00.543Z] $ docker exec --env ******** --env ******** cb12f4d9d34d955f591049a45641312982159fb27f6a775773a1f99e9df24f44 ssh-agent -k [2023-11-28T19:11:00.652Z] unset SSH_AUTH_SOCK; [2023-11-28T19:11:00.652Z] unset SSH_AGENT_PID; [2023-11-28T19:11:00.652Z] echo Agent pid 77 killed; [2023-11-28T19:11:00.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T19:11:01.183Z] + git semver [Pipeline] } [2023-11-28T19:11:01.478Z] $ docker stop --time=1 cb12f4d9d34d955f591049a45641312982159fb27f6a775773a1f99e9df24f44 [2023-11-28T19:11:02.793Z] $ docker rm -f --volumes cb12f4d9d34d955f591049a45641312982159fb27f6a775773a1f99e9df24f44 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T19:11:03.241Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-28T19:11:03.560Z] Stashed 1 file(s) [Pipeline] echo [2023-11-28T19:11:03.595Z] [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-11-28T19:11:04.782Z] provisioning config files... [2023-11-28T19:11:04.792Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-334@tmp/config8677509780409244327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:11:05.204Z] ---> ****-login.sh [2023-11-28T19:11:05.204Z] nexus3.edgexfoundry.org:10001 [2023-11-28T19:11:05.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:05.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:05.204Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:05.204Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:05.204Z] [2023-11-28T19:11:05.204Z] Login Succeeded [2023-11-28T19:11:05.204Z] nexus3.edgexfoundry.org:10002 [2023-11-28T19:11:05.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:05.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:05.204Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:05.204Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:05.204Z] [2023-11-28T19:11:05.204Z] Login Succeeded [2023-11-28T19:11:05.204Z] nexus3.edgexfoundry.org:10003 [2023-11-28T19:11:05.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:05.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:05.465Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:05.465Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:05.465Z] [2023-11-28T19:11:05.465Z] Login Succeeded [2023-11-28T19:11:05.465Z] nexus3.edgexfoundry.org:10004 [2023-11-28T19:11:05.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:05.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:05.465Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:05.465Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:05.465Z] [2023-11-28T19:11:05.465Z] Login Succeeded [2023-11-28T19:11:05.465Z] ****.io [2023-11-28T19:11:05.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:11:05.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:11:05.988Z] Configure a credential helper to remove this warning. See [2023-11-28T19:11:05.988Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:11:05.988Z] [2023-11-28T19:11:05.988Z] Login Succeeded [2023-11-28T19:11:05.988Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T19:11:06.023Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T19:11:06.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:11:06.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:11:06.677Z] ========================================================= [2023-11-28T19:11:06.677Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-28T19:11:06.677Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:11:07.414Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-28T19:11:07.414Z] Sending build context to Docker daemon 14.1MB [2023-11-28T19:11:07.414Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:11:07.414Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T19:11:07.414Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-28T19:11:07.414Z] 7264a8db6415: Pulling fs layer [2023-11-28T19:11:07.414Z] c4d48a809fc2: Pulling fs layer [2023-11-28T19:11:07.414Z] 4f1c88b9dad5: Pulling fs layer [2023-11-28T19:11:07.414Z] ad3a456e5733: Pulling fs layer [2023-11-28T19:11:07.414Z] 69c7f0334f64: Pulling fs layer [2023-11-28T19:11:07.414Z] 1f1c1a5573a3: Pulling fs layer [2023-11-28T19:11:07.414Z] ce7588e14bc9: Pulling fs layer [2023-11-28T19:11:07.414Z] b5e4710f87ac: Pulling fs layer [2023-11-28T19:11:07.414Z] ad3a456e5733: Waiting [2023-11-28T19:11:07.414Z] 69c7f0334f64: Waiting [2023-11-28T19:11:07.414Z] 1f1c1a5573a3: Waiting [2023-11-28T19:11:07.414Z] ce7588e14bc9: Waiting [2023-11-28T19:11:07.414Z] b5e4710f87ac: Waiting [2023-11-28T19:11:07.679Z] c4d48a809fc2: Download complete [2023-11-28T19:11:07.679Z] ad3a456e5733: Verifying Checksum [2023-11-28T19:11:07.679Z] ad3a456e5733: Download complete [2023-11-28T19:11:07.679Z] 69c7f0334f64: Verifying Checksum [2023-11-28T19:11:07.679Z] 69c7f0334f64: Download complete [2023-11-28T19:11:07.679Z] 7264a8db6415: Verifying Checksum [2023-11-28T19:11:07.679Z] 7264a8db6415: Download complete [2023-11-28T19:11:07.679Z] 1f1c1a5573a3: Verifying Checksum [2023-11-28T19:11:07.679Z] 1f1c1a5573a3: Download complete [2023-11-28T19:11:07.679Z] 7264a8db6415: Pull complete [2023-11-28T19:11:07.940Z] b5e4710f87ac: Verifying Checksum [2023-11-28T19:11:07.940Z] b5e4710f87ac: Download complete [2023-11-28T19:11:08.198Z] c4d48a809fc2: Pull complete [2023-11-28T19:11:08.198Z] 4f1c88b9dad5: Verifying Checksum [2023-11-28T19:11:08.198Z] 4f1c88b9dad5: Download complete [2023-11-28T19:11:08.456Z] ce7588e14bc9: Verifying Checksum [2023-11-28T19:11:08.456Z] ce7588e14bc9: Download complete [2023-11-28T19:11:10.984Z] 4f1c88b9dad5: Pull complete [2023-11-28T19:11:11.239Z] ad3a456e5733: Pull complete [2023-11-28T19:11:11.239Z] 69c7f0334f64: Pull complete [2023-11-28T19:11:11.239Z] 1f1c1a5573a3: Pull complete [2023-11-28T19:11:13.780Z] ce7588e14bc9: Pull complete [2023-11-28T19:11:14.039Z] b5e4710f87ac: Pull complete [2023-11-28T19:11:14.040Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-28T19:11:14.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-28T19:11:14.040Z] ---> 88b5674ff536 [2023-11-28T19:11:14.040Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:11:19.420Z] Still waiting to schedule task [2023-11-28T19:11:19.420Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-28T19:11:19.583Z] ---> Running in c5f1375adac8 [2023-11-28T19:11:19.584Z] Removing intermediate container c5f1375adac8 [2023-11-28T19:11:19.584Z] ---> 00a11f86b498 [2023-11-28T19:11:19.584Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:11:19.584Z] ---> Running in addf3f50db18 [2023-11-28T19:11:19.584Z] Removing intermediate container addf3f50db18 [2023-11-28T19:11:19.584Z] ---> 17213c7dc646 [2023-11-28T19:11:19.584Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T19:11:19.584Z] ---> Running in b009389f2052 [2023-11-28T19:11:19.584Z] Removing intermediate container b009389f2052 [2023-11-28T19:11:19.584Z] ---> f3e89449f0fe [2023-11-28T19:11:19.584Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:11:19.584Z] ---> Running in d0be74d98421 [2023-11-28T19:11:19.584Z] Removing intermediate container d0be74d98421 [2023-11-28T19:11:19.584Z] ---> 0d9ea459ccec [2023-11-28T19:11:19.584Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:11:19.584Z] ---> Running in fc08881306f3 [2023-11-28T19:11:19.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T19:11:19.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T19:11:19.842Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T19:11:20.106Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T19:11:20.106Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T19:11:20.106Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T19:11:20.106Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:11:20.106Z] OK: 268 MiB in 56 packages [2023-11-28T19:11:20.398Z] Removing intermediate container fc08881306f3 [2023-11-28T19:11:20.398Z] ---> 7a65e7d85625 [2023-11-28T19:11:20.398Z] Step 8/12 : WORKDIR /device-snmp-go [2023-11-28T19:11:20.398Z] ---> Running in 1d2b80a20008 [2023-11-28T19:11:20.657Z] Removing intermediate container 1d2b80a20008 [2023-11-28T19:11:20.657Z] ---> 0a1e63493268 [2023-11-28T19:11:20.657Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-28T19:11:20.657Z] ---> 46a1fcb71544 [2023-11-28T19:11:20.657Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:11:20.657Z] ---> Running in 5d47a8d66a10 [2023-11-28T19:11:59.387Z] Removing intermediate container 5d47a8d66a10 [2023-11-28T19:11:59.387Z] ---> bca775887005 [2023-11-28T19:11:59.387Z] Step 11/12 : COPY . . [2023-11-28T19:11:59.387Z] ---> d7c32385ae1f [2023-11-28T19:11:59.387Z] Step 12/12 : RUN ${MAKE} [2023-11-28T19:11:59.387Z] ---> Running in aec2f6e57eb9 [2023-11-28T19:11:59.387Z] noop [2023-11-28T19:11:59.387Z] Removing intermediate container aec2f6e57eb9 [2023-11-28T19:11:59.387Z] ---> d77d46133803 [2023-11-28T19:11:59.387Z] Successfully built d77d46133803 [2023-11-28T19:11:59.387Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:11:59.921Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T19:11:59.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:12:00.125Z] prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container [2023-11-28T19:12:00.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-334 -v /w/workspace/gexfoundry_device-snmp-go_PR-334:/w/workspace/gexfoundry_device-snmp-go_PR-334:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-334@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-334@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T19:12:00.478Z] $ docker top 7f096f42bddbbbbb0fce6ce65c7b4901be31af30319c693268d3a4972abd66f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:12:00.968Z] + go version [2023-11-28T19:12:00.968Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-28T19:12:00.998Z] $ docker stop --time=1 7f096f42bddbbbbb0fce6ce65c7b4901be31af30319c693268d3a4972abd66f6 [2023-11-28T19:12:02.262Z] $ docker rm -f --volumes 7f096f42bddbbbbb0fce6ce65c7b4901be31af30319c693268d3a4972abd66f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:12:03.192Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T19:12:03.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:12:03.390Z] prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container [2023-11-28T19:12:03.419Z] $ 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-334 -v /w/workspace/gexfoundry_device-snmp-go_PR-334:/w/workspace/gexfoundry_device-snmp-go_PR-334:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-334@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-334@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T19:12:03.759Z] $ docker top ab7ed13efdc412142081d2af46572b625019454f8c436bbe7e2a3ed3b0e6b9d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:12:04.201Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-334 [Pipeline] fileExists [Pipeline] sh [2023-11-28T19:12:04.589Z] + make test [2023-11-28T19:12:04.590Z] go test ./... -coverprofile=coverage.out [2023-11-28T19:12:05.965Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-11-28T19:12:16.077Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-11-28T19:12:16.077Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2023-11-28T19:12:21.344Z] go vet ./... [2023-11-28T19:12:24.624Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T19:12:24.625Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T19:12:24.625Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T19:12:24.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T19:12:24.730Z] $ docker stop --time=1 ab7ed13efdc412142081d2af46572b625019454f8c436bbe7e2a3ed3b0e6b9d1 [2023-11-28T19:12:28.575Z] $ docker rm -f --volumes ab7ed13efdc412142081d2af46572b625019454f8c436bbe7e2a3ed3b0e6b9d1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T19:12:29.173Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T19:12:29.242Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-28T19:12:30.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T19:12:30.338Z] + ls -al . [2023-11-28T19:12:30.338Z] total 172 [2023-11-28T19:12:30.338Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:12 . [2023-11-28T19:12:30.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:10 .. [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 28 19:10 .dockerignore [2023-11-28T19:12:30.338Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:12 .git [2023-11-28T19:12:30.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:10 .github [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 263 Nov 28 19:10 .gitignore [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 19:10 .golangci.yml [2023-11-28T19:12:30.338Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 19:11 .semver [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 10025 Nov 28 19:10 Attribution.txt [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 11809 Nov 28 19:10 CHANGELOG.md [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 1571 Nov 28 19:10 Dockerfile [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:10 GOVERNANCE.md [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 28 19:10 Jenkinsfile [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 19:10 LICENSE [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 2240 Nov 28 19:10 Makefile [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 19:10 OWNERS.md [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 10477 Nov 28 19:10 README.md [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 19:11 VERSION [2023-11-28T19:12:30.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:10 bin [2023-11-28T19:12:30.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:10 cmd [2023-11-28T19:12:30.338Z] -rw-r--r-- 1 jenkins jenkins 8837 Nov 28 19:12 coverage.out [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 3707 Nov 28 19:10 go.mod [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 34812 Nov 28 19:10 go.sum [2023-11-28T19:12:30.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:10 internal [2023-11-28T19:12:30.338Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 28 19:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:12:30.795Z] + 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=d122d14a8fed92173b031bf0a51c963ee16b299a --label arch=amd64 --label version=0.0.0 . [2023-11-28T19:12:30.795Z] Sending build context to Docker daemon 14.11MB [2023-11-28T19:12:30.795Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:12:30.795Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-28T19:12:30.795Z] ---> d77d46133803 [2023-11-28T19:12:30.795Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:12:31.055Z] ---> Running in 8c2bf8a60aa4 [2023-11-28T19:12:31.055Z] Removing intermediate container 8c2bf8a60aa4 [2023-11-28T19:12:31.055Z] ---> 26d6c7021157 [2023-11-28T19:12:31.055Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:12:31.055Z] ---> Running in f518dd64234e [2023-11-28T19:12:31.314Z] Removing intermediate container f518dd64234e [2023-11-28T19:12:31.314Z] ---> b3e0f127fef8 [2023-11-28T19:12:31.314Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T19:12:31.314Z] ---> Running in e269037cd97f [2023-11-28T19:12:31.314Z] Removing intermediate container e269037cd97f [2023-11-28T19:12:31.314Z] ---> fa94b873746b [2023-11-28T19:12:31.314Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:12:31.314Z] ---> Running in 6921df529f84 [2023-11-28T19:12:31.314Z] Removing intermediate container 6921df529f84 [2023-11-28T19:12:31.314Z] ---> ff699a39c4f7 [2023-11-28T19:12:31.314Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:12:31.314Z] ---> Running in 5413ab8e4736 [2023-11-28T19:12:31.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T19:12:31.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T19:12:32.096Z] OK: 268 MiB in 56 packages [2023-11-28T19:12:32.666Z] Removing intermediate container 5413ab8e4736 [2023-11-28T19:12:32.666Z] ---> bfe07012b87b [2023-11-28T19:12:32.666Z] Step 8/25 : WORKDIR /device-snmp-go [2023-11-28T19:12:32.666Z] ---> Running in 4a278e24b1e2 [2023-11-28T19:12:32.666Z] Removing intermediate container 4a278e24b1e2 [2023-11-28T19:12:32.666Z] ---> a3d5355296eb [2023-11-28T19:12:32.666Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-28T19:12:32.666Z] ---> fe812ed7f0ca [2023-11-28T19:12:32.666Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:12:32.666Z] ---> Running in 12e35087cff6 [2023-11-28T19:12:33.602Z] Removing intermediate container 12e35087cff6 [2023-11-28T19:12:33.602Z] ---> 6a9b4b80beb1 [2023-11-28T19:12:33.602Z] Step 11/25 : COPY . . [2023-11-28T19:12:34.174Z] ---> 3946f8bfc8c2 [2023-11-28T19:12:34.174Z] Step 12/25 : RUN ${MAKE} [2023-11-28T19:12:34.432Z] ---> Running in 18f42abdf7d5 [2023-11-28T19:12:34.693Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-11-28T19:12:57.537Z] Removing intermediate container 18f42abdf7d5 [2023-11-28T19:12:57.537Z] ---> f8fce47d4a7c [2023-11-28T19:12:57.537Z] Step 13/25 : FROM alpine:3.18 [2023-11-28T19:12:57.537Z] 3.18: Pulling from library/alpine [2023-11-28T19:12:57.537Z] 96526aa774ef: Pulling fs layer [2023-11-28T19:12:57.537Z] 96526aa774ef: Download complete [2023-11-28T19:12:57.537Z] 96526aa774ef: Pull complete [2023-11-28T19:12:57.537Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T19:12:57.537Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T19:12:57.537Z] ---> 8ca4688f4f35 [2023-11-28T19:12:57.537Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2023-11-28T19:12:57.537Z] ---> Running in 8d92c515f5d2 [2023-11-28T19:12:57.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T19:12:57.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T19:12:57.537Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T19:12:57.537Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T19:12:57.537Z] OK: 7 MiB in 16 packages [2023-11-28T19:12:57.537Z] Removing intermediate container 8d92c515f5d2 [2023-11-28T19:12:57.537Z] ---> 10ea64349a10 [2023-11-28T19:12:57.537Z] Step 15/25 : RUN apk --no-cache upgrade [2023-11-28T19:12:57.537Z] ---> Running in a677e101a20d [2023-11-28T19:12:57.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T19:12:57.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T19:12:57.537Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:12:57.537Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:12:57.537Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T19:12:57.537Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:12:57.537Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:12:57.537Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:12:57.537Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:12:57.537Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:12:57.537Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:12:57.537Z] OK: 7 MiB in 16 packages [2023-11-28T19:12:58.117Z] Removing intermediate container a677e101a20d [2023-11-28T19:12:58.117Z] ---> 08737e2d87b4 [2023-11-28T19:12:58.117Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2023-11-28T19:12:58.989Z] ---> 59e1f21c8bf4 [2023-11-28T19:12:58.989Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-11-28T19:12:58.989Z] ---> 33c325ea5391 [2023-11-28T19:12:58.989Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2023-11-28T19:12:59.249Z] ---> ef48c954913b [2023-11-28T19:12:59.249Z] Step 19/25 : EXPOSE 59993 [2023-11-28T19:12:59.249Z] ---> Running in 10335e622363 [2023-11-28T19:12:59.249Z] Removing intermediate container 10335e622363 [2023-11-28T19:12:59.249Z] ---> fdcc75508a6a [2023-11-28T19:12:59.249Z] Step 20/25 : EXPOSE 161 [2023-11-28T19:12:59.249Z] ---> Running in 7c32de70a187 [2023-11-28T19:12:59.249Z] Removing intermediate container 7c32de70a187 [2023-11-28T19:12:59.249Z] ---> 76ceef0e5d8a [2023-11-28T19:12:59.249Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2023-11-28T19:12:59.249Z] ---> Running in dd458b411a19 [2023-11-28T19:12:59.508Z] Removing intermediate container dd458b411a19 [2023-11-28T19:12:59.508Z] ---> dcfb943195b2 [2023-11-28T19:12:59.508Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T19:12:59.508Z] ---> Running in 6508c732cb08 [2023-11-28T19:12:59.508Z] Removing intermediate container 6508c732cb08 [2023-11-28T19:12:59.508Z] ---> d0e045c1744f [2023-11-28T19:12:59.508Z] Step 23/25 : LABEL arch=amd64 [2023-11-28T19:12:59.508Z] ---> Running in 8c209997e998 [2023-11-28T19:12:59.508Z] Removing intermediate container 8c209997e998 [2023-11-28T19:12:59.508Z] ---> 290454452ac2 [2023-11-28T19:12:59.508Z] Step 24/25 : LABEL git_sha=d122d14a8fed92173b031bf0a51c963ee16b299a [2023-11-28T19:12:59.508Z] ---> Running in 98069e6b793c [2023-11-28T19:12:59.767Z] Removing intermediate container 98069e6b793c [2023-11-28T19:12:59.767Z] ---> ea8ca74a0a55 [2023-11-28T19:12:59.767Z] Step 25/25 : LABEL version=0.0.0 [2023-11-28T19:12:59.767Z] ---> Running in afe42ec6e0ca [2023-11-28T19:12:59.767Z] Removing intermediate container afe42ec6e0ca [2023-11-28T19:12:59.767Z] ---> 68c6f3204b56 [2023-11-28T19:12:59.767Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T19:12:59.767Z] Successfully built 68c6f3204b56 [2023-11-28T19:12:59.767Z] 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-11-28T19:13:00.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:13:00.975Z] [2023-11-28T19:13:00.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:13:01.398Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:13:01.398Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-28T19:13:01.398Z] 5eb5b503b376: Pulling fs layer [2023-11-28T19:13:01.398Z] 5c69ac0246d0: Pulling fs layer [2023-11-28T19:13:01.398Z] ec43610c2a17: Pulling fs layer [2023-11-28T19:13:01.398Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-28T19:13:01.398Z] 33b1e0a273af: Pulling fs layer [2023-11-28T19:13:01.399Z] 5d3b04190fa2: Pulling fs layer [2023-11-28T19:13:01.399Z] 2f39f015ded8: Pulling fs layer [2023-11-28T19:13:01.399Z] 33b1e0a273af: Waiting [2023-11-28T19:13:01.399Z] 3a2ae6a8a46f: Waiting [2023-11-28T19:13:01.399Z] 5d3b04190fa2: Waiting [2023-11-28T19:13:01.399Z] 5c69ac0246d0: Download complete [2023-11-28T19:13:01.399Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-28T19:13:01.399Z] 33b1e0a273af: Verifying Checksum [2023-11-28T19:13:01.399Z] 33b1e0a273af: Download complete [2023-11-28T19:13:01.399Z] 5d3b04190fa2: Verifying Checksum [2023-11-28T19:13:01.399Z] 5d3b04190fa2: Download complete [2023-11-28T19:13:01.399Z] ec43610c2a17: Verifying Checksum [2023-11-28T19:13:01.399Z] ec43610c2a17: Download complete [2023-11-28T19:13:01.659Z] 5eb5b503b376: Verifying Checksum [2023-11-28T19:13:01.659Z] 5eb5b503b376: Download complete [2023-11-28T19:13:02.225Z] 2f39f015ded8: Verifying Checksum [2023-11-28T19:13:02.225Z] 2f39f015ded8: Download complete [2023-11-28T19:13:02.790Z] 5eb5b503b376: Pull complete [2023-11-28T19:13:03.048Z] 5c69ac0246d0: Pull complete [2023-11-28T19:13:03.306Z] ec43610c2a17: Pull complete [2023-11-28T19:13:03.307Z] 3a2ae6a8a46f: Pull complete [2023-11-28T19:13:03.564Z] 33b1e0a273af: Pull complete [2023-11-28T19:13:03.564Z] 5d3b04190fa2: Pull complete [2023-11-28T19:13:07.741Z] 2f39f015ded8: Pull complete [2023-11-28T19:13:07.741Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-28T19:13:07.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:13:07.741Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:13:08.115Z] prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container [2023-11-28T19:13:08.140Z] $ 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-334 -v /w/workspace/gexfoundry_device-snmp-go_PR-334:/w/workspace/gexfoundry_device-snmp-go_PR-334:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-334@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-334@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T19:13:12.240Z] $ docker top 2de3e33db699c4da2ca705b612f85e873dcfb4f635ea11f234ad74efabd858c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:13:12.754Z] ---> job-cost.sh [2023-11-28T19:13:12.754Z] lf-activate-venv: SKIPPING [2023-11-28T19:13:12.754Z] INFO: No Stack... [2023-11-28T19:13:13.012Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T19:13:13.271Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T19:13:13.584Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-334/archives/cost.csv [2023-11-28T19:13:13.584Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T19:13:13.623Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-334-1-stack-cost] [2023-11-28T19:13:13.627Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-334-1-stack-cost] did not exist. Created. [2023-11-28T19:13:13.627Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-334-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T19:13:14.075Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-28T19:13:14.119Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T19:13:14.187Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-334-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T19:13:14.386Z] $ docker stop --time=1 2de3e33db699c4da2ca705b612f85e873dcfb4f635ea11f234ad74efabd858c6 [2023-11-28T19:13:15.539Z] $ docker rm -f --volumes 2de3e33db699c4da2ca705b612f85e873dcfb4f635ea11f234ad74efabd858c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-28T20:16:54.586Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5045 in /w/workspace/gexfoundry_device-snmp-go_PR-334 [Pipeline] { [Pipeline] ws [2023-11-28T20:16:54.685Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-11-28T20:16:57.820Z] Selected Git installation does not exist. Using Default [2023-11-28T20:16:57.820Z] The recommended git tool is: NONE [2023-11-28T20:17:03.172Z] using credential edgex-jenkins-ssh [2023-11-28T20:17:03.196Z] Cloning the remote Git repository [2023-11-28T20:17:03.247Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-11-28T20:17:03.348Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-11-28T20:17:03.514Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-11-28T20:17:03.515Z] > git --version # timeout=10 [2023-11-28T20:17:03.540Z] > git --version # 'git version 2.25.1' [2023-11-28T20:17:03.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T20:17:03.702Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T20:17:05.727Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-11-28T20:17:05.769Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T20:17:07.428Z] Merging remotes/origin/main commit b852d33a75a07d69fbdb63dde5dbae2cfe6da43b into PR head commit d122d14a8fed92173b031bf0a51c963ee16b299a [2023-11-28T20:17:07.733Z] Merge succeeded, producing d122d14a8fed92173b031bf0a51c963ee16b299a [2023-11-28T20:17:07.734Z] Checking out Revision d122d14a8fed92173b031bf0a51c963ee16b299a (PR-334) [2023-11-28T20:17:06.770Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-11-28T20:17:06.812Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-11-28T20:17:06.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T20:17:06.830Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/334/head:refs/remotes/origin/PR-334 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-28T20:17:07.453Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T20:17:07.539Z] > git checkout -f d122d14a8fed92173b031bf0a51c963ee16b299a # timeout=10 [2023-11-28T20:17:07.625Z] > git remote # timeout=10 [2023-11-28T20:17:07.648Z] > git config --get remote.origin.url # timeout=10 [2023-11-28T20:17:07.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T20:17:07.687Z] > git merge b852d33a75a07d69fbdb63dde5dbae2cfe6da43b # timeout=10 [2023-11-28T20:17:07.716Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-28T20:17:07.744Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T20:17:07.762Z] > git checkout -f d122d14a8fed92173b031bf0a51c963ee16b299a # timeout=10 [2023-11-28T20:17:11.337Z] Commit message: "build: Update to latest 3.2.0 dev go-mods" [2023-11-28T20:17:11.403Z] > git --version # timeout=10 [2023-11-28T20:17:11.416Z] > git --version # 'git version 2.25.1' [2023-11-28T20:17:11.430Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T20:17:12.991Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-28T20:17:12.991Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T20:17:12.991Z] Dload Upload Total Spent Left Speed [2023-11-28T20:17:12.991Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 65709 0 --:--:-- --:--:-- --:--:-- 65709 [Pipeline] sh [2023-11-28T20:17:13.353Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-28T20:17:13.706Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-28T20:17:13.706Z] + sudo tee /etc/docker/daemon.new [2023-11-28T20:17:13.706Z] { [2023-11-28T20:17:13.706Z] "registry-mirrors": [ [2023-11-28T20:17:13.706Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-28T20:17:13.706Z] ], [2023-11-28T20:17:13.706Z] "bip": "10.250.0.254/24", [2023-11-28T20:17:13.706Z] "hosts": [ [2023-11-28T20:17:13.706Z] "tcp://0.0.0.0:5555", [2023-11-28T20:17:13.706Z] "unix:///var/run/docker.sock" [2023-11-28T20:17:13.706Z] ], [2023-11-28T20:17:13.706Z] "mtu": 1458, [2023-11-28T20:17:13.706Z] "selinux-enabled": true, [2023-11-28T20:17:13.706Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-28T20:17:13.706Z] } [Pipeline] sh [2023-11-28T20:17:14.062Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-28T20:17:14.434Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T20:17:34.302Z] provisioning config files... [2023-11-28T20:17:34.330Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8077819567458904175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:17:34.871Z] ---> ****-login.sh [2023-11-28T20:17:34.871Z] nexus3.edgexfoundry.org:10001 [2023-11-28T20:17:35.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:17:35.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:17:35.423Z] Configure a credential helper to remove this warning. See [2023-11-28T20:17:35.423Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:17:35.423Z] [2023-11-28T20:17:35.423Z] Login Succeeded [2023-11-28T20:17:35.423Z] nexus3.edgexfoundry.org:10002 [2023-11-28T20:17:35.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:17:35.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:17:35.692Z] Configure a credential helper to remove this warning. See [2023-11-28T20:17:35.692Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:17:35.692Z] [2023-11-28T20:17:35.692Z] Login Succeeded [2023-11-28T20:17:35.692Z] nexus3.edgexfoundry.org:10003 [2023-11-28T20:17:35.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:17:36.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:17:36.233Z] Configure a credential helper to remove this warning. See [2023-11-28T20:17:36.233Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:17:36.233Z] [2023-11-28T20:17:36.233Z] Login Succeeded [2023-11-28T20:17:36.233Z] nexus3.edgexfoundry.org:10004 [2023-11-28T20:17:36.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:17:36.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:17:36.505Z] Configure a credential helper to remove this warning. See [2023-11-28T20:17:36.505Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:17:36.505Z] [2023-11-28T20:17:36.505Z] Login Succeeded [2023-11-28T20:17:36.505Z] ****.io [2023-11-28T20:17:36.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:17:37.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:17:37.048Z] Configure a credential helper to remove this warning. See [2023-11-28T20:17:37.048Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:17:37.048Z] [2023-11-28T20:17:37.048Z] Login Succeeded [2023-11-28T20:17:37.048Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T20:17:37.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T20:17:37.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T20:17:37.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T20:17:37.804Z] ========================================================= [2023-11-28T20:17:37.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-28T20:17:37.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:17:38.472Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-28T20:17:38.740Z] Sending build context to Docker daemon 7.145MB [2023-11-28T20:17:38.740Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T20:17:38.740Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T20:17:39.010Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-28T20:17:39.010Z] 9fda8d8052c6: Pulling fs layer [2023-11-28T20:17:39.010Z] 5d54e960e981: Pulling fs layer [2023-11-28T20:17:39.010Z] c4a7e357bf2a: Pulling fs layer [2023-11-28T20:17:39.010Z] f0e02332f6b5: Pulling fs layer [2023-11-28T20:17:39.010Z] 872ee5b61b7b: Pulling fs layer [2023-11-28T20:17:39.010Z] 0c6a40ed1a82: Pulling fs layer [2023-11-28T20:17:39.010Z] 94ae7d8d031c: Pulling fs layer [2023-11-28T20:17:39.010Z] f0e02332f6b5: Waiting [2023-11-28T20:17:39.010Z] 872ee5b61b7b: Waiting [2023-11-28T20:17:39.010Z] 0c6a40ed1a82: Waiting [2023-11-28T20:17:39.010Z] 94ae7d8d031c: Waiting [2023-11-28T20:17:39.010Z] 5d54e960e981: Verifying Checksum [2023-11-28T20:17:39.010Z] 5d54e960e981: Download complete [2023-11-28T20:17:39.010Z] f0e02332f6b5: Verifying Checksum [2023-11-28T20:17:39.010Z] f0e02332f6b5: Download complete [2023-11-28T20:17:39.010Z] 872ee5b61b7b: Verifying Checksum [2023-11-28T20:17:39.010Z] 872ee5b61b7b: Download complete [2023-11-28T20:17:39.295Z] 9fda8d8052c6: Verifying Checksum [2023-11-28T20:17:39.295Z] 9fda8d8052c6: Download complete [2023-11-28T20:17:39.573Z] 94ae7d8d031c: Verifying Checksum [2023-11-28T20:17:39.573Z] 94ae7d8d031c: Download complete [2023-11-28T20:17:40.168Z] 9fda8d8052c6: Pull complete [2023-11-28T20:17:40.764Z] 5d54e960e981: Pull complete [2023-11-28T20:17:41.036Z] c4a7e357bf2a: Verifying Checksum [2023-11-28T20:17:41.036Z] c4a7e357bf2a: Download complete [2023-11-28T20:17:42.019Z] 0c6a40ed1a82: Verifying Checksum [2023-11-28T20:17:42.019Z] 0c6a40ed1a82: Download complete [2023-11-28T20:17:54.350Z] c4a7e357bf2a: Pull complete [2023-11-28T20:17:54.350Z] f0e02332f6b5: Pull complete [2023-11-28T20:17:54.350Z] 872ee5b61b7b: Pull complete [2023-11-28T20:18:04.437Z] 0c6a40ed1a82: Pull complete [2023-11-28T20:18:05.401Z] 94ae7d8d031c: Pull complete [2023-11-28T20:18:05.401Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-28T20:18:05.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-28T20:18:05.401Z] ---> 86de565de09d [2023-11-28T20:18:05.401Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T20:18:06.817Z] ---> Running in a5cb59fb015e [2023-11-28T20:18:07.087Z] Removing intermediate container a5cb59fb015e [2023-11-28T20:18:07.087Z] ---> ec8d6d9a204a [2023-11-28T20:18:07.087Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T20:18:07.087Z] ---> Running in 264e19ca14bd [2023-11-28T20:18:07.355Z] Removing intermediate container 264e19ca14bd [2023-11-28T20:18:07.355Z] ---> 0795b1b26408 [2023-11-28T20:18:07.355Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T20:18:07.624Z] ---> Running in 20b47015e8c4 [2023-11-28T20:18:07.893Z] Removing intermediate container 20b47015e8c4 [2023-11-28T20:18:07.893Z] ---> f1dfbde6d7cf [2023-11-28T20:18:07.893Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T20:18:07.893Z] ---> Running in 1c2e75cb4f19 [2023-11-28T20:18:08.480Z] Removing intermediate container 1c2e75cb4f19 [2023-11-28T20:18:08.480Z] ---> 3eeba086f0ac [2023-11-28T20:18:08.480Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T20:18:08.480Z] ---> Running in 217f2c712ca3 [2023-11-28T20:18:09.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T20:18:10.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T20:18:11.158Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T20:18:11.158Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T20:18:11.158Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T20:18:11.427Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T20:18:11.427Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T20:18:11.427Z] OK: 271 MiB in 56 packages [2023-11-28T20:18:12.392Z] Removing intermediate container 217f2c712ca3 [2023-11-28T20:18:12.392Z] ---> 6294d2c16307 [2023-11-28T20:18:12.392Z] Step 8/12 : WORKDIR /device-snmp-go [2023-11-28T20:18:12.663Z] ---> Running in c02ec2aefc30 [2023-11-28T20:18:12.932Z] Removing intermediate container c02ec2aefc30 [2023-11-28T20:18:12.932Z] ---> a4b0b288d5ca [2023-11-28T20:18:12.932Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-28T20:18:13.521Z] ---> 1107311b2dd2 [2023-11-28T20:18:13.521Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T20:18:13.521Z] ---> Running in f58d78038130 [2023-11-28T20:19:35.178Z] Removing intermediate container f58d78038130 [2023-11-28T20:19:35.178Z] ---> 87d7b8d61cfe [2023-11-28T20:19:35.178Z] Step 11/12 : COPY . . [2023-11-28T20:19:35.178Z] ---> 11d607784e51 [2023-11-28T20:19:35.178Z] Step 12/12 : RUN ${MAKE} [2023-11-28T20:19:35.178Z] ---> Running in 578c80257c81 [2023-11-28T20:19:35.178Z] noop [2023-11-28T20:19:35.178Z] Removing intermediate container 578c80257c81 [2023-11-28T20:19:35.178Z] ---> 316d56c33270 [2023-11-28T20:19:35.178Z] Successfully built 316d56c33270 [2023-11-28T20:19:35.178Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:19:35.791Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T20:19:35.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:19:36.178Z] prd-ubuntu20.04-docker-arm64-4c-16g-5045 does not seem to be running inside a container [2023-11-28T20:19:36.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T20:19:37.540Z] $ docker top 1fe52373e54fd142184b939563701cf1cf77565cb3360ed6e88df952c9d358b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:19:38.502Z] + go version [2023-11-28T20:19:38.503Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-28T20:19:38.546Z] $ docker stop --time=1 1fe52373e54fd142184b939563701cf1cf77565cb3360ed6e88df952c9d358b0 [2023-11-28T20:19:40.165Z] $ docker rm -f --volumes 1fe52373e54fd142184b939563701cf1cf77565cb3360ed6e88df952c9d358b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:19:41.386Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T20:19:41.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:19:41.727Z] prd-ubuntu20.04-docker-arm64-4c-16g-5045 does not seem to be running inside a container [2023-11-28T20:19:41.799Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-11-28T20:19:46.578Z] $ docker top dcfd71e380aafeecbc3445d92612a475a9df000065270b9bc7c778cdb6b895f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:19:47.547Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-28T20:19:47.986Z] + make test [2023-11-28T20:19:48.255Z] go test ./... -coverprofile=coverage.out [2023-11-28T20:19:52.520Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-11-28T20:21:48.766Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-11-28T20:21:48.766Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements [2023-11-28T20:21:48.766Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-28T20:21:48.766Z] go vet ./... [2023-11-28T20:22:10.884Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T20:22:10.884Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T20:22:10.884Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T20:22:10.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T20:22:10.996Z] $ docker stop --time=1 dcfd71e380aafeecbc3445d92612a475a9df000065270b9bc7c778cdb6b895f1 [2023-11-28T20:22:13.236Z] $ docker rm -f --volumes dcfd71e380aafeecbc3445d92612a475a9df000065270b9bc7c778cdb6b895f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T20:22:14.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T20:22:14.743Z] Warning: overwriting stash ‘coverage-report’ [2023-11-28T20:22:15.269Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T20:22:16.224Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T20:22:16.616Z] + ls -al . [2023-11-28T20:22:16.616Z] total 168 [2023-11-28T20:22:16.616Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 28 20:19 . [2023-11-28T20:22:16.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 20:17 .. [2023-11-28T20:22:16.616Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 28 20:17 .dockerignore [2023-11-28T20:22:16.616Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:17 .git [2023-11-28T20:22:16.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:17 .github [2023-11-28T20:22:16.616Z] -rw-rw-r-- 1 jenkins jenkins 263 Nov 28 20:17 .gitignore [2023-11-28T20:22:16.616Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 20:17 .golangci.yml [2023-11-28T20:22:16.616Z] -rw-rw-r-- 1 jenkins jenkins 10025 Nov 28 20:17 Attribution.txt [2023-11-28T20:22:16.616Z] -rw-rw-r-- 1 jenkins jenkins 11809 Nov 28 20:17 CHANGELOG.md [2023-11-28T20:22:16.616Z] -rw-rw-r-- 1 jenkins jenkins 1571 Nov 28 20:17 Dockerfile [2023-11-28T20:22:16.616Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 20:17 GOVERNANCE.md [2023-11-28T20:22:16.616Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 28 20:17 Jenkinsfile [2023-11-28T20:22:16.616Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 20:17 LICENSE [2023-11-28T20:22:16.616Z] -rw-rw-r-- 1 jenkins jenkins 2240 Nov 28 20:17 Makefile [2023-11-28T20:22:16.617Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 20:17 OWNERS.md [2023-11-28T20:22:16.617Z] -rw-rw-r-- 1 jenkins jenkins 10477 Nov 28 20:17 README.md [2023-11-28T20:22:16.617Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 19:11 VERSION [2023-11-28T20:22:16.617Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:17 bin [2023-11-28T20:22:16.617Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:17 cmd [2023-11-28T20:22:16.617Z] -rw-r--r-- 1 jenkins jenkins 8837 Nov 28 20:21 coverage.out [2023-11-28T20:22:16.617Z] -rw-rw-r-- 1 jenkins jenkins 3707 Nov 28 20:17 go.mod [2023-11-28T20:22:16.617Z] -rw-rw-r-- 1 jenkins jenkins 34812 Nov 28 20:17 go.sum [2023-11-28T20:22:16.617Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:17 internal [2023-11-28T20:22:16.617Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 28 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:22:17.174Z] + 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=d122d14a8fed92173b031bf0a51c963ee16b299a --label arch=arm64 --label version=0.0.0 . [2023-11-28T20:22:17.455Z] Sending build context to Docker daemon 7.155MB [2023-11-28T20:22:17.734Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T20:22:17.734Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-28T20:22:17.734Z] ---> 316d56c33270 [2023-11-28T20:22:17.734Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-28T20:22:17.734Z] ---> Running in 6169c26e5153 [2023-11-28T20:22:18.015Z] Removing intermediate container 6169c26e5153 [2023-11-28T20:22:18.015Z] ---> 6675e9cacccf [2023-11-28T20:22:18.015Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T20:22:18.291Z] ---> Running in 9ad4842181fa [2023-11-28T20:22:18.567Z] Removing intermediate container 9ad4842181fa [2023-11-28T20:22:18.567Z] ---> 30e533b5dcde [2023-11-28T20:22:18.567Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T20:22:18.567Z] ---> Running in 681370b2282c [2023-11-28T20:22:20.526Z] Removing intermediate container 681370b2282c [2023-11-28T20:22:20.526Z] ---> 0d88352900ed [2023-11-28T20:22:20.526Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T20:22:20.526Z] ---> Running in 2ec85bfee16f [2023-11-28T20:22:20.797Z] Removing intermediate container 2ec85bfee16f [2023-11-28T20:22:20.797Z] ---> f7b8bdfa7ba4 [2023-11-28T20:22:20.797Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T20:22:20.797Z] ---> Running in 482555b9aa6d [2023-11-28T20:22:23.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T20:22:24.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T20:22:25.440Z] OK: 271 MiB in 56 packages [2023-11-28T20:22:29.721Z] Removing intermediate container 482555b9aa6d [2023-11-28T20:22:29.721Z] ---> 42ee41a19dec [2023-11-28T20:22:29.721Z] Step 8/25 : WORKDIR /device-snmp-go [2023-11-28T20:22:29.992Z] ---> Running in c74264201220 [2023-11-28T20:22:30.582Z] Removing intermediate container c74264201220 [2023-11-28T20:22:30.582Z] ---> da5e54e8aa5a [2023-11-28T20:22:30.582Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-28T20:22:32.548Z] ---> 80a110edb68e [2023-11-28T20:22:32.548Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T20:22:32.548Z] ---> Running in 09c56f33ab05 [2023-11-28T20:22:35.159Z] Removing intermediate container 09c56f33ab05 [2023-11-28T20:22:35.159Z] ---> a6e3767b98ee [2023-11-28T20:22:35.159Z] Step 11/25 : COPY . . [2023-11-28T20:22:36.594Z] ---> bd0debbb2bc4 [2023-11-28T20:22:36.594Z] Step 12/25 : RUN ${MAKE} [2023-11-28T20:22:36.594Z] ---> Running in 33ac3e0d8c33 [2023-11-28T20:22:37.561Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-11-28T20:24:44.288Z] Removing intermediate container 33ac3e0d8c33 [2023-11-28T20:24:44.288Z] ---> b7b5c7d7eaaf [2023-11-28T20:24:44.288Z] Step 13/25 : FROM alpine:3.18 [2023-11-28T20:24:44.288Z] 3.18: Pulling from library/alpine [2023-11-28T20:24:44.288Z] 579b34f0a95b: Pulling fs layer [2023-11-28T20:24:44.288Z] 579b34f0a95b: Verifying Checksum [2023-11-28T20:24:44.288Z] 579b34f0a95b: Download complete [2023-11-28T20:24:44.288Z] 579b34f0a95b: Pull complete [2023-11-28T20:24:44.288Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T20:24:44.288Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T20:24:44.288Z] ---> 3cc203321400 [2023-11-28T20:24:44.288Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2023-11-28T20:24:44.288Z] ---> Running in efdd26a386cb [2023-11-28T20:24:44.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T20:24:44.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T20:24:44.288Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T20:24:44.288Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T20:24:44.288Z] OK: 8 MiB in 16 packages [2023-11-28T20:24:44.288Z] Removing intermediate container efdd26a386cb [2023-11-28T20:24:44.288Z] ---> 9e7001a534a4 [2023-11-28T20:24:44.288Z] Step 15/25 : RUN apk --no-cache upgrade [2023-11-28T20:24:44.288Z] ---> Running in b0f03e3e17aa [2023-11-28T20:24:44.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T20:24:44.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T20:24:44.288Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T20:24:44.288Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:24:44.288Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T20:24:44.288Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:24:44.288Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T20:24:44.288Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T20:24:44.288Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:24:44.288Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T20:24:44.288Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T20:24:44.288Z] OK: 8 MiB in 16 packages [2023-11-28T20:24:44.288Z] Removing intermediate container b0f03e3e17aa [2023-11-28T20:24:44.288Z] ---> 688be18ffca0 [2023-11-28T20:24:44.288Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2023-11-28T20:24:44.288Z] ---> 975a0e3ab06c [2023-11-28T20:24:44.288Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-11-28T20:24:44.288Z] ---> 84e6c1b1bfb4 [2023-11-28T20:24:44.288Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2023-11-28T20:24:44.288Z] ---> 2356486f783b [2023-11-28T20:24:44.288Z] Step 19/25 : EXPOSE 59993 [2023-11-28T20:24:44.288Z] ---> Running in 44e7f0b104b9 [2023-11-28T20:24:44.288Z] Removing intermediate container 44e7f0b104b9 [2023-11-28T20:24:44.288Z] ---> 446d31452774 [2023-11-28T20:24:44.288Z] Step 20/25 : EXPOSE 161 [2023-11-28T20:24:44.288Z] ---> Running in 811e88b4edf7 [2023-11-28T20:24:44.555Z] Removing intermediate container 811e88b4edf7 [2023-11-28T20:24:44.555Z] ---> 7bdda9c5e9d3 [2023-11-28T20:24:44.555Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2023-11-28T20:24:44.555Z] ---> Running in 6eca3b3162a2 [2023-11-28T20:24:44.826Z] Removing intermediate container 6eca3b3162a2 [2023-11-28T20:24:44.826Z] ---> 094dae105ff7 [2023-11-28T20:24:44.826Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T20:24:44.826Z] ---> Running in 49b4da0b4368 [2023-11-28T20:24:45.412Z] Removing intermediate container 49b4da0b4368 [2023-11-28T20:24:45.412Z] ---> 5c22dabba6e7 [2023-11-28T20:24:45.412Z] Step 23/25 : LABEL arch=arm64 [2023-11-28T20:24:45.412Z] ---> Running in c3a550e6b703 [2023-11-28T20:24:45.680Z] Removing intermediate container c3a550e6b703 [2023-11-28T20:24:45.680Z] ---> ce67e0cf4dcc [2023-11-28T20:24:45.680Z] Step 24/25 : LABEL git_sha=d122d14a8fed92173b031bf0a51c963ee16b299a [2023-11-28T20:24:45.680Z] ---> Running in e589de8d664c [2023-11-28T20:24:45.949Z] Removing intermediate container e589de8d664c [2023-11-28T20:24:45.949Z] ---> e077699fa5d2 [2023-11-28T20:24:45.949Z] Step 25/25 : LABEL version=0.0.0 [2023-11-28T20:24:46.224Z] ---> Running in f61b2040f640 [2023-11-28T20:24:46.492Z] Removing intermediate container f61b2040f640 [2023-11-28T20:24:46.492Z] ---> 4b2481c5ccc4 [2023-11-28T20:24:46.492Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T20:24:46.492Z] Successfully built 4b2481c5ccc4 [2023-11-28T20:24:46.492Z] 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-11-28T20:24:47.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T20:24:47.800Z] [2023-11-28T20:24:47.800Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:24:48.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T20:24:48.571Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-28T20:24:48.571Z] 8998bd30e6a1: Pulling fs layer [2023-11-28T20:24:48.571Z] 04944245beec: Pulling fs layer [2023-11-28T20:24:48.571Z] 699f458cf7ca: Pulling fs layer [2023-11-28T20:24:48.571Z] 765212b225bb: Pulling fs layer [2023-11-28T20:24:48.571Z] f23df028b6ca: Pulling fs layer [2023-11-28T20:24:48.571Z] d65c8cfc05b1: Pulling fs layer [2023-11-28T20:24:48.571Z] 2437ff75d9bd: Pulling fs layer [2023-11-28T20:24:48.571Z] f23df028b6ca: Waiting [2023-11-28T20:24:48.571Z] d65c8cfc05b1: Waiting [2023-11-28T20:24:48.571Z] 2437ff75d9bd: Waiting [2023-11-28T20:24:48.571Z] 765212b225bb: Waiting [2023-11-28T20:24:48.571Z] 04944245beec: Verifying Checksum [2023-11-28T20:24:48.571Z] 04944245beec: Download complete [2023-11-28T20:24:48.571Z] 765212b225bb: Verifying Checksum [2023-11-28T20:24:48.571Z] 765212b225bb: Download complete [2023-11-28T20:24:48.571Z] f23df028b6ca: Download complete [2023-11-28T20:24:48.571Z] d65c8cfc05b1: Verifying Checksum [2023-11-28T20:24:48.571Z] d65c8cfc05b1: Download complete [2023-11-28T20:24:48.840Z] 699f458cf7ca: Verifying Checksum [2023-11-28T20:24:48.840Z] 699f458cf7ca: Download complete [2023-11-28T20:24:49.110Z] 8998bd30e6a1: Verifying Checksum [2023-11-28T20:24:49.110Z] 8998bd30e6a1: Download complete [2023-11-28T20:24:51.690Z] 2437ff75d9bd: Verifying Checksum [2023-11-28T20:24:51.690Z] 2437ff75d9bd: Download complete [2023-11-28T20:24:53.631Z] 8998bd30e6a1: Pull complete [2023-11-28T20:24:54.214Z] 04944245beec: Pull complete [2023-11-28T20:24:55.625Z] 699f458cf7ca: Pull complete [2023-11-28T20:24:55.896Z] 765212b225bb: Pull complete [2023-11-28T20:24:56.888Z] f23df028b6ca: Pull complete [2023-11-28T20:24:56.888Z] d65c8cfc05b1: Pull complete [2023-11-28T20:25:15.139Z] 2437ff75d9bd: Pull complete [2023-11-28T20:25:15.139Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-28T20:25:15.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T20:25:15.139Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:25:15.680Z] prd-ubuntu20.04-docker-arm64-4c-16g-5045 does not seem to be running inside a container [2023-11-28T20:25:15.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-28T20:25:18.822Z] $ docker top 5330919826b6ae56fba8b4eff6ea856f81adea0118c75c20bf3eade6820d335c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:19.837Z] ---> job-cost.sh [2023-11-28T20:25:19.837Z] lf-activate-venv: SKIPPING [2023-11-28T20:25:19.837Z] INFO: No Stack... [2023-11-28T20:25:20.103Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-28T20:25:21.064Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T20:25:21.719Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-11-28T20:25:21.719Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T20:25:21.798Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-334-1-stack-cost] [2023-11-28T20:25:21.803Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-334-1-stack-cost] did not exist. Created. [2023-11-28T20:25:21.803Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-334-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T20:25:22.622Z] /w/workspace/device-snmp-go/1@tmp/durable-515c5f92/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-28T20:25:23.290Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-28T20:25:23.329Z] Warning: overwriting stash ‘stack-cost’ [2023-11-28T20:25:23.375Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T20:25:23.421Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-334-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T20:25:23.595Z] $ docker stop --time=1 5330919826b6ae56fba8b4eff6ea856f81adea0118c75c20bf3eade6820d335c [2023-11-28T20:25:25.138Z] $ docker rm -f --volumes 5330919826b6ae56fba8b4eff6ea856f81adea0118c75c20bf3eade6820d335c [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-11-28T20:25:27.262Z] provisioning config files... [2023-11-28T20:25:27.270Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-334@tmp/config13905608614440556275tmp [Pipeline] { [Pipeline] sh [2023-11-28T20:25:27.692Z] + set +x [2023-11-28T20:25:27.692Z] + curl -s+ https://codecov.io/bash [2023-11-28T20:25:27.692Z] bash -s -- [2023-11-28T20:25:27.692Z] [2023-11-28T20:25:27.692Z] _____ _ [2023-11-28T20:25:27.692Z] / ____| | | [2023-11-28T20:25:27.692Z] | | ___ __| | ___ ___ _____ __ [2023-11-28T20:25:27.692Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-28T20:25:27.692Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-28T20:25:27.692Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-28T20:25:27.692Z] Bash-1.0.6 [2023-11-28T20:25:27.692Z] [2023-11-28T20:25:27.692Z] [2023-11-28T20:25:27.692Z] ==> git version 2.25.1 found [2023-11-28T20:25:27.692Z] ==> 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-11-28T20:25:27.692Z] Release-Date: 2020-01-08 [2023-11-28T20:25:27.692Z] 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-11-28T20:25:27.692Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-28T20:25:27.692Z] ==> Jenkins CI detected. [2023-11-28T20:25:27.692Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-334 [2023-11-28T20:25:27.692Z] project root: . [2023-11-28T20:25:27.692Z] --> token set from env [2023-11-28T20:25:27.692Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-28T20:25:27.692Z] ==> Running gcov in . (disable via -X gcov) [2023-11-28T20:25:27.692Z] ==> Python coveragepy not found [2023-11-28T20:25:27.692Z] ==> Searching for coverage reports in: [2023-11-28T20:25:27.692Z] + . [2023-11-28T20:25:27.692Z] -> Found 1 reports [2023-11-28T20:25:27.692Z] ==> Detecting git/mercurial file structure [2023-11-28T20:25:27.692Z] ==> Reading reports [2023-11-28T20:25:27.953Z] + ./coverage.out bytes=8837 [2023-11-28T20:25:27.953Z] ==> Appending adjustments [2023-11-28T20:25:27.953Z] https://docs.codecov.io/docs/fixing-reports [2023-11-28T20:25:27.953Z] + Found adjustments [2023-11-28T20:25:27.953Z] ==> Gzipping contents [2023-11-28T20:25:27.953Z] 4.0K /tmp/codecov.CPCADZ.gz [2023-11-28T20:25:27.953Z] ==> Uploading reports [2023-11-28T20:25:27.953Z] url: https://codecov.io [2023-11-28T20:25:27.953Z] query: branch=PR-334&commit=d122d14a8fed92173b031bf0a51c963ee16b299a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-334%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=334&job=&cmd_args= [2023-11-28T20:25:27.953Z] -> Pinging Codecov [2023-11-28T20:25:27.953Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-334&commit=d122d14a8fed92173b031bf0a51c963ee16b299a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-334%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=334&job=&cmd_args= [2023-11-28T20:25:27.953Z] -> Uploading to [2023-11-28T20:25:27.953Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-28/6C56EA5C29638FB4528AC87E60AF5AE0/d122d14a8fed92173b031bf0a51c963ee16b299a/5f3ac5f5-1971-4e41-850c-e4d0afc29ccc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T202527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a76fa9d6568473698eeee57d7bb8bf20cc36cbfd5d12df60890c117c52ae02ba [2023-11-28T20:25:27.953Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T20:25:27.953Z] Dload Upload Total Spent Left Speed [2023-11-28T20:25:28.213Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5519 --:--:-- --:--:-- --:--:-- 5519 [2023-11-28T20:25:28.213Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/d122d14a8fed92173b031bf0a51c963ee16b299a [Pipeline] } [2023-11-28T20:25:28.242Z] 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-11-28T20:25:31.937Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-334/archives ] [2023-11-28T20:25:31.937Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-334/archives [2023-11-28T20:25:31.937Z] total 16 [2023-11-28T20:25:31.937Z] drwxr-xr-x 3 root root 4096 Nov 28 19:13 . [2023-11-28T20:25:31.937Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 19:13 .. [2023-11-28T20:25:31.937Z] drwxr-xr-x 2 root root 4096 Nov 28 19:13 cost [2023-11-28T20:25:31.937Z] -rw-r--r-- 1 root root 86 Nov 28 19:13 cost.csv [2023-11-28T20:25:31.937Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-334/archives [2023-11-28T20:25:31.937Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-334/archives [2023-11-28T20:25:31.937Z] total 16 [2023-11-28T20:25:31.937Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 19:13 . [2023-11-28T20:25:31.937Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 19:13 .. [2023-11-28T20:25:31.937Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 19:13 cost [2023-11-28T20:25:31.937Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 28 19:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:32.267Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:33.156Z] ---> package-listing.sh [2023-11-28T20:25:33.156Z] ++ facter osfamily [2023-11-28T20:25:33.156Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-28T20:25:33.418Z] + OS_FAMILY=debian [2023-11-28T20:25:33.418Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-334 [2023-11-28T20:25:33.418Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-28T20:25:33.418Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-28T20:25:33.418Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-28T20:25:33.418Z] + PACKAGES=/tmp/packages_start.txt [2023-11-28T20:25:33.418Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-334 ']' [2023-11-28T20:25:33.418Z] + PACKAGES=/tmp/packages_end.txt [2023-11-28T20:25:33.418Z] + case "${OS_FAMILY}" in [2023-11-28T20:25:33.418Z] + dpkg -l [2023-11-28T20:25:33.418Z] + grep '^ii' [2023-11-28T20:25:33.418Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-28T20:25:33.418Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-28T20:25:33.418Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-28T20:25:33.418Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-334 ']' [2023-11-28T20:25:33.418Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-334/archives/ [2023-11-28T20:25:33.418Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-334/archives/ [Pipeline] echo [2023-11-28T20:25:33.461Z] 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-334/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-28T20:25:33.757Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:25:34.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T20:25:34.435Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:25:34.746Z] prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container [2023-11-28T20:25:34.777Z] $ 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-334/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-334 -v /w/workspace/gexfoundry_device-snmp-go_PR-334:/w/workspace/gexfoundry_device-snmp-go_PR-334:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-334@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-334@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:latest cat [2023-11-28T20:25:34.993Z] $ docker top 455ae24f59a9e4c0c2e265ab1737d3ae0f1d5f681ab36f8b75bc4a89deddf648 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:25:35.474Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-28T20:25:35.795Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-28T20:25:36.099Z] + ls /var/log/sa-host [2023-11-28T20:25:36.099Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T20:25:36.347Z] provisioning config files... [2023-11-28T20:25:36.356Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-334@tmp/config10668376761718865041tmp [Pipeline] { [Pipeline] echo [2023-11-28T20:25:36.502Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:36.811Z] ---> create-netrc.sh [Pipeline] } [2023-11-28T20:25:36.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:37.363Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-28T20:25:37.406Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:37.728Z] ---> sudo-logs.sh [2023-11-28T20:25:37.728Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-28T20:25:37.883Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:38.205Z] ---> job-cost.sh [2023-11-28T20:25:38.205Z] lf-activate-venv: SKIPPING [2023-11-28T20:25:38.205Z] DEBUG: total: 0.2199999988079071 [2023-11-28T20:25:38.205Z] INFO: Retrieving Stack Cost... [2023-11-28T20:25:38.468Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T20:25:39.035Z] INFO: Archiving Costs [Pipeline] echo [2023-11-28T20:25:39.067Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:25:39.391Z] ---> logs-deploy.sh [2023-11-28T20:25:39.391Z] lf-activate-venv: SKIPPING [2023-11-28T20:25:39.391Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-334/1 [2023-11-28T20:25:39.391Z] INFO: archiving workspace using pattern(s): [2023-11-28T20:25:40.328Z] Archives upload complete. [2023-11-28T20:25:40.328Z] INFO: archiving logs to Nexus