Pull request #350 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 jinlinGuan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c+66a19ca55ca84056ce2719f1ed69bf58dfaa137b (2da1ad9cd5f5ba7cf90d922d706523ce1da2393e) 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-ssh17740251196219516080.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh1387968008770840523.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-350/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-350/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15536602894327151537.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-350/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9546579868932108969.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh6286462665420064452.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-350/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-350/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13976516728391978236.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 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-17480 in /w/workspace/gexfoundry_device-snmp-go_PR-350 [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-350 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/350/head:refs/remotes/origin/PR-350 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 66a19ca55ca84056ce2719f1ed69bf58dfaa137b into PR head commit 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c Merge succeeded, producing 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c Checking out Revision 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c (PR-350) > git config core.sparsecheckout # timeout=10 > git checkout -f 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c # 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 66a19ca55ca84056ce2719f1ed69bf58dfaa137b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-04T08:32:30.753Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T08:32:30.997Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T08:32:31.137Z] ========================================================= [2024-10-04T08:32:31.137Z] EdgeX Global Pipelines Version Info [2024-10-04T08:32:31.137Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T08:32:31.939Z] ------------------- [2024-10-04T08:32:31.939Z] stable info: [2024-10-04T08:32:31.939Z] ------------------- [2024-10-04T08:32:31.939Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T08:32:31.939Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T08:32:31.939Z] Message: update stable to v1.0.265 [2024-10-04T08:32:32.523Z] ------------------- [2024-10-04T08:32:32.523Z] experimental info: [2024-10-04T08:32:32.523Z] ------------------- [2024-10-04T08:32:32.523Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T08:32:32.523Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T08:32:32.523Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T08:32:32.765Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2024-10-04T08:32:32.829Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2024-10-04T08:32:32.895Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T08:32:32.958Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T08:32:33.028Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T08:32:33.095Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T08:32:33.162Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T08:32:33.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-04T08:32:33.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T08:32:33.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T08:32:33.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T08:32:33.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2024-10-04T08:32:33.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T08:32:33.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T08:32:33.658Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T08:32:33.720Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T08:32:33.808Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T08:32:33.871Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T08:32:33.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T08:32:34.003Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T08:32:34.071Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-04T08:32:34.139Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-04T08:32:34.201Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T08:32:34.272Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T08:32:34.338Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T08:32:34.410Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T08:32:34.512Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T08:32:34.583Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-350 [Pipeline] echo [2024-10-04T08:32:34.652Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-350 [Pipeline] echo [2024-10-04T08:32:34.740Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-350 [Pipeline] echo [2024-10-04T08:32:34.824Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c [Pipeline] echo [2024-10-04T08:32:34.885Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b5f021 [Pipeline] echo [2024-10-04T08:32:34.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T08:32:35.158Z] provisioning config files... [2024-10-04T08:32:35.173Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-350@tmp/config9269526161078989703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T08:32:35.583Z] ---> ****-login.sh [2024-10-04T08:32:35.583Z] nexus3.edgexfoundry.org:10001 [2024-10-04T08:32:35.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:32:35.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:32:35.842Z] Configure a credential helper to remove this warning. See [2024-10-04T08:32:35.842Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:32:35.842Z] [2024-10-04T08:32:35.842Z] Login Succeeded [2024-10-04T08:32:35.842Z] nexus3.edgexfoundry.org:10002 [2024-10-04T08:32:35.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:32:35.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:32:35.842Z] Configure a credential helper to remove this warning. See [2024-10-04T08:32:35.843Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:32:35.843Z] [2024-10-04T08:32:35.843Z] Login Succeeded [2024-10-04T08:32:35.843Z] nexus3.edgexfoundry.org:10003 [2024-10-04T08:32:36.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:32:36.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:32:36.121Z] Configure a credential helper to remove this warning. See [2024-10-04T08:32:36.121Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:32:36.121Z] [2024-10-04T08:32:36.121Z] Login Succeeded [2024-10-04T08:32:36.121Z] nexus3.edgexfoundry.org:10004 [2024-10-04T08:32:36.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:32:36.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:32:36.121Z] Configure a credential helper to remove this warning. See [2024-10-04T08:32:36.121Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:32:36.121Z] [2024-10-04T08:32:36.121Z] Login Succeeded [2024-10-04T08:32:36.121Z] ****.io [2024-10-04T08:32:36.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:32:36.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:32:36.385Z] Configure a credential helper to remove this warning. See [2024-10-04T08:32:36.385Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:32:36.385Z] [2024-10-04T08:32:36.385Z] Login Succeeded [2024-10-04T08:32:36.385Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T08:32:36.422Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T08:32:37.168Z] + git rev-list -1 --merges 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c~1..8b5f0216e1125e3879b1b2332f14b87fc9d24a4c [Pipeline] echo [2024-10-04T08:32:37.223Z] -----------> git rev-list -1 --merges 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c~1..8b5f0216e1125e3879b1b2332f14b87fc9d24a4c 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c [false] [Pipeline] sh [2024-10-04T08:32:37.547Z] + git log --format=format:%s -1 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c [Pipeline] echo [2024-10-04T08:32:37.598Z] ========================================================= [2024-10-04T08:32:37.598Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T08:32:37.598Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T08:32:38.098Z] + git log --format=format:%s -1 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c [Pipeline] echo [2024-10-04T08:32:38.136Z] [semverPrep] GIT_COMMIT: 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo [2024-10-04T08:32:38.185Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T08:32:38.620Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T08:32:38.621Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T08:32:38.621Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T08:32:38.621Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T08:32:38.621Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T08:32:38.621Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T08:32:38.621Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:32:39.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T08:32:39.083Z] [2024-10-04T08:32:39.083Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:32:39.491Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T08:32:39.491Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T08:32:39.491Z] b85a868b505f: Pulling fs layer [2024-10-04T08:32:39.491Z] e2be974225ed: Pulling fs layer [2024-10-04T08:32:39.491Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T08:32:39.491Z] 988bab9f4d93: Pulling fs layer [2024-10-04T08:32:39.491Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T08:32:39.491Z] eaf3925da568: Pulling fs layer [2024-10-04T08:32:39.491Z] bab4dde63d76: Pulling fs layer [2024-10-04T08:32:39.491Z] bde34c3a00c8: Pulling fs layer [2024-10-04T08:32:39.491Z] b352a97aabf1: Pulling fs layer [2024-10-04T08:32:39.491Z] 4872d77fe225: Pulling fs layer [2024-10-04T08:32:39.491Z] 5851b861e8e6: Pulling fs layer [2024-10-04T08:32:39.491Z] 1469e6f7b9e6: Waiting [2024-10-04T08:32:39.491Z] bde34c3a00c8: Waiting [2024-10-04T08:32:39.491Z] b352a97aabf1: Waiting [2024-10-04T08:32:39.491Z] 4872d77fe225: Waiting [2024-10-04T08:32:39.491Z] 5851b861e8e6: Waiting [2024-10-04T08:32:39.491Z] eaf3925da568: Waiting [2024-10-04T08:32:39.491Z] bab4dde63d76: Waiting [2024-10-04T08:32:39.491Z] 988bab9f4d93: Waiting [2024-10-04T08:32:39.491Z] e2be974225ed: Verifying Checksum [2024-10-04T08:32:39.491Z] e2be974225ed: Download complete [2024-10-04T08:32:39.750Z] 988bab9f4d93: Verifying Checksum [2024-10-04T08:32:39.750Z] 988bab9f4d93: Download complete [2024-10-04T08:32:39.750Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T08:32:39.750Z] 1469e6f7b9e6: Download complete [2024-10-04T08:32:39.750Z] eaf3925da568: Verifying Checksum [2024-10-04T08:32:39.750Z] eaf3925da568: Download complete [2024-10-04T08:32:39.750Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T08:32:39.750Z] 339a4e72a1f5: Download complete [2024-10-04T08:32:39.750Z] bde34c3a00c8: Verifying Checksum [2024-10-04T08:32:39.750Z] bde34c3a00c8: Download complete [2024-10-04T08:32:39.750Z] b352a97aabf1: Verifying Checksum [2024-10-04T08:32:39.750Z] b352a97aabf1: Download complete [2024-10-04T08:32:39.750Z] b85a868b505f: Verifying Checksum [2024-10-04T08:32:39.750Z] b85a868b505f: Download complete [2024-10-04T08:32:40.010Z] 4872d77fe225: Verifying Checksum [2024-10-04T08:32:40.010Z] 4872d77fe225: Download complete [2024-10-04T08:32:40.010Z] 5851b861e8e6: Verifying Checksum [2024-10-04T08:32:40.010Z] 5851b861e8e6: Download complete [2024-10-04T08:32:40.270Z] bab4dde63d76: Verifying Checksum [2024-10-04T08:32:40.270Z] bab4dde63d76: Download complete [2024-10-04T08:32:41.206Z] b85a868b505f: Pull complete [2024-10-04T08:32:41.206Z] e2be974225ed: Pull complete [2024-10-04T08:32:41.799Z] 339a4e72a1f5: Pull complete [2024-10-04T08:32:41.799Z] 988bab9f4d93: Pull complete [2024-10-04T08:32:42.059Z] 1469e6f7b9e6: Pull complete [2024-10-04T08:32:42.059Z] eaf3925da568: Pull complete [2024-10-04T08:32:43.981Z] bab4dde63d76: Pull complete [2024-10-04T08:32:43.981Z] bde34c3a00c8: Pull complete [2024-10-04T08:32:43.981Z] b352a97aabf1: Pull complete [2024-10-04T08:32:43.981Z] 4872d77fe225: Pull complete [2024-10-04T08:32:43.981Z] 5851b861e8e6: Pull complete [2024-10-04T08:32:43.981Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T08:32:43.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T08:32:43.981Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T08:32:44.314Z] prd-ubuntu20.04-docker-8c-8g-17480 does not seem to be running inside a container [2024-10-04T08:32:44.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-350 -v /w/workspace/gexfoundry_device-snmp-go_PR-350:/w/workspace/gexfoundry_device-snmp-go_PR-350:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-350@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-350@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-04T08:32:47.182Z] $ docker top e1d5a5d1a38722b32a4176c29d9a8b6c3efc77f25800d1dd3b5a1771f9cf9ac9 -eo pid,comm [2024-10-04T08:32:47.233Z] 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). [2024-10-04T08:32:47.233Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T08:32:47.396Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T08:32:47.396Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T08:32:47.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T08:32:47.506Z] $ docker exec e1d5a5d1a38722b32a4176c29d9a8b6c3efc77f25800d1dd3b5a1771f9cf9ac9 ssh-agent [2024-10-04T08:32:47.602Z] SSH_AUTH_SOCK=/tmp/ssh-aAQVmXmOJyPM/agent.33 [2024-10-04T08:32:47.602Z] SSH_AGENT_PID=39 [2024-10-04T08:32:47.607Z] Running ssh-add (command line suppressed) [2024-10-04T08:32:47.705Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-350@tmp/private_key_2236379938228279215.key (/w/workspace/gexfoundry_device-snmp-go_PR-350@tmp/private_key_2236379938228279215.key) [2024-10-04T08:32:47.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T08:32:48.061Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T08:32:48.095Z] $ docker exec --env ******** --env ******** e1d5a5d1a38722b32a4176c29d9a8b6c3efc77f25800d1dd3b5a1771f9cf9ac9 ssh-agent -k [2024-10-04T08:32:48.200Z] unset SSH_AUTH_SOCK; [2024-10-04T08:32:48.201Z] unset SSH_AGENT_PID; [2024-10-04T08:32:48.201Z] echo Agent pid 39 killed; [2024-10-04T08:32:48.221Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T08:32:48.347Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T08:32:48.347Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T08:32:48.449Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T08:32:48.455Z] $ docker exec e1d5a5d1a38722b32a4176c29d9a8b6c3efc77f25800d1dd3b5a1771f9cf9ac9 ssh-agent [2024-10-04T08:32:48.565Z] SSH_AUTH_SOCK=/tmp/ssh-Et6xi98b1NKw/agent.71 [2024-10-04T08:32:48.565Z] SSH_AGENT_PID=77 [2024-10-04T08:32:48.583Z] Running ssh-add (command line suppressed) [2024-10-04T08:32:48.758Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-350@tmp/private_key_5286630949367953145.key (/w/workspace/gexfoundry_device-snmp-go_PR-350@tmp/private_key_5286630949367953145.key) [2024-10-04T08:32:48.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T08:32:49.127Z] + git semver init [2024-10-04T08:32:49.388Z] 2024-10-04 08:32:49,315 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T08:32:49.388Z] 2024-10-04 08:32:49,316 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-350/.semver [2024-10-04T08:32:49.388Z] 2024-10-04 08:32:49,316 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-350/.semver [2024-10-04T08:32:49.388Z] 2024-10-04 08:32:49,317 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-350/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-350, universal_newlines=False, shell=None, istream=None) [2024-10-04T08:32:50.767Z] 2024-10-04 08:32:50,560 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-350/.git/info/exclude [2024-10-04T08:32:50.767Z] 2024-10-04 08:32:50,560 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-350/.semver/PR-350 with force:False [2024-10-04T08:32:50.767Z] 2024-10-04 08:32:50,561 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-350/.semver/PR-350 [2024-10-04T08:32:50.767Z] 2024-10-04 08:32:50,565 [execute] INFO git cat-file --batch-check [2024-10-04T08:32:50.767Z] 2024-10-04 08:32:50,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-350/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T08:32:50.767Z] 2024-10-04 08:32:50,571 [execute] INFO git cat-file --batch [2024-10-04T08:32:50.767Z] 2024-10-04 08:32:50,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-350/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T08:32:50.767Z] 2024-10-04 08:32:50,576 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-350/.semver/PR-350 [2024-10-04T08:32:50.767Z] 0.0.0 [Pipeline] } [2024-10-04T08:32:50.799Z] $ docker exec --env ******** --env ******** e1d5a5d1a38722b32a4176c29d9a8b6c3efc77f25800d1dd3b5a1771f9cf9ac9 ssh-agent -k [2024-10-04T08:32:50.893Z] unset SSH_AUTH_SOCK; [2024-10-04T08:32:50.894Z] unset SSH_AGENT_PID; [2024-10-04T08:32:50.894Z] echo Agent pid 77 killed; [2024-10-04T08:32:50.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T08:32:51.372Z] + git semver [Pipeline] } [2024-10-04T08:32:51.663Z] $ docker stop --time=1 e1d5a5d1a38722b32a4176c29d9a8b6c3efc77f25800d1dd3b5a1771f9cf9ac9 [2024-10-04T08:32:52.997Z] $ docker rm -f --volumes e1d5a5d1a38722b32a4176c29d9a8b6c3efc77f25800d1dd3b5a1771f9cf9ac9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T08:32:53.421Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T08:32:53.770Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T08:32:53.799Z] [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 [2024-10-04T08:32:54.658Z] provisioning config files... [2024-10-04T08:32:54.668Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-350@tmp/config14889830425772435182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T08:32:55.183Z] ---> ****-login.sh [2024-10-04T08:32:55.183Z] nexus3.edgexfoundry.org:10001 [2024-10-04T08:32:55.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:32:55.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:32:55.183Z] Configure a credential helper to remove this warning. See [2024-10-04T08:32:55.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:32:55.183Z] [2024-10-04T08:32:55.183Z] Login Succeeded [2024-10-04T08:32:55.183Z] nexus3.edgexfoundry.org:10002 [2024-10-04T08:32:55.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:32:55.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:32:55.183Z] Configure a credential helper to remove this warning. See [2024-10-04T08:32:55.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:32:55.183Z] [2024-10-04T08:32:55.184Z] Login Succeeded [2024-10-04T08:32:55.184Z] nexus3.edgexfoundry.org:10003 [2024-10-04T08:32:55.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:32:55.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:32:55.465Z] Configure a credential helper to remove this warning. See [2024-10-04T08:32:55.465Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:32:55.465Z] [2024-10-04T08:32:55.465Z] Login Succeeded [2024-10-04T08:32:55.465Z] nexus3.edgexfoundry.org:10004 [2024-10-04T08:32:55.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:32:55.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:32:55.465Z] Configure a credential helper to remove this warning. See [2024-10-04T08:32:55.465Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:32:55.465Z] [2024-10-04T08:32:55.465Z] Login Succeeded [2024-10-04T08:32:55.465Z] ****.io [2024-10-04T08:32:55.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:32:55.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:32:55.727Z] Configure a credential helper to remove this warning. See [2024-10-04T08:32:55.727Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:32:55.727Z] [2024-10-04T08:32:55.727Z] Login Succeeded [2024-10-04T08:32:55.727Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T08:32:55.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T08:32:56.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T08:32:56.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T08:32:56.117Z] ========================================================= [2024-10-04T08:32:56.118Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T08:32:56.118Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:32:56.640Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-04T08:32:56.641Z] Sending build context to Docker daemon 20.18MB [2024-10-04T08:32:56.641Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T08:32:56.641Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T08:32:56.641Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T08:32:56.641Z] 43c4264eed91: Pulling fs layer [2024-10-04T08:32:56.641Z] 4cc291be95ef: Pulling fs layer [2024-10-04T08:32:56.641Z] 2ac1f1163629: Pulling fs layer [2024-10-04T08:32:56.641Z] 5c3c966382ef: Pulling fs layer [2024-10-04T08:32:56.641Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T08:32:56.641Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T08:32:56.641Z] 9f66e0745190: Pulling fs layer [2024-10-04T08:32:56.641Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T08:32:56.641Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T08:32:56.641Z] 5d5c8e513c77: Waiting [2024-10-04T08:32:56.641Z] 9f66e0745190: Waiting [2024-10-04T08:32:56.641Z] f49a43e4bbc0: Waiting [2024-10-04T08:32:56.641Z] 561ebcabdf7f: Waiting [2024-10-04T08:32:56.641Z] 5c3c966382ef: Waiting [2024-10-04T08:32:56.641Z] 4f4fb700ef54: Waiting [2024-10-04T08:32:56.902Z] 4cc291be95ef: Download complete [2024-10-04T08:32:56.902Z] 5c3c966382ef: Verifying Checksum [2024-10-04T08:32:56.902Z] 5c3c966382ef: Download complete [2024-10-04T08:32:56.902Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T08:32:56.902Z] 4f4fb700ef54: Download complete [2024-10-04T08:32:56.902Z] 5d5c8e513c77: Verifying Checksum [2024-10-04T08:32:56.902Z] 5d5c8e513c77: Download complete [2024-10-04T08:32:56.902Z] 43c4264eed91: Verifying Checksum [2024-10-04T08:32:56.902Z] 43c4264eed91: Download complete [2024-10-04T08:32:56.902Z] 9f66e0745190: Verifying Checksum [2024-10-04T08:32:56.902Z] 9f66e0745190: Download complete [2024-10-04T08:32:56.902Z] 43c4264eed91: Pull complete [2024-10-04T08:32:57.159Z] 561ebcabdf7f: Download complete [2024-10-04T08:32:57.159Z] 4cc291be95ef: Pull complete [2024-10-04T08:32:57.418Z] 2ac1f1163629: Verifying Checksum [2024-10-04T08:32:57.418Z] 2ac1f1163629: Download complete [2024-10-04T08:32:57.677Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T08:33:00.967Z] 2ac1f1163629: Pull complete [2024-10-04T08:33:00.967Z] 5c3c966382ef: Pull complete [2024-10-04T08:33:00.967Z] 4f4fb700ef54: Pull complete [2024-10-04T08:33:00.967Z] 5d5c8e513c77: Pull complete [2024-10-04T08:33:00.967Z] 9f66e0745190: Pull complete [2024-10-04T08:33:02.872Z] f49a43e4bbc0: Pull complete [2024-10-04T08:33:03.440Z] 561ebcabdf7f: Pull complete [2024-10-04T08:33:03.440Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T08:33:03.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T08:33:03.440Z] ---> 3a752c3f9dda [2024-10-04T08:33:03.440Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T08:33:08.724Z] ---> Running in 75725144d802 [2024-10-04T08:33:08.724Z] Removing intermediate container 75725144d802 [2024-10-04T08:33:08.724Z] ---> 872a86eaf030 [2024-10-04T08:33:08.724Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T08:33:08.724Z] ---> Running in 16fab3e35f37 [2024-10-04T08:33:08.724Z] Removing intermediate container 16fab3e35f37 [2024-10-04T08:33:08.724Z] ---> 14e980f7efe0 [2024-10-04T08:33:08.724Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T08:33:08.724Z] ---> Running in 6e741b0d3f9d [2024-10-04T08:33:08.724Z] Removing intermediate container 6e741b0d3f9d [2024-10-04T08:33:08.724Z] ---> 6488ae5a1539 [2024-10-04T08:33:08.724Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T08:33:08.724Z] ---> Running in bfc4f2fd86d5 [2024-10-04T08:33:08.724Z] Removing intermediate container bfc4f2fd86d5 [2024-10-04T08:33:08.724Z] ---> 7becec21cb2a [2024-10-04T08:33:08.724Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T08:33:08.724Z] ---> Running in 1732ac904bc7 [2024-10-04T08:33:08.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:33:08.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:33:09.243Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T08:33:09.243Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T08:33:09.243Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T08:33:09.243Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T08:33:09.243Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T08:33:09.361Z] Still waiting to schedule task [2024-10-04T08:33:09.361Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16704’ [2024-10-04T08:33:09.503Z] OK: 250 MiB in 58 packages [2024-10-04T08:33:09.764Z] Removing intermediate container 1732ac904bc7 [2024-10-04T08:33:09.764Z] ---> 6a58e1d67ace [2024-10-04T08:33:09.764Z] Step 8/12 : WORKDIR /device-snmp-go [2024-10-04T08:33:09.764Z] ---> Running in e6e67bce646e [2024-10-04T08:33:10.025Z] Removing intermediate container e6e67bce646e [2024-10-04T08:33:10.025Z] ---> 65f59fe95f72 [2024-10-04T08:33:10.025Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-04T08:33:10.025Z] ---> 107842b98440 [2024-10-04T08:33:10.025Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T08:33:10.025Z] ---> Running in 88a08643ddbd [2024-10-04T08:34:06.268Z] Removing intermediate container 88a08643ddbd [2024-10-04T08:34:06.268Z] ---> bda5d917520d [2024-10-04T08:34:06.268Z] Step 11/12 : COPY . . [2024-10-04T08:34:06.268Z] ---> cd101f72d667 [2024-10-04T08:34:06.268Z] Step 12/12 : RUN ${MAKE} [2024-10-04T08:34:06.268Z] ---> Running in fc7ef62a8349 [2024-10-04T08:34:06.268Z] noop [2024-10-04T08:34:06.268Z] Removing intermediate container fc7ef62a8349 [2024-10-04T08:34:06.268Z] ---> cc973aa170f3 [2024-10-04T08:34:06.268Z] Successfully built cc973aa170f3 [2024-10-04T08:34:06.268Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:34:06.767Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T08:34:06.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T08:34:06.978Z] prd-ubuntu20.04-docker-8c-8g-17480 does not seem to be running inside a container [2024-10-04T08:34:07.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-350 -v /w/workspace/gexfoundry_device-snmp-go_PR-350:/w/workspace/gexfoundry_device-snmp-go_PR-350:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-350@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-350@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T08:34:07.359Z] $ docker top 8d58495573d1e70e4a9fc4075308aba5b45a6bdc010189d00fd06ec4de1f4978 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T08:34:07.768Z] + go version [2024-10-04T08:34:07.769Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T08:34:07.810Z] $ docker stop --time=1 8d58495573d1e70e4a9fc4075308aba5b45a6bdc010189d00fd06ec4de1f4978 [2024-10-04T08:34:09.073Z] $ docker rm -f --volumes 8d58495573d1e70e4a9fc4075308aba5b45a6bdc010189d00fd06ec4de1f4978 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:34:09.881Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T08:34:09.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T08:34:10.064Z] prd-ubuntu20.04-docker-8c-8g-17480 does not seem to be running inside a container [2024-10-04T08:34:10.101Z] $ 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-350 -v /w/workspace/gexfoundry_device-snmp-go_PR-350:/w/workspace/gexfoundry_device-snmp-go_PR-350:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-350@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-350@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T08:34:10.429Z] $ docker top 6b9c2009f423d79f2d2e7bf67825ddb84e7221cff34d3df9797618da270b5194 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T08:34:10.841Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-350 [Pipeline] fileExists [Pipeline] sh [2024-10-04T08:34:11.223Z] + make test [2024-10-04T08:34:11.223Z] go test ./... -coverprofile=coverage.out [2024-10-04T08:34:13.152Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-10-04T08:34:31.233Z] github.com/edgexfoundry/device-snmp-go/cmd coverage: 0.0% of statements [2024-10-04T08:34:31.233Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2024-10-04T08:34:39.346Z] go vet ./... [2024-10-04T08:34:44.620Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T08:34:44.620Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T08:34:44.620Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T08:34:44.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T08:34:44.989Z] $ docker stop --time=1 6b9c2009f423d79f2d2e7bf67825ddb84e7221cff34d3df9797618da270b5194 [2024-10-04T08:34:51.288Z] $ docker rm -f --volumes 6b9c2009f423d79f2d2e7bf67825ddb84e7221cff34d3df9797618da270b5194 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T08:34:51.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T08:34:52.007Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-04T08:34:52.993Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T08:34:53.309Z] + ls -al . [2024-10-04T08:34:53.309Z] total 248 [2024-10-04T08:34:53.309Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 08:34 . [2024-10-04T08:34:53.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 08:32 .. [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 4 08:32 .dockerignore [2024-10-04T08:34:53.309Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 08:34 .git [2024-10-04T08:34:53.309Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 08:32 .github [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 263 Oct 4 08:32 .gitignore [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 08:32 .golangci.yml [2024-10-04T08:34:53.309Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 08:32 .semver [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 18843 Oct 4 08:32 Attribution.txt [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 11809 Oct 4 08:32 CHANGELOG.md [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 1571 Oct 4 08:32 Dockerfile [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 08:32 GOVERNANCE.md [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 4 08:32 Jenkinsfile [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 08:32 LICENSE [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 2240 Oct 4 08:32 Makefile [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 08:32 OWNERS.md [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 10477 Oct 4 08:32 README.md [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 08:32 VERSION [2024-10-04T08:34:53.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 08:32 bin [2024-10-04T08:34:53.309Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 08:32 cmd [2024-10-04T08:34:53.309Z] -rw-r--r-- 1 jenkins jenkins 8903 Oct 4 08:34 coverage.out [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 6969 Oct 4 08:32 go.mod [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 100589 Oct 4 08:32 go.sum [2024-10-04T08:34:53.309Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 08:32 internal [2024-10-04T08:34:53.309Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 4 08:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:34:53.733Z] + 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=8b5f0216e1125e3879b1b2332f14b87fc9d24a4c --label arch=amd64 --label version=0.0.0 . [2024-10-04T08:34:53.733Z] Sending build context to Docker daemon 20.19MB [2024-10-04T08:34:53.733Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T08:34:53.733Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-04T08:34:53.733Z] ---> cc973aa170f3 [2024-10-04T08:34:53.733Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-04T08:34:54.303Z] ---> Running in 03206d9cf338 [2024-10-04T08:34:54.303Z] Removing intermediate container 03206d9cf338 [2024-10-04T08:34:54.303Z] ---> c9de5a6a36c1 [2024-10-04T08:34:54.303Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T08:34:54.303Z] ---> Running in 91d3bd16a124 [2024-10-04T08:34:54.303Z] Removing intermediate container 91d3bd16a124 [2024-10-04T08:34:54.303Z] ---> f40a696e1b89 [2024-10-04T08:34:54.303Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T08:34:54.303Z] ---> Running in 3d95ddd24d24 [2024-10-04T08:34:54.561Z] Removing intermediate container 3d95ddd24d24 [2024-10-04T08:34:54.561Z] ---> 29e3e01a835f [2024-10-04T08:34:54.562Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T08:34:54.562Z] ---> Running in 36159eeb8268 [2024-10-04T08:34:54.562Z] Removing intermediate container 36159eeb8268 [2024-10-04T08:34:54.562Z] ---> f64bd2bfe1bd [2024-10-04T08:34:54.562Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T08:34:54.562Z] ---> Running in 3fed9706d666 [2024-10-04T08:34:54.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:34:55.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:34:55.349Z] OK: 250 MiB in 58 packages [2024-10-04T08:34:55.630Z] Removing intermediate container 3fed9706d666 [2024-10-04T08:34:55.630Z] ---> 7fca2c741416 [2024-10-04T08:34:55.630Z] Step 8/25 : WORKDIR /device-snmp-go [2024-10-04T08:34:55.630Z] ---> Running in 9955a767cc0e [2024-10-04T08:34:55.888Z] Removing intermediate container 9955a767cc0e [2024-10-04T08:34:55.888Z] ---> 8345cafbcf45 [2024-10-04T08:34:55.888Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-04T08:34:55.888Z] ---> d2f4744ca22b [2024-10-04T08:34:55.888Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T08:34:55.888Z] ---> Running in 5524fd1ed164 [2024-10-04T08:34:56.456Z] Removing intermediate container 5524fd1ed164 [2024-10-04T08:34:56.456Z] ---> c76d2c9788d7 [2024-10-04T08:34:56.456Z] Step 11/25 : COPY . . [2024-10-04T08:34:57.025Z] ---> 1c586c1304f6 [2024-10-04T08:34:57.025Z] Step 12/25 : RUN ${MAKE} [2024-10-04T08:34:57.284Z] ---> Running in 7fa40677e21a [2024-10-04T08:34:57.543Z] 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.41" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2024-10-04T08:35:36.264Z] Removing intermediate container 7fa40677e21a [2024-10-04T08:35:36.264Z] ---> e80da688dd43 [2024-10-04T08:35:36.264Z] Step 13/25 : FROM alpine:3.20 [2024-10-04T08:35:36.264Z] 3.20: Pulling from library/alpine [2024-10-04T08:35:36.264Z] 43c4264eed91: Already exists [2024-10-04T08:35:36.264Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T08:35:36.264Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T08:35:36.264Z] ---> 91ef0af61f39 [2024-10-04T08:35:36.264Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-10-04T08:35:36.264Z] ---> Running in c74593eb36af [2024-10-04T08:35:36.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:35:36.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:35:36.264Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T08:35:36.264Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T08:35:36.264Z] OK: 8 MiB in 15 packages [2024-10-04T08:35:36.264Z] Removing intermediate container c74593eb36af [2024-10-04T08:35:36.264Z] ---> 5ba4b0cf0ed3 [2024-10-04T08:35:36.264Z] Step 15/25 : RUN apk --no-cache upgrade [2024-10-04T08:35:36.264Z] ---> Running in b390d2505e65 [2024-10-04T08:35:36.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:35:36.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:35:36.264Z] Upgrading critical system libraries and apk-tools: [2024-10-04T08:35:36.264Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T08:35:36.264Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T08:35:36.264Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T08:35:36.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:35:36.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:35:36.264Z] OK: 8 MiB in 15 packages [2024-10-04T08:35:36.264Z] Removing intermediate container b390d2505e65 [2024-10-04T08:35:36.264Z] ---> 42ca0fa42133 [2024-10-04T08:35:36.264Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-10-04T08:35:36.264Z] ---> ce79e6cb7fdd [2024-10-04T08:35:36.264Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-10-04T08:35:36.264Z] ---> ad2851a1d173 [2024-10-04T08:35:36.264Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-10-04T08:35:36.264Z] ---> bbfbfc4c3842 [2024-10-04T08:35:36.264Z] Step 19/25 : EXPOSE 59993 [2024-10-04T08:35:36.264Z] ---> Running in 849ccb3f18aa [2024-10-04T08:35:36.264Z] Removing intermediate container 849ccb3f18aa [2024-10-04T08:35:36.264Z] ---> 438b3a8bba12 [2024-10-04T08:35:36.264Z] Step 20/25 : EXPOSE 161 [2024-10-04T08:35:36.264Z] ---> Running in ea616aa93e20 [2024-10-04T08:35:36.264Z] Removing intermediate container ea616aa93e20 [2024-10-04T08:35:36.264Z] ---> 108f51d5d241 [2024-10-04T08:35:36.264Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-10-04T08:35:36.264Z] ---> Running in 95126b352194 [2024-10-04T08:35:36.264Z] Removing intermediate container 95126b352194 [2024-10-04T08:35:36.264Z] ---> 01cc46f32534 [2024-10-04T08:35:36.264Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T08:35:36.264Z] ---> Running in bac9020d0401 [2024-10-04T08:35:36.264Z] Removing intermediate container bac9020d0401 [2024-10-04T08:35:36.264Z] ---> 7c653d790fe2 [2024-10-04T08:35:36.264Z] Step 23/25 : LABEL arch=amd64 [2024-10-04T08:35:36.264Z] ---> Running in 392b865b81df [2024-10-04T08:35:36.264Z] Removing intermediate container 392b865b81df [2024-10-04T08:35:36.264Z] ---> 0506319a6b61 [2024-10-04T08:35:36.264Z] Step 24/25 : LABEL git_sha=8b5f0216e1125e3879b1b2332f14b87fc9d24a4c [2024-10-04T08:35:36.264Z] ---> Running in 812167a9cd26 [2024-10-04T08:35:36.264Z] Removing intermediate container 812167a9cd26 [2024-10-04T08:35:36.264Z] ---> 32dd066e1950 [2024-10-04T08:35:36.264Z] Step 25/25 : LABEL version=0.0.0 [2024-10-04T08:35:36.264Z] ---> Running in 369abd92b6ad [2024-10-04T08:35:36.264Z] Removing intermediate container 369abd92b6ad [2024-10-04T08:35:36.264Z] ---> 8cca4bc281e6 [2024-10-04T08:35:36.264Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T08:35:36.264Z] Successfully built 8cca4bc281e6 [2024-10-04T08:35:36.264Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:35:37.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T08:35:37.358Z] [2024-10-04T08:35:37.358Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:35:37.774Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T08:35:37.774Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T08:35:37.774Z] 5eb5b503b376: Pulling fs layer [2024-10-04T08:35:37.774Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T08:35:37.774Z] ec43610c2a17: Pulling fs layer [2024-10-04T08:35:37.774Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T08:35:37.774Z] 33b1e0a273af: Pulling fs layer [2024-10-04T08:35:37.774Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T08:35:37.774Z] 2f39f015ded8: Pulling fs layer [2024-10-04T08:35:37.774Z] 3a2ae6a8a46f: Waiting [2024-10-04T08:35:37.774Z] 5d3b04190fa2: Waiting [2024-10-04T08:35:37.774Z] 33b1e0a273af: Waiting [2024-10-04T08:35:37.774Z] 2f39f015ded8: Waiting [2024-10-04T08:35:37.774Z] 5c69ac0246d0: Verifying Checksum [2024-10-04T08:35:37.774Z] 5c69ac0246d0: Download complete [2024-10-04T08:35:37.774Z] 3a2ae6a8a46f: Download complete [2024-10-04T08:35:37.774Z] 33b1e0a273af: Verifying Checksum [2024-10-04T08:35:37.775Z] 33b1e0a273af: Download complete [2024-10-04T08:35:37.775Z] 5d3b04190fa2: Verifying Checksum [2024-10-04T08:35:37.775Z] 5d3b04190fa2: Download complete [2024-10-04T08:35:37.775Z] ec43610c2a17: Verifying Checksum [2024-10-04T08:35:38.034Z] 5eb5b503b376: Verifying Checksum [2024-10-04T08:35:38.034Z] 5eb5b503b376: Download complete [2024-10-04T08:35:38.601Z] 2f39f015ded8: Download complete [2024-10-04T08:35:39.172Z] 5eb5b503b376: Pull complete [2024-10-04T08:35:39.172Z] 5c69ac0246d0: Pull complete [2024-10-04T08:35:39.740Z] ec43610c2a17: Pull complete [2024-10-04T08:35:39.740Z] 3a2ae6a8a46f: Pull complete [2024-10-04T08:35:39.998Z] 33b1e0a273af: Pull complete [2024-10-04T08:35:39.998Z] 5d3b04190fa2: Pull complete [2024-10-04T08:35:44.185Z] 2f39f015ded8: Pull complete [2024-10-04T08:35:44.185Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T08:35:44.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T08:35:44.185Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T08:35:44.462Z] prd-ubuntu20.04-docker-8c-8g-17480 does not seem to be running inside a container [2024-10-04T08:35:44.497Z] $ 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-350 -v /w/workspace/gexfoundry_device-snmp-go_PR-350:/w/workspace/gexfoundry_device-snmp-go_PR-350:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-350@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-350@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 [2024-10-04T08:35:50.421Z] $ docker top 539b768b300d67495858b110e730335933afd7b575fbd5998ad1605db3e1d960 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T08:35:50.905Z] ---> job-cost.sh [2024-10-04T08:35:50.905Z] lf-activate-venv: SKIPPING [2024-10-04T08:35:50.905Z] INFO: No Stack... [2024-10-04T08:35:51.165Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T08:35:51.742Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T08:35:52.072Z] + + cat /w/workspace/gexfoundry_device-snmp-go_PR-350/archives/cost.csv [2024-10-04T08:35:52.072Z] cut -d, -f6 [Pipeline] lock [2024-10-04T08:35:52.125Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-350-1-stack-cost] [2024-10-04T08:35:52.133Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-350-1-stack-cost] did not exist. Created. [2024-10-04T08:35:52.140Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-350-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T08:35:52.558Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T08:35:52.624Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T08:35:52.661Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-PR-350-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T08:35:52.793Z] $ docker stop --time=1 539b768b300d67495858b110e730335933afd7b575fbd5998ad1605db3e1d960 [2024-10-04T08:35:53.940Z] $ docker rm -f --volumes 539b768b300d67495858b110e730335933afd7b575fbd5998ad1605db3e1d960 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T10:33:45.057Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21522 in /w/workspace/gexfoundry_device-snmp-go_PR-350 [Pipeline] { [Pipeline] ws [2024-10-04T10:33:45.134Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2024-10-04T10:33:45.228Z] Selected Git installation does not exist. Using Default [2024-10-04T10:33:45.228Z] The recommended git tool is: NONE [2024-10-04T10:33:53.887Z] using credential edgex-jenkins-ssh [2024-10-04T10:33:53.914Z] Cloning the remote Git repository [2024-10-04T10:33:53.967Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2024-10-04T10:33:54.108Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2024-10-04T10:33:54.431Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-10-04T10:33:54.433Z] > git --version # timeout=10 [2024-10-04T10:33:54.471Z] > git --version # 'git version 2.25.1' [2024-10-04T10:33:54.473Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T10:33:54.704Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T10:33:57.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-10-04T10:33:57.243Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T10:33:59.036Z] Merging remotes/origin/main commit 66a19ca55ca84056ce2719f1ed69bf58dfaa137b into PR head commit 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c [2024-10-04T10:33:58.344Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-10-04T10:33:58.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-10-04T10:33:58.406Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T10:33:58.442Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/350/head:refs/remotes/origin/PR-350 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T10:33:59.076Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T10:33:59.439Z] Merge succeeded, producing 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c [2024-10-04T10:33:59.440Z] Checking out Revision 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c (PR-350) [2024-10-04T10:33:59.151Z] > git checkout -f 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c # timeout=10 [2024-10-04T10:33:59.255Z] > git remote # timeout=10 [2024-10-04T10:33:59.284Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T10:33:59.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T10:33:59.374Z] > git merge 66a19ca55ca84056ce2719f1ed69bf58dfaa137b # timeout=10 [2024-10-04T10:33:59.420Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T10:33:59.448Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T10:33:59.468Z] > git checkout -f 8b5f0216e1125e3879b1b2332f14b87fc9d24a4c # timeout=10 [2024-10-04T10:34:03.139Z] Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" [2024-10-04T10:34:03.189Z] > git --version # timeout=10 [2024-10-04T10:34:03.198Z] > git --version # 'git version 2.25.1' [2024-10-04T10:34:03.211Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T10:34:05.336Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T10:34:05.336Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T10:34:05.336Z] Dload Upload Total Spent Left Speed [2024-10-04T10:34:05.336Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 75458 0 --:--:-- --:--:-- --:--:-- 75458 [Pipeline] sh [2024-10-04T10:34:05.683Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T10:34:06.030Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-04T10:34:06.030Z] + sudo tee /etc/docker/daemon.new [2024-10-04T10:34:06.030Z] { [2024-10-04T10:34:06.030Z] "registry-mirrors": [ [2024-10-04T10:34:06.030Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T10:34:06.030Z] ], [2024-10-04T10:34:06.030Z] "bip": "10.250.0.254/24", [2024-10-04T10:34:06.030Z] "hosts": [ [2024-10-04T10:34:06.030Z] "tcp://0.0.0.0:5555", [2024-10-04T10:34:06.030Z] "unix:///var/run/docker.sock" [2024-10-04T10:34:06.030Z] ], [2024-10-04T10:34:06.030Z] "mtu": 1458, [2024-10-04T10:34:06.030Z] "selinux-enabled": true, [2024-10-04T10:34:06.030Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T10:34:06.030Z] } [Pipeline] sh [2024-10-04T10:34:06.390Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T10:34:06.749Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T10:34:25.115Z] provisioning config files... [2024-10-04T10:34:25.139Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config10434377229348697854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:34:25.651Z] ---> ****-login.sh [2024-10-04T10:34:25.651Z] nexus3.edgexfoundry.org:10001 [2024-10-04T10:34:26.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T10:34:26.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T10:34:26.238Z] Configure a credential helper to remove this warning. See [2024-10-04T10:34:26.238Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T10:34:26.238Z] [2024-10-04T10:34:26.238Z] Login Succeeded [2024-10-04T10:34:26.238Z] nexus3.edgexfoundry.org:10002 [2024-10-04T10:34:26.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T10:34:26.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T10:34:26.776Z] Configure a credential helper to remove this warning. See [2024-10-04T10:34:26.776Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T10:34:26.776Z] [2024-10-04T10:34:26.776Z] Login Succeeded [2024-10-04T10:34:26.776Z] nexus3.edgexfoundry.org:10003 [2024-10-04T10:34:27.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T10:34:27.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T10:34:27.048Z] Configure a credential helper to remove this warning. See [2024-10-04T10:34:27.048Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T10:34:27.048Z] [2024-10-04T10:34:27.048Z] Login Succeeded [2024-10-04T10:34:27.048Z] nexus3.edgexfoundry.org:10004 [2024-10-04T10:34:27.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T10:34:27.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T10:34:27.320Z] Configure a credential helper to remove this warning. See [2024-10-04T10:34:27.320Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T10:34:27.320Z] [2024-10-04T10:34:27.320Z] Login Succeeded [2024-10-04T10:34:27.320Z] ****.io [2024-10-04T10:34:27.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T10:34:27.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T10:34:27.857Z] Configure a credential helper to remove this warning. See [2024-10-04T10:34:27.857Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T10:34:27.857Z] [2024-10-04T10:34:27.857Z] Login Succeeded [2024-10-04T10:34:27.857Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T10:34:27.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T10:34:28.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T10:34:28.379Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T10:34:28.488Z] ========================================================= [2024-10-04T10:34:28.488Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T10:34:28.488Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:34:29.064Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-04T10:34:29.331Z] Sending build context to Docker daemon 10.21MB [2024-10-04T10:34:29.331Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T10:34:29.331Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T10:34:29.600Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T10:34:29.600Z] cf04c63912e1: Pulling fs layer [2024-10-04T10:34:29.600Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T10:34:29.600Z] a37a00ec5f00: Pulling fs layer [2024-10-04T10:34:29.600Z] 50b3750afda1: Pulling fs layer [2024-10-04T10:34:29.600Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T10:34:29.600Z] 80978eb59214: Pulling fs layer [2024-10-04T10:34:29.600Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T10:34:29.600Z] c5a475d317c9: Pulling fs layer [2024-10-04T10:34:29.600Z] 80978eb59214: Waiting [2024-10-04T10:34:29.600Z] 50b3750afda1: Waiting [2024-10-04T10:34:29.600Z] c9f46d7d2bd2: Waiting [2024-10-04T10:34:29.600Z] 4f4fb700ef54: Waiting [2024-10-04T10:34:29.600Z] c5a475d317c9: Waiting [2024-10-04T10:34:29.600Z] 55b35a11ae5e: Verifying Checksum [2024-10-04T10:34:29.600Z] 55b35a11ae5e: Download complete [2024-10-04T10:34:29.600Z] 50b3750afda1: Verifying Checksum [2024-10-04T10:34:29.600Z] 50b3750afda1: Download complete [2024-10-04T10:34:29.600Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T10:34:29.600Z] 4f4fb700ef54: Download complete [2024-10-04T10:34:29.600Z] 80978eb59214: Verifying Checksum [2024-10-04T10:34:29.600Z] 80978eb59214: Download complete [2024-10-04T10:34:29.880Z] cf04c63912e1: Verifying Checksum [2024-10-04T10:34:29.880Z] cf04c63912e1: Download complete [2024-10-04T10:34:30.159Z] c5a475d317c9: Verifying Checksum [2024-10-04T10:34:30.159Z] c5a475d317c9: Download complete [2024-10-04T10:34:30.747Z] cf04c63912e1: Pull complete [2024-10-04T10:34:31.341Z] 55b35a11ae5e: Pull complete [2024-10-04T10:34:31.612Z] a37a00ec5f00: Verifying Checksum [2024-10-04T10:34:31.612Z] a37a00ec5f00: Download complete [2024-10-04T10:34:32.580Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T10:34:32.580Z] c9f46d7d2bd2: Download complete [2024-10-04T10:34:44.898Z] a37a00ec5f00: Pull complete [2024-10-04T10:34:44.898Z] 50b3750afda1: Pull complete [2024-10-04T10:34:44.898Z] 4f4fb700ef54: Pull complete [2024-10-04T10:34:44.898Z] 80978eb59214: Pull complete [2024-10-04T10:34:53.116Z] c9f46d7d2bd2: Pull complete [2024-10-04T10:34:53.701Z] c5a475d317c9: Pull complete [2024-10-04T10:34:53.701Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T10:34:53.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T10:34:53.701Z] ---> be29e6b0f0d4 [2024-10-04T10:34:53.701Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T10:34:55.127Z] ---> Running in ff01c1a87d4c [2024-10-04T10:34:55.393Z] Removing intermediate container ff01c1a87d4c [2024-10-04T10:34:55.393Z] ---> 516fe89a45c0 [2024-10-04T10:34:55.393Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T10:34:55.393Z] ---> Running in 743df98d400c [2024-10-04T10:34:55.660Z] Removing intermediate container 743df98d400c [2024-10-04T10:34:55.660Z] ---> c512eb725107 [2024-10-04T10:34:55.660Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T10:34:55.660Z] ---> Running in 604fbd80aaf0 [2024-10-04T10:34:55.936Z] Removing intermediate container 604fbd80aaf0 [2024-10-04T10:34:55.936Z] ---> a9d15909dc39 [2024-10-04T10:34:55.936Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T10:34:56.204Z] ---> Running in b92d14620c75 [2024-10-04T10:34:56.473Z] Removing intermediate container b92d14620c75 [2024-10-04T10:34:56.473Z] ---> 1334f15bbc93 [2024-10-04T10:34:56.473Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T10:34:56.473Z] ---> Running in e6499f365dc8 [2024-10-04T10:34:57.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:34:58.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:34:59.557Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T10:34:59.557Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T10:34:59.557Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T10:34:59.557Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T10:34:59.557Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T10:34:59.557Z] OK: 242 MiB in 58 packages [2024-10-04T10:35:00.966Z] Removing intermediate container e6499f365dc8 [2024-10-04T10:35:00.966Z] ---> 5c8855d04514 [2024-10-04T10:35:00.966Z] Step 8/12 : WORKDIR /device-snmp-go [2024-10-04T10:35:00.966Z] ---> Running in 4f7c109a84ec [2024-10-04T10:35:00.966Z] Removing intermediate container 4f7c109a84ec [2024-10-04T10:35:00.966Z] ---> aaadaa428fe6 [2024-10-04T10:35:00.966Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-04T10:35:02.908Z] ---> 32276b96a1c9 [2024-10-04T10:35:02.908Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T10:35:02.908Z] ---> Running in 7159155ac6f1 [2024-10-04T10:36:54.798Z] Removing intermediate container 7159155ac6f1 [2024-10-04T10:36:54.799Z] ---> 058e2bf6c493 [2024-10-04T10:36:54.799Z] Step 11/12 : COPY . . [2024-10-04T10:36:54.799Z] ---> 60b2a5c5b793 [2024-10-04T10:36:54.799Z] Step 12/12 : RUN ${MAKE} [2024-10-04T10:36:54.799Z] ---> Running in 13a328732423 [2024-10-04T10:36:54.799Z] noop [2024-10-04T10:36:55.067Z] Removing intermediate container 13a328732423 [2024-10-04T10:36:55.067Z] ---> 5909bf449512 [2024-10-04T10:36:55.067Z] Successfully built 5909bf449512 [2024-10-04T10:36:55.067Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:36:55.573Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T10:36:55.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T10:36:55.865Z] prd-ubuntu20.04-docker-arm64-4c-16g-21522 does not seem to be running inside a container [2024-10-04T10:36:55.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T10:36:57.050Z] $ docker top 7e288532a57247e51778e03af887bd999d23b3b6a339557aafe2118306d51ae7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T10:36:57.935Z] + go version [2024-10-04T10:36:57.935Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T10:36:57.973Z] $ docker stop --time=1 7e288532a57247e51778e03af887bd999d23b3b6a339557aafe2118306d51ae7 [2024-10-04T10:37:00.864Z] $ docker rm -f --volumes 7e288532a57247e51778e03af887bd999d23b3b6a339557aafe2118306d51ae7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:37:01.752Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T10:37:01.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T10:37:02.020Z] prd-ubuntu20.04-docker-arm64-4c-16g-21522 does not seem to be running inside a container [2024-10-04T10:37:02.080Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T10:37:03.225Z] $ docker top b8b6bb0b7a4a6ba40a97a539914d0a379f3dda2bc520d973e2c9d98fcb04faa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T10:37:03.793Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-04T10:37:04.193Z] + make test [2024-10-04T10:37:04.193Z] go test ./... -coverprofile=coverage.out [2024-10-04T10:37:10.836Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-10-04T10:40:47.923Z] github.com/edgexfoundry/device-snmp-go/cmd coverage: 0.0% of statements [2024-10-04T10:40:47.923Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements [2024-10-04T10:40:47.923Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T10:40:47.923Z] go vet ./... [2024-10-04T10:41:44.352Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T10:41:44.352Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T10:41:44.352Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T10:41:44.400Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T10:41:44.445Z] $ docker stop --time=1 b8b6bb0b7a4a6ba40a97a539914d0a379f3dda2bc520d973e2c9d98fcb04faa8 [2024-10-04T10:41:46.361Z] $ docker rm -f --volumes b8b6bb0b7a4a6ba40a97a539914d0a379f3dda2bc520d973e2c9d98fcb04faa8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T10:41:48.183Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T10:41:48.227Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T10:41:48.785Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T10:41:49.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T10:41:49.815Z] + ls -al . [2024-10-04T10:41:49.816Z] total 244 [2024-10-04T10:41:49.816Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 4 10:37 . [2024-10-04T10:41:49.816Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 10:33 .. [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 4 10:33 .dockerignore [2024-10-04T10:41:49.816Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 10:33 .git [2024-10-04T10:41:49.816Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 10:33 .github [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 263 Oct 4 10:33 .gitignore [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 10:33 .golangci.yml [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 18843 Oct 4 10:33 Attribution.txt [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 11809 Oct 4 10:33 CHANGELOG.md [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 1571 Oct 4 10:33 Dockerfile [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 10:33 GOVERNANCE.md [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 4 10:33 Jenkinsfile [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 10:33 LICENSE [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 2240 Oct 4 10:33 Makefile [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 10:33 OWNERS.md [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 10477 Oct 4 10:33 README.md [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 08:32 VERSION [2024-10-04T10:41:49.816Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 10:33 bin [2024-10-04T10:41:49.816Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 10:33 cmd [2024-10-04T10:41:49.816Z] -rw-r--r-- 1 jenkins jenkins 8903 Oct 4 10:40 coverage.out [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 6969 Oct 4 10:33 go.mod [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 100589 Oct 4 10:33 go.sum [2024-10-04T10:41:49.816Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 10:33 internal [2024-10-04T10:41:49.816Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 4 10:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:41:50.304Z] + 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=8b5f0216e1125e3879b1b2332f14b87fc9d24a4c --label arch=arm64 --label version=0.0.0 . [2024-10-04T10:41:50.572Z] Sending build context to Docker daemon 10.22MB [2024-10-04T10:41:50.840Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T10:41:50.840Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-04T10:41:50.840Z] ---> 5909bf449512 [2024-10-04T10:41:50.840Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-04T10:41:50.840Z] ---> Running in c2d0d4c7ea7a [2024-10-04T10:41:51.109Z] Removing intermediate container c2d0d4c7ea7a [2024-10-04T10:41:51.109Z] ---> a262a2cceefa [2024-10-04T10:41:51.109Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T10:41:51.382Z] ---> Running in 596a6abb253b [2024-10-04T10:41:51.650Z] Removing intermediate container 596a6abb253b [2024-10-04T10:41:51.650Z] ---> f2b79a0a12bc [2024-10-04T10:41:51.650Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T10:41:51.650Z] ---> Running in 984c3551bc92 [2024-10-04T10:41:51.923Z] Removing intermediate container 984c3551bc92 [2024-10-04T10:41:51.923Z] ---> 101b0835231c [2024-10-04T10:41:51.923Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T10:41:52.192Z] ---> Running in 5a697a96c35f [2024-10-04T10:41:52.462Z] Removing intermediate container 5a697a96c35f [2024-10-04T10:41:52.462Z] ---> 58786dbfbc26 [2024-10-04T10:41:52.462Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T10:41:52.462Z] ---> Running in 7e772965d74e [2024-10-04T10:41:53.890Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:41:53.890Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:41:55.837Z] OK: 242 MiB in 58 packages [2024-10-04T10:41:56.420Z] Removing intermediate container 7e772965d74e [2024-10-04T10:41:56.420Z] ---> dfdca6283a4e [2024-10-04T10:41:56.420Z] Step 8/25 : WORKDIR /device-snmp-go [2024-10-04T10:41:56.420Z] ---> Running in 83e00eb7b75b [2024-10-04T10:41:57.003Z] Removing intermediate container 83e00eb7b75b [2024-10-04T10:41:57.003Z] ---> 6f52d01967d9 [2024-10-04T10:41:57.003Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-04T10:41:57.273Z] ---> c76c7a31144b [2024-10-04T10:41:57.273Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T10:41:57.273Z] ---> Running in 7682d2bb9769 [2024-10-04T10:41:59.864Z] Removing intermediate container 7682d2bb9769 [2024-10-04T10:41:59.864Z] ---> c1c3fb52d61d [2024-10-04T10:41:59.864Z] Step 11/25 : COPY . . [2024-10-04T10:42:00.826Z] ---> 4247095c86fb [2024-10-04T10:42:00.826Z] Step 12/25 : RUN ${MAKE} [2024-10-04T10:42:00.826Z] ---> Running in 6994c687fe49 [2024-10-04T10:42:01.785Z] 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.41" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2024-10-04T10:45:53.628Z] Removing intermediate container 6994c687fe49 [2024-10-04T10:45:53.628Z] ---> f098f3e47e0d [2024-10-04T10:45:53.628Z] Step 13/25 : FROM alpine:3.20 [2024-10-04T10:45:53.628Z] 3.20: Pulling from library/alpine [2024-10-04T10:45:53.628Z] cf04c63912e1: Already exists [2024-10-04T10:45:53.628Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T10:45:53.628Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T10:45:53.628Z] ---> c157a85ed455 [2024-10-04T10:45:53.628Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-10-04T10:45:53.628Z] ---> Running in 5067e02f3d14 [2024-10-04T10:45:53.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:45:53.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:45:53.628Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T10:45:53.628Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T10:45:53.628Z] OK: 9 MiB in 15 packages [2024-10-04T10:45:53.628Z] Removing intermediate container 5067e02f3d14 [2024-10-04T10:45:53.628Z] ---> f29bb1b30d0f [2024-10-04T10:45:53.628Z] Step 15/25 : RUN apk --no-cache upgrade [2024-10-04T10:45:53.628Z] ---> Running in 37ace93508e8 [2024-10-04T10:45:53.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:45:53.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:45:53.628Z] Upgrading critical system libraries and apk-tools: [2024-10-04T10:45:53.628Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T10:45:53.628Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T10:45:53.628Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T10:45:53.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:45:53.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:45:53.628Z] OK: 9 MiB in 15 packages [2024-10-04T10:45:53.628Z] Removing intermediate container 37ace93508e8 [2024-10-04T10:45:53.628Z] ---> d2037fa438d3 [2024-10-04T10:45:53.628Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-10-04T10:45:55.567Z] ---> 796b4d867ddb [2024-10-04T10:45:55.567Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-10-04T10:45:56.150Z] ---> 3977076359fd [2024-10-04T10:45:56.150Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-10-04T10:45:56.733Z] ---> c419c7b86c93 [2024-10-04T10:45:56.733Z] Step 19/25 : EXPOSE 59993 [2024-10-04T10:45:56.733Z] ---> Running in bd8ad529fe2b [2024-10-04T10:45:57.001Z] Removing intermediate container bd8ad529fe2b [2024-10-04T10:45:57.001Z] ---> 8d5bae54c89e [2024-10-04T10:45:57.001Z] Step 20/25 : EXPOSE 161 [2024-10-04T10:45:57.001Z] ---> Running in 111fb7c03137 [2024-10-04T10:45:57.267Z] Removing intermediate container 111fb7c03137 [2024-10-04T10:45:57.268Z] ---> 6df684e69ac9 [2024-10-04T10:45:57.268Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-10-04T10:45:57.535Z] ---> Running in f3dd282fac8b [2024-10-04T10:45:57.802Z] Removing intermediate container f3dd282fac8b [2024-10-04T10:45:57.802Z] ---> d79141c43dd9 [2024-10-04T10:45:57.802Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T10:45:57.802Z] ---> Running in 6e167a6c4630 [2024-10-04T10:45:58.070Z] Removing intermediate container 6e167a6c4630 [2024-10-04T10:45:58.070Z] ---> 84a0448cb8d1 [2024-10-04T10:45:58.070Z] Step 23/25 : LABEL arch=arm64 [2024-10-04T10:45:58.070Z] ---> Running in 280774000adf [2024-10-04T10:45:58.653Z] Removing intermediate container 280774000adf [2024-10-04T10:45:58.653Z] ---> b77fbf752e36 [2024-10-04T10:45:58.654Z] Step 24/25 : LABEL git_sha=8b5f0216e1125e3879b1b2332f14b87fc9d24a4c [2024-10-04T10:45:58.654Z] ---> Running in c36c4245c3a7 [2024-10-04T10:45:58.920Z] Removing intermediate container c36c4245c3a7 [2024-10-04T10:45:58.920Z] ---> 031625d51090 [2024-10-04T10:45:58.920Z] Step 25/25 : LABEL version=0.0.0 [2024-10-04T10:45:58.920Z] ---> Running in 986cad7af744 [2024-10-04T10:45:59.187Z] Removing intermediate container 986cad7af744 [2024-10-04T10:45:59.187Z] ---> 57dc710153b5 [2024-10-04T10:45:59.187Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T10:45:59.187Z] Successfully built 57dc710153b5 [2024-10-04T10:45:59.187Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:46:00.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T10:46:00.091Z] [2024-10-04T10:46:00.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:46:00.526Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T10:46:00.526Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T10:46:00.526Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T10:46:00.526Z] 04944245beec: Pulling fs layer [2024-10-04T10:46:00.526Z] 699f458cf7ca: Pulling fs layer [2024-10-04T10:46:00.526Z] 765212b225bb: Pulling fs layer [2024-10-04T10:46:00.526Z] f23df028b6ca: Pulling fs layer [2024-10-04T10:46:00.526Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T10:46:00.526Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T10:46:00.526Z] 765212b225bb: Waiting [2024-10-04T10:46:00.526Z] 2437ff75d9bd: Waiting [2024-10-04T10:46:00.526Z] f23df028b6ca: Waiting [2024-10-04T10:46:00.793Z] 04944245beec: Verifying Checksum [2024-10-04T10:46:00.793Z] 04944245beec: Download complete [2024-10-04T10:46:00.793Z] 765212b225bb: Verifying Checksum [2024-10-04T10:46:00.793Z] 765212b225bb: Download complete [2024-10-04T10:46:00.793Z] f23df028b6ca: Download complete [2024-10-04T10:46:00.793Z] d65c8cfc05b1: Verifying Checksum [2024-10-04T10:46:00.793Z] d65c8cfc05b1: Download complete [2024-10-04T10:46:01.061Z] 699f458cf7ca: Verifying Checksum [2024-10-04T10:46:01.061Z] 699f458cf7ca: Download complete [2024-10-04T10:46:01.329Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T10:46:01.329Z] 8998bd30e6a1: Download complete [2024-10-04T10:46:03.918Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T10:46:03.918Z] 2437ff75d9bd: Download complete [2024-10-04T10:46:05.860Z] 8998bd30e6a1: Pull complete [2024-10-04T10:46:06.444Z] 04944245beec: Pull complete [2024-10-04T10:46:07.847Z] 699f458cf7ca: Pull complete [2024-10-04T10:46:08.112Z] 765212b225bb: Pull complete [2024-10-04T10:46:09.068Z] f23df028b6ca: Pull complete [2024-10-04T10:46:09.068Z] d65c8cfc05b1: Pull complete [2024-10-04T10:46:24.052Z] 2437ff75d9bd: Pull complete [2024-10-04T10:46:24.052Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T10:46:24.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T10:46:24.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T10:46:24.415Z] prd-ubuntu20.04-docker-arm64-4c-16g-21522 does not seem to be running inside a container [2024-10-04T10:46:24.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-04T10:46:27.094Z] $ docker top 463fada8fbc5be4f0109314613e1b1d38d742456c8dbc67f677a77be7690ce30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:28.025Z] ---> job-cost.sh [2024-10-04T10:46:28.025Z] lf-activate-venv: SKIPPING [2024-10-04T10:46:28.025Z] INFO: No Stack... [2024-10-04T10:46:28.606Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T10:46:29.188Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T10:46:29.854Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2024-10-04T10:46:29.855Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T10:46:29.939Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-350-1-stack-cost] [2024-10-04T10:46:29.945Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-350-1-stack-cost] did not exist. Created. [2024-10-04T10:46:29.953Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-350-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T10:46:30.713Z] /w/workspace/device-snmp-go/1@tmp/durable-31869c89/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T10:46:31.069Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T10:46:31.115Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T10:46:31.154Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T10:46:31.186Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-PR-350-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T10:46:31.287Z] $ docker stop --time=1 463fada8fbc5be4f0109314613e1b1d38d742456c8dbc67f677a77be7690ce30 [2024-10-04T10:46:32.753Z] $ docker rm -f --volumes 463fada8fbc5be4f0109314613e1b1d38d742456c8dbc67f677a77be7690ce30 [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 [2024-10-04T10:46:33.898Z] provisioning config files... [2024-10-04T10:46:33.906Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-350@tmp/config705722364632303551tmp [Pipeline] { [Pipeline] sh [2024-10-04T10:46:34.268Z] + set +x [2024-10-04T10:46:34.268Z] + curl -s https://codecov.io/bash [2024-10-04T10:46:34.268Z] + bash -s -- [2024-10-04T10:46:34.268Z] [2024-10-04T10:46:34.268Z] _____ _ [2024-10-04T10:46:34.268Z] / ____| | | [2024-10-04T10:46:34.268Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T10:46:34.268Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T10:46:34.268Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T10:46:34.268Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T10:46:34.268Z] Bash-1.0.6 [2024-10-04T10:46:34.268Z] [2024-10-04T10:46:34.268Z] [2024-10-04T10:46:34.268Z] ==> git version 2.25.1 found [2024-10-04T10:46:34.268Z] ==> 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 [2024-10-04T10:46:34.268Z] Release-Date: 2020-01-08 [2024-10-04T10:46:34.268Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-04T10:46:34.268Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T10:46:34.268Z] ==> Jenkins CI detected. [2024-10-04T10:46:34.268Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-350 [2024-10-04T10:46:34.268Z] project root: . [2024-10-04T10:46:34.268Z] --> token set from env [2024-10-04T10:46:34.268Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T10:46:34.268Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T10:46:34.268Z] ==> Python coveragepy not found [2024-10-04T10:46:34.268Z] ==> Searching for coverage reports in: [2024-10-04T10:46:34.268Z] + . [2024-10-04T10:46:34.268Z] -> Found 1 reports [2024-10-04T10:46:34.268Z] ==> Detecting git/mercurial file structure [2024-10-04T10:46:34.268Z] ==> Reading reports [2024-10-04T10:46:34.268Z] + ./coverage.out bytes=8903 [2024-10-04T10:46:34.268Z] ==> Appending adjustments [2024-10-04T10:46:34.268Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T10:46:34.527Z] + Found adjustments [2024-10-04T10:46:34.527Z] ==> Gzipping contents [2024-10-04T10:46:34.527Z] 4.0K /tmp/codecov.RrrXiD.gz [2024-10-04T10:46:34.527Z] ==> Uploading reports [2024-10-04T10:46:34.527Z] url: https://codecov.io [2024-10-04T10:46:34.527Z] query: branch=PR-350&commit=8b5f0216e1125e3879b1b2332f14b87fc9d24a4c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-350%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=350&job=&cmd_args= [2024-10-04T10:46:34.527Z] -> Pinging Codecov [2024-10-04T10:46:34.527Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-350&commit=8b5f0216e1125e3879b1b2332f14b87fc9d24a4c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-350%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=350&job=&cmd_args= [2024-10-04T10:46:34.527Z] -> Uploading to [2024-10-04T10:46:34.527Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-snmp-go/8b5f0216e1125e3879b1b2332f14b87fc9d24a4c/5fd432bd-7a09-499b-9247-8ff5fe0ec334.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T104634Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=d20f39ab82dc5391e7b8927f5f4b283644081d7770d2e331db074d01ddae9432 [2024-10-04T10:46:34.527Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T10:46:34.527Z] Dload Upload Total Spent Left Speed [2024-10-04T10:46:34.788Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 6857 --:--:-- --:--:-- --:--:-- 6857 [2024-10-04T10:46:34.788Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/8b5f0216e1125e3879b1b2332f14b87fc9d24a4c [Pipeline] } [2024-10-04T10:46:34.821Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-04T10:46:37.078Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-350/archives ] [2024-10-04T10:46:37.078Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-350/archives [2024-10-04T10:46:37.078Z] total 16 [2024-10-04T10:46:37.078Z] drwxr-xr-x 3 root root 4096 Oct 4 08:35 . [2024-10-04T10:46:37.078Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 08:35 .. [2024-10-04T10:46:37.078Z] drwxr-xr-x 2 root root 4096 Oct 4 08:35 cost [2024-10-04T10:46:37.078Z] -rw-r--r-- 1 root root 86 Oct 4 08:35 cost.csv [2024-10-04T10:46:37.078Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-350/archives [2024-10-04T10:46:37.078Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-350/archives [2024-10-04T10:46:37.078Z] total 16 [2024-10-04T10:46:37.078Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 08:35 . [2024-10-04T10:46:37.078Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 08:35 .. [2024-10-04T10:46:37.078Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 08:35 cost [2024-10-04T10:46:37.078Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 4 08:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:37.412Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:38.305Z] ---> package-listing.sh [2024-10-04T10:46:38.305Z] ++ facter osfamily [2024-10-04T10:46:38.305Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T10:46:38.565Z] + OS_FAMILY=debian [2024-10-04T10:46:38.565Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-350 [2024-10-04T10:46:38.565Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T10:46:38.565Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T10:46:38.565Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T10:46:38.565Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T10:46:38.565Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-350 ']' [2024-10-04T10:46:38.565Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T10:46:38.565Z] + case "${OS_FAMILY}" in [2024-10-04T10:46:38.565Z] + dpkg -l [2024-10-04T10:46:38.565Z] + grep '^ii' [2024-10-04T10:46:38.565Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T10:46:38.565Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T10:46:38.565Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T10:46:38.565Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-350 ']' [2024-10-04T10:46:38.565Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-350/archives/ [2024-10-04T10:46:38.565Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-350/archives/ [Pipeline] echo [2024-10-04T10:46:38.609Z] 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-350/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T10:46:38.908Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:46:39.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T10:46:39.561Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T10:46:39.739Z] prd-ubuntu20.04-docker-8c-8g-17480 does not seem to be running inside a container [2024-10-04T10:46:39.778Z] $ 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-350/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-350 -v /w/workspace/gexfoundry_device-snmp-go_PR-350:/w/workspace/gexfoundry_device-snmp-go_PR-350:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-350@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-350@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T10:46:40.008Z] $ docker top e02020aa112aa9166d49afb4209af2a49fd65d90dcaf6e2854ef3fa0b89d561a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T10:46:40.420Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T10:46:40.738Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T10:46:41.057Z] + ls /var/log/sa-host [2024-10-04T10:46:41.057Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T10:46:41.216Z] provisioning config files... [2024-10-04T10:46:41.225Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-350@tmp/config10156995214032361642tmp [Pipeline] { [Pipeline] echo [2024-10-04T10:46:41.297Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:41.635Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T10:46:41.671Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:42.095Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T10:46:42.138Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:42.469Z] ---> sudo-logs.sh [2024-10-04T10:46:42.469Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T10:46:42.574Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:42.905Z] ---> job-cost.sh [2024-10-04T10:46:42.905Z] lf-activate-venv: SKIPPING [2024-10-04T10:46:42.905Z] DEBUG: total: 0.2199999988079071 [2024-10-04T10:46:42.905Z] INFO: Retrieving Stack Cost... [2024-10-04T10:46:43.165Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T10:46:43.425Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T10:46:43.739Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:44.077Z] ---> logs-deploy.sh [2024-10-04T10:46:44.077Z] lf-activate-venv: SKIPPING [2024-10-04T10:46:44.077Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-350/1 [2024-10-04T10:46:44.077Z] INFO: archiving workspace using pattern(s): [2024-10-04T10:46:45.019Z] Archives upload complete. [2024-10-04T10:46:45.019Z] INFO: archiving logs to Nexus