Pull request #354 event Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-snmp-go Obtained Jenkinsfile from ac6d3129f3d1693d5a70e1c2e4311879257485f6+c4fcf13dda2872150eef0ffad2fcf99f13027de9 (93d3b6a2942c930c23a17f70bec60e6601e8cbb5) 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-ssh11212824866151941831.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh13186755555183539482.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4843996993644805199.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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 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-ssh6120119712310084047.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3765877601564150021.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40177 in /w/workspace/gexfoundry_device-snmp-go_PR-354 [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-354 # 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/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c4fcf13dda2872150eef0ffad2fcf99f13027de9 into PR head commit ac6d3129f3d1693d5a70e1c2e4311879257485f6 Merge succeeded, producing b3956b3b6f67f4a29ec38240569de1af74a30b75 Checking out Revision b3956b3b6f67f4a29ec38240569de1af74a30b75 (PR-354) > git config core.sparsecheckout # timeout=10 > git checkout -f ac6d3129f3d1693d5a70e1c2e4311879257485f6 # 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 c4fcf13dda2872150eef0ffad2fcf99f13027de9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b3956b3b6f67f4a29ec38240569de1af74a30b75 # timeout=10 Commit message: "Merge commit 'c4fcf13dda2872150eef0ffad2fcf99f13027de9' into HEAD" > git rev-list --no-walk ac6d3129f3d1693d5a70e1c2e4311879257485f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:32:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:32:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:32:55 ========================================================= 09:32:55 EdgeX Global Pipelines Version Info 09:32:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:32:55 ------------------- 09:32:55 stable info: 09:32:55 ------------------- 09:32:55 Commited By: Cherry Wang cherry@iotechsys.com 09:32:55 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 09:32:55 Message: update stable to v1.0.269 09:32:56 ------------------- 09:32:56 experimental info: 09:32:56 ------------------- 09:32:56 Commited By: Ginny Guan ginny@iotechsys.com 09:32:56 Commit SHA: 7f93e8bad95e9991f74bdd88f4a3d704a5893b6d 09:32:56 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:32:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3956b3b6f67f4a29ec38240569de1af74a30b75 [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3956b3 [Pipeline] echo 09:32:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:57 provisioning config files... 09:32:57 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/config2251696484349925610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:57 ---> ****-login.sh 09:32:57 nexus3.edgexfoundry.org:10001 09:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:32:58 Configure a credential helper to remove this warning. See 09:32:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:32:58 09:32:58 Login Succeeded 09:32:58 nexus3.edgexfoundry.org:10002 09:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:32:58 Configure a credential helper to remove this warning. See 09:32:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:32:58 09:32:58 Login Succeeded 09:32:58 nexus3.edgexfoundry.org:10003 09:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:32:58 Configure a credential helper to remove this warning. See 09:32:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:32:58 09:32:58 Login Succeeded 09:32:58 nexus3.edgexfoundry.org:10004 09:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:32:58 Configure a credential helper to remove this warning. See 09:32:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:32:58 09:32:58 Login Succeeded 09:32:58 ****.io 09:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:32:58 Configure a credential helper to remove this warning. See 09:32:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:32:58 09:32:58 Login Succeeded 09:32:58 ---> ****-login.sh ends [Pipeline] } 09:32:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:32:59 + git rev-list -1 --merges b3956b3b6f67f4a29ec38240569de1af74a30b75~1..b3956b3b6f67f4a29ec38240569de1af74a30b75 [Pipeline] echo 09:32:59 -----------> git rev-list -1 --merges b3956b3b6f67f4a29ec38240569de1af74a30b75~1..b3956b3b6f67f4a29ec38240569de1af74a30b75 b3956b3b6f67f4a29ec38240569de1af74a30b75 09:32:59 b3956b3b6f67f4a29ec38240569de1af74a30b75 [false] [Pipeline] sh 09:32:59 + git log --format=format:%s -1 b3956b3b6f67f4a29ec38240569de1af74a30b75 [Pipeline] echo 09:32:59 ========================================================= 09:32:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:32:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:32:59 + git log --format=format:%s -1 b3956b3b6f67f4a29ec38240569de1af74a30b75 [Pipeline] echo 09:32:59 [semverPrep] GIT_COMMIT: b3956b3b6f67f4a29ec38240569de1af74a30b75, Commit Message: Merge commit 'c4fcf13dda2872150eef0ffad2fcf99f13027de9' into HEAD [Pipeline] echo 09:32:59 [semverPrep] This is not a build commit. [Pipeline] sh 09:33:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:33:00 + grep -v github /etc/ssh/ssh_known_hosts 09:33:00 + [ -e /tmp/ssh_known_hosts ] 09:33:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:33:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:33:00 + sudo tee -a /etc/ssh/ssh_known_hosts 09:33:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:00 09:33:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:01 0.1.4: Pulling from edgex-devops/py-git-semver 09:33:01 b85a868b505f: Pulling fs layer 09:33:01 e2be974225ed: Pulling fs layer 09:33:01 339a4e72a1f5: Pulling fs layer 09:33:01 988bab9f4d93: Pulling fs layer 09:33:01 1469e6f7b9e6: Pulling fs layer 09:33:01 eaf3925da568: Pulling fs layer 09:33:01 1469e6f7b9e6: Waiting 09:33:01 988bab9f4d93: Waiting 09:33:01 bab4dde63d76: Pulling fs layer 09:33:01 bde34c3a00c8: Pulling fs layer 09:33:01 b352a97aabf1: Pulling fs layer 09:33:01 4872d77fe225: Pulling fs layer 09:33:01 5851b861e8e6: Pulling fs layer 09:33:01 eaf3925da568: Waiting 09:33:01 bab4dde63d76: Waiting 09:33:01 bde34c3a00c8: Waiting 09:33:01 4872d77fe225: Waiting 09:33:01 b352a97aabf1: Waiting 09:33:01 e2be974225ed: Verifying Checksum 09:33:01 e2be974225ed: Download complete 09:33:01 988bab9f4d93: Download complete 09:33:01 1469e6f7b9e6: Verifying Checksum 09:33:01 1469e6f7b9e6: Download complete 09:33:01 339a4e72a1f5: Verifying Checksum 09:33:01 339a4e72a1f5: Download complete 09:33:01 eaf3925da568: Verifying Checksum 09:33:01 eaf3925da568: Download complete 09:33:01 bde34c3a00c8: Verifying Checksum 09:33:01 bde34c3a00c8: Download complete 09:33:01 b352a97aabf1: Download complete 09:33:01 4872d77fe225: Download complete 09:33:01 5851b861e8e6: Verifying Checksum 09:33:01 5851b861e8e6: Download complete 09:33:01 b85a868b505f: Verifying Checksum 09:33:01 b85a868b505f: Download complete 09:33:01 bab4dde63d76: Verifying Checksum 09:33:01 bab4dde63d76: Download complete 09:33:02 b85a868b505f: Pull complete 09:33:02 e2be974225ed: Pull complete 09:33:03 339a4e72a1f5: Pull complete 09:33:03 988bab9f4d93: Pull complete 09:33:03 1469e6f7b9e6: Pull complete 09:33:03 eaf3925da568: Pull complete 09:33:05 bab4dde63d76: Pull complete 09:33:05 bde34c3a00c8: Pull complete 09:33:05 b352a97aabf1: Pull complete 09:33:05 4872d77fe225: Pull complete 09:33:05 5851b861e8e6: Pull complete 09:33:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:33:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:05 prd-ubuntu20.04-docker-8c-8g-40177 does not seem to be running inside a container 09:33:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-354 -v /w/workspace/gexfoundry_device-snmp-go_PR-354:/w/workspace/gexfoundry_device-snmp-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-354@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:33:07 $ docker top 509350f210f08036f98958c5d4980631a868321d5be15599ed9aa20aacaa97c8 -eo pid,comm 09:33:07 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). 09:33:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:33:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:07 [ssh-agent] Looking for ssh-agent implementation... 09:33:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:07 $ docker exec 509350f210f08036f98958c5d4980631a868321d5be15599ed9aa20aacaa97c8 ssh-agent 09:33:07 SSH_AUTH_SOCK=/tmp/ssh-RBszTseXiXeG/agent.32 09:33:07 SSH_AGENT_PID=38 09:33:07 Running ssh-add (command line suppressed) 09:33:07 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/private_key_4293299600015530195.key (/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/private_key_4293299600015530195.key) 09:33:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:08 + git tag --points-at HEAD [Pipeline] } 09:33:08 $ docker exec --env ******** --env ******** 509350f210f08036f98958c5d4980631a868321d5be15599ed9aa20aacaa97c8 ssh-agent -k 09:33:08 unset SSH_AUTH_SOCK; 09:33:08 unset SSH_AGENT_PID; 09:33:08 echo Agent pid 38 killed; 09:33:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:33:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:08 [ssh-agent] Looking for ssh-agent implementation... 09:33:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:08 $ docker exec 509350f210f08036f98958c5d4980631a868321d5be15599ed9aa20aacaa97c8 ssh-agent 09:33:08 SSH_AUTH_SOCK=/tmp/ssh-3PLfQQxEM74G/agent.71 09:33:08 SSH_AGENT_PID=77 09:33:08 Running ssh-add (command line suppressed) 09:33:08 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/private_key_6645825221715698261.key (/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/private_key_6645825221715698261.key) 09:33:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:08 + git semver init 09:33:09 2025-03-04 09:33:08,994 [run_init] DEBUG init version:0.0.0 force:False 09:33:09 2025-03-04 09:33:08,995 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-354/.semver 09:33:09 2025-03-04 09:33:08,996 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-354/.semver 09:33:09 2025-03-04 09:33:08,996 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-354/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-354, universal_newlines=False, shell=None, istream=None) 09:33:10 2025-03-04 09:33:10,274 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-354/.git/info/exclude 09:33:10 2025-03-04 09:33:10,275 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-354/.semver/PR-354 with force:False 09:33:10 2025-03-04 09:33:10,275 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-354/.semver/PR-354 09:33:10 2025-03-04 09:33:10,279 [execute] INFO git cat-file --batch-check 09:33:10 2025-03-04 09:33:10,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) 09:33:10 2025-03-04 09:33:10,286 [execute] INFO git cat-file --batch 09:33:10 2025-03-04 09:33:10,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) 09:33:10 2025-03-04 09:33:10,292 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-354/.semver/PR-354 09:33:10 0.0.0 [Pipeline] } 09:33:10 $ docker exec --env ******** --env ******** 509350f210f08036f98958c5d4980631a868321d5be15599ed9aa20aacaa97c8 ssh-agent -k 09:33:10 unset SSH_AUTH_SOCK; 09:33:10 unset SSH_AGENT_PID; 09:33:10 echo Agent pid 77 killed; 09:33:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:33:10 + git semver [Pipeline] } 09:33:11 $ docker stop --time=1 509350f210f08036f98958c5d4980631a868321d5be15599ed9aa20aacaa97c8 09:33:12 $ docker rm -f --volumes 509350f210f08036f98958c5d4980631a868321d5be15599ed9aa20aacaa97c8 [Pipeline] // withDockerContainer [Pipeline] sh 09:33:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:33:13 Stashed 1 file(s) [Pipeline] echo 09:33:13 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:33:13 provisioning config files... 09:33:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/config17889570957064380639tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 09:33:13 ---> ****-login.sh 09:33:13 nexus3.edgexfoundry.org:10001 09:33:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:33:13 Configure a credential helper to remove this warning. See 09:33:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:33:13 09:33:13 Login Succeeded 09:33:13 nexus3.edgexfoundry.org:10002 09:33:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:33:13 Configure a credential helper to remove this warning. See 09:33:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:33:13 09:33:13 Login Succeeded 09:33:13 nexus3.edgexfoundry.org:10003 09:33:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:33:14 Configure a credential helper to remove this warning. See 09:33:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:33:14 09:33:14 Login Succeeded 09:33:14 nexus3.edgexfoundry.org:10004 09:33:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:33:14 Configure a credential helper to remove this warning. See 09:33:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:33:14 09:33:14 Login Succeeded 09:33:14 ****.io 09:33:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:33:14 Configure a credential helper to remove this warning. See 09:33:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:33:14 09:33:14 Login Succeeded 09:33:14 ---> ****-login.sh ends [Pipeline] } 09:33:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:33:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:33:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:33:14 ========================================================= 09:33:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:33:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 09:33:14 Sending build context to Docker daemon 20.2MB 09:33:14 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:33:14 Step 2/12 : FROM ${BASE} AS builder 09:33:15 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:33:15 da9db072f522: Pulling fs layer 09:33:15 6ef4a4ee8ca5: Pulling fs layer 09:33:15 06f05ace1117: Pulling fs layer 09:33:15 5fe327b54edc: Pulling fs layer 09:33:15 4f4fb700ef54: Pulling fs layer 09:33:15 92a5565b7b96: Pulling fs layer 09:33:15 ff9bb7016b71: Pulling fs layer 09:33:15 b67dba6c2c7d: Pulling fs layer 09:33:15 a813b0c90790: Pulling fs layer 09:33:15 5fe327b54edc: Waiting 09:33:15 ff9bb7016b71: Waiting 09:33:15 b67dba6c2c7d: Waiting 09:33:15 a813b0c90790: Waiting 09:33:15 4f4fb700ef54: Waiting 09:33:15 92a5565b7b96: Waiting 09:33:15 6ef4a4ee8ca5: Verifying Checksum 09:33:15 6ef4a4ee8ca5: Download complete 09:33:15 5fe327b54edc: Download complete 09:33:15 4f4fb700ef54: Verifying Checksum 09:33:15 4f4fb700ef54: Download complete 09:33:15 da9db072f522: Download complete 09:33:15 ff9bb7016b71: Verifying Checksum 09:33:15 ff9bb7016b71: Download complete 09:33:15 da9db072f522: Pull complete 09:33:15 a813b0c90790: Verifying Checksum 09:33:15 a813b0c90790: Download complete 09:33:15 6ef4a4ee8ca5: Pull complete 09:33:15 06f05ace1117: Download complete 09:33:15 b67dba6c2c7d: Verifying Checksum 09:33:15 b67dba6c2c7d: Download complete 09:33:19 06f05ace1117: Pull complete 09:33:19 5fe327b54edc: Pull complete 09:33:19 4f4fb700ef54: Pull complete 09:33:19 92a5565b7b96: Pull complete 09:33:19 ff9bb7016b71: Pull complete 09:33:21 b67dba6c2c7d: Pull complete 09:33:22 a813b0c90790: Pull complete 09:33:22 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 09:33:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:33:22 ---> 3ba60ce46760 09:33:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:33:23 ---> Running in 43e7fc4ecce0 09:33:23 Removing intermediate container 43e7fc4ecce0 09:33:23 ---> f4c400547ff9 09:33:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:33:23 ---> Running in 4dc67b618f8b 09:33:23 Removing intermediate container 4dc67b618f8b 09:33:23 ---> 125fd5129175 09:33:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:33:23 ---> Running in 2db067f1b878 09:33:23 Removing intermediate container 2db067f1b878 09:33:23 ---> b68dcd8eacb6 09:33:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:33:23 ---> Running in 0a490fcaeab7 09:33:24 Removing intermediate container 0a490fcaeab7 09:33:24 ---> d3d910667d57 09:33:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:33:24 ---> Running in 8838d2a31759 09:33:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:33:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:33:24 (1/4) Installing openssh-keygen (9.7_p1-r5) 09:33:24 (2/4) Installing libedit (20240517.3.1-r0) 09:33:24 (3/4) Installing openssh-client-common (9.7_p1-r5) 09:33:24 (4/4) Installing openssh-client-default (9.7_p1-r5) 09:33:24 Executing busybox-1.36.1-r29.trigger 09:33:24 OK: 252 MiB in 62 packages 09:33:25 Removing intermediate container 8838d2a31759 09:33:25 ---> 619dcd5ab858 09:33:25 Step 8/12 : WORKDIR /device-snmp-go 09:33:25 ---> Running in 6e0140c3f8f1 09:33:25 Removing intermediate container 6e0140c3f8f1 09:33:25 ---> d8ba129496a7 09:33:25 Step 9/12 : COPY go.mod vendor* ./ 09:33:25 ---> 1e620b02d5da 09:33:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:33:25 ---> Running in bed593e63a8f 09:34:04 Removing intermediate container bed593e63a8f 09:34:04 ---> 8b88ff7bb2c8 09:34:04 Step 11/12 : COPY . . 09:34:04 ---> 9b02ec35a525 09:34:04 Step 12/12 : RUN ${MAKE} 09:34:04 ---> Running in 91bf97bfe3d0 09:34:04 noop 09:34:04 Removing intermediate container 91bf97bfe3d0 09:34:04 ---> fd44922c8fdb 09:34:04 Successfully built fd44922c8fdb 09:34:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:04 + docker inspect -f . ci-base-image-x86_64 09:34:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:04 prd-ubuntu20.04-docker-8c-8g-40177 does not seem to be running inside a container 09:34:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-354 -v /w/workspace/gexfoundry_device-snmp-go_PR-354:/w/workspace/gexfoundry_device-snmp-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-354@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:34:05 $ docker top 625dbba3af80470a8896ed4dba2cfdeefece410cf19725580e667ec5637d3ace -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:05 + go version 09:34:05 go version go1.23.4 linux/amd64 [Pipeline] } 09:34:05 $ docker stop --time=1 625dbba3af80470a8896ed4dba2cfdeefece410cf19725580e667ec5637d3ace 09:34:06 $ docker rm -f --volumes 625dbba3af80470a8896ed4dba2cfdeefece410cf19725580e667ec5637d3ace [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:07 + docker inspect -f . ci-base-image-x86_64 09:34:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:07 prd-ubuntu20.04-docker-8c-8g-40177 does not seem to be running inside a container 09:34:07 $ 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-354 -v /w/workspace/gexfoundry_device-snmp-go_PR-354:/w/workspace/gexfoundry_device-snmp-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-354@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:34:07 $ docker top 22af1647888abb3eb7a16767a00949289f94b2fd2eeaceb3e5dc7a4e500ee792 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:07 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-354 [Pipeline] fileExists [Pipeline] sh 09:34:08 + make test 09:34:08 go test ./... -coverprofile=coverage.out 09:34:09 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:34:31 github.com/edgexfoundry/device-snmp-go/cmd coverage: 0.0% of statements 09:34:31 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 09:34:41 go vet ./... 09:34:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:34:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:34:46 ./bin/test-attribution-txt.sh [Pipeline] echo 09:34:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:34:47 $ docker stop --time=1 22af1647888abb3eb7a16767a00949289f94b2fd2eeaceb3e5dc7a4e500ee792 09:34:49 $ docker rm -f --volumes 22af1647888abb3eb7a16767a00949289f94b2fd2eeaceb3e5dc7a4e500ee792 [Pipeline] // withDockerContainer [Pipeline] sh 09:34:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:34:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:34:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:34:50 + ls -al . 09:34:50 total 236 09:34:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 09:34 . 09:34:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 09:32 .. 09:34:50 -rw-rw-r-- 1 jenkins jenkins 6 Mar 4 09:32 .dockerignore 09:34:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 09:34 .git 09:34:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 09:32 .github 09:34:50 -rw-rw-r-- 1 jenkins jenkins 263 Mar 4 09:32 .gitignore 09:34:50 -rw-rw-r-- 1 jenkins jenkins 199 Mar 4 09:32 .golangci.yml 09:34:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 09:33 .semver 09:34:50 -rw-rw-r-- 1 jenkins jenkins 18843 Mar 4 09:32 Attribution.txt 09:34:50 -rw-rw-r-- 1 jenkins jenkins 12274 Mar 4 09:32 CHANGELOG.md 09:34:50 -rw-rw-r-- 1 jenkins jenkins 1571 Mar 4 09:32 Dockerfile 09:34:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 09:32 GOVERNANCE.md 09:34:50 -rw-rw-r-- 1 jenkins jenkins 656 Mar 4 09:32 Jenkinsfile 09:34:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 4 09:32 LICENSE 09:34:50 -rw-rw-r-- 1 jenkins jenkins 2240 Mar 4 09:32 Makefile 09:34:50 -rw-rw-r-- 1 jenkins jenkins 620 Mar 4 09:32 OWNERS.md 09:34:50 -rw-rw-r-- 1 jenkins jenkins 10477 Mar 4 09:32 README.md 09:34:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 09:33 VERSION 09:34:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 09:32 bin 09:34:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 09:32 cmd 09:34:50 -rw-r--r-- 1 jenkins jenkins 8903 Mar 4 09:34 coverage.out 09:34:50 -rw-rw-r-- 1 jenkins jenkins 6154 Mar 4 09:32 go.mod 09:34:50 -rw-rw-r-- 1 jenkins jenkins 87041 Mar 4 09:32 go.sum 09:34:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 09:32 internal 09:34:50 -rw-rw-r-- 1 jenkins jenkins 228 Mar 4 09:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:50 + 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=b3956b3b6f67f4a29ec38240569de1af74a30b75 --label arch=amd64 --label version=0.0.0 . 09:34:50 Sending build context to Docker daemon 20.21MB 09:34:50 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 09:34:50 Step 2/25 : FROM ${BASE} AS builder 09:34:50 ---> fd44922c8fdb 09:34:50 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:34:51 ---> Running in 00db9dab7672 09:34:51 Removing intermediate container 00db9dab7672 09:34:51 ---> 2dbaba0e9aaf 09:34:51 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:34:51 ---> Running in 43d11fc4a200 09:34:51 Removing intermediate container 43d11fc4a200 09:34:51 ---> 91b87b5cd6b1 09:34:51 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:34:51 ---> Running in 205ccf59d08f 09:34:51 Removing intermediate container 205ccf59d08f 09:34:51 ---> 0d8a60a1622e 09:34:51 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:34:51 ---> Running in aa13ee01b735 09:34:51 Removing intermediate container aa13ee01b735 09:34:51 ---> 2852881bb02d 09:34:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:34:51 ---> Running in d79db52c82db 09:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:34:52 OK: 252 MiB in 62 packages 09:34:52 Removing intermediate container d79db52c82db 09:34:52 ---> de9689eb0271 09:34:52 Step 8/25 : WORKDIR /device-snmp-go 09:34:52 ---> Running in 019010328f4c 09:34:52 Removing intermediate container 019010328f4c 09:34:52 ---> 13bdc95b4ee0 09:34:52 Step 9/25 : COPY go.mod vendor* ./ 09:34:52 ---> 486bb6a68b7a 09:34:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:34:52 ---> Running in 3a4c0671dc39 09:34:53 Removing intermediate container 3a4c0671dc39 09:34:53 ---> 606135327410 09:34:53 Step 11/25 : COPY . . 09:34:53 ---> eb60e321a26f 09:34:53 Step 12/25 : RUN ${MAKE} 09:34:53 ---> Running in e1c7646924b7 09:34:54 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/v4/internal/common.SDKVersion=v4.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 09:35:26 Removing intermediate container e1c7646924b7 09:35:26 ---> f160398e7e1b 09:35:26 Step 13/25 : FROM alpine:3.20 09:35:26 3.20: Pulling from library/alpine 09:35:26 0a9a5dfd008f: Pulling fs layer 09:35:26 0a9a5dfd008f: Verifying Checksum 09:35:26 0a9a5dfd008f: Download complete 09:35:26 0a9a5dfd008f: Pull complete 09:35:26 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 09:35:26 Status: Downloaded newer image for alpine:3.20 09:35:26 ---> ff221270b9fb 09:35:26 Step 14/25 : RUN apk add --update --no-cache dumb-init 09:35:26 ---> Running in 82be62587f9e 09:35:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:35:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:35:26 (1/1) Installing dumb-init (1.2.5-r3) 09:35:26 Executing busybox-1.36.1-r29.trigger 09:35:26 OK: 8 MiB in 15 packages 09:35:26 Removing intermediate container 82be62587f9e 09:35:26 ---> 7a169b4c9125 09:35:26 Step 15/25 : RUN apk --no-cache upgrade 09:35:26 ---> Running in 5b447e18f831 09:35:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:35:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:35:26 OK: 8 MiB in 15 packages 09:35:26 Removing intermediate container 5b447e18f831 09:35:26 ---> 16d8da761ca8 09:35:26 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 09:35:26 ---> e766a79746c6 09:35:26 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:35:26 ---> de55e2906dcb 09:35:26 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 09:35:26 ---> 34ffc5d6d223 09:35:26 Step 19/25 : EXPOSE 59993 09:35:26 ---> Running in 088e3a6798fc 09:35:27 Removing intermediate container 088e3a6798fc 09:35:27 ---> 5bb330ace904 09:35:27 Step 20/25 : EXPOSE 161 09:35:27 ---> Running in 55cdb495c473 09:35:27 Removing intermediate container 55cdb495c473 09:35:27 ---> f01240e521a6 09:35:27 Step 21/25 : ENTRYPOINT ["/device-snmp"] 09:35:27 ---> Running in 27289d4515b4 09:35:27 Removing intermediate container 27289d4515b4 09:35:27 ---> 17a4c87a172e 09:35:27 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 09:35:27 ---> Running in 173588625cb6 09:35:27 Removing intermediate container 173588625cb6 09:35:27 ---> e36abe2a6728 09:35:27 Step 23/25 : LABEL arch=amd64 09:35:27 ---> Running in 96f0ae95125e 09:35:27 Removing intermediate container 96f0ae95125e 09:35:27 ---> f808400093e6 09:35:27 Step 24/25 : LABEL git_sha=b3956b3b6f67f4a29ec38240569de1af74a30b75 09:35:27 ---> Running in 7467905db6dc 09:35:27 Removing intermediate container 7467905db6dc 09:35:27 ---> 3c39b794abb4 09:35:27 Step 25/25 : LABEL version=0.0.0 09:35:27 ---> Running in fd3e06d1b680 09:35:27 Removing intermediate container fd3e06d1b680 09:35:27 ---> 83fd985bfcb3 09:35:27 [Warning] One or more build-args [ARCH] were not consumed 09:35:27 Successfully built 83fd985bfcb3 09:35:27 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:28 09:35:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:28 latest: Pulling from edgex-lftools-log-publisher 09:35:28 5eb5b503b376: Pulling fs layer 09:35:28 5c69ac0246d0: Pulling fs layer 09:35:28 ec43610c2a17: Pulling fs layer 09:35:28 3a2ae6a8a46f: Pulling fs layer 09:35:28 33b1e0a273af: Pulling fs layer 09:35:28 5d3b04190fa2: Pulling fs layer 09:35:28 2f39f015ded8: Pulling fs layer 09:35:28 3a2ae6a8a46f: Waiting 09:35:28 5d3b04190fa2: Waiting 09:35:28 2f39f015ded8: Waiting 09:35:28 5c69ac0246d0: Verifying Checksum 09:35:28 5c69ac0246d0: Download complete 09:35:28 3a2ae6a8a46f: Verifying Checksum 09:35:28 3a2ae6a8a46f: Download complete 09:35:28 33b1e0a273af: Verifying Checksum 09:35:28 33b1e0a273af: Download complete 09:35:28 ec43610c2a17: Verifying Checksum 09:35:28 ec43610c2a17: Download complete 09:35:28 5d3b04190fa2: Download complete 09:35:28 5eb5b503b376: Verifying Checksum 09:35:28 5eb5b503b376: Download complete 09:35:29 2f39f015ded8: Download complete 09:35:29 5eb5b503b376: Pull complete 09:35:30 5c69ac0246d0: Pull complete 09:35:30 ec43610c2a17: Pull complete 09:35:30 3a2ae6a8a46f: Pull complete 09:35:30 33b1e0a273af: Pull complete 09:35:30 5d3b04190fa2: Pull complete 09:35:36 2f39f015ded8: Pull complete 09:35:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:35:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:35:36 prd-ubuntu20.04-docker-8c-8g-40177 does not seem to be running inside a container 09:35:36 $ 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-354 -v /w/workspace/gexfoundry_device-snmp-go_PR-354:/w/workspace/gexfoundry_device-snmp-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-354@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:35:37 $ docker top ec40601b6a94e8665eddc17441dd16ceb70779bfdef008644bd22eeb84aad79e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:35:37 ---> job-cost.sh 09:35:37 lf-activate-venv: SKIPPING 09:35:37 INFO: No Stack... 09:35:38 INFO: Retrieving Pricing Info for: v3-standard-8 09:35:38 INFO: Archiving Costs [Pipeline] sh 09:35:38 + cat /w/workspace/gexfoundry_device-snmp-go_PR-354/archives/cost.csv 09:35:38 + cut -d, -f6 [Pipeline] lock 09:35:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-354-2-stack-cost] 09:35:39 Resource [jenkins-edgexfoundry-device-snmp-go-PR-354-2-stack-cost] did not exist. Created. 09:35:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-354-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:35:39 + echo total: 0.2199999988079071 [Pipeline] stash 09:35:39 Stashed 1 file(s) [Pipeline] } 09:35:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-PR-354-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:35:39 $ docker stop --time=1 ec40601b6a94e8665eddc17441dd16ceb70779bfdef008644bd22eeb84aad79e 09:35:40 $ docker rm -f --volumes ec40601b6a94e8665eddc17441dd16ceb70779bfdef008644bd22eeb84aad79e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:35:40 provisioning config files... 09:35:40 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/config15178262690680062837tmp [Pipeline] { [Pipeline] sh 09:35:41 + set +x 09:35:41 + curl -s https://codecov.io/bash 09:35:41 + bash -s -- 09:35:41 09:35:41 _____ _ 09:35:41 / ____| | | 09:35:41 | | ___ __| | ___ ___ _____ __ 09:35:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:35:41 | |___| (_) | (_| | __/ (_| (_) \ V / 09:35:41 \_____\___/ \__,_|\___|\___\___/ \_/ 09:35:41 Bash-1.0.6 09:35:41 09:35:41 09:35:41 ==> git version 2.25.1 found 09:35:41 ==> 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 09:35:41 Release-Date: 2020-01-08 09:35:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:35:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:35:41 ==> Jenkins CI detected. 09:35:41 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-354 09:35:41 project root: . 09:35:41 --> token set from env 09:35:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:35:41 ==> Running gcov in . (disable via -X gcov) 09:35:41 ==> Python coveragepy not found 09:35:41 ==> Searching for coverage reports in: 09:35:41 + . 09:35:41 -> Found 1 reports 09:35:41 ==> Detecting git/mercurial file structure 09:35:41 ==> Reading reports 09:35:41 + ./coverage.out bytes=8903 09:35:41 ==> Appending adjustments 09:35:41 https://docs.codecov.io/docs/fixing-reports 09:35:41 + Found adjustments 09:35:41 ==> Gzipping contents 09:35:41 4.0K /tmp/codecov.hQybxI.gz 09:35:41 ==> Uploading reports 09:35:41 url: https://codecov.io 09:35:41 query: branch=PR-354&commit=b3956b3b6f67f4a29ec38240569de1af74a30b75&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-354%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=354&job=&cmd_args= 09:35:41 -> Pinging Codecov 09:35:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-354&commit=b3956b3b6f67f4a29ec38240569de1af74a30b75&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-354%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=354&job=&cmd_args= 09:35:41 -> Uploading to 09:35:41 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-snmp-go/b3956b3b6f67f4a29ec38240569de1af74a30b75/37058185-065f-40d5-ad51-4de2e77e2c25.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250304%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250304T093541Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=111acc587876d70b1145c19119b6a4dfe0e98fab346e4ab852c01c670db60a66 09:35:41 % Total % Received % Xferd Average Speed Time Time Time Current 09:35:41 Dload Upload Total Spent Left Speed 09:35:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 9457 --:--:-- --:--:-- --:--:-- 9519 09:35:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/b3956b3b6f67f4a29ec38240569de1af74a30b75 [Pipeline] } 09:35:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:35:42 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-354/archives ] 09:35:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-354/archives 09:35:42 total 16 09:35:42 drwxr-xr-x 3 root root 4096 Mar 4 09:35 . 09:35:42 drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 09:35 .. 09:35:42 drwxr-xr-x 2 root root 4096 Mar 4 09:35 cost 09:35:42 -rw-r--r-- 1 root root 86 Mar 4 09:35 cost.csv 09:35:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-354/archives 09:35:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-354/archives 09:35:42 total 16 09:35:42 drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 09:35 . 09:35:42 drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 09:35 .. 09:35:42 drwxr-xr-x 2 jenkins jenkins 4096 Mar 4 09:35 cost 09:35:42 -rw-r--r-- 1 jenkins jenkins 86 Mar 4 09:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:35:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:35:43 ---> package-listing.sh 09:35:43 ++ facter osfamily 09:35:43 ++ tr '[:upper:]' '[:lower:]' 09:35:44 + OS_FAMILY=debian 09:35:44 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-354 09:35:44 + START_PACKAGES=/tmp/packages_start.txt 09:35:44 + END_PACKAGES=/tmp/packages_end.txt 09:35:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:35:44 + PACKAGES=/tmp/packages_start.txt 09:35:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-354 ']' 09:35:44 + PACKAGES=/tmp/packages_end.txt 09:35:44 + case "${OS_FAMILY}" in 09:35:44 + dpkg -l 09:35:44 + grep '^ii' 09:35:44 + '[' -f /tmp/packages_start.txt ']' 09:35:44 + '[' -f /tmp/packages_end.txt ']' 09:35:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:35:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-354 ']' 09:35:44 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-354/archives/ 09:35:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-354/archives/ [Pipeline] echo 09:35:44 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-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:35:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:35:45 prd-ubuntu20.04-docker-8c-8g-40177 does not seem to be running inside a container 09:35:45 $ 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-354/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-354 -v /w/workspace/gexfoundry_device-snmp-go_PR-354:/w/workspace/gexfoundry_device-snmp-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-354@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:35:45 $ docker top 5e5682caba25179dfcd09c9a3e99a6cdac52a1eb75536a5e9b6326f9443861cd -eo pid,comm [Pipeline] { [Pipeline] sh 09:35:45 + touch /tmp/pre-build-complete [Pipeline] sh 09:35:46 + mkdir -p /var/log/sysstat [Pipeline] sh 09:35:46 + ls /var/log/sa-host 09:35:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:35:46 provisioning config files... 09:35:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/config13830607946625810048tmp [Pipeline] { [Pipeline] echo 09:35:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:35:46 ---> create-netrc.sh [Pipeline] } 09:35:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:35:47 ---> python-tools-install.sh [Pipeline] echo 09:35:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:35:47 ---> sudo-logs.sh 09:35:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:35:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:35:47 ---> job-cost.sh 09:35:47 lf-activate-venv: SKIPPING 09:35:47 DEBUG: total: 0.2199999988079071 09:35:47 INFO: Retrieving Stack Cost... 09:35:47 INFO: Retrieving Pricing Info for: v3-standard-8 09:35:48 INFO: Archiving Costs [Pipeline] echo 09:35:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:35:48 ---> logs-deploy.sh 09:35:48 lf-activate-venv: SKIPPING 09:35:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-354/2 09:35:48 INFO: archiving workspace using pattern(s): 09:35:49 Archives upload complete. 09:35:49 INFO: archiving logs to Nexus 09:35:50 ---> uname -a: 09:35:50 Linux prd-ubuntu20-04-docker-8c-8g-40177 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:35:50 09:35:50 09:35:50 ---> lscpu: 09:35:50 Architecture: x86_64 09:35:50 CPU op-mode(s): 32-bit, 64-bit 09:35:50 Byte Order: Little Endian 09:35:50 Address sizes: 40 bits physical, 48 bits virtual 09:35:50 CPU(s): 8 09:35:50 On-line CPU(s) list: 0-7 09:35:50 Thread(s) per core: 1 09:35:50 Core(s) per socket: 1 09:35:50 Socket(s): 8 09:35:50 NUMA node(s): 1 09:35:50 Vendor ID: AuthenticAMD 09:35:50 CPU family: 23 09:35:50 Model: 49 09:35:50 Model name: AMD EPYC-Rome Processor 09:35:50 Stepping: 0 09:35:50 CPU MHz: 2799.996 09:35:50 BogoMIPS: 5599.99 09:35:50 Virtualization: AMD-V 09:35:50 Hypervisor vendor: KVM 09:35:50 Virtualization type: full 09:35:50 L1d cache: 256 KiB 09:35:50 L1i cache: 256 KiB 09:35:50 L2 cache: 4 MiB 09:35:50 L3 cache: 128 MiB 09:35:50 NUMA node0 CPU(s): 0-7 09:35:50 Vulnerability Itlb multihit: Not affected 09:35:50 Vulnerability L1tf: Not affected 09:35:50 Vulnerability Mds: Not affected 09:35:50 Vulnerability Meltdown: Not affected 09:35:50 Vulnerability Mmio stale data: Not affected 09:35:50 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:35:50 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:35:50 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:35:50 Vulnerability Srbds: Not affected 09:35:50 Vulnerability Tsx async abort: Not affected 09:35:50 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 09:35:50 09:35:50 09:35:50 ---> nproc: 09:35:50 8 09:35:50 09:35:50 09:35:50 ---> df -h: 09:35:50 Filesystem Size Used Avail Use% Mounted on 09:35:50 overlay 155G 12G 144G 8% / 09:35:50 tmpfs 64M 0 64M 0% /dev 09:35:50 tmpfs 16G 0 16G 0% /sys/fs/cgroup 09:35:50 shm 64M 0 64M 0% /dev/shm 09:35:50 /dev/vda1 155G 12G 144G 8% /facter-os 09:35:50 09:35:50 09:35:50 ---> sar -b -r -n DEV: 09:35:50 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40177) 03/04/25 _x86_64_ (8 CPU) 09:35:50 09:35:50 09:32:14 LINUX RESTART (8 CPU) 09:35:50 09:35:50 09:33:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:35:50 09:34:01 337.39 5.63 331.76 0.00 470.38 104729.36 0.00 09:35:50 09:35:01 124.11 0.20 123.91 0.00 14.53 21975.94 0.00 09:35:50 Average: 230.76 2.92 227.84 0.00 242.47 63356.09 0.00 09:35:50 09:35:50 09:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:35:50 09:34:01 27458472 31547368 771880 2.35 181948 3998844 1851860 5.46 1129420 3725584 0 09:35:50 09:35:01 27666024 31421868 886572 2.70 192100 3671396 2382088 7.02 1508504 3144508 168764 09:35:50 Average: 27562248 31484618 829226 2.52 187024 3835120 2116974 6.24 1318962 3435046 84382 09:35:50 09:35:50 09:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:35:50 09:34:01 ens3 645.28 401.28 7051.13 53.40 0.00 0.00 0.00 0.00 09:35:50 09:34:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 09:35:50 09:34:01 docker0 306.40 476.94 26.12 3082.98 0.00 0.00 0.00 0.00 09:35:50 09:35:01 ens3 50.89 27.26 87.28 16.81 0.00 0.00 0.00 0.00 09:35:50 09:35:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 09:35:50 09:35:01 docker0 1.40 3.23 0.08 38.14 0.00 0.00 0.00 0.00 09:35:50 09:35:01 veth489ad01 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 09:35:50 Average: ens3 348.11 214.29 3569.49 35.11 0.00 0.00 0.00 0.00 09:35:50 Average: lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 09:35:50 Average: docker0 153.91 240.11 13.11 1560.68 0.00 0.00 0.00 0.00 09:35:50 Average: veth489ad01 0.00 0.07 0.00 0.01 0.00 0.00 0.00 0.00 09:35:50 09:35:50 09:35:50 ---> sar -P ALL: 09:35:50 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40177) 03/04/25 _x86_64_ (8 CPU) 09:35:50 09:35:50 09:32:14 LINUX RESTART (8 CPU) 09:35:50 09:35:50 09:33:01 CPU %user %nice %system %iowait %steal %idle 09:35:50 09:34:01 all 11.89 0.00 5.77 1.67 0.06 80.61 09:35:50 09:34:01 0 12.01 0.00 5.65 1.78 0.07 80.49 09:35:50 09:34:01 1 11.53 0.00 7.65 7.45 0.07 73.30 09:35:50 09:34:01 2 12.80 0.00 4.89 0.12 0.07 82.12 09:35:50 09:34:01 3 12.23 0.00 5.57 0.15 0.07 81.98 09:35:50 09:34:01 4 12.19 0.00 4.78 0.32 0.05 82.66 09:35:50 09:34:01 5 11.44 0.00 5.88 2.86 0.07 79.75 09:35:50 09:34:01 6 10.81 0.00 4.91 0.29 0.05 83.94 09:35:50 09:34:01 7 12.07 0.00 6.84 0.44 0.07 80.59 09:35:50 09:35:01 all 51.00 0.00 8.55 0.44 0.09 39.91 09:35:50 09:35:01 0 50.71 0.00 7.74 0.30 0.08 41.16 09:35:50 09:35:01 1 52.19 0.00 8.64 0.10 0.08 38.98 09:35:50 09:35:01 2 51.92 0.00 8.17 0.30 0.08 39.53 09:35:50 09:35:01 3 49.43 0.00 9.28 0.13 0.08 41.07 09:35:50 09:35:01 4 51.25 0.00 8.57 0.12 0.10 39.96 09:35:50 09:35:01 5 50.81 0.00 8.94 0.79 0.10 39.36 09:35:50 09:35:01 6 51.35 0.00 8.69 0.19 0.08 39.69 09:35:50 09:35:01 7 50.38 0.00 8.37 1.59 0.10 39.56 09:35:50 Average: all 31.49 0.00 7.16 1.05 0.08 60.22 09:35:50 Average: 0 31.42 0.00 6.70 1.04 0.08 60.77 09:35:50 Average: 1 31.97 0.00 8.15 3.75 0.08 56.05 09:35:50 Average: 2 32.38 0.00 6.53 0.21 0.08 60.81 09:35:50 Average: 3 30.87 0.00 7.43 0.14 0.08 61.48 09:35:50 Average: 4 31.74 0.00 6.68 0.22 0.08 61.28 09:35:50 Average: 5 31.14 0.00 7.41 1.83 0.08 59.54 09:35:50 Average: 6 31.14 0.00 6.81 0.24 0.07 61.75 09:35:50 Average: 7 31.25 0.00 7.61 1.01 0.08 60.05 09:35:50 09:35:50 09:35:50