Pull request #347 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 332afb0e5211b64e32595e7f6492a5e91ab1180c+ab3bf70376c9802f6ba544aa167c564e283ce2c4 (68a905d5702456176355552c0d777495f8f46e09) 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-ssh14509788770150388623.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh779847354292369948.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-347/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-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12753021631858978897.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-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1254431690263750875.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1185140087532556537.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-347/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-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10597999179666185827.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2821’ Running on prd-ubuntu20.04-docker-8c-8g-2826 in /w/workspace/gexfoundry_device-snmp-go_PR-347 [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-347 # 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/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ab3bf70376c9802f6ba544aa167c564e283ce2c4 into PR head commit 332afb0e5211b64e32595e7f6492a5e91ab1180c Merge succeeded, producing 332afb0e5211b64e32595e7f6492a5e91ab1180c Checking out Revision 332afb0e5211b64e32595e7f6492a5e91ab1180c (PR-347) Commit message: "build(deps): Bump golang.org/x/net from 0.21.0 to 0.23.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f 332afb0e5211b64e32595e7f6492a5e91ab1180c # 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 ab3bf70376c9802f6ba544aa167c564e283ce2c4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 332afb0e5211b64e32595e7f6492a5e91ab1180c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-19T13:12:26.123Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-19T13:12:26.338Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-19T13:12:26.457Z] ========================================================= [2024-04-19T13:12:26.458Z] EdgeX Global Pipelines Version Info [2024-04-19T13:12:26.458Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:12:27.234Z] ------------------- [2024-04-19T13:12:27.234Z] stable info: [2024-04-19T13:12:27.234Z] ------------------- [2024-04-19T13:12:27.234Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-19T13:12:27.234Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-19T13:12:27.234Z] Message: update stable to v1.0.258 [2024-04-19T13:12:27.809Z] ------------------- [2024-04-19T13:12:27.809Z] experimental info: [2024-04-19T13:12:27.810Z] ------------------- [2024-04-19T13:12:27.810Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-19T13:12:27.810Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-19T13:12:27.810Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-19T13:12:28.074Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2024-04-19T13:12:28.131Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2024-04-19T13:12:28.184Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-19T13:12:28.251Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-19T13:12:28.320Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-19T13:12:28.374Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-04-19T13:12:28.436Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-04-19T13:12:28.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-04-19T13:12:28.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-04-19T13:12:28.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-19T13:12:28.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-19T13:12:28.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2024-04-19T13:12:28.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-19T13:12:28.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-19T13:12:28.922Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-19T13:12:28.979Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-04-19T13:12:29.054Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-04-19T13:12:29.108Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-04-19T13:12:29.172Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-19T13:12:29.222Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-19T13:12:29.278Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-04-19T13:12:29.335Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-04-19T13:12:29.395Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-04-19T13:12:29.456Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-04-19T13:12:29.525Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-04-19T13:12:29.584Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-19T13:12:29.645Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-04-19T13:12:29.715Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo [2024-04-19T13:12:29.765Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo [2024-04-19T13:12:29.818Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo [2024-04-19T13:12:29.872Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 332afb0e5211b64e32595e7f6492a5e91ab1180c [Pipeline] echo [2024-04-19T13:12:29.919Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 332afb0 [Pipeline] echo [2024-04-19T13:12:29.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:12:30.094Z] provisioning config files... [2024-04-19T13:12:30.107Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-347@tmp/config16345601773495254845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:12:30.520Z] ---> ****-login.sh [2024-04-19T13:12:30.520Z] nexus3.edgexfoundry.org:10001 [2024-04-19T13:12:30.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:30.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:30.779Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:30.779Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:30.779Z] [2024-04-19T13:12:30.779Z] Login Succeeded [2024-04-19T13:12:30.779Z] nexus3.edgexfoundry.org:10002 [2024-04-19T13:12:30.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:31.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:31.038Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:31.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:31.038Z] [2024-04-19T13:12:31.038Z] Login Succeeded [2024-04-19T13:12:31.038Z] nexus3.edgexfoundry.org:10003 [2024-04-19T13:12:31.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:31.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:31.038Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:31.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:31.038Z] [2024-04-19T13:12:31.038Z] Login Succeeded [2024-04-19T13:12:31.038Z] nexus3.edgexfoundry.org:10004 [2024-04-19T13:12:31.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:31.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:31.038Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:31.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:31.038Z] [2024-04-19T13:12:31.038Z] Login Succeeded [2024-04-19T13:12:31.038Z] ****.io [2024-04-19T13:12:31.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:31.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:31.298Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:31.298Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:31.298Z] [2024-04-19T13:12:31.298Z] Login Succeeded [2024-04-19T13:12:31.298Z] ---> ****-login.sh ends [Pipeline] } [2024-04-19T13:12:31.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-04-19T13:12:32.124Z] + git rev-list -1 --merges 332afb0e5211b64e32595e7f6492a5e91ab1180c~1..332afb0e5211b64e32595e7f6492a5e91ab1180c [Pipeline] echo [2024-04-19T13:12:32.166Z] -----------> git rev-list -1 --merges 332afb0e5211b64e32595e7f6492a5e91ab1180c~1..332afb0e5211b64e32595e7f6492a5e91ab1180c 332afb0e5211b64e32595e7f6492a5e91ab1180c [false] [Pipeline] sh [2024-04-19T13:12:32.487Z] + git log --format=format:%s -1 332afb0e5211b64e32595e7f6492a5e91ab1180c [Pipeline] echo [2024-04-19T13:12:32.520Z] ========================================================= [2024-04-19T13:12:32.520Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-19T13:12:32.520Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-19T13:12:33.027Z] + git log --format=format:%s -1 332afb0e5211b64e32595e7f6492a5e91ab1180c [Pipeline] echo [2024-04-19T13:12:33.060Z] [semverPrep] GIT_COMMIT: 332afb0e5211b64e32595e7f6492a5e91ab1180c, Commit Message: build(deps): Bump golang.org/x/net from 0.21.0 to 0.23.0 [Pipeline] echo [2024-04-19T13:12:33.095Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-04-19T13:12:33.485Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-19T13:12:33.485Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-19T13:12:33.485Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-19T13:12:33.485Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-19T13:12:33.485Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-19T13:12:33.485Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-19T13:12:33.485Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:12:33.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-19T13:12:33.945Z] [2024-04-19T13:12:33.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:12:34.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-19T13:12:34.336Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-19T13:12:34.336Z] b85a868b505f: Pulling fs layer [2024-04-19T13:12:34.336Z] e2be974225ed: Pulling fs layer [2024-04-19T13:12:34.336Z] 339a4e72a1f5: Pulling fs layer [2024-04-19T13:12:34.336Z] 988bab9f4d93: Pulling fs layer [2024-04-19T13:12:34.336Z] 1469e6f7b9e6: Pulling fs layer [2024-04-19T13:12:34.336Z] eaf3925da568: Pulling fs layer [2024-04-19T13:12:34.336Z] bab4dde63d76: Pulling fs layer [2024-04-19T13:12:34.336Z] bde34c3a00c8: Pulling fs layer [2024-04-19T13:12:34.336Z] b352a97aabf1: Pulling fs layer [2024-04-19T13:12:34.336Z] 4872d77fe225: Pulling fs layer [2024-04-19T13:12:34.336Z] 5851b861e8e6: Pulling fs layer [2024-04-19T13:12:34.336Z] 988bab9f4d93: Waiting [2024-04-19T13:12:34.336Z] 1469e6f7b9e6: Waiting [2024-04-19T13:12:34.336Z] bab4dde63d76: Waiting [2024-04-19T13:12:34.336Z] b352a97aabf1: Waiting [2024-04-19T13:12:34.336Z] 4872d77fe225: Waiting [2024-04-19T13:12:34.336Z] bde34c3a00c8: Waiting [2024-04-19T13:12:34.336Z] 5851b861e8e6: Waiting [2024-04-19T13:12:34.336Z] e2be974225ed: Download complete [2024-04-19T13:12:34.336Z] 988bab9f4d93: Verifying Checksum [2024-04-19T13:12:34.336Z] 988bab9f4d93: Download complete [2024-04-19T13:12:34.595Z] 1469e6f7b9e6: Verifying Checksum [2024-04-19T13:12:34.595Z] 339a4e72a1f5: Verifying Checksum [2024-04-19T13:12:34.595Z] 339a4e72a1f5: Download complete [2024-04-19T13:12:34.595Z] eaf3925da568: Download complete [2024-04-19T13:12:34.595Z] bde34c3a00c8: Download complete [2024-04-19T13:12:34.595Z] b352a97aabf1: Download complete [2024-04-19T13:12:34.595Z] 4872d77fe225: Download complete [2024-04-19T13:12:34.595Z] 5851b861e8e6: Verifying Checksum [2024-04-19T13:12:34.595Z] 5851b861e8e6: Download complete [2024-04-19T13:12:34.595Z] b85a868b505f: Download complete [2024-04-19T13:12:34.852Z] bab4dde63d76: Verifying Checksum [2024-04-19T13:12:34.852Z] bab4dde63d76: Download complete [2024-04-19T13:12:35.784Z] b85a868b505f: Pull complete [2024-04-19T13:12:35.784Z] e2be974225ed: Pull complete [2024-04-19T13:12:36.352Z] 339a4e72a1f5: Pull complete [2024-04-19T13:12:36.352Z] 988bab9f4d93: Pull complete [2024-04-19T13:12:36.615Z] 1469e6f7b9e6: Pull complete [2024-04-19T13:12:36.615Z] eaf3925da568: Pull complete [2024-04-19T13:12:38.521Z] bab4dde63d76: Pull complete [2024-04-19T13:12:38.521Z] bde34c3a00c8: Pull complete [2024-04-19T13:12:38.521Z] b352a97aabf1: Pull complete [2024-04-19T13:12:38.521Z] 4872d77fe225: Pull complete [2024-04-19T13:12:38.521Z] 5851b861e8e6: Pull complete [2024-04-19T13:12:38.521Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-19T13:12:38.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-19T13:12:38.521Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:12:38.806Z] prd-ubuntu20.04-docker-8c-8g-2826 does not seem to be running inside a container [2024-04-19T13:12:38.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-347 -v /w/workspace/gexfoundry_device-snmp-go_PR-347:/w/workspace/gexfoundry_device-snmp-go_PR-347:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-347@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-347@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-19T13:12:41.571Z] $ docker top bca0fcae74189031debe286278317c0c652d4e76167c2bfd6b752d263a166d6c -eo pid,comm [2024-04-19T13:12:41.625Z] 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-04-19T13:12:41.625Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-19T13:12:41.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-19T13:12:41.806Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-19T13:12:41.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-19T13:12:41.939Z] $ docker exec bca0fcae74189031debe286278317c0c652d4e76167c2bfd6b752d263a166d6c ssh-agent [2024-04-19T13:12:42.060Z] SSH_AUTH_SOCK=/tmp/ssh-Zefn6dCc6bWE/agent.32 [2024-04-19T13:12:42.060Z] SSH_AGENT_PID=38 [2024-04-19T13:12:42.067Z] Running ssh-add (command line suppressed) [2024-04-19T13:12:42.179Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-347@tmp/private_key_18134960179610999929.key (/w/workspace/gexfoundry_device-snmp-go_PR-347@tmp/private_key_18134960179610999929.key) [2024-04-19T13:12:42.188Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-19T13:12:42.531Z] + git tag --points-at HEAD [Pipeline] } [2024-04-19T13:12:42.566Z] $ docker exec --env ******** --env ******** bca0fcae74189031debe286278317c0c652d4e76167c2bfd6b752d263a166d6c ssh-agent -k [2024-04-19T13:12:42.664Z] unset SSH_AUTH_SOCK; [2024-04-19T13:12:42.665Z] unset SSH_AGENT_PID; [2024-04-19T13:12:42.665Z] echo Agent pid 38 killed; [2024-04-19T13:12:42.671Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-19T13:12:42.790Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-19T13:12:42.790Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-19T13:12:42.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-19T13:12:42.924Z] $ docker exec bca0fcae74189031debe286278317c0c652d4e76167c2bfd6b752d263a166d6c ssh-agent [2024-04-19T13:12:43.028Z] SSH_AUTH_SOCK=/tmp/ssh-VF8ENHZYCgKW/agent.72 [2024-04-19T13:12:43.028Z] SSH_AGENT_PID=78 [2024-04-19T13:12:43.033Z] Running ssh-add (command line suppressed) [2024-04-19T13:12:43.130Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-347@tmp/private_key_14826814578821638341.key (/w/workspace/gexfoundry_device-snmp-go_PR-347@tmp/private_key_14826814578821638341.key) [2024-04-19T13:12:43.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-19T13:12:43.481Z] + git semver init [2024-04-19T13:12:43.742Z] 2024-04-19 13:12:43,650 [run_init] DEBUG init version:0.0.0 force:False [2024-04-19T13:12:43.742Z] 2024-04-19 13:12:43,650 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-347/.semver [2024-04-19T13:12:43.742Z] 2024-04-19 13:12:43,651 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-347/.semver [2024-04-19T13:12:43.742Z] 2024-04-19 13:12:43,651 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-347/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-347, universal_newlines=False, shell=None, istream=None) [2024-04-19T13:12:44.680Z] 2024-04-19 13:12:44,633 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-347/.git/info/exclude [2024-04-19T13:12:44.680Z] 2024-04-19 13:12:44,633 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-347/.semver/PR-347 with force:False [2024-04-19T13:12:44.680Z] 2024-04-19 13:12:44,633 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-347/.semver/PR-347 [2024-04-19T13:12:44.680Z] 2024-04-19 13:12:44,637 [execute] INFO git cat-file --batch-check [2024-04-19T13:12:44.680Z] 2024-04-19 13:12:44,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-347/.semver, universal_newlines=False, shell=None, istream=) [2024-04-19T13:12:44.680Z] 2024-04-19 13:12:44,641 [execute] INFO git cat-file --batch [2024-04-19T13:12:44.680Z] 2024-04-19 13:12:44,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-347/.semver, universal_newlines=False, shell=None, istream=) [2024-04-19T13:12:44.680Z] 2024-04-19 13:12:44,645 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-347/.semver/PR-347 [2024-04-19T13:12:44.680Z] 0.0.0 [Pipeline] } [2024-04-19T13:12:44.708Z] $ docker exec --env ******** --env ******** bca0fcae74189031debe286278317c0c652d4e76167c2bfd6b752d263a166d6c ssh-agent -k [2024-04-19T13:12:44.821Z] unset SSH_AUTH_SOCK; [2024-04-19T13:12:44.822Z] unset SSH_AGENT_PID; [2024-04-19T13:12:44.822Z] echo Agent pid 78 killed; [2024-04-19T13:12:44.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-19T13:12:45.282Z] + git semver [Pipeline] } [2024-04-19T13:12:45.570Z] $ docker stop --time=1 bca0fcae74189031debe286278317c0c652d4e76167c2bfd6b752d263a166d6c [2024-04-19T13:12:46.915Z] $ docker rm -f --volumes bca0fcae74189031debe286278317c0c652d4e76167c2bfd6b752d263a166d6c [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-19T13:12:47.325Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-19T13:12:47.654Z] Stashed 1 file(s) [Pipeline] echo [2024-04-19T13:12:47.685Z] [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-04-19T13:12:48.661Z] provisioning config files... [2024-04-19T13:12:48.672Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-347@tmp/config2960629505801430803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:12:49.038Z] ---> ****-login.sh [2024-04-19T13:12:49.038Z] nexus3.edgexfoundry.org:10001 [2024-04-19T13:12:49.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:49.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:49.038Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:49.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:49.038Z] [2024-04-19T13:12:49.038Z] Login Succeeded [2024-04-19T13:12:49.038Z] nexus3.edgexfoundry.org:10002 [2024-04-19T13:12:49.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:49.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:49.039Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:49.039Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:49.039Z] [2024-04-19T13:12:49.039Z] Login Succeeded [2024-04-19T13:12:49.039Z] nexus3.edgexfoundry.org:10003 [2024-04-19T13:12:49.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:49.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:49.302Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:49.303Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:49.303Z] [2024-04-19T13:12:49.303Z] Login Succeeded [2024-04-19T13:12:49.303Z] nexus3.edgexfoundry.org:10004 [2024-04-19T13:12:49.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:49.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:49.303Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:49.303Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:49.303Z] [2024-04-19T13:12:49.303Z] Login Succeeded [2024-04-19T13:12:49.303Z] ****.io [2024-04-19T13:12:49.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:49.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:49.561Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:49.561Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:49.561Z] [2024-04-19T13:12:49.561Z] Login Succeeded [2024-04-19T13:12:49.561Z] ---> ****-login.sh ends [Pipeline] } [2024-04-19T13:12:49.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-19T13:12:49.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-19T13:12:49.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-19T13:12:49.923Z] ========================================================= [2024-04-19T13:12:49.923Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-04-19T13:12:49.923Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:12:50.438Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-19T13:12:50.438Z] Sending build context to Docker daemon 14.23MB [2024-04-19T13:12:50.438Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-04-19T13:12:50.438Z] Step 2/12 : FROM ${BASE} AS builder [2024-04-19T13:12:50.438Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-04-19T13:12:50.438Z] 7264a8db6415: Pulling fs layer [2024-04-19T13:12:50.438Z] c4d48a809fc2: Pulling fs layer [2024-04-19T13:12:50.438Z] 4f1c88b9dad5: Pulling fs layer [2024-04-19T13:12:50.438Z] ad3a456e5733: Pulling fs layer [2024-04-19T13:12:50.438Z] 69c7f0334f64: Pulling fs layer [2024-04-19T13:12:50.438Z] 1f1c1a5573a3: Pulling fs layer [2024-04-19T13:12:50.438Z] ce7588e14bc9: Pulling fs layer [2024-04-19T13:12:50.438Z] b5e4710f87ac: Pulling fs layer [2024-04-19T13:12:50.438Z] 69c7f0334f64: Waiting [2024-04-19T13:12:50.438Z] b5e4710f87ac: Waiting [2024-04-19T13:12:50.438Z] 1f1c1a5573a3: Waiting [2024-04-19T13:12:50.438Z] c4d48a809fc2: Verifying Checksum [2024-04-19T13:12:50.438Z] c4d48a809fc2: Download complete [2024-04-19T13:12:50.438Z] ad3a456e5733: Verifying Checksum [2024-04-19T13:12:50.438Z] ad3a456e5733: Download complete [2024-04-19T13:12:50.438Z] 69c7f0334f64: Verifying Checksum [2024-04-19T13:12:50.438Z] 69c7f0334f64: Download complete [2024-04-19T13:12:50.696Z] 7264a8db6415: Verifying Checksum [2024-04-19T13:12:50.696Z] 7264a8db6415: Download complete [2024-04-19T13:12:50.696Z] 1f1c1a5573a3: Verifying Checksum [2024-04-19T13:12:50.696Z] 1f1c1a5573a3: Download complete [2024-04-19T13:12:50.696Z] 7264a8db6415: Pull complete [2024-04-19T13:12:50.955Z] c4d48a809fc2: Pull complete [2024-04-19T13:12:50.955Z] b5e4710f87ac: Verifying Checksum [2024-04-19T13:12:50.955Z] b5e4710f87ac: Download complete [2024-04-19T13:12:50.955Z] 4f1c88b9dad5: Verifying Checksum [2024-04-19T13:12:51.527Z] ce7588e14bc9: Verifying Checksum [2024-04-19T13:12:51.527Z] ce7588e14bc9: Download complete [2024-04-19T13:12:54.074Z] 4f1c88b9dad5: Pull complete [2024-04-19T13:12:54.074Z] ad3a456e5733: Pull complete [2024-04-19T13:12:54.074Z] 69c7f0334f64: Pull complete [2024-04-19T13:12:54.074Z] 1f1c1a5573a3: Pull complete [2024-04-19T13:12:56.622Z] ce7588e14bc9: Pull complete [2024-04-19T13:12:56.882Z] b5e4710f87ac: Pull complete [2024-04-19T13:12:56.882Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-04-19T13:12:56.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-19T13:12:56.882Z] ---> 88b5674ff536 [2024-04-19T13:12:56.882Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-04-19T13:13:01.082Z] ---> Running in c03cd447d4c6 [2024-04-19T13:13:01.082Z] Removing intermediate container c03cd447d4c6 [2024-04-19T13:13:01.082Z] ---> 4d432dbc173c [2024-04-19T13:13:01.082Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-19T13:13:01.082Z] ---> Running in 54904951df79 [2024-04-19T13:13:01.082Z] Removing intermediate container 54904951df79 [2024-04-19T13:13:01.082Z] ---> e4db3a9ced55 [2024-04-19T13:13:01.082Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-04-19T13:13:01.082Z] ---> Running in 28162dd79f30 [2024-04-19T13:13:01.082Z] Removing intermediate container 28162dd79f30 [2024-04-19T13:13:01.082Z] ---> 6c3306355117 [2024-04-19T13:13:01.082Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-04-19T13:13:01.082Z] ---> Running in 0e04c1af5f55 [2024-04-19T13:13:01.082Z] Removing intermediate container 0e04c1af5f55 [2024-04-19T13:13:01.082Z] ---> 337b4acc15db [2024-04-19T13:13:01.082Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-04-19T13:13:01.082Z] ---> Running in a850723d4625 [2024-04-19T13:13:01.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:13:01.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:13:01.608Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-04-19T13:13:01.608Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-04-19T13:13:01.608Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-04-19T13:13:01.608Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-04-19T13:13:01.608Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:13:01.608Z] OK: 268 MiB in 56 packages [2024-04-19T13:13:02.179Z] Removing intermediate container a850723d4625 [2024-04-19T13:13:02.179Z] ---> 90cfd769e5e9 [2024-04-19T13:13:02.179Z] Step 8/12 : WORKDIR /device-snmp-go [2024-04-19T13:13:02.179Z] ---> Running in c936d6b4656f [2024-04-19T13:13:02.179Z] Removing intermediate container c936d6b4656f [2024-04-19T13:13:02.179Z] ---> 60c787cf50c4 [2024-04-19T13:13:02.179Z] Step 9/12 : COPY go.mod vendor* ./ [2024-04-19T13:13:02.438Z] ---> 2d04a3573bad [2024-04-19T13:13:02.438Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-19T13:13:02.438Z] ---> Running in 497a5761dd9e [2024-04-19T13:13:03.373Z] Still waiting to schedule task [2024-04-19T13:13:03.373Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2824’ [2024-04-19T13:13:34.537Z] Removing intermediate container 497a5761dd9e [2024-04-19T13:13:34.537Z] ---> d0f04ccfca2f [2024-04-19T13:13:34.537Z] Step 11/12 : COPY . . [2024-04-19T13:13:34.537Z] ---> ee6ad9b8363d [2024-04-19T13:13:34.537Z] Step 12/12 : RUN ${MAKE} [2024-04-19T13:13:34.537Z] ---> Running in 7bddb2e61f80 [2024-04-19T13:13:34.537Z] noop [2024-04-19T13:13:34.537Z] Removing intermediate container 7bddb2e61f80 [2024-04-19T13:13:34.537Z] ---> aa04fa2911d0 [2024-04-19T13:13:34.537Z] Successfully built aa04fa2911d0 [2024-04-19T13:13:34.537Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:13:34.988Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-19T13:13:34.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:13:35.156Z] prd-ubuntu20.04-docker-8c-8g-2826 does not seem to be running inside a container [2024-04-19T13:13:35.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-347 -v /w/workspace/gexfoundry_device-snmp-go_PR-347:/w/workspace/gexfoundry_device-snmp-go_PR-347:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-347@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-347@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 ******** ci-base-image-x86_64 cat [2024-04-19T13:13:36.096Z] $ docker top 69ff3130fe7e1f07c2cc2a69fa0df652ef2c283545c124aad41e4798733b7c7f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-19T13:13:36.489Z] + go version [2024-04-19T13:13:36.489Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-04-19T13:13:36.523Z] $ docker stop --time=1 69ff3130fe7e1f07c2cc2a69fa0df652ef2c283545c124aad41e4798733b7c7f [2024-04-19T13:13:37.979Z] $ docker rm -f --volumes 69ff3130fe7e1f07c2cc2a69fa0df652ef2c283545c124aad41e4798733b7c7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:13:38.782Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-19T13:13:38.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:13:38.939Z] prd-ubuntu20.04-docker-8c-8g-2826 does not seem to be running inside a container [2024-04-19T13:13:38.976Z] $ 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-347 -v /w/workspace/gexfoundry_device-snmp-go_PR-347:/w/workspace/gexfoundry_device-snmp-go_PR-347:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-347@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-347@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 ******** ci-base-image-x86_64 cat [2024-04-19T13:13:39.404Z] $ docker top 834a90a4c2505aa1f9514dca77c68189c272207b4eb5ac27b396787bd1247d98 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-19T13:13:39.799Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-347 [Pipeline] fileExists [Pipeline] sh [2024-04-19T13:13:40.165Z] + make test [2024-04-19T13:13:40.165Z] go test ./... -coverprofile=coverage.out [2024-04-19T13:13:41.542Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-04-19T13:13:53.735Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2024-04-19T13:13:53.735Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2024-04-19T13:13:58.994Z] go vet ./... [2024-04-19T13:14:01.462Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-19T13:14:01.462Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-19T13:14:01.462Z] ./bin/test-attribution-txt.sh [2024-04-19T13:14:01.722Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-19T13:14:01.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-19T13:14:01.805Z] $ docker stop --time=1 834a90a4c2505aa1f9514dca77c68189c272207b4eb5ac27b396787bd1247d98 [2024-04-19T13:14:05.505Z] $ docker rm -f --volumes 834a90a4c2505aa1f9514dca77c68189c272207b4eb5ac27b396787bd1247d98 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-19T13:14:06.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-19T13:14:06.111Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-04-19T13:14:06.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-19T13:14:07.043Z] + ls -al . [2024-04-19T13:14:07.043Z] total 172 [2024-04-19T13:14:07.043Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:13 . [2024-04-19T13:14:07.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:12 .. [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 19 13:12 .dockerignore [2024-04-19T13:14:07.043Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:13 .git [2024-04-19T13:14:07.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:12 .github [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 263 Apr 19 13:12 .gitignore [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 13:12 .golangci.yml [2024-04-19T13:14:07.043Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 13:12 .semver [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 10025 Apr 19 13:12 Attribution.txt [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 11809 Apr 19 13:12 CHANGELOG.md [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 1571 Apr 19 13:12 Dockerfile [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 13:12 GOVERNANCE.md [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 19 13:12 Jenkinsfile [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 13:12 LICENSE [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 2240 Apr 19 13:12 Makefile [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 13:12 OWNERS.md [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 10477 Apr 19 13:12 README.md [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 13:12 VERSION [2024-04-19T13:14:07.043Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:12 bin [2024-04-19T13:14:07.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:12 cmd [2024-04-19T13:14:07.043Z] -rw-r--r-- 1 jenkins jenkins 8837 Apr 19 13:13 coverage.out [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 3757 Apr 19 13:12 go.mod [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 36107 Apr 19 13:12 go.sum [2024-04-19T13:14:07.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:12 internal [2024-04-19T13:14:07.043Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 19 13:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:14:07.450Z] + 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=332afb0e5211b64e32595e7f6492a5e91ab1180c --label arch=amd64 --label version=0.0.0 . [2024-04-19T13:14:07.450Z] Sending build context to Docker daemon 14.24MB [2024-04-19T13:14:07.450Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-04-19T13:14:07.450Z] Step 2/25 : FROM ${BASE} AS builder [2024-04-19T13:14:07.450Z] ---> aa04fa2911d0 [2024-04-19T13:14:07.450Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-04-19T13:14:07.707Z] ---> Running in 2041016e7034 [2024-04-19T13:14:07.707Z] Removing intermediate container 2041016e7034 [2024-04-19T13:14:07.707Z] ---> 5c4cfcbb8ae4 [2024-04-19T13:14:07.707Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-19T13:14:07.707Z] ---> Running in 6ba055a7ad96 [2024-04-19T13:14:07.707Z] Removing intermediate container 6ba055a7ad96 [2024-04-19T13:14:07.707Z] ---> 78f3d947cd19 [2024-04-19T13:14:07.707Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-04-19T13:14:07.707Z] ---> Running in be0591d2e7c9 [2024-04-19T13:14:07.966Z] Removing intermediate container be0591d2e7c9 [2024-04-19T13:14:07.966Z] ---> 0e035c277d08 [2024-04-19T13:14:07.966Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-04-19T13:14:07.966Z] ---> Running in 1f9470520a99 [2024-04-19T13:14:07.966Z] Removing intermediate container 1f9470520a99 [2024-04-19T13:14:07.966Z] ---> f5a860d7d466 [2024-04-19T13:14:07.966Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-04-19T13:14:07.966Z] ---> Running in a5cfef499d50 [2024-04-19T13:14:08.225Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:14:08.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:14:08.745Z] OK: 268 MiB in 56 packages [2024-04-19T13:14:09.005Z] Removing intermediate container a5cfef499d50 [2024-04-19T13:14:09.005Z] ---> 00dd2f9303b5 [2024-04-19T13:14:09.005Z] Step 8/25 : WORKDIR /device-snmp-go [2024-04-19T13:14:09.005Z] ---> Running in c9f4ece494a2 [2024-04-19T13:14:09.264Z] Removing intermediate container c9f4ece494a2 [2024-04-19T13:14:09.264Z] ---> 66b16d381307 [2024-04-19T13:14:09.264Z] Step 9/25 : COPY go.mod vendor* ./ [2024-04-19T13:14:09.264Z] ---> b74e7d1b2d98 [2024-04-19T13:14:09.264Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-19T13:14:09.264Z] ---> Running in 7c94492c06c8 [2024-04-19T13:14:09.830Z] Removing intermediate container 7c94492c06c8 [2024-04-19T13:14:09.830Z] ---> 6395ef57f062 [2024-04-19T13:14:09.830Z] Step 11/25 : COPY . . [2024-04-19T13:14:10.397Z] ---> c31e1d196c48 [2024-04-19T13:14:10.397Z] Step 12/25 : RUN ${MAKE} [2024-04-19T13:14:10.397Z] ---> Running in 0e518da4ab44 [2024-04-19T13:14:10.655Z] 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.11" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2024-04-19T13:14:32.584Z] Removing intermediate container 0e518da4ab44 [2024-04-19T13:14:32.584Z] ---> 9a4550df1d8d [2024-04-19T13:14:32.584Z] Step 13/25 : FROM alpine:3.18 [2024-04-19T13:14:32.584Z] 3.18: Pulling from library/alpine [2024-04-19T13:14:32.584Z] 619be1103602: Pulling fs layer [2024-04-19T13:14:32.584Z] 619be1103602: Verifying Checksum [2024-04-19T13:14:32.584Z] 619be1103602: Download complete [2024-04-19T13:14:32.584Z] 619be1103602: Pull complete [2024-04-19T13:14:32.585Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-19T13:14:32.585Z] Status: Downloaded newer image for alpine:3.18 [2024-04-19T13:14:32.585Z] ---> d3782b16ccc9 [2024-04-19T13:14:32.585Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-04-19T13:14:32.585Z] ---> Running in 79cf0053d003 [2024-04-19T13:14:32.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:14:32.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:14:32.585Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-19T13:14:32.585Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:14:32.585Z] OK: 7 MiB in 16 packages [2024-04-19T13:14:32.585Z] Removing intermediate container 79cf0053d003 [2024-04-19T13:14:32.585Z] ---> a9cfe047d454 [2024-04-19T13:14:32.585Z] Step 15/25 : RUN apk --no-cache upgrade [2024-04-19T13:14:32.585Z] ---> Running in e483ffa7e2eb [2024-04-19T13:14:32.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:14:32.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:14:32.585Z] Upgrading critical system libraries and apk-tools: [2024-04-19T13:14:32.585Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-19T13:14:32.585Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:14:32.845Z] Continuing the upgrade transaction with new apk-tools: [2024-04-19T13:14:32.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:14:32.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:14:32.845Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-19T13:14:32.845Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:14:33.114Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:14:33.114Z] OK: 7 MiB in 16 packages [2024-04-19T13:14:33.373Z] Removing intermediate container e483ffa7e2eb [2024-04-19T13:14:33.373Z] ---> fcd1f3b16537 [2024-04-19T13:14:33.373Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-04-19T13:14:34.306Z] ---> 7e377996fb5e [2024-04-19T13:14:34.306Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-04-19T13:14:34.306Z] ---> 76578c96089d [2024-04-19T13:14:34.306Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-04-19T13:14:34.564Z] ---> 9e28b447b5ae [2024-04-19T13:14:34.564Z] Step 19/25 : EXPOSE 59993 [2024-04-19T13:14:34.564Z] ---> Running in 84df2a71b137 [2024-04-19T13:14:34.564Z] Removing intermediate container 84df2a71b137 [2024-04-19T13:14:34.564Z] ---> b52b0702f3bc [2024-04-19T13:14:34.564Z] Step 20/25 : EXPOSE 161 [2024-04-19T13:14:34.564Z] ---> Running in f1cc11027b15 [2024-04-19T13:14:34.564Z] Removing intermediate container f1cc11027b15 [2024-04-19T13:14:34.565Z] ---> c6dc122cff77 [2024-04-19T13:14:34.565Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-04-19T13:14:34.565Z] ---> Running in 56124eeea948 [2024-04-19T13:14:34.822Z] Removing intermediate container 56124eeea948 [2024-04-19T13:14:34.822Z] ---> 0a9d743e31d6 [2024-04-19T13:14:34.822Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-04-19T13:14:34.822Z] ---> Running in faf23c00c315 [2024-04-19T13:14:34.822Z] Removing intermediate container faf23c00c315 [2024-04-19T13:14:34.822Z] ---> 54187976150f [2024-04-19T13:14:34.822Z] Step 23/25 : LABEL arch=amd64 [2024-04-19T13:14:34.822Z] ---> Running in bbe158492a95 [2024-04-19T13:14:34.822Z] Removing intermediate container bbe158492a95 [2024-04-19T13:14:34.822Z] ---> e37bf2cfaea7 [2024-04-19T13:14:34.822Z] Step 24/25 : LABEL git_sha=332afb0e5211b64e32595e7f6492a5e91ab1180c [2024-04-19T13:14:34.822Z] ---> Running in 01829b6e6de7 [2024-04-19T13:14:35.082Z] Removing intermediate container 01829b6e6de7 [2024-04-19T13:14:35.082Z] ---> be81a765a00b [2024-04-19T13:14:35.082Z] Step 25/25 : LABEL version=0.0.0 [2024-04-19T13:14:35.082Z] ---> Running in 6eae1d6b6aae [2024-04-19T13:14:35.082Z] Removing intermediate container 6eae1d6b6aae [2024-04-19T13:14:35.082Z] ---> 509b7f3582db [2024-04-19T13:14:35.082Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-19T13:14:35.082Z] Successfully built 509b7f3582db [2024-04-19T13:14:35.082Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:14:36.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:14:36.029Z] [2024-04-19T13:14:36.029Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:14:36.422Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:14:36.682Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-19T13:14:36.682Z] 5eb5b503b376: Pulling fs layer [2024-04-19T13:14:36.682Z] 5c69ac0246d0: Pulling fs layer [2024-04-19T13:14:36.682Z] ec43610c2a17: Pulling fs layer [2024-04-19T13:14:36.682Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-19T13:14:36.682Z] 33b1e0a273af: Pulling fs layer [2024-04-19T13:14:36.682Z] 5d3b04190fa2: Pulling fs layer [2024-04-19T13:14:36.682Z] 2f39f015ded8: Pulling fs layer [2024-04-19T13:14:36.682Z] 5d3b04190fa2: Waiting [2024-04-19T13:14:36.682Z] 2f39f015ded8: Waiting [2024-04-19T13:14:36.682Z] 33b1e0a273af: Waiting [2024-04-19T13:14:36.682Z] 3a2ae6a8a46f: Waiting [2024-04-19T13:14:36.682Z] 5c69ac0246d0: Verifying Checksum [2024-04-19T13:14:36.682Z] 5c69ac0246d0: Download complete [2024-04-19T13:14:36.682Z] 3a2ae6a8a46f: Download complete [2024-04-19T13:14:36.941Z] 33b1e0a273af: Verifying Checksum [2024-04-19T13:14:36.941Z] 33b1e0a273af: Download complete [2024-04-19T13:14:36.941Z] ec43610c2a17: Verifying Checksum [2024-04-19T13:14:36.941Z] ec43610c2a17: Download complete [2024-04-19T13:14:36.941Z] 5d3b04190fa2: Verifying Checksum [2024-04-19T13:14:36.941Z] 5d3b04190fa2: Download complete [2024-04-19T13:14:36.941Z] 5eb5b503b376: Verifying Checksum [2024-04-19T13:14:36.941Z] 5eb5b503b376: Download complete [2024-04-19T13:14:37.517Z] 2f39f015ded8: Download complete [2024-04-19T13:14:38.083Z] 5eb5b503b376: Pull complete [2024-04-19T13:14:38.083Z] 5c69ac0246d0: Pull complete [2024-04-19T13:14:38.649Z] ec43610c2a17: Pull complete [2024-04-19T13:14:38.649Z] 3a2ae6a8a46f: Pull complete [2024-04-19T13:14:38.906Z] 33b1e0a273af: Pull complete [2024-04-19T13:14:38.906Z] 5d3b04190fa2: Pull complete [2024-04-19T13:14:43.100Z] 2f39f015ded8: Pull complete [2024-04-19T13:14:43.100Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-19T13:14:43.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:14:43.100Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:14:43.427Z] prd-ubuntu20.04-docker-8c-8g-2826 does not seem to be running inside a container [2024-04-19T13:14:43.462Z] $ 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-347 -v /w/workspace/gexfoundry_device-snmp-go_PR-347:/w/workspace/gexfoundry_device-snmp-go_PR-347:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-347@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-19T13:14:49.128Z] $ docker top 8ff20f1cecc831fb50d16f630c3a834019e3b87c738741e6239fdb89e8187b29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:14:49.566Z] ---> job-cost.sh [2024-04-19T13:14:49.566Z] lf-activate-venv: SKIPPING [2024-04-19T13:14:49.566Z] INFO: No Stack... [2024-04-19T13:14:49.825Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-19T13:14:50.084Z] INFO: Archiving Costs [Pipeline] sh [2024-04-19T13:14:50.399Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-347/archives/cost.csv [2024-04-19T13:14:50.399Z] + cut -d, -f6 [Pipeline] lock [2024-04-19T13:14:50.440Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-347-1-stack-cost] [2024-04-19T13:14:50.445Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-347-1-stack-cost] did not exist. Created. [2024-04-19T13:14:50.450Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-347-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-19T13:14:50.849Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-19T13:14:50.898Z] Stashed 1 file(s) [Pipeline] } [2024-04-19T13:14:50.930Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-347-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-19T13:14:51.015Z] $ docker stop --time=1 8ff20f1cecc831fb50d16f630c3a834019e3b87c738741e6239fdb89e8187b29 [2024-04-19T13:14:52.161Z] $ docker rm -f --volumes 8ff20f1cecc831fb50d16f630c3a834019e3b87c738741e6239fdb89e8187b29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-19T13:15:21.251Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2831 in /w/workspace/gexfoundry_device-snmp-go_PR-347 [Pipeline] { [Pipeline] ws [2024-04-19T13:15:21.315Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2024-04-19T13:15:24.460Z] Selected Git installation does not exist. Using Default [2024-04-19T13:15:24.460Z] The recommended git tool is: NONE [2024-04-19T13:15:32.239Z] using credential edgex-jenkins-ssh [2024-04-19T13:15:32.264Z] Cloning the remote Git repository [2024-04-19T13:15:32.345Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2024-04-19T13:15:32.498Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2024-04-19T13:15:36.653Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-04-19T13:15:36.655Z] > git --version # timeout=10 [2024-04-19T13:15:36.695Z] > git --version # 'git version 2.25.1' [2024-04-19T13:15:36.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-19T13:15:36.918Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-19T13:15:38.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-04-19T13:15:38.862Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-19T13:15:41.062Z] Merging remotes/origin/main commit ab3bf70376c9802f6ba544aa167c564e283ce2c4 into PR head commit 332afb0e5211b64e32595e7f6492a5e91ab1180c [2024-04-19T13:15:40.449Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-04-19T13:15:40.507Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-04-19T13:15:40.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-19T13:15:40.533Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-19T13:15:41.088Z] > git config core.sparsecheckout # timeout=10 [2024-04-19T13:15:41.188Z] > git checkout -f 332afb0e5211b64e32595e7f6492a5e91ab1180c # timeout=10 [2024-04-19T13:15:41.435Z] Merge succeeded, producing 332afb0e5211b64e32595e7f6492a5e91ab1180c [2024-04-19T13:15:41.436Z] Checking out Revision 332afb0e5211b64e32595e7f6492a5e91ab1180c (PR-347) [2024-04-19T13:15:42.172Z] Commit message: "build(deps): Bump golang.org/x/net from 0.21.0 to 0.23.0" [2024-04-19T13:15:42.240Z] > git --version # timeout=10 [2024-04-19T13:15:42.252Z] > git --version # 'git version 2.25.1' [2024-04-19T13:15:42.271Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-19T13:15:41.291Z] > git remote # timeout=10 [2024-04-19T13:15:41.315Z] > git config --get remote.origin.url # timeout=10 [2024-04-19T13:15:41.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-19T13:15:41.366Z] > git merge ab3bf70376c9802f6ba544aa167c564e283ce2c4 # timeout=10 [2024-04-19T13:15:41.410Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-19T13:15:41.445Z] > git config core.sparsecheckout # timeout=10 [2024-04-19T13:15:41.463Z] > git checkout -f 332afb0e5211b64e32595e7f6492a5e91ab1180c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-19T13:15:47.574Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-19T13:15:47.574Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-19T13:15:47.574Z] Dload Upload Total Spent Left Speed [2024-04-19T13:15:47.574Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 184k 0 --:--:-- --:--:-- --:--:-- 184k [Pipeline] sh [2024-04-19T13:15:47.948Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-19T13:15:48.314Z] + + sudo teesudo /etc/docker/daemon.new jq [2024-04-19T13:15:48.314Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-19T13:15:48.314Z] { [2024-04-19T13:15:48.314Z] "registry-mirrors": [ [2024-04-19T13:15:48.314Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-19T13:15:48.314Z] ], [2024-04-19T13:15:48.314Z] "bip": "10.250.0.254/24", [2024-04-19T13:15:48.314Z] "hosts": [ [2024-04-19T13:15:48.314Z] "tcp://0.0.0.0:5555", [2024-04-19T13:15:48.314Z] "unix:///var/run/docker.sock" [2024-04-19T13:15:48.314Z] ], [2024-04-19T13:15:48.314Z] "mtu": 1458, [2024-04-19T13:15:48.314Z] "selinux-enabled": true, [2024-04-19T13:15:48.314Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-19T13:15:48.314Z] } [Pipeline] sh [2024-04-19T13:15:48.679Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-19T13:15:49.076Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:16:07.521Z] provisioning config files... [2024-04-19T13:16:07.565Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config4374844368651391669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:16:08.099Z] ---> ****-login.sh [2024-04-19T13:16:08.099Z] nexus3.edgexfoundry.org:10001 [2024-04-19T13:16:08.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:16:08.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:16:08.964Z] Configure a credential helper to remove this warning. See [2024-04-19T13:16:08.964Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:16:08.964Z] [2024-04-19T13:16:08.964Z] Login Succeeded [2024-04-19T13:16:08.964Z] nexus3.edgexfoundry.org:10002 [2024-04-19T13:16:09.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:16:09.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:16:09.233Z] Configure a credential helper to remove this warning. See [2024-04-19T13:16:09.233Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:16:09.233Z] [2024-04-19T13:16:09.233Z] Login Succeeded [2024-04-19T13:16:09.233Z] nexus3.edgexfoundry.org:10003 [2024-04-19T13:16:09.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:16:09.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:16:09.775Z] Configure a credential helper to remove this warning. See [2024-04-19T13:16:09.776Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:16:09.776Z] [2024-04-19T13:16:09.776Z] Login Succeeded [2024-04-19T13:16:09.776Z] nexus3.edgexfoundry.org:10004 [2024-04-19T13:16:10.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:16:10.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:16:10.047Z] Configure a credential helper to remove this warning. See [2024-04-19T13:16:10.047Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:16:10.047Z] [2024-04-19T13:16:10.047Z] Login Succeeded [2024-04-19T13:16:10.047Z] ****.io [2024-04-19T13:16:10.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:16:10.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:16:10.595Z] Configure a credential helper to remove this warning. See [2024-04-19T13:16:10.595Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:16:10.595Z] [2024-04-19T13:16:10.595Z] Login Succeeded [2024-04-19T13:16:10.595Z] ---> ****-login.sh ends [Pipeline] } [2024-04-19T13:16:10.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-19T13:16:11.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-19T13:16:11.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-19T13:16:11.177Z] ========================================================= [2024-04-19T13:16:11.177Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-04-19T13:16:11.177Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:16:11.691Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-19T13:16:12.299Z] Sending build context to Docker daemon 7.202MB [2024-04-19T13:16:12.299Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-04-19T13:16:12.299Z] Step 2/12 : FROM ${BASE} AS builder [2024-04-19T13:16:12.299Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-04-19T13:16:12.299Z] 9fda8d8052c6: Pulling fs layer [2024-04-19T13:16:12.299Z] 5d54e960e981: Pulling fs layer [2024-04-19T13:16:12.299Z] c4a7e357bf2a: Pulling fs layer [2024-04-19T13:16:12.299Z] f0e02332f6b5: Pulling fs layer [2024-04-19T13:16:12.299Z] 872ee5b61b7b: Pulling fs layer [2024-04-19T13:16:12.299Z] 0c6a40ed1a82: Pulling fs layer [2024-04-19T13:16:12.299Z] 94ae7d8d031c: Pulling fs layer [2024-04-19T13:16:12.299Z] 872ee5b61b7b: Waiting [2024-04-19T13:16:12.299Z] 0c6a40ed1a82: Waiting [2024-04-19T13:16:12.299Z] 94ae7d8d031c: Waiting [2024-04-19T13:16:12.299Z] f0e02332f6b5: Waiting [2024-04-19T13:16:12.575Z] 5d54e960e981: Download complete [2024-04-19T13:16:12.575Z] f0e02332f6b5: Download complete [2024-04-19T13:16:12.575Z] 872ee5b61b7b: Verifying Checksum [2024-04-19T13:16:12.575Z] 872ee5b61b7b: Download complete [2024-04-19T13:16:12.575Z] 9fda8d8052c6: Verifying Checksum [2024-04-19T13:16:12.575Z] 9fda8d8052c6: Download complete [2024-04-19T13:16:13.174Z] 94ae7d8d031c: Verifying Checksum [2024-04-19T13:16:13.174Z] 94ae7d8d031c: Download complete [2024-04-19T13:16:13.448Z] 9fda8d8052c6: Pull complete [2024-04-19T13:16:14.051Z] 5d54e960e981: Pull complete [2024-04-19T13:16:14.643Z] c4a7e357bf2a: Download complete [2024-04-19T13:16:15.627Z] 0c6a40ed1a82: Verifying Checksum [2024-04-19T13:16:15.627Z] 0c6a40ed1a82: Download complete [2024-04-19T13:16:30.666Z] c4a7e357bf2a: Pull complete [2024-04-19T13:16:30.666Z] f0e02332f6b5: Pull complete [2024-04-19T13:16:30.666Z] 872ee5b61b7b: Pull complete [2024-04-19T13:16:38.953Z] 0c6a40ed1a82: Pull complete [2024-04-19T13:16:39.954Z] 94ae7d8d031c: Pull complete [2024-04-19T13:16:39.954Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-04-19T13:16:39.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-19T13:16:39.954Z] ---> 86de565de09d [2024-04-19T13:16:39.954Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-04-19T13:16:42.624Z] ---> Running in b813c9696520 [2024-04-19T13:16:43.224Z] Removing intermediate container b813c9696520 [2024-04-19T13:16:43.224Z] ---> e3e1cbb7faa7 [2024-04-19T13:16:43.224Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-19T13:16:43.224Z] ---> Running in 5a7df0f10789 [2024-04-19T13:16:43.501Z] Removing intermediate container 5a7df0f10789 [2024-04-19T13:16:43.501Z] ---> 8f1b5c7b1e37 [2024-04-19T13:16:43.501Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-04-19T13:16:43.777Z] ---> Running in 6a2ea4889457 [2024-04-19T13:16:44.052Z] Removing intermediate container 6a2ea4889457 [2024-04-19T13:16:44.052Z] ---> 9e67ca6f5bf1 [2024-04-19T13:16:44.052Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-04-19T13:16:44.338Z] ---> Running in d738f8732224 [2024-04-19T13:16:44.615Z] Removing intermediate container d738f8732224 [2024-04-19T13:16:44.615Z] ---> c5b7aef8a238 [2024-04-19T13:16:44.615Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-04-19T13:16:44.894Z] ---> Running in a46b81619747 [2024-04-19T13:16:46.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:16:46.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:16:48.461Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-04-19T13:16:48.461Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-04-19T13:16:48.461Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-04-19T13:16:48.461Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-04-19T13:16:48.461Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:16:48.461Z] OK: 271 MiB in 56 packages [2024-04-19T13:16:49.898Z] Removing intermediate container a46b81619747 [2024-04-19T13:16:49.898Z] ---> bf334b124b07 [2024-04-19T13:16:49.898Z] Step 8/12 : WORKDIR /device-snmp-go [2024-04-19T13:16:49.898Z] ---> Running in 6ab508c676f5 [2024-04-19T13:16:50.175Z] Removing intermediate container 6ab508c676f5 [2024-04-19T13:16:50.175Z] ---> 05032a9e6f11 [2024-04-19T13:16:50.175Z] Step 9/12 : COPY go.mod vendor* ./ [2024-04-19T13:16:50.807Z] ---> 3805a6c9b436 [2024-04-19T13:16:50.807Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-19T13:16:51.095Z] ---> Running in 547848ab667d [2024-04-19T13:17:59.071Z] Removing intermediate container 547848ab667d [2024-04-19T13:17:59.071Z] ---> de4fe5a55e24 [2024-04-19T13:17:59.071Z] Step 11/12 : COPY . . [2024-04-19T13:17:59.071Z] ---> 2d6c5397dbf4 [2024-04-19T13:17:59.071Z] Step 12/12 : RUN ${MAKE} [2024-04-19T13:17:59.071Z] ---> Running in 9ab3931f04b6 [2024-04-19T13:17:59.071Z] noop [2024-04-19T13:18:00.044Z] Removing intermediate container 9ab3931f04b6 [2024-04-19T13:18:00.044Z] ---> 3c02633c2b33 [2024-04-19T13:18:00.044Z] Successfully built 3c02633c2b33 [2024-04-19T13:18:00.044Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:18:00.551Z] + docker inspect -f . ci-base-image-arm64 [2024-04-19T13:18:00.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:18:00.885Z] prd-ubuntu20.04-docker-arm64-4c-16g-2831 does not seem to be running inside a container [2024-04-19T13:18:00.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-04-19T13:18:02.555Z] $ docker top f52f6e1a369cebce157ef404c597db155695faedff479eb34617cebe77dc1d17 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-19T13:18:03.736Z] + go version [2024-04-19T13:18:03.736Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-04-19T13:18:03.778Z] $ docker stop --time=1 f52f6e1a369cebce157ef404c597db155695faedff479eb34617cebe77dc1d17 [2024-04-19T13:18:05.471Z] $ docker rm -f --volumes f52f6e1a369cebce157ef404c597db155695faedff479eb34617cebe77dc1d17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:18:06.380Z] + docker inspect -f . ci-base-image-arm64 [2024-04-19T13:18:06.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:18:06.659Z] prd-ubuntu20.04-docker-arm64-4c-16g-2831 does not seem to be running inside a container [2024-04-19T13:18:06.733Z] $ 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 ******** ci-base-image-arm64 cat [2024-04-19T13:18:07.982Z] $ docker top 43cabb743bd74ef2a45f79629d2e39db850f3bc410c002ebab858597512b7f96 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-19T13:18:08.914Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2024-04-19T13:18:09.629Z] + make test [2024-04-19T13:18:09.629Z] go test ./... -coverprofile=coverage.out [2024-04-19T13:18:13.889Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-04-19T13:20:05.566Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2024-04-19T13:20:05.566Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements [2024-04-19T13:20:05.566Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-04-19T13:20:05.566Z] go vet ./... [2024-04-19T13:20:20.571Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-19T13:20:20.571Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-19T13:20:20.571Z] ./bin/test-attribution-txt.sh [2024-04-19T13:20:20.571Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-19T13:20:20.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-19T13:20:20.660Z] $ docker stop --time=1 43cabb743bd74ef2a45f79629d2e39db850f3bc410c002ebab858597512b7f96 [2024-04-19T13:20:22.558Z] $ docker rm -f --volumes 43cabb743bd74ef2a45f79629d2e39db850f3bc410c002ebab858597512b7f96 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-19T13:20:23.855Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-19T13:20:23.894Z] Warning: overwriting stash ‘coverage-report’ [2024-04-19T13:20:24.523Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-19T13:20:25.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-19T13:20:25.521Z] + ls -al . [2024-04-19T13:20:25.521Z] total 168 [2024-04-19T13:20:25.521Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 19 13:18 . [2024-04-19T13:20:25.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:15 .. [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 19 13:15 .dockerignore [2024-04-19T13:20:25.521Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:15 .git [2024-04-19T13:20:25.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:15 .github [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 263 Apr 19 13:15 .gitignore [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 13:15 .golangci.yml [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 10025 Apr 19 13:15 Attribution.txt [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 11809 Apr 19 13:15 CHANGELOG.md [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 1571 Apr 19 13:15 Dockerfile [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 13:15 GOVERNANCE.md [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 19 13:15 Jenkinsfile [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 13:15 LICENSE [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 2240 Apr 19 13:15 Makefile [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 13:15 OWNERS.md [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 10477 Apr 19 13:15 README.md [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 13:12 VERSION [2024-04-19T13:20:25.521Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:15 bin [2024-04-19T13:20:25.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:15 cmd [2024-04-19T13:20:25.521Z] -rw-r--r-- 1 jenkins jenkins 8837 Apr 19 13:19 coverage.out [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 3757 Apr 19 13:15 go.mod [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 36107 Apr 19 13:15 go.sum [2024-04-19T13:20:25.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:15 internal [2024-04-19T13:20:25.521Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 19 13:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:20:25.965Z] + 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=332afb0e5211b64e32595e7f6492a5e91ab1180c --label arch=arm64 --label version=0.0.0 . [2024-04-19T13:20:26.235Z] Sending build context to Docker daemon 7.212MB [2024-04-19T13:20:26.502Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-04-19T13:20:26.502Z] Step 2/25 : FROM ${BASE} AS builder [2024-04-19T13:20:26.502Z] ---> 3c02633c2b33 [2024-04-19T13:20:26.502Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-04-19T13:20:26.502Z] ---> Running in d662f5621182 [2024-04-19T13:20:26.770Z] Removing intermediate container d662f5621182 [2024-04-19T13:20:26.770Z] ---> 6cba89f5f49b [2024-04-19T13:20:26.770Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-19T13:20:27.038Z] ---> Running in a0492b0dee62 [2024-04-19T13:20:27.308Z] Removing intermediate container a0492b0dee62 [2024-04-19T13:20:27.308Z] ---> 1d55201fafd5 [2024-04-19T13:20:27.308Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-04-19T13:20:27.308Z] ---> Running in 1f5dd81e7ef2 [2024-04-19T13:20:27.582Z] Removing intermediate container 1f5dd81e7ef2 [2024-04-19T13:20:27.582Z] ---> ccfa6c6afac2 [2024-04-19T13:20:27.582Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-04-19T13:20:27.855Z] ---> Running in b2bb3c4f3e95 [2024-04-19T13:20:28.129Z] Removing intermediate container b2bb3c4f3e95 [2024-04-19T13:20:28.129Z] ---> a02541019152 [2024-04-19T13:20:28.129Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-04-19T13:20:28.129Z] ---> Running in b25209f9c93a [2024-04-19T13:20:29.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:20:29.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:20:31.227Z] OK: 271 MiB in 56 packages [2024-04-19T13:20:32.189Z] Removing intermediate container b25209f9c93a [2024-04-19T13:20:32.189Z] ---> 86966d063ed1 [2024-04-19T13:20:32.189Z] Step 8/25 : WORKDIR /device-snmp-go [2024-04-19T13:20:32.189Z] ---> Running in 056a811aa259 [2024-04-19T13:20:32.456Z] Removing intermediate container 056a811aa259 [2024-04-19T13:20:32.456Z] ---> f6006b699ca9 [2024-04-19T13:20:32.456Z] Step 9/25 : COPY go.mod vendor* ./ [2024-04-19T13:20:33.039Z] ---> 294a3885d63b [2024-04-19T13:20:33.039Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-19T13:20:33.039Z] ---> Running in b4eef235b030 [2024-04-19T13:20:34.983Z] Removing intermediate container b4eef235b030 [2024-04-19T13:20:34.983Z] ---> 67446635f2bb [2024-04-19T13:20:34.983Z] Step 11/25 : COPY . . [2024-04-19T13:20:35.944Z] ---> 0223f549b11a [2024-04-19T13:20:35.944Z] Step 12/25 : RUN ${MAKE} [2024-04-19T13:20:35.944Z] ---> Running in 57cdb2b230e4 [2024-04-19T13:20:36.906Z] 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.11" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2024-04-19T13:22:43.579Z] Removing intermediate container 57cdb2b230e4 [2024-04-19T13:22:43.579Z] ---> c40c452b7a3e [2024-04-19T13:22:43.579Z] Step 13/25 : FROM alpine:3.18 [2024-04-19T13:22:43.579Z] 3.18: Pulling from library/alpine [2024-04-19T13:22:43.579Z] c6b39de5b339: Pulling fs layer [2024-04-19T13:22:43.579Z] c6b39de5b339: Verifying Checksum [2024-04-19T13:22:43.579Z] c6b39de5b339: Download complete [2024-04-19T13:22:43.579Z] c6b39de5b339: Pull complete [2024-04-19T13:22:43.579Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-19T13:22:43.579Z] Status: Downloaded newer image for alpine:3.18 [2024-04-19T13:22:43.579Z] ---> 33abbf032149 [2024-04-19T13:22:43.579Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-04-19T13:22:43.579Z] ---> Running in bcf2a1422d4d [2024-04-19T13:22:43.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:22:43.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:22:43.579Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-19T13:22:43.579Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:22:43.579Z] OK: 8 MiB in 16 packages [2024-04-19T13:22:43.579Z] Removing intermediate container bcf2a1422d4d [2024-04-19T13:22:43.579Z] ---> 3407648e8461 [2024-04-19T13:22:43.579Z] Step 15/25 : RUN apk --no-cache upgrade [2024-04-19T13:22:43.579Z] ---> Running in 7aef69fff926 [2024-04-19T13:22:44.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:22:44.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:22:46.212Z] Upgrading critical system libraries and apk-tools: [2024-04-19T13:22:46.212Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-19T13:22:46.212Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:22:46.212Z] Continuing the upgrade transaction with new apk-tools: [2024-04-19T13:22:46.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:22:46.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:22:47.437Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-19T13:22:47.437Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:22:47.437Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:22:47.703Z] OK: 8 MiB in 16 packages [2024-04-19T13:22:48.671Z] Removing intermediate container 7aef69fff926 [2024-04-19T13:22:48.671Z] ---> c3ec4012ac05 [2024-04-19T13:22:48.671Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-04-19T13:22:50.083Z] ---> e31c164c9a05 [2024-04-19T13:22:50.083Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-04-19T13:22:50.666Z] ---> 1230135cc9a3 [2024-04-19T13:22:50.666Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-04-19T13:22:51.251Z] ---> 9aa3d194c518 [2024-04-19T13:22:51.251Z] Step 19/25 : EXPOSE 59993 [2024-04-19T13:22:51.251Z] ---> Running in 0a8e3d2d26a4 [2024-04-19T13:22:51.519Z] Removing intermediate container 0a8e3d2d26a4 [2024-04-19T13:22:51.519Z] ---> f8764ec5b75d [2024-04-19T13:22:51.519Z] Step 20/25 : EXPOSE 161 [2024-04-19T13:22:51.787Z] ---> Running in 538d0871ca9b [2024-04-19T13:22:52.054Z] Removing intermediate container 538d0871ca9b [2024-04-19T13:22:52.054Z] ---> 165edd628e49 [2024-04-19T13:22:52.054Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-04-19T13:22:52.054Z] ---> Running in d9624398386d [2024-04-19T13:22:52.331Z] Removing intermediate container d9624398386d [2024-04-19T13:22:52.331Z] ---> 47289b491b4d [2024-04-19T13:22:52.331Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-04-19T13:22:52.599Z] ---> Running in bf10d2ba153b [2024-04-19T13:22:52.867Z] Removing intermediate container bf10d2ba153b [2024-04-19T13:22:52.867Z] ---> 6f4b94f09915 [2024-04-19T13:22:52.867Z] Step 23/25 : LABEL arch=arm64 [2024-04-19T13:22:52.867Z] ---> Running in b670e284d939 [2024-04-19T13:22:53.454Z] Removing intermediate container b670e284d939 [2024-04-19T13:22:53.454Z] ---> b4c1f3e918c1 [2024-04-19T13:22:53.454Z] Step 24/25 : LABEL git_sha=332afb0e5211b64e32595e7f6492a5e91ab1180c [2024-04-19T13:22:53.454Z] ---> Running in f19ac6708ba8 [2024-04-19T13:22:53.726Z] Removing intermediate container f19ac6708ba8 [2024-04-19T13:22:53.726Z] ---> 99624466c2f5 [2024-04-19T13:22:53.726Z] Step 25/25 : LABEL version=0.0.0 [2024-04-19T13:22:53.726Z] ---> Running in f3cd9957d7cc [2024-04-19T13:22:53.998Z] Removing intermediate container f3cd9957d7cc [2024-04-19T13:22:53.998Z] ---> 3d479292c8e0 [2024-04-19T13:22:53.998Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-19T13:22:54.269Z] Successfully built 3d479292c8e0 [2024-04-19T13:22:54.269Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:22:55.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-19T13:22:55.148Z] [2024-04-19T13:22:55.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:22:55.554Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-19T13:22:55.828Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-19T13:22:55.828Z] 8998bd30e6a1: Pulling fs layer [2024-04-19T13:22:55.828Z] 04944245beec: Pulling fs layer [2024-04-19T13:22:55.828Z] 699f458cf7ca: Pulling fs layer [2024-04-19T13:22:55.828Z] 765212b225bb: Pulling fs layer [2024-04-19T13:22:55.828Z] f23df028b6ca: Pulling fs layer [2024-04-19T13:22:55.828Z] d65c8cfc05b1: Pulling fs layer [2024-04-19T13:22:55.828Z] 2437ff75d9bd: Pulling fs layer [2024-04-19T13:22:55.828Z] 765212b225bb: Waiting [2024-04-19T13:22:55.828Z] f23df028b6ca: Waiting [2024-04-19T13:22:55.828Z] d65c8cfc05b1: Waiting [2024-04-19T13:22:55.828Z] 2437ff75d9bd: Waiting [2024-04-19T13:22:55.828Z] 04944245beec: Verifying Checksum [2024-04-19T13:22:55.828Z] 04944245beec: Download complete [2024-04-19T13:22:55.828Z] 765212b225bb: Verifying Checksum [2024-04-19T13:22:55.828Z] 765212b225bb: Download complete [2024-04-19T13:22:55.828Z] f23df028b6ca: Verifying Checksum [2024-04-19T13:22:55.828Z] f23df028b6ca: Download complete [2024-04-19T13:22:55.828Z] d65c8cfc05b1: Verifying Checksum [2024-04-19T13:22:55.828Z] d65c8cfc05b1: Download complete [2024-04-19T13:22:56.102Z] 699f458cf7ca: Verifying Checksum [2024-04-19T13:22:56.102Z] 699f458cf7ca: Download complete [2024-04-19T13:22:56.693Z] 8998bd30e6a1: Verifying Checksum [2024-04-19T13:22:56.693Z] 8998bd30e6a1: Download complete [2024-04-19T13:22:59.301Z] 2437ff75d9bd: Download complete [2024-04-19T13:23:01.247Z] 8998bd30e6a1: Pull complete [2024-04-19T13:23:01.859Z] 04944245beec: Pull complete [2024-04-19T13:23:03.817Z] 699f458cf7ca: Pull complete [2024-04-19T13:23:03.817Z] 765212b225bb: Pull complete [2024-04-19T13:23:04.844Z] f23df028b6ca: Pull complete [2024-04-19T13:23:04.844Z] d65c8cfc05b1: Pull complete [2024-04-19T13:23:23.129Z] 2437ff75d9bd: Pull complete [2024-04-19T13:23:23.129Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-19T13:23:23.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-19T13:23:23.129Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:23:23.492Z] prd-ubuntu20.04-docker-arm64-4c-16g-2831 does not seem to be running inside a container [2024-04-19T13:23:23.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-19T13:23:26.600Z] $ docker top 8488b67f670c903e36cd412c927ec1d4684481650bb9cf061107823003099dfc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:23:27.507Z] ---> job-cost.sh [2024-04-19T13:23:27.507Z] lf-activate-venv: SKIPPING [2024-04-19T13:23:27.507Z] INFO: No Stack... [2024-04-19T13:23:27.774Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-19T13:23:28.731Z] INFO: Archiving Costs [Pipeline] sh [2024-04-19T13:23:29.395Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2024-04-19T13:23:29.395Z] + cut -d, -f6 [Pipeline] lock [2024-04-19T13:23:29.473Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-347-1-stack-cost] [2024-04-19T13:23:29.478Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-347-1-stack-cost] did not exist. Created. [2024-04-19T13:23:29.483Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-347-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-19T13:23:30.207Z] /w/workspace/device-snmp-go/1@tmp/durable-89d75860/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-19T13:23:30.880Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-19T13:23:30.916Z] Warning: overwriting stash ‘stack-cost’ [2024-04-19T13:23:30.965Z] Stashed 1 file(s) [Pipeline] } [2024-04-19T13:23:30.994Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-347-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-19T13:23:31.086Z] $ docker stop --time=1 8488b67f670c903e36cd412c927ec1d4684481650bb9cf061107823003099dfc [2024-04-19T13:23:32.585Z] $ docker rm -f --volumes 8488b67f670c903e36cd412c927ec1d4684481650bb9cf061107823003099dfc [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-04-19T13:23:33.598Z] provisioning config files... [2024-04-19T13:23:33.612Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-347@tmp/config2337475810506170196tmp [Pipeline] { [Pipeline] sh [2024-04-19T13:23:33.944Z] + set +x [2024-04-19T13:23:33.944Z] + + curl -sbash https://codecov.io/bash -s [2024-04-19T13:23:33.944Z] -- [2024-04-19T13:23:33.944Z] [2024-04-19T13:23:33.944Z] _____ _ [2024-04-19T13:23:33.944Z] / ____| | | [2024-04-19T13:23:33.944Z] | | ___ __| | ___ ___ _____ __ [2024-04-19T13:23:33.944Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-04-19T13:23:33.944Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-04-19T13:23:33.944Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-04-19T13:23:33.944Z] Bash-1.0.6 [2024-04-19T13:23:33.944Z] [2024-04-19T13:23:33.944Z] [2024-04-19T13:23:33.944Z] ==> git version 2.25.1 found [2024-04-19T13:23:33.944Z] ==> 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-04-19T13:23:33.944Z] Release-Date: 2020-01-08 [2024-04-19T13:23:33.944Z] 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-04-19T13:23:33.944Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-04-19T13:23:33.944Z] ==> Jenkins CI detected. [2024-04-19T13:23:33.944Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-347 [2024-04-19T13:23:33.944Z] project root: . [2024-04-19T13:23:33.944Z] --> token set from env [2024-04-19T13:23:33.944Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-04-19T13:23:33.944Z] ==> Running gcov in . (disable via -X gcov) [2024-04-19T13:23:33.944Z] ==> Python coveragepy not found [2024-04-19T13:23:33.944Z] ==> Searching for coverage reports in: [2024-04-19T13:23:33.944Z] + . [2024-04-19T13:23:33.944Z] -> Found 1 reports [2024-04-19T13:23:33.944Z] ==> Detecting git/mercurial file structure [2024-04-19T13:23:34.204Z] ==> Reading reports [2024-04-19T13:23:34.204Z] + ./coverage.out bytes=8837 [2024-04-19T13:23:34.204Z] ==> Appending adjustments [2024-04-19T13:23:34.205Z] https://docs.codecov.io/docs/fixing-reports [2024-04-19T13:23:34.205Z] + Found adjustments [2024-04-19T13:23:34.205Z] ==> Gzipping contents [2024-04-19T13:23:34.205Z] 4.0K /tmp/codecov.f4rtYH.gz [2024-04-19T13:23:34.205Z] ==> Uploading reports [2024-04-19T13:23:34.205Z] url: https://codecov.io [2024-04-19T13:23:34.205Z] query: branch=PR-347&commit=332afb0e5211b64e32595e7f6492a5e91ab1180c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-347%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=347&job=&cmd_args= [2024-04-19T13:23:34.205Z] -> Pinging Codecov [2024-04-19T13:23:34.205Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-347&commit=332afb0e5211b64e32595e7f6492a5e91ab1180c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-347%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=347&job=&cmd_args= [2024-04-19T13:23:34.465Z] -> Uploading to [2024-04-19T13:23:34.465Z] https://storage.googleapis.com/codecov/v4/raw/2024-04-19/6C56EA5C29638FB4528AC87E60AF5AE0/332afb0e5211b64e32595e7f6492a5e91ab1180c/4e47b4fd-27b3-4776-acbc-ae951b5fa6b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240419T132334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=045eab9492b11f77fdc976c60f1a87170cecc00f9c8f7da8be45d39dede9b640 [2024-04-19T13:23:34.465Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-19T13:23:34.465Z] Dload Upload Total Spent Left Speed [2024-04-19T13:23:34.724Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5334 --:--:-- --:--:-- --:--:-- 5334 [2024-04-19T13:23:34.725Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/332afb0e5211b64e32595e7f6492a5e91ab1180c [Pipeline] } [2024-04-19T13:23:34.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-04-19T13:23:36.626Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-347/archives ] [2024-04-19T13:23:36.626Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-347/archives [2024-04-19T13:23:36.626Z] total 16 [2024-04-19T13:23:36.626Z] drwxr-xr-x 3 root root 4096 Apr 19 13:14 . [2024-04-19T13:23:36.626Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 13:14 .. [2024-04-19T13:23:36.626Z] drwxr-xr-x 2 root root 4096 Apr 19 13:14 cost [2024-04-19T13:23:36.626Z] -rw-r--r-- 1 root root 86 Apr 19 13:14 cost.csv [2024-04-19T13:23:36.626Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-347/archives [2024-04-19T13:23:36.626Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-347/archives [2024-04-19T13:23:36.626Z] total 16 [2024-04-19T13:23:36.626Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 13:14 . [2024-04-19T13:23:36.626Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 13:14 .. [2024-04-19T13:23:36.626Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 13:14 cost [2024-04-19T13:23:36.626Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 19 13:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:23:36.965Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:23:37.860Z] ---> package-listing.sh [2024-04-19T13:23:37.860Z] ++ facter osfamily [2024-04-19T13:23:37.860Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-19T13:23:38.161Z] + OS_FAMILY=debian [2024-04-19T13:23:38.161Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-347 [2024-04-19T13:23:38.161Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-19T13:23:38.161Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-19T13:23:38.161Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-19T13:23:38.161Z] + PACKAGES=/tmp/packages_start.txt [2024-04-19T13:23:38.161Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-347 ']' [2024-04-19T13:23:38.161Z] + PACKAGES=/tmp/packages_end.txt [2024-04-19T13:23:38.161Z] + case "${OS_FAMILY}" in [2024-04-19T13:23:38.161Z] + dpkg -l [2024-04-19T13:23:38.161Z] + grep '^ii' [2024-04-19T13:23:38.161Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-19T13:23:38.161Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-19T13:23:38.161Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-19T13:23:38.161Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-347 ']' [2024-04-19T13:23:38.161Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-347/archives/ [2024-04-19T13:23:38.161Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-347/archives/ [Pipeline] echo [2024-04-19T13:23:38.222Z] 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-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-19T13:23:38.586Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:23:39.255Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:23:39.255Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:23:39.497Z] prd-ubuntu20.04-docker-8c-8g-2826 does not seem to be running inside a container [2024-04-19T13:23:39.531Z] $ 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-347/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-347 -v /w/workspace/gexfoundry_device-snmp-go_PR-347:/w/workspace/gexfoundry_device-snmp-go_PR-347:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-347@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-19T13:23:39.991Z] $ docker top f6a624a584bd50f4739b886d687263d54ec2e5bbe75038de0fbc3a09daed4c5b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-19T13:23:40.395Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-19T13:23:40.707Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-19T13:23:41.028Z] + ls /var/log/sa-host [2024-04-19T13:23:41.028Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:23:41.168Z] provisioning config files... [2024-04-19T13:23:41.177Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-347@tmp/config2093966603236613860tmp [Pipeline] { [Pipeline] echo [2024-04-19T13:23:41.239Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:23:41.549Z] ---> create-netrc.sh [Pipeline] } [2024-04-19T13:23:41.580Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:23:41.995Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-19T13:23:42.029Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:23:42.341Z] ---> sudo-logs.sh [2024-04-19T13:23:42.341Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-19T13:23:42.434Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:23:42.752Z] ---> job-cost.sh [2024-04-19T13:23:42.752Z] lf-activate-venv: SKIPPING [2024-04-19T13:23:42.752Z] DEBUG: total: 0.2199999988079071 [2024-04-19T13:23:42.752Z] INFO: Retrieving Stack Cost... [2024-04-19T13:23:43.013Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-19T13:23:43.581Z] INFO: Archiving Costs [Pipeline] echo [2024-04-19T13:23:43.617Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:23:43.926Z] ---> logs-deploy.sh [2024-04-19T13:23:43.926Z] lf-activate-venv: SKIPPING [2024-04-19T13:23:43.926Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-347/1 [2024-04-19T13:23:43.926Z] INFO: archiving workspace using pattern(s): [2024-04-19T13:23:44.856Z] Archives upload complete. [2024-04-19T13:23:44.856Z] INFO: archiving logs to Nexus