Pull request #365 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of whxtpbnl for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 1b78132a7ddc1ea38381ae862eb14aadbbe8f171 rather than 254f9c872e83f2ec2193a0988c016f704c430c04 Obtained Jenkinsfile from 1b78132a7ddc1ea38381ae862eb14aadbbe8f171 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-ssh747714624569424958.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh11263331176836343451.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-365/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-365/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7341550366770017284.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-365/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14620175871514688935.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9267313321900974933.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-365/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-365/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14493361768011723249.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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 ‘prd-ubuntu20.04-docker-8c-8g-44972’ is offline Running on prd-ubuntu20.04-docker-8c-8g-44992 in /w/workspace/gexfoundry_device-snmp-go_PR-365 [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-365 # 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/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1b78132a7ddc1ea38381ae862eb14aadbbe8f171 into PR head commit 254f9c872e83f2ec2193a0988c016f704c430c04 Merge succeeded, producing 254f9c872e83f2ec2193a0988c016f704c430c04 Checking out Revision 254f9c872e83f2ec2193a0988c016f704c430c04 (PR-365) > git config core.sparsecheckout # timeout=10 > git checkout -f 254f9c872e83f2ec2193a0988c016f704c430c04 # 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 1b78132a7ddc1ea38381ae862eb14aadbbe8f171 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 254f9c872e83f2ec2193a0988c016f704c430c04 # timeout=10 Commit message: "feat: Support reading multiple commands with a single request" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:30:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:30:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:30:54 ========================================================= 02:30:54 EdgeX Global Pipelines Version Info 02:30:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:30:55 ------------------- 02:30:55 stable info: 02:30:55 ------------------- 02:30:55 Commited By: Ginny Guan ginny@iotechsys.com 02:30:55 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 02:30:55 Message: update stable to v1.0.274 02:30:55 ------------------- 02:30:55 experimental info: 02:30:55 ------------------- 02:30:55 Commited By: Ginny Guan ginny@iotechsys.com 02:30:55 Commit SHA: d23c20eb9a5ec3463b7c8c72fdbb28744bcccce8 02:30:55 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:30:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 02:30:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 02:30:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:30:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:30:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:30:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:30:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:30:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:30:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:30:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:30:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:30:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 02:30:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:30:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:30:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:30:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:30:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:30:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:30:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:30:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:30:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:30:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:30:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:30:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:30:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:30:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:30:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:30:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo 02:30:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo 02:30:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo 02:30:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 254f9c872e83f2ec2193a0988c016f704c430c04 [Pipeline] echo 02:30:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 254f9c8 [Pipeline] echo 02:30:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:59 provisioning config files... 02:30:59 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-365@tmp/config11108589219695945752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:00 ---> ****-login.sh 02:31:00 nexus3.edgexfoundry.org:10001 02:31:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:00 Configure a credential helper to remove this warning. See 02:31:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:00 02:31:00 Login Succeeded 02:31:00 nexus3.edgexfoundry.org:10002 02:31:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:00 Configure a credential helper to remove this warning. See 02:31:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:00 02:31:00 Login Succeeded 02:31:00 nexus3.edgexfoundry.org:10003 02:31:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:00 Configure a credential helper to remove this warning. See 02:31:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:00 02:31:00 Login Succeeded 02:31:00 nexus3.edgexfoundry.org:10004 02:31:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:00 Configure a credential helper to remove this warning. See 02:31:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:00 02:31:00 Login Succeeded 02:31:00 ****.io 02:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:01 Configure a credential helper to remove this warning. See 02:31:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:01 02:31:01 Login Succeeded 02:31:01 ---> ****-login.sh ends [Pipeline] } 02:31:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:31:02 + git rev-list -1 --merges 254f9c872e83f2ec2193a0988c016f704c430c04~1..254f9c872e83f2ec2193a0988c016f704c430c04 [Pipeline] echo 02:31:02 -----------> git rev-list -1 --merges 254f9c872e83f2ec2193a0988c016f704c430c04~1..254f9c872e83f2ec2193a0988c016f704c430c04 254f9c872e83f2ec2193a0988c016f704c430c04 [false] [Pipeline] sh 02:31:02 + git log --format=format:%s -1 254f9c872e83f2ec2193a0988c016f704c430c04 [Pipeline] echo 02:31:02 ========================================================= 02:31:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:31:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:31:03 + git log --format=format:%s -1 254f9c872e83f2ec2193a0988c016f704c430c04 [Pipeline] echo 02:31:03 [semverPrep] GIT_COMMIT: 254f9c872e83f2ec2193a0988c016f704c430c04, Commit Message: feat: Support reading multiple commands with a single request [Pipeline] echo 02:31:03 [semverPrep] This is not a build commit. [Pipeline] sh 02:31:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:31:03 + grep -v github /etc/ssh/ssh_known_hosts 02:31:03 + [ -e /tmp/ssh_known_hosts ] 02:31:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:31:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:31:03 + sudo tee -a /etc/ssh/ssh_known_hosts 02:31:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:04 02:31:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:05 0.1.4: Pulling from edgex-devops/py-git-semver 02:31:05 b85a868b505f: Pulling fs layer 02:31:05 e2be974225ed: Pulling fs layer 02:31:05 339a4e72a1f5: Pulling fs layer 02:31:05 988bab9f4d93: Pulling fs layer 02:31:05 1469e6f7b9e6: Pulling fs layer 02:31:05 eaf3925da568: Pulling fs layer 02:31:05 bab4dde63d76: Pulling fs layer 02:31:05 bde34c3a00c8: Pulling fs layer 02:31:05 b352a97aabf1: Pulling fs layer 02:31:05 4872d77fe225: Pulling fs layer 02:31:05 5851b861e8e6: Pulling fs layer 02:31:05 bab4dde63d76: Waiting 02:31:05 bde34c3a00c8: Waiting 02:31:05 b352a97aabf1: Waiting 02:31:05 4872d77fe225: Waiting 02:31:05 5851b861e8e6: Waiting 02:31:05 988bab9f4d93: Waiting 02:31:05 1469e6f7b9e6: Waiting 02:31:05 eaf3925da568: Waiting 02:31:05 e2be974225ed: Download complete 02:31:05 988bab9f4d93: Verifying Checksum 02:31:05 988bab9f4d93: Download complete 02:31:05 1469e6f7b9e6: Verifying Checksum 02:31:05 1469e6f7b9e6: Download complete 02:31:05 eaf3925da568: Verifying Checksum 02:31:05 eaf3925da568: Download complete 02:31:05 339a4e72a1f5: Verifying Checksum 02:31:05 339a4e72a1f5: Download complete 02:31:05 bde34c3a00c8: Verifying Checksum 02:31:05 bde34c3a00c8: Download complete 02:31:05 b352a97aabf1: Verifying Checksum 02:31:05 b352a97aabf1: Download complete 02:31:05 4872d77fe225: Verifying Checksum 02:31:05 4872d77fe225: Download complete 02:31:05 5851b861e8e6: Verifying Checksum 02:31:05 5851b861e8e6: Download complete 02:31:05 b85a868b505f: Verifying Checksum 02:31:05 b85a868b505f: Download complete 02:31:05 bab4dde63d76: Verifying Checksum 02:31:05 bab4dde63d76: Download complete 02:31:06 b85a868b505f: Pull complete 02:31:06 e2be974225ed: Pull complete 02:31:07 339a4e72a1f5: Pull complete 02:31:07 988bab9f4d93: Pull complete 02:31:07 1469e6f7b9e6: Pull complete 02:31:07 eaf3925da568: Pull complete 02:31:09 bab4dde63d76: Pull complete 02:31:09 bde34c3a00c8: Pull complete 02:31:09 b352a97aabf1: Pull complete 02:31:09 4872d77fe225: Pull complete 02:31:09 5851b861e8e6: Pull complete 02:31:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:31:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:09 prd-ubuntu20.04-docker-8c-8g-44992 does not seem to be running inside a container 02:31:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-365 -v /w/workspace/gexfoundry_device-snmp-go_PR-365:/w/workspace/gexfoundry_device-snmp-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-365@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:31:14 $ docker top 1dbaf637efbdef4de60d1609edca4cae185ee4721adc3b15290fd3f8eb9f0c9a -eo pid,comm 02:31:14 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). 02:31:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:31:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:31:14 [ssh-agent] Looking for ssh-agent implementation... 02:31:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:31:14 $ docker exec 1dbaf637efbdef4de60d1609edca4cae185ee4721adc3b15290fd3f8eb9f0c9a ssh-agent 02:31:14 SSH_AUTH_SOCK=/tmp/ssh-FP8ySvnrwUZX/agent.32 02:31:14 SSH_AGENT_PID=38 02:31:14 Running ssh-add (command line suppressed) 02:31:14 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-365@tmp/private_key_10701469131429155150.key (/w/workspace/gexfoundry_device-snmp-go_PR-365@tmp/private_key_10701469131429155150.key) 02:31:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:31:15 + git tag --points-at HEAD [Pipeline] } 02:31:15 $ docker exec --env ******** --env ******** 1dbaf637efbdef4de60d1609edca4cae185ee4721adc3b15290fd3f8eb9f0c9a ssh-agent -k 02:31:15 unset SSH_AUTH_SOCK; 02:31:15 unset SSH_AGENT_PID; 02:31:15 echo Agent pid 38 killed; 02:31:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:31:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:31:15 [ssh-agent] Looking for ssh-agent implementation... 02:31:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:31:15 $ docker exec 1dbaf637efbdef4de60d1609edca4cae185ee4721adc3b15290fd3f8eb9f0c9a ssh-agent 02:31:15 SSH_AUTH_SOCK=/tmp/ssh-g7fN87KCCrId/agent.71 02:31:15 SSH_AGENT_PID=77 02:31:15 Running ssh-add (command line suppressed) 02:31:15 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-365@tmp/private_key_2275023735426621106.key (/w/workspace/gexfoundry_device-snmp-go_PR-365@tmp/private_key_2275023735426621106.key) 02:31:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:31:16 + git semver init 02:31:16 2025-04-15 02:31:16,311 [run_init] DEBUG init version:0.0.0 force:False 02:31:16 2025-04-15 02:31:16,313 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-365/.semver 02:31:16 2025-04-15 02:31:16,314 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-365/.semver 02:31:16 2025-04-15 02:31:16,315 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-365/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-365, universal_newlines=False, shell=None, istream=None) 02:31:17 2025-04-15 02:31:17,490 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-365/.git/info/exclude 02:31:17 2025-04-15 02:31:17,490 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-365/.semver/PR-365 with force:False 02:31:17 2025-04-15 02:31:17,490 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-365/.semver/PR-365 02:31:17 2025-04-15 02:31:17,496 [execute] INFO git cat-file --batch-check 02:31:17 2025-04-15 02:31:17,496 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-365/.semver, universal_newlines=False, shell=None, istream=) 02:31:17 2025-04-15 02:31:17,502 [execute] INFO git cat-file --batch 02:31:17 2025-04-15 02:31:17,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-365/.semver, universal_newlines=False, shell=None, istream=) 02:31:17 2025-04-15 02:31:17,509 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-365/.semver/PR-365 02:31:17 0.0.0 [Pipeline] } 02:31:17 $ docker exec --env ******** --env ******** 1dbaf637efbdef4de60d1609edca4cae185ee4721adc3b15290fd3f8eb9f0c9a ssh-agent -k 02:31:17 unset SSH_AUTH_SOCK; 02:31:17 unset SSH_AGENT_PID; 02:31:17 echo Agent pid 77 killed; 02:31:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:31:18 + git semver [Pipeline] } 02:31:18 $ docker stop --time=1 1dbaf637efbdef4de60d1609edca4cae185ee4721adc3b15290fd3f8eb9f0c9a 02:31:20 $ docker rm -f --volumes 1dbaf637efbdef4de60d1609edca4cae185ee4721adc3b15290fd3f8eb9f0c9a [Pipeline] // withDockerContainer [Pipeline] sh 02:31:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:31:20 Stashed 1 file(s) [Pipeline] echo 02:31:20 [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 02:31:22 provisioning config files... 02:31:22 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-365@tmp/config13890803304375233229tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 02:31:22 ---> ****-login.sh 02:31:22 nexus3.edgexfoundry.org:10001 02:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:22 Configure a credential helper to remove this warning. See 02:31:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:22 02:31:22 Login Succeeded 02:31:22 nexus3.edgexfoundry.org:10002 02:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:22 Configure a credential helper to remove this warning. See 02:31:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:22 02:31:22 Login Succeeded 02:31:22 nexus3.edgexfoundry.org:10003 02:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:22 Configure a credential helper to remove this warning. See 02:31:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:22 02:31:22 Login Succeeded 02:31:22 nexus3.edgexfoundry.org:10004 02:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:22 Configure a credential helper to remove this warning. See 02:31:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:22 02:31:22 Login Succeeded 02:31:22 ****.io 02:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:23 Configure a credential helper to remove this warning. See 02:31:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:23 02:31:23 Login Succeeded 02:31:23 ---> ****-login.sh ends [Pipeline] } 02:31:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:31:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:31:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:31:23 ========================================================= 02:31:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:31:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:24 + 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 . 02:31:24 Sending build context to Docker daemon 23.69MB 02:31:24 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:31:24 Step 2/12 : FROM ${BASE} AS builder 02:31:24 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:31:24 0a9a5dfd008f: Pulling fs layer 02:31:24 dbfa0bcfca99: Pulling fs layer 02:31:24 70eabb1d9476: Pulling fs layer 02:31:24 957bedc73fa3: Pulling fs layer 02:31:24 4f4fb700ef54: Pulling fs layer 02:31:24 f40432e63723: Pulling fs layer 02:31:24 90b4343acab7: Pulling fs layer 02:31:24 9f67ea4ac784: Pulling fs layer 02:31:24 9228b9a606be: Pulling fs layer 02:31:24 957bedc73fa3: Waiting 02:31:24 f40432e63723: Waiting 02:31:24 9f67ea4ac784: Waiting 02:31:24 4f4fb700ef54: Waiting 02:31:24 9228b9a606be: Waiting 02:31:24 dbfa0bcfca99: Verifying Checksum 02:31:24 dbfa0bcfca99: Download complete 02:31:24 957bedc73fa3: Verifying Checksum 02:31:24 957bedc73fa3: Download complete 02:31:24 4f4fb700ef54: Verifying Checksum 02:31:24 4f4fb700ef54: Download complete 02:31:24 f40432e63723: Verifying Checksum 02:31:24 f40432e63723: Download complete 02:31:24 0a9a5dfd008f: Verifying Checksum 02:31:24 0a9a5dfd008f: Download complete 02:31:24 90b4343acab7: Verifying Checksum 02:31:24 90b4343acab7: Download complete 02:31:24 0a9a5dfd008f: Pull complete 02:31:24 dbfa0bcfca99: Pull complete 02:31:24 9228b9a606be: Verifying Checksum 02:31:24 9228b9a606be: Download complete 02:31:24 70eabb1d9476: Download complete 02:31:25 9f67ea4ac784: Verifying Checksum 02:31:25 9f67ea4ac784: Download complete 02:31:28 70eabb1d9476: Pull complete 02:31:28 957bedc73fa3: Pull complete 02:31:28 4f4fb700ef54: Pull complete 02:31:28 f40432e63723: Pull complete 02:31:28 90b4343acab7: Pull complete 02:31:31 9f67ea4ac784: Pull complete 02:31:31 9228b9a606be: Pull complete 02:31:31 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 02:31:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:31:31 ---> 69404ca5bff2 02:31:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:31:37 ---> Running in fb491a3bf609 02:31:37 Removing intermediate container fb491a3bf609 02:31:37 ---> 9427b2d91238 02:31:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:31:37 ---> Running in 7dea9cc6ef0f 02:31:38 Removing intermediate container 7dea9cc6ef0f 02:31:38 ---> 00bb3fab0ab0 02:31:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:31:38 ---> Running in c7aa6073bf66 02:31:38 Removing intermediate container c7aa6073bf66 02:31:38 ---> 2ce107960acb 02:31:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:31:38 ---> Running in 2344578ff629 02:31:38 Removing intermediate container 2344578ff629 02:31:38 ---> c14706f2f0df 02:31:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:38 ---> Running in d1a1b489c39d 02:31:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:31:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:31:39 (1/4) Installing openssh-keygen (9.7_p1-r5) 02:31:39 (2/4) Installing libedit (20240517.3.1-r0) 02:31:39 (3/4) Installing openssh-client-common (9.7_p1-r5) 02:31:39 (4/4) Installing openssh-client-default (9.7_p1-r5) 02:31:39 Executing busybox-1.36.1-r29.trigger 02:31:39 OK: 252 MiB in 62 packages 02:31:39 Removing intermediate container d1a1b489c39d 02:31:39 ---> 784da9c65bf9 02:31:39 Step 8/12 : WORKDIR /device-snmp-go 02:31:39 ---> Running in 70c3293989be 02:31:39 Removing intermediate container 70c3293989be 02:31:39 ---> 98c6e68c2d35 02:31:39 Step 9/12 : COPY go.mod vendor* ./ 02:31:40 ---> fd19d4a4ea0f 02:31:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:31:40 ---> Running in ba8ddd5b9bb2 02:32:36 Removing intermediate container ba8ddd5b9bb2 02:32:36 ---> 4d3eb150fbb7 02:32:36 Step 11/12 : COPY . . 02:32:36 ---> b8c50267e619 02:32:36 Step 12/12 : RUN ${MAKE} 02:32:36 ---> Running in ce2bae7c91db 02:32:36 noop 02:32:37 Removing intermediate container ce2bae7c91db 02:32:37 ---> 17b030db1e28 02:32:37 Successfully built 17b030db1e28 02:32:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:37 + docker inspect -f . ci-base-image-x86_64 02:32:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:37 prd-ubuntu20.04-docker-8c-8g-44992 does not seem to be running inside a container 02:32:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-365 -v /w/workspace/gexfoundry_device-snmp-go_PR-365:/w/workspace/gexfoundry_device-snmp-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-365@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-365@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 ******** ci-base-image-x86_64 cat 02:32:38 $ docker top 2a1c5dedafb22ecad94c85508ef6da6f0512835abe19d59601f108c1ef91b3b5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:38 + go version 02:32:38 go version go1.23.8 linux/amd64 [Pipeline] } 02:32:38 $ docker stop --time=1 2a1c5dedafb22ecad94c85508ef6da6f0512835abe19d59601f108c1ef91b3b5 02:32:39 $ docker rm -f --volumes 2a1c5dedafb22ecad94c85508ef6da6f0512835abe19d59601f108c1ef91b3b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:40 + docker inspect -f . ci-base-image-x86_64 02:32:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:40 prd-ubuntu20.04-docker-8c-8g-44992 does not seem to be running inside a container 02:32:40 $ 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-365 -v /w/workspace/gexfoundry_device-snmp-go_PR-365:/w/workspace/gexfoundry_device-snmp-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-365@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-365@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 ******** ci-base-image-x86_64 cat 02:32:41 $ docker top e57ef4dbb0175a779e0e9dad9cdc1f28af63cc7a76e8bb2e36c84b6c131d1619 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:41 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-365 [Pipeline] fileExists [Pipeline] sh 02:32:42 + make test 02:32:42 go test ./... -coverprofile=coverage.out 02:32:44 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:33:02 github.com/edgexfoundry/device-snmp-go/cmd coverage: 0.0% of statements 02:33:02 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 02:33:10 go vet ./... 02:33:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:33:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:33:16 ./bin/test-attribution-txt.sh [Pipeline] echo 02:33:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 02:33:16 $ docker stop --time=1 e57ef4dbb0175a779e0e9dad9cdc1f28af63cc7a76e8bb2e36c84b6c131d1619 02:33:28 $ docker rm -f --volumes e57ef4dbb0175a779e0e9dad9cdc1f28af63cc7a76e8bb2e36c84b6c131d1619 [Pipeline] // withDockerContainer [Pipeline] sh 02:33:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:33:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:33:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:33:30 + ls -al . 02:33:30 total 236 02:33:30 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 02:32 . 02:33:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 02:30 .. 02:33:30 -rw-rw-r-- 1 jenkins jenkins 6 Apr 15 02:30 .dockerignore 02:33:30 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 02:33 .git 02:33:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 02:30 .github 02:33:30 -rw-rw-r-- 1 jenkins jenkins 263 Apr 15 02:30 .gitignore 02:33:30 -rw-rw-r-- 1 jenkins jenkins 199 Apr 15 02:30 .golangci.yml 02:33:30 drwxr-xr-x 3 jenkins jenkins 4096 Apr 15 02:31 .semver 02:33:30 -rw-rw-r-- 1 jenkins jenkins 18843 Apr 15 02:30 Attribution.txt 02:33:30 -rw-rw-r-- 1 jenkins jenkins 12273 Apr 15 02:30 CHANGELOG.md 02:33:30 -rw-rw-r-- 1 jenkins jenkins 1571 Apr 15 02:30 Dockerfile 02:33:30 -rw-rw-r-- 1 jenkins jenkins 677 Apr 15 02:30 GOVERNANCE.md 02:33:30 -rw-rw-r-- 1 jenkins jenkins 656 Apr 15 02:30 Jenkinsfile 02:33:30 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 15 02:30 LICENSE 02:33:30 -rw-rw-r-- 1 jenkins jenkins 2240 Apr 15 02:30 Makefile 02:33:30 -rw-rw-r-- 1 jenkins jenkins 620 Apr 15 02:30 OWNERS.md 02:33:30 -rw-rw-r-- 1 jenkins jenkins 10477 Apr 15 02:30 README.md 02:33:30 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 02:31 VERSION 02:33:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 02:30 bin 02:33:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 02:30 cmd 02:33:30 -rw-r--r-- 1 jenkins jenkins 9158 Apr 15 02:33 coverage.out 02:33:30 -rw-rw-r-- 1 jenkins jenkins 6106 Apr 15 02:30 go.mod 02:33:30 -rw-rw-r-- 1 jenkins jenkins 86945 Apr 15 02:30 go.sum 02:33:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 02:30 internal 02:33:30 -rw-rw-r-- 1 jenkins jenkins 228 Apr 15 02:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:31 + 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=254f9c872e83f2ec2193a0988c016f704c430c04 --label arch=amd64 --label version=0.0.0 . 02:33:31 Sending build context to Docker daemon 23.7MB 02:33:31 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 02:33:31 Step 2/25 : FROM ${BASE} AS builder 02:33:31 ---> 17b030db1e28 02:33:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:33:31 ---> Running in e5d2ec705f27 02:33:32 Removing intermediate container e5d2ec705f27 02:33:32 ---> b27c56ab2272 02:33:32 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:33:32 ---> Running in 31c5e5f56777 02:33:32 Removing intermediate container 31c5e5f56777 02:33:32 ---> 2c15970e9588 02:33:32 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:33:32 ---> Running in 4106d96a44fe 02:33:32 Removing intermediate container 4106d96a44fe 02:33:32 ---> eff9872304da 02:33:32 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:33:32 ---> Running in 70b806e0589a 02:33:32 Removing intermediate container 70b806e0589a 02:33:32 ---> 02523b0d1e77 02:33:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:33:32 ---> Running in 095216154e09 02:33:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:33:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:33:32 OK: 252 MiB in 62 packages 02:33:33 Removing intermediate container 095216154e09 02:33:33 ---> 3fcf1512535b 02:33:33 Step 8/25 : WORKDIR /device-snmp-go 02:33:33 ---> Running in 43df664311ce 02:33:33 Removing intermediate container 43df664311ce 02:33:33 ---> a01a1d6db0e2 02:33:33 Step 9/25 : COPY go.mod vendor* ./ 02:33:33 ---> 4b072b46f12a 02:33:33 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:33 ---> Running in 95d0afb634fc 02:33:33 Removing intermediate container 95d0afb634fc 02:33:33 ---> 448c68ff2a47 02:33:33 Step 11/25 : COPY . . 02:33:34 ---> f4e2f61bd44d 02:33:34 Step 12/25 : RUN ${MAKE} 02:33:34 ---> Running in 466a52490d91 02:33:35 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" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 02:34:14 Removing intermediate container 466a52490d91 02:34:14 ---> 226b033ea125 02:34:14 Step 13/25 : FROM alpine:3.20 02:34:14 3.20: Pulling from library/alpine 02:34:14 0a9a5dfd008f: Already exists 02:34:14 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 02:34:14 Status: Downloaded newer image for alpine:3.20 02:34:14 ---> ff221270b9fb 02:34:14 Step 14/25 : RUN apk add --update --no-cache dumb-init 02:34:14 ---> Running in 900373e1af61 02:34:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:34:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:34:14 (1/1) Installing dumb-init (1.2.5-r3) 02:34:14 Executing busybox-1.36.1-r29.trigger 02:34:14 OK: 8 MiB in 15 packages 02:34:14 Removing intermediate container 900373e1af61 02:34:14 ---> 17a361040a7a 02:34:14 Step 15/25 : RUN apk --no-cache upgrade 02:34:14 ---> Running in 1a3a128063eb 02:34:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:34:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:34:14 OK: 8 MiB in 15 packages 02:34:14 Removing intermediate container 1a3a128063eb 02:34:14 ---> 40190e26d2ab 02:34:14 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 02:34:14 ---> 50e7101bfd2f 02:34:14 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 02:34:14 ---> c91e62d3fa87 02:34:14 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 02:34:14 ---> df3f8bf9c92c 02:34:14 Step 19/25 : EXPOSE 59993 02:34:14 ---> Running in 379d5a196ae1 02:34:14 Removing intermediate container 379d5a196ae1 02:34:14 ---> e19e5300afe7 02:34:14 Step 20/25 : EXPOSE 161 02:34:14 ---> Running in 660829dffcb4 02:34:14 Removing intermediate container 660829dffcb4 02:34:14 ---> db69e7e6c2be 02:34:14 Step 21/25 : ENTRYPOINT ["/device-snmp"] 02:34:14 ---> Running in e329f2edb926 02:34:14 Removing intermediate container e329f2edb926 02:34:14 ---> c46c84ac1bab 02:34:14 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:34:14 ---> Running in 5fdc14c14dca 02:34:14 Removing intermediate container 5fdc14c14dca 02:34:14 ---> ef3b17aa8d3e 02:34:14 Step 23/25 : LABEL arch=amd64 02:34:14 ---> Running in 1e3b1d4e1f5a 02:34:14 Removing intermediate container 1e3b1d4e1f5a 02:34:14 ---> 8af2e9bff357 02:34:14 Step 24/25 : LABEL git_sha=254f9c872e83f2ec2193a0988c016f704c430c04 02:34:14 ---> Running in 1afcdd946394 02:34:14 Removing intermediate container 1afcdd946394 02:34:14 ---> a1397701ba96 02:34:14 Step 25/25 : LABEL version=0.0.0 02:34:14 ---> Running in 8feeecd0ab14 02:34:14 Removing intermediate container 8feeecd0ab14 02:34:14 ---> e624c6517e40 02:34:14 [Warning] One or more build-args [ARCH] were not consumed 02:34:14 Successfully built e624c6517e40 02:34:14 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 02:34:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:15 02:34:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:16 latest: Pulling from edgex-lftools-log-publisher 02:34:16 5eb5b503b376: Pulling fs layer 02:34:16 5c69ac0246d0: Pulling fs layer 02:34:16 ec43610c2a17: Pulling fs layer 02:34:16 3a2ae6a8a46f: Pulling fs layer 02:34:16 33b1e0a273af: Pulling fs layer 02:34:16 5d3b04190fa2: Pulling fs layer 02:34:16 2f39f015ded8: Pulling fs layer 02:34:16 5d3b04190fa2: Waiting 02:34:16 3a2ae6a8a46f: Waiting 02:34:16 2f39f015ded8: Waiting 02:34:16 33b1e0a273af: Waiting 02:34:16 5c69ac0246d0: Download complete 02:34:16 3a2ae6a8a46f: Download complete 02:34:16 33b1e0a273af: Verifying Checksum 02:34:16 33b1e0a273af: Download complete 02:34:16 5d3b04190fa2: Verifying Checksum 02:34:16 5d3b04190fa2: Download complete 02:34:16 ec43610c2a17: Verifying Checksum 02:34:16 ec43610c2a17: Download complete 02:34:16 5eb5b503b376: Verifying Checksum 02:34:16 5eb5b503b376: Download complete 02:34:17 2f39f015ded8: Download complete 02:34:17 5eb5b503b376: Pull complete 02:34:17 5c69ac0246d0: Pull complete 02:34:18 ec43610c2a17: Pull complete 02:34:18 3a2ae6a8a46f: Pull complete 02:34:19 33b1e0a273af: Pull complete 02:34:19 5d3b04190fa2: Pull complete 02:34:33 2f39f015ded8: Pull complete 02:34:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:34:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:33 prd-ubuntu20.04-docker-8c-8g-44992 does not seem to be running inside a container 02:34:33 $ 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-365 -v /w/workspace/gexfoundry_device-snmp-go_PR-365:/w/workspace/gexfoundry_device-snmp-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-365@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:34:39 $ docker top f4e2ea7067eaf1467ae414e3f5cbfc2d26e27df1358d4e79f2f908f7693505ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:40 ---> job-cost.sh 02:34:40 lf-activate-venv: SKIPPING 02:34:40 INFO: No Stack... 02:34:41 INFO: Retrieving Pricing Info for: v3-standard-8 02:34:41 INFO: Archiving Costs [Pipeline] sh 02:34:41 + cat /w/workspace/gexfoundry_device-snmp-go_PR-365/archives/cost.csv 02:34:41 + cut -d, -f6 [Pipeline] lock 02:34:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-365-1-stack-cost] 02:34:42 Resource [jenkins-edgexfoundry-device-snmp-go-PR-365-1-stack-cost] did not exist. Created. 02:34:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:34:42 + echo total: 0.2199999988079071 [Pipeline] stash 02:34:42 Stashed 1 file(s) [Pipeline] } 02:34:42 Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-PR-365-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:34:42 $ docker stop --time=1 f4e2ea7067eaf1467ae414e3f5cbfc2d26e27df1358d4e79f2f908f7693505ae 02:34:44 $ docker rm -f --volumes f4e2ea7067eaf1467ae414e3f5cbfc2d26e27df1358d4e79f2f908f7693505ae [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 02:34:45 provisioning config files... 02:34:45 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-365@tmp/config17591214125429012781tmp [Pipeline] { [Pipeline] sh 02:34:45 + set +x 02:34:45 + curl -s https://codecov.io/bash 02:34:45 + bash -s -- 02:34:45 02:34:45 _____ _ 02:34:45 / ____| | | 02:34:45 | | ___ __| | ___ ___ _____ __ 02:34:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:34:45 | |___| (_) | (_| | __/ (_| (_) \ V / 02:34:45 \_____\___/ \__,_|\___|\___\___/ \_/ 02:34:45 Bash-1.0.6 02:34:45 02:34:45 02:34:45 ==> git version 2.25.1 found 02:34:45 ==> 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 02:34:45 Release-Date: 2020-01-08 02:34:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:34:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:34:45 ==> Jenkins CI detected. 02:34:45 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-365 02:34:45 project root: . 02:34:45 --> token set from env 02:34:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:34:45 ==> Running gcov in . (disable via -X gcov) 02:34:45 ==> Python coveragepy not found 02:34:45 ==> Searching for coverage reports in: 02:34:45 + . 02:34:45 -> Found 1 reports 02:34:45 ==> Detecting git/mercurial file structure 02:34:45 ==> Reading reports 02:34:45 + ./coverage.out bytes=9158 02:34:45 ==> Appending adjustments 02:34:45 https://docs.codecov.io/docs/fixing-reports 02:34:45 + Found adjustments 02:34:45 ==> Gzipping contents 02:34:45 4.0K /tmp/codecov.X9korP.gz 02:34:45 ==> Uploading reports 02:34:45 url: https://codecov.io 02:34:45 query: branch=PR-365&commit=254f9c872e83f2ec2193a0988c016f704c430c04&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-365%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=365&job=&cmd_args= 02:34:45 -> Pinging Codecov 02:34:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-365&commit=254f9c872e83f2ec2193a0988c016f704c430c04&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-365%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=365&job=&cmd_args= 02:34:46 -> Uploading to 02:34:46 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-snmp-go/254f9c872e83f2ec2193a0988c016f704c430c04/bbeb681c-f9bd-4949-a71b-3e5bc120d836.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250415%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250415T023445Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=04e3668dced2e2975fe0a774380f053a7b92fd126469f498925d6df12fc1e842 02:34:46 % Total % Received % Xferd Average Speed Time Time Time Current 02:34:46 Dload Upload Total Spent Left Speed 02:34:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1444 0 0 100 1444 0 24474 --:--:-- --:--:-- --:--:-- 24066 100 1444 0 0 100 1444 0 9437 --:--:-- --:--:-- --:--:-- 9376 02:34:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/254f9c872e83f2ec2193a0988c016f704c430c04 [Pipeline] } 02:34:46 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 02:34:48 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-365/archives ] 02:34:48 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-365/archives 02:34:48 total 16 02:34:48 drwxr-xr-x 3 root root 4096 Apr 15 02:34 . 02:34:48 drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 02:34 .. 02:34:48 drwxr-xr-x 2 root root 4096 Apr 15 02:34 cost 02:34:48 -rw-r--r-- 1 root root 86 Apr 15 02:34 cost.csv 02:34:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-365/archives 02:34:48 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-365/archives 02:34:48 total 16 02:34:48 drwxr-xr-x 3 jenkins jenkins 4096 Apr 15 02:34 . 02:34:48 drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 02:34 .. 02:34:48 drwxr-xr-x 2 jenkins jenkins 4096 Apr 15 02:34 cost 02:34:48 -rw-r--r-- 1 jenkins jenkins 86 Apr 15 02:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:34:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:34:49 ---> package-listing.sh 02:34:49 ++ facter osfamily 02:34:49 ++ tr '[:upper:]' '[:lower:]' 02:34:50 + OS_FAMILY=debian 02:34:50 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-365 02:34:50 + START_PACKAGES=/tmp/packages_start.txt 02:34:50 + END_PACKAGES=/tmp/packages_end.txt 02:34:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:34:50 + PACKAGES=/tmp/packages_start.txt 02:34:50 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-365 ']' 02:34:50 + PACKAGES=/tmp/packages_end.txt 02:34:50 + case "${OS_FAMILY}" in 02:34:50 + grep '^ii' 02:34:50 + dpkg -l 02:34:50 + '[' -f /tmp/packages_start.txt ']' 02:34:50 + '[' -f /tmp/packages_end.txt ']' 02:34:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:34:50 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-365 ']' 02:34:50 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-365/archives/ 02:34:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-365/archives/ [Pipeline] echo 02:34:50 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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:34:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:51 prd-ubuntu20.04-docker-8c-8g-44992 does not seem to be running inside a container 02:34:51 $ 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-365/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-365 -v /w/workspace/gexfoundry_device-snmp-go_PR-365:/w/workspace/gexfoundry_device-snmp-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-365@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:34:51 $ docker top ec0fb7653821206e5e47f363fd1d84caf378b5c0566d343c653ca867f5b71c98 -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:51 + touch /tmp/pre-build-complete [Pipeline] sh 02:34:52 + mkdir -p /var/log/sysstat [Pipeline] sh 02:34:52 + ls /var/log/sa-host 02:34:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:52 provisioning config files... 02:34:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-365@tmp/config16004521151911487397tmp [Pipeline] { [Pipeline] echo 02:34:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:34:53 ---> create-netrc.sh [Pipeline] } 02:34:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:34:53 ---> python-tools-install.sh [Pipeline] echo 02:34:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:34:54 ---> sudo-logs.sh 02:34:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:34:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:34:54 ---> job-cost.sh 02:34:54 lf-activate-venv: SKIPPING 02:34:54 DEBUG: total: 0.2199999988079071 02:34:54 INFO: Retrieving Stack Cost... 02:34:54 INFO: Retrieving Pricing Info for: v3-standard-8 02:34:55 INFO: Archiving Costs [Pipeline] echo 02:34:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:34:55 ---> logs-deploy.sh 02:34:55 lf-activate-venv: SKIPPING 02:34:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-365/1 02:34:55 INFO: archiving workspace using pattern(s): 02:34:56 Archives upload complete. 02:34:56 INFO: archiving logs to Nexus