Pull request #354 updated 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 1f1856f1b7f2363402e2c1fda321dea5223c8978+c4fcf13dda2872150eef0ffad2fcf99f13027de9 (b29abc10776b2a6abf278250b962cfc22bd123b2) 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-ssh17761114129585284031.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-ssh9471743891829305408.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-ssh9589587536415906288.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-ssh10224723608036496967.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-ssh15532072990274858924.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-40288’ Running on prd-ubuntu20.04-docker-8c-8g-40301 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 Merging remotes/origin/main commit c4fcf13dda2872150eef0ffad2fcf99f13027de9 into PR head commit 1f1856f1b7f2363402e2c1fda321dea5223c8978 Merge succeeded, producing 7349e2e03a0100c4e2b59e111e5d325c58f4a5cf Checking out Revision 7349e2e03a0100c4e2b59e111e5d325c58f4a5cf (PR-354) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f1856f1b7f2363402e2c1fda321dea5223c8978 # 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 7349e2e03a0100c4e2b59e111e5d325c58f4a5cf # timeout=10 Commit message: "Merge commit 'c4fcf13dda2872150eef0ffad2fcf99f13027de9' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk b3956b3b6f67f4a29ec38240569de1af74a30b75 # timeout=10 [Pipeline] timeout 10:19:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:19:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:19:40 ========================================================= 10:19:40 EdgeX Global Pipelines Version Info 10:19:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:19:41 ------------------- 10:19:41 stable info: 10:19:41 ------------------- 10:19:41 Commited By: Cherry Wang cherry@iotechsys.com 10:19:41 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:19:41 Message: update stable to v1.0.269 10:19:41 ------------------- 10:19:41 experimental info: 10:19:41 ------------------- 10:19:41 Commited By: Ginny Guan ginny@iotechsys.com 10:19:41 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:19:41 Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:19:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 10:19:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 10:19:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:19:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:19:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:19:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:19:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:19:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:19:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:19:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:19:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7349e2e03a0100c4e2b59e111e5d325c58f4a5cf [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7349e2e [Pipeline] echo 10:19:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:19:42 provisioning config files... 10:19:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/config4056484916621283174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:42 ---> ****-login.sh 10:19:42 nexus3.edgexfoundry.org:10001 10:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:43 Configure a credential helper to remove this warning. See 10:19:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:43 10:19:43 Login Succeeded 10:19:43 nexus3.edgexfoundry.org:10002 10:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:43 Configure a credential helper to remove this warning. See 10:19:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:43 10:19:43 Login Succeeded 10:19:43 nexus3.edgexfoundry.org:10003 10:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:43 Configure a credential helper to remove this warning. See 10:19:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:43 10:19:43 Login Succeeded 10:19:43 nexus3.edgexfoundry.org:10004 10:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:43 Configure a credential helper to remove this warning. See 10:19:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:43 10:19:43 Login Succeeded 10:19:43 ****.io 10:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:43 Configure a credential helper to remove this warning. See 10:19:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:43 10:19:43 Login Succeeded 10:19:43 ---> ****-login.sh ends [Pipeline] } 10:19:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:19:44 + git rev-list -1 --merges 7349e2e03a0100c4e2b59e111e5d325c58f4a5cf~1..7349e2e03a0100c4e2b59e111e5d325c58f4a5cf [Pipeline] echo 10:19:44 -----------> git rev-list -1 --merges 7349e2e03a0100c4e2b59e111e5d325c58f4a5cf~1..7349e2e03a0100c4e2b59e111e5d325c58f4a5cf 7349e2e03a0100c4e2b59e111e5d325c58f4a5cf 10:19:44 7349e2e03a0100c4e2b59e111e5d325c58f4a5cf [false] [Pipeline] sh 10:19:44 + git log --format=format:%s -1 7349e2e03a0100c4e2b59e111e5d325c58f4a5cf [Pipeline] echo 10:19:44 ========================================================= 10:19:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:19:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:19:44 + git log --format=format:%s -1 7349e2e03a0100c4e2b59e111e5d325c58f4a5cf [Pipeline] echo 10:19:44 [semverPrep] GIT_COMMIT: 7349e2e03a0100c4e2b59e111e5d325c58f4a5cf, Commit Message: Merge commit 'c4fcf13dda2872150eef0ffad2fcf99f13027de9' into HEAD [Pipeline] echo 10:19:44 [semverPrep] This is not a build commit. [Pipeline] sh 10:19:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:19:45 + grep -v github /etc/ssh/ssh_known_hosts 10:19:45 + [ -e /tmp/ssh_known_hosts ] 10:19:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:19:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:19:45 + sudo tee -a /etc/ssh/ssh_known_hosts 10:19:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:19:45 10:19:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:19:45 0.1.4: Pulling from edgex-devops/py-git-semver 10:19:45 b85a868b505f: Pulling fs layer 10:19:45 e2be974225ed: Pulling fs layer 10:19:45 339a4e72a1f5: Pulling fs layer 10:19:45 988bab9f4d93: Pulling fs layer 10:19:45 1469e6f7b9e6: Pulling fs layer 10:19:45 988bab9f4d93: Waiting 10:19:45 eaf3925da568: Pulling fs layer 10:19:45 bab4dde63d76: Pulling fs layer 10:19:45 1469e6f7b9e6: Waiting 10:19:45 bde34c3a00c8: Pulling fs layer 10:19:45 b352a97aabf1: Pulling fs layer 10:19:45 eaf3925da568: Waiting 10:19:45 bab4dde63d76: Waiting 10:19:45 4872d77fe225: Pulling fs layer 10:19:45 5851b861e8e6: Pulling fs layer 10:19:45 b352a97aabf1: Waiting 10:19:45 5851b861e8e6: Waiting 10:19:45 e2be974225ed: Verifying Checksum 10:19:45 e2be974225ed: Download complete 10:19:45 988bab9f4d93: Download complete 10:19:45 1469e6f7b9e6: Verifying Checksum 10:19:45 1469e6f7b9e6: Download complete 10:19:45 339a4e72a1f5: Verifying Checksum 10:19:45 339a4e72a1f5: Download complete 10:19:45 eaf3925da568: Verifying Checksum 10:19:45 eaf3925da568: Download complete 10:19:46 bde34c3a00c8: Verifying Checksum 10:19:46 bde34c3a00c8: Download complete 10:19:46 b352a97aabf1: Download complete 10:19:46 4872d77fe225: Verifying Checksum 10:19:46 4872d77fe225: Download complete 10:19:46 5851b861e8e6: Verifying Checksum 10:19:46 5851b861e8e6: Download complete 10:19:46 b85a868b505f: Download complete 10:19:46 bab4dde63d76: Verifying Checksum 10:19:46 bab4dde63d76: Download complete 10:19:47 b85a868b505f: Pull complete 10:19:47 e2be974225ed: Pull complete 10:19:47 339a4e72a1f5: Pull complete 10:19:47 988bab9f4d93: Pull complete 10:19:48 1469e6f7b9e6: Pull complete 10:19:48 eaf3925da568: Pull complete 10:19:50 bab4dde63d76: Pull complete 10:19:50 bde34c3a00c8: Pull complete 10:19:50 b352a97aabf1: Pull complete 10:19:50 4872d77fe225: Pull complete 10:19:50 5851b861e8e6: Pull complete 10:19:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:19:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:19:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:50 prd-ubuntu20.04-docker-8c-8g-40301 does not seem to be running inside a container 10:19:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:19:53 $ docker top bf6992deb32f715a2ca15cbe34ed20664d52ae9ab68b8fd1d4df3234abf9dc6d -eo pid,comm 10:19:53 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). 10:19:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:19:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:19:53 [ssh-agent] Looking for ssh-agent implementation... 10:19:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:19:53 $ docker exec bf6992deb32f715a2ca15cbe34ed20664d52ae9ab68b8fd1d4df3234abf9dc6d ssh-agent 10:19:53 SSH_AUTH_SOCK=/tmp/ssh-QOpYKOlfxllt/agent.32 10:19:53 SSH_AGENT_PID=39 10:19:53 Running ssh-add (command line suppressed) 10:19:53 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/private_key_14440747458640063209.key (/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/private_key_14440747458640063209.key) 10:19:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:19:54 + git tag --points-at HEAD [Pipeline] } 10:19:54 $ docker exec --env ******** --env ******** bf6992deb32f715a2ca15cbe34ed20664d52ae9ab68b8fd1d4df3234abf9dc6d ssh-agent -k 10:19:54 unset SSH_AUTH_SOCK; 10:19:54 unset SSH_AGENT_PID; 10:19:54 echo Agent pid 39 killed; 10:19:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:19:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:19:54 [ssh-agent] Looking for ssh-agent implementation... 10:19:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:19:54 $ docker exec bf6992deb32f715a2ca15cbe34ed20664d52ae9ab68b8fd1d4df3234abf9dc6d ssh-agent 10:19:54 SSH_AUTH_SOCK=/tmp/ssh-KuARGmEx6fxx/agent.72 10:19:54 SSH_AGENT_PID=78 10:19:54 Running ssh-add (command line suppressed) 10:19:54 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/private_key_16581201971130162610.key (/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/private_key_16581201971130162610.key) 10:19:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:19:54 + git semver init 10:19:55 2025-03-05 10:19:55,014 [run_init] DEBUG init version:0.0.0 force:False 10:19:55 2025-03-05 10:19:55,016 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-354/.semver 10:19:55 2025-03-05 10:19:55,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-354/.semver 10:19:55 2025-03-05 10:19:55,016 [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) 10:19:57 2025-03-05 10:19:56,603 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-354/.git/info/exclude 10:19:57 2025-03-05 10:19:56,604 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-354/.semver/PR-354 with force:False 10:19:57 2025-03-05 10:19:56,604 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-354/.semver/PR-354 10:19:57 2025-03-05 10:19:56,609 [execute] INFO git cat-file --batch-check 10:19:57 2025-03-05 10:19:56,609 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) 10:19:57 2025-03-05 10:19:56,616 [execute] INFO git cat-file --batch 10:19:57 2025-03-05 10:19:56,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) 10:19:57 2025-03-05 10:19:56,622 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-354/.semver/PR-354 10:19:57 0.0.0 [Pipeline] } 10:19:57 $ docker exec --env ******** --env ******** bf6992deb32f715a2ca15cbe34ed20664d52ae9ab68b8fd1d4df3234abf9dc6d ssh-agent -k 10:19:57 unset SSH_AUTH_SOCK; 10:19:57 unset SSH_AGENT_PID; 10:19:57 echo Agent pid 78 killed; 10:19:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:19:57 + git semver [Pipeline] } 10:19:57 $ docker stop --time=1 bf6992deb32f715a2ca15cbe34ed20664d52ae9ab68b8fd1d4df3234abf9dc6d 10:19:59 $ docker rm -f --volumes bf6992deb32f715a2ca15cbe34ed20664d52ae9ab68b8fd1d4df3234abf9dc6d [Pipeline] // withDockerContainer [Pipeline] sh 10:19:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:20:00 Stashed 1 file(s) [Pipeline] echo 10:20:00 [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 10:20:00 provisioning config files... 10:20:00 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/config7585964306992548304tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 10:20:00 ---> ****-login.sh 10:20:00 nexus3.edgexfoundry.org:10001 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:00 Configure a credential helper to remove this warning. See 10:20:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:00 10:20:00 Login Succeeded 10:20:00 nexus3.edgexfoundry.org:10002 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:00 Configure a credential helper to remove this warning. See 10:20:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:00 10:20:00 Login Succeeded 10:20:00 nexus3.edgexfoundry.org:10003 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:00 Configure a credential helper to remove this warning. See 10:20:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:00 10:20:00 Login Succeeded 10:20:00 nexus3.edgexfoundry.org:10004 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:00 Configure a credential helper to remove this warning. See 10:20:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:00 10:20:00 Login Succeeded 10:20:00 ****.io 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:01 Configure a credential helper to remove this warning. See 10:20:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:01 10:20:01 Login Succeeded 10:20:01 ---> ****-login.sh ends [Pipeline] } 10:20:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:20:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:20:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:20:01 ========================================================= 10:20:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:20:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:01 + 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 . 10:20:01 Sending build context to Docker daemon 20.01MB 10:20:01 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 10:20:01 Step 2/12 : FROM ${BASE} AS builder 10:20:01 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:20:01 da9db072f522: Pulling fs layer 10:20:01 6ef4a4ee8ca5: Pulling fs layer 10:20:01 06f05ace1117: Pulling fs layer 10:20:01 5fe327b54edc: Pulling fs layer 10:20:01 4f4fb700ef54: Pulling fs layer 10:20:01 92a5565b7b96: Pulling fs layer 10:20:01 ff9bb7016b71: Pulling fs layer 10:20:01 b67dba6c2c7d: Pulling fs layer 10:20:01 a813b0c90790: Pulling fs layer 10:20:01 92a5565b7b96: Waiting 10:20:01 b67dba6c2c7d: Waiting 10:20:01 a813b0c90790: Waiting 10:20:01 ff9bb7016b71: Waiting 10:20:01 5fe327b54edc: Waiting 10:20:01 6ef4a4ee8ca5: Verifying Checksum 10:20:01 6ef4a4ee8ca5: Download complete 10:20:01 5fe327b54edc: Verifying Checksum 10:20:01 5fe327b54edc: Download complete 10:20:01 4f4fb700ef54: Verifying Checksum 10:20:01 4f4fb700ef54: Download complete 10:20:01 da9db072f522: Download complete 10:20:01 92a5565b7b96: Download complete 10:20:01 ff9bb7016b71: Verifying Checksum 10:20:01 ff9bb7016b71: Download complete 10:20:01 da9db072f522: Pull complete 10:20:02 a813b0c90790: Verifying Checksum 10:20:02 a813b0c90790: Download complete 10:20:02 6ef4a4ee8ca5: Pull complete 10:20:02 06f05ace1117: Verifying Checksum 10:20:02 06f05ace1117: Download complete 10:20:02 b67dba6c2c7d: Verifying Checksum 10:20:02 b67dba6c2c7d: Download complete 10:20:06 06f05ace1117: Pull complete 10:20:06 5fe327b54edc: Pull complete 10:20:06 4f4fb700ef54: Pull complete 10:20:06 92a5565b7b96: Pull complete 10:20:06 ff9bb7016b71: Pull complete 10:20:08 b67dba6c2c7d: Pull complete 10:20:08 a813b0c90790: Pull complete 10:20:08 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 10:20:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:20:08 ---> 3ba60ce46760 10:20:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:20:13 ---> Running in 89ce8ad1d422 10:20:14 Removing intermediate container 89ce8ad1d422 10:20:14 ---> 6381d7fa63bf 10:20:14 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:20:14 ---> Running in 2559d98acb9b 10:20:14 Removing intermediate container 2559d98acb9b 10:20:14 ---> 60b23beac1f7 10:20:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:20:14 ---> Running in cbcc60823c80 10:20:15 Removing intermediate container cbcc60823c80 10:20:15 ---> 61864e5edf69 10:20:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:20:15 ---> Running in 1e1fb1de51cb 10:20:15 Removing intermediate container 1e1fb1de51cb 10:20:15 ---> 690d1fdf358c 10:20:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:20:15 ---> Running in 5a1c42c3ff53 10:20:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:20:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:20:16 (1/4) Installing openssh-keygen (9.7_p1-r5) 10:20:16 (2/4) Installing libedit (20240517.3.1-r0) 10:20:16 (3/4) Installing openssh-client-common (9.7_p1-r5) 10:20:16 (4/4) Installing openssh-client-default (9.7_p1-r5) 10:20:16 Executing busybox-1.36.1-r29.trigger 10:20:17 OK: 252 MiB in 62 packages 10:20:18 Removing intermediate container 5a1c42c3ff53 10:20:18 ---> b97fc5921d53 10:20:18 Step 8/12 : WORKDIR /device-snmp-go 10:20:18 ---> Running in 1e5d50cbc811 10:20:18 Removing intermediate container 1e5d50cbc811 10:20:18 ---> de42ff78237f 10:20:18 Step 9/12 : COPY go.mod vendor* ./ 10:20:18 ---> 0f458ed0db43 10:20:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:20:18 ---> Running in 516501f78ac1 10:21:05 Removing intermediate container 516501f78ac1 10:21:05 ---> c41f22b763ad 10:21:05 Step 11/12 : COPY . . 10:21:05 ---> 186cf33a26aa 10:21:05 Step 12/12 : RUN ${MAKE} 10:21:05 ---> Running in 245470f2d041 10:21:05 noop 10:21:05 Removing intermediate container 245470f2d041 10:21:05 ---> 800c0f304b7e 10:21:05 Successfully built 800c0f304b7e 10:21:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:06 + docker inspect -f . ci-base-image-x86_64 10:21:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:06 prd-ubuntu20.04-docker-8c-8g-40301 does not seem to be running inside a container 10:21:06 $ 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 ******** ci-base-image-x86_64 cat 10:21:06 $ docker top 493959badd6fd68864a0ec3cedd9ffeb5297c6771433476a5301226345cc4ed5 -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:06 + go version 10:21:06 go version go1.23.4 linux/amd64 [Pipeline] } 10:21:06 $ docker stop --time=1 493959badd6fd68864a0ec3cedd9ffeb5297c6771433476a5301226345cc4ed5 10:21:08 $ docker rm -f --volumes 493959badd6fd68864a0ec3cedd9ffeb5297c6771433476a5301226345cc4ed5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:08 + docker inspect -f . ci-base-image-x86_64 10:21:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:08 prd-ubuntu20.04-docker-8c-8g-40301 does not seem to be running inside a container 10:21:08 $ 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 ******** ci-base-image-x86_64 cat 10:21:09 $ docker top 450d9d93ce9218e1719aa6f697f52821bd8087015a3b608509bb2fabe78d0339 -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-354 [Pipeline] fileExists [Pipeline] sh 10:21:09 + make test 10:21:09 go test ./... -coverprofile=coverage.out 10:21:11 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:21:29 github.com/edgexfoundry/device-snmp-go/cmd coverage: 0.0% of statements 10:21:29 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 10:21:39 go vet ./... 10:21:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:21:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:21:45 ./bin/test-attribution-txt.sh [Pipeline] echo 10:21:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:21:45 $ docker stop --time=1 450d9d93ce9218e1719aa6f697f52821bd8087015a3b608509bb2fabe78d0339 10:21:53 $ docker rm -f --volumes 450d9d93ce9218e1719aa6f697f52821bd8087015a3b608509bb2fabe78d0339 [Pipeline] // withDockerContainer [Pipeline] sh 10:21:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:21:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:21:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:21:55 + ls -al . 10:21:55 total 236 10:21:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 10:21 . 10:21:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 10:19 .. 10:21:55 -rw-rw-r-- 1 jenkins jenkins 6 Mar 5 10:19 .dockerignore 10:21:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 10:21 .git 10:21:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:19 .github 10:21:55 -rw-rw-r-- 1 jenkins jenkins 263 Mar 5 10:19 .gitignore 10:21:55 -rw-rw-r-- 1 jenkins jenkins 199 Mar 5 10:19 .golangci.yml 10:21:55 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 10:19 .semver 10:21:55 -rw-rw-r-- 1 jenkins jenkins 18843 Mar 5 10:19 Attribution.txt 10:21:55 -rw-rw-r-- 1 jenkins jenkins 12273 Mar 5 10:19 CHANGELOG.md 10:21:55 -rw-rw-r-- 1 jenkins jenkins 1571 Mar 5 10:19 Dockerfile 10:21:55 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 10:19 GOVERNANCE.md 10:21:55 -rw-rw-r-- 1 jenkins jenkins 656 Mar 5 10:19 Jenkinsfile 10:21:55 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 5 10:19 LICENSE 10:21:55 -rw-rw-r-- 1 jenkins jenkins 2240 Mar 5 10:19 Makefile 10:21:55 -rw-rw-r-- 1 jenkins jenkins 620 Mar 5 10:19 OWNERS.md 10:21:55 -rw-rw-r-- 1 jenkins jenkins 10477 Mar 5 10:19 README.md 10:21:55 -rw-rw-r-- 1 jenkins jenkins 5 Mar 5 10:19 VERSION 10:21:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 10:19 bin 10:21:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:19 cmd 10:21:55 -rw-r--r-- 1 jenkins jenkins 8903 Mar 5 10:21 coverage.out 10:21:55 -rw-rw-r-- 1 jenkins jenkins 6154 Mar 5 10:19 go.mod 10:21:55 -rw-rw-r-- 1 jenkins jenkins 87041 Mar 5 10:19 go.sum 10:21:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 10:19 internal 10:21:55 -rw-rw-r-- 1 jenkins jenkins 228 Mar 5 10:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:55 + 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=7349e2e03a0100c4e2b59e111e5d325c58f4a5cf --label arch=amd64 --label version=0.0.0 . 10:21:55 Sending build context to Docker daemon 20.02MB 10:21:55 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 10:21:55 Step 2/25 : FROM ${BASE} AS builder 10:21:55 ---> 800c0f304b7e 10:21:55 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:21:56 ---> Running in ec3a26419cba 10:21:56 Removing intermediate container ec3a26419cba 10:21:56 ---> dbe045be29bc 10:21:56 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:21:56 ---> Running in 30cdd011a8d8 10:21:56 Removing intermediate container 30cdd011a8d8 10:21:56 ---> 8490b59bd630 10:21:56 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:21:57 ---> Running in b21b9e7c19fb 10:21:57 Removing intermediate container b21b9e7c19fb 10:21:57 ---> f28b26e85bc4 10:21:57 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:21:57 ---> Running in 9f889fb1570b 10:21:57 Removing intermediate container 9f889fb1570b 10:21:57 ---> 569663d1c66b 10:21:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:21:57 ---> Running in de5b0290fba2 10:21:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:21:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:21:58 OK: 252 MiB in 62 packages 10:21:59 Removing intermediate container de5b0290fba2 10:21:59 ---> 4862633f2a4b 10:21:59 Step 8/25 : WORKDIR /device-snmp-go 10:21:59 ---> Running in 7afd34b7f457 10:21:59 Removing intermediate container 7afd34b7f457 10:21:59 ---> a297e5b319f7 10:21:59 Step 9/25 : COPY go.mod vendor* ./ 10:21:59 ---> a4517eb4f5f8 10:21:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:21:59 ---> Running in 48a4b03d8fb7 10:22:00 Removing intermediate container 48a4b03d8fb7 10:22:00 ---> 831bc1d1b59a 10:22:00 Step 11/25 : COPY . . 10:22:01 ---> 587155c2ccde 10:22:01 Step 12/25 : RUN ${MAKE} 10:22:01 ---> Running in 16c67f82359e 10:22:02 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 10:22:29 Cannot contact prd-ubuntu20.04-docker-8c-8g-40301: java.lang.InterruptedException 10:22:47 Removing intermediate container 16c67f82359e 10:22:47 ---> 91dd9c3be021 10:22:47 Step 13/25 : FROM alpine:3.20 10:22:47 3.20: Pulling from library/alpine 10:22:47 0a9a5dfd008f: Pulling fs layer 10:22:47 0a9a5dfd008f: Verifying Checksum 10:22:47 0a9a5dfd008f: Download complete 10:22:47 0a9a5dfd008f: Pull complete 10:22:47 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 10:22:47 Status: Downloaded newer image for alpine:3.20 10:22:47 ---> ff221270b9fb 10:22:47 Step 14/25 : RUN apk add --update --no-cache dumb-init 10:22:47 ---> Running in 6f14085556c4 10:22:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:22:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:22:47 (1/1) Installing dumb-init (1.2.5-r3) 10:22:47 Executing busybox-1.36.1-r29.trigger 10:22:47 OK: 8 MiB in 15 packages 10:22:47 Removing intermediate container 6f14085556c4 10:22:47 ---> fcd9fa2340e6 10:22:47 Step 15/25 : RUN apk --no-cache upgrade 10:22:47 ---> Running in db9925b4ed8c 10:22:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:22:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:22:47 OK: 8 MiB in 15 packages 10:22:47 Removing intermediate container db9925b4ed8c 10:22:47 ---> b09c5bd5ad39 10:22:47 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 10:22:47 ---> 31cbd6e13c9a 10:22:47 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:22:47 ---> a32be9008e16 10:22:47 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 10:22:47 ---> cecfa319d967 10:22:47 Step 19/25 : EXPOSE 59993 10:22:47 ---> Running in 09508445d9a9 10:22:47 Removing intermediate container 09508445d9a9 10:22:47 ---> 43525756b42d 10:22:47 Step 20/25 : EXPOSE 161 10:22:47 ---> Running in 9419cc90cb1c 10:22:47 Removing intermediate container 9419cc90cb1c 10:22:47 ---> ed3733cb18c4 10:22:47 Step 21/25 : ENTRYPOINT ["/device-snmp"] 10:22:47 ---> Running in 6b221d728397 10:22:47 Removing intermediate container 6b221d728397 10:22:47 ---> c4dd56549638 10:22:47 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 10:22:47 ---> Running in 80d4ab2b90b4 10:22:47 Removing intermediate container 80d4ab2b90b4 10:22:47 ---> 686e867d9956 10:22:47 Step 23/25 : LABEL arch=amd64 10:22:47 ---> Running in c0baeb6a82e1 10:22:47 Removing intermediate container c0baeb6a82e1 10:22:47 ---> 6950896729a5 10:22:47 Step 24/25 : LABEL git_sha=7349e2e03a0100c4e2b59e111e5d325c58f4a5cf 10:22:47 ---> Running in 0e5cb97ae282 10:22:47 Removing intermediate container 0e5cb97ae282 10:22:47 ---> bbe6b9691d07 10:22:47 Step 25/25 : LABEL version=0.0.0 10:22:47 ---> Running in 6904668a112e 10:22:47 Removing intermediate container 6904668a112e 10:22:47 ---> 23afab41d431 10:22:47 [Warning] One or more build-args [ARCH] were not consumed 10:22:47 Successfully built 23afab41d431 10:22:47 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 10:22:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:22:48 10:22:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:22:55 latest: Pulling from edgex-lftools-log-publisher 10:22:55 5eb5b503b376: Pulling fs layer 10:22:55 5c69ac0246d0: Pulling fs layer 10:22:55 ec43610c2a17: Pulling fs layer 10:22:55 3a2ae6a8a46f: Pulling fs layer 10:22:55 33b1e0a273af: Pulling fs layer 10:22:55 5d3b04190fa2: Pulling fs layer 10:22:55 2f39f015ded8: Pulling fs layer 10:22:55 3a2ae6a8a46f: Waiting 10:22:55 33b1e0a273af: Waiting 10:22:55 5d3b04190fa2: Waiting 10:22:55 2f39f015ded8: Waiting 10:22:55 5c69ac0246d0: Verifying Checksum 10:22:55 5c69ac0246d0: Download complete 10:22:55 3a2ae6a8a46f: Verifying Checksum 10:22:55 3a2ae6a8a46f: Download complete 10:22:55 33b1e0a273af: Verifying Checksum 10:22:55 33b1e0a273af: Download complete 10:22:55 5d3b04190fa2: Verifying Checksum 10:22:55 5d3b04190fa2: Download complete 10:22:55 ec43610c2a17: Verifying Checksum 10:22:55 ec43610c2a17: Download complete 10:22:55 5eb5b503b376: Verifying Checksum 10:22:55 5eb5b503b376: Download complete 10:22:56 2f39f015ded8: Download complete 10:22:57 5eb5b503b376: Pull complete 10:22:57 5c69ac0246d0: Pull complete 10:22:57 ec43610c2a17: Pull complete 10:22:57 3a2ae6a8a46f: Pull complete 10:22:58 33b1e0a273af: Pull complete 10:22:58 5d3b04190fa2: Pull complete 10:23:02 2f39f015ded8: Pull complete 10:23:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:23:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:23:02 prd-ubuntu20.04-docker-8c-8g-40301 does not seem to be running inside a container 10:23:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:23:06 $ docker top 2d4e127893fe1c155f8930cc9351c03b845cbbb1519b3e0f819a0ef169f06595 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:06 ---> job-cost.sh 10:23:06 lf-activate-venv: SKIPPING 10:23:06 INFO: No Stack... 10:23:07 INFO: Retrieving Pricing Info for: v3-standard-8 10:23:07 INFO: Archiving Costs [Pipeline] sh 10:23:07 + cat /w/workspace/gexfoundry_device-snmp-go_PR-354/archives/cost.csv 10:23:07 + cut -d, -f6 [Pipeline] lock 10:23:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-354-3-stack-cost] 10:23:07 Resource [jenkins-edgexfoundry-device-snmp-go-PR-354-3-stack-cost] did not exist. Created. 10:23:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-354-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:23:07 + echo total: 0.2199999988079071 [Pipeline] stash 10:23:07 Stashed 1 file(s) [Pipeline] } 10:23:07 Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-PR-354-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:23:07 $ docker stop --time=1 2d4e127893fe1c155f8930cc9351c03b845cbbb1519b3e0f819a0ef169f06595 10:23:09 $ docker rm -f --volumes 2d4e127893fe1c155f8930cc9351c03b845cbbb1519b3e0f819a0ef169f06595 [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 10:23:09 provisioning config files... 10:23:09 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/config15588537602433032717tmp [Pipeline] { [Pipeline] sh 10:23:09 + set +x 10:23:09 + curl -s https://codecov.io/bash 10:23:09 + bash -s -- 10:23:09 10:23:09 _____ _ 10:23:09 / ____| | | 10:23:09 | | ___ __| | ___ ___ _____ __ 10:23:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:23:09 | |___| (_) | (_| | __/ (_| (_) \ V / 10:23:09 \_____\___/ \__,_|\___|\___\___/ \_/ 10:23:09 Bash-1.0.6 10:23:09 10:23:09 10:23:09 ==> git version 2.25.1 found 10:23:09 ==> 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 10:23:09 Release-Date: 2020-01-08 10:23:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:23:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:23:09 ==> Jenkins CI detected. 10:23:09 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-354 10:23:09 project root: . 10:23:09 --> token set from env 10:23:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:23:09 ==> Running gcov in . (disable via -X gcov) 10:23:09 ==> Python coveragepy not found 10:23:09 ==> Searching for coverage reports in: 10:23:09 + . 10:23:09 -> Found 1 reports 10:23:09 ==> Detecting git/mercurial file structure 10:23:09 ==> Reading reports 10:23:09 + ./coverage.out bytes=8903 10:23:09 ==> Appending adjustments 10:23:09 https://docs.codecov.io/docs/fixing-reports 10:23:09 + Found adjustments 10:23:09 ==> Gzipping contents 10:23:09 4.0K /tmp/codecov.R29OXe.gz 10:23:09 ==> Uploading reports 10:23:09 url: https://codecov.io 10:23:09 query: branch=PR-354&commit=7349e2e03a0100c4e2b59e111e5d325c58f4a5cf&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-354%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=354&job=&cmd_args= 10:23:09 -> Pinging Codecov 10:23:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-354&commit=7349e2e03a0100c4e2b59e111e5d325c58f4a5cf&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-354%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=354&job=&cmd_args= 10:23:10 -> Uploading to 10:23:10 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-snmp-go/7349e2e03a0100c4e2b59e111e5d325c58f4a5cf/f03f553a-491e-431e-8e6d-529fd4ad3058.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250305%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250305T102309Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=7c4500b94dfac59b1f4dc9bba6cdb955c7a1e5ac5b0057083fd83b9ca1085a15 10:23:10 % Total % Received % Xferd Average Speed Time Time Time Current 10:23:10 Dload Upload Total Spent Left Speed 10:23:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 4608 --:--:-- --:--:-- --:--:-- 4608 10:23:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/7349e2e03a0100c4e2b59e111e5d325c58f4a5cf [Pipeline] } 10:23:10 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 10:23:11 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-354/archives ] 10:23:11 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-354/archives 10:23:11 total 16 10:23:11 drwxr-xr-x 3 root root 4096 Mar 5 10:23 . 10:23:11 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 10:23 .. 10:23:11 drwxr-xr-x 2 root root 4096 Mar 5 10:23 cost 10:23:11 -rw-r--r-- 1 root root 86 Mar 5 10:23 cost.csv 10:23:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-354/archives 10:23:11 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-354/archives 10:23:11 total 16 10:23:11 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 10:23 . 10:23:11 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 10:23 .. 10:23:11 drwxr-xr-x 2 jenkins jenkins 4096 Mar 5 10:23 cost 10:23:11 -rw-r--r-- 1 jenkins jenkins 86 Mar 5 10:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:23:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:23:12 ---> package-listing.sh 10:23:12 ++ facter osfamily 10:23:12 ++ tr '[:upper:]' '[:lower:]' 10:23:12 + OS_FAMILY=debian 10:23:12 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-354 10:23:12 + START_PACKAGES=/tmp/packages_start.txt 10:23:12 + END_PACKAGES=/tmp/packages_end.txt 10:23:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:23:12 + PACKAGES=/tmp/packages_start.txt 10:23:12 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-354 ']' 10:23:12 + PACKAGES=/tmp/packages_end.txt 10:23:12 + case "${OS_FAMILY}" in 10:23:12 + dpkg -l 10:23:12 + grep '^ii' 10:23:12 + '[' -f /tmp/packages_start.txt ']' 10:23:12 + '[' -f /tmp/packages_end.txt ']' 10:23:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:23:12 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-354 ']' 10:23:12 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-354/archives/ 10:23:12 + 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 10:23:12 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 10:23:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:23:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:23:13 prd-ubuntu20.04-docker-8c-8g-40301 does not seem to be running inside a container 10:23:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:23:14 $ docker top 3c32f8f7367555a655927acfd69098fa8ea777c9f5e978a86af3eaa25b03d7e9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:23:14 + touch /tmp/pre-build-complete [Pipeline] sh 10:23:14 + mkdir -p /var/log/sysstat [Pipeline] sh 10:23:15 + ls /var/log/sa-host 10:23:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:23:15 provisioning config files... 10:23:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-354@tmp/config12234079231004626235tmp [Pipeline] { [Pipeline] echo 10:23:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:23:15 ---> create-netrc.sh [Pipeline] } 10:23:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:23:16 ---> python-tools-install.sh [Pipeline] echo 10:23:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:23:16 ---> sudo-logs.sh 10:23:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:23:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:23:16 ---> job-cost.sh 10:23:16 lf-activate-venv: SKIPPING 10:23:16 DEBUG: total: 0.2199999988079071 10:23:16 INFO: Retrieving Stack Cost... 10:23:16 INFO: Retrieving Pricing Info for: v3-standard-8 10:23:17 INFO: Archiving Costs [Pipeline] echo 10:23:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:23:17 ---> logs-deploy.sh 10:23:17 lf-activate-venv: SKIPPING 10:23:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-354/3 10:23:17 INFO: archiving workspace using pattern(s): 10:23:18 Archives upload complete. 10:23:18 INFO: archiving logs to Nexus