Pull request #360 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cbda3ea691cfef601e422361509f7313aa1d9cda+16381fd99f00acb16521c6fc8f4fa15060dd6965 (5b0300b228620088d9403e956b253fa09bef0004) 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-ssh2185797835009006954.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh8705647803141061497.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-360/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-360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13588615876681378882.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-360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13942507691062961176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > 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-ssh18320973572752661558.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-360/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-360/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15113085057684298281.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40841 in /w/workspace/gexfoundry_device-snmp-go_PR-360 [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-360 # 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 16381fd99f00acb16521c6fc8f4fa15060dd6965 into PR head commit cbda3ea691cfef601e422361509f7313aa1d9cda > 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/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbda3ea691cfef601e422361509f7313aa1d9cda # 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 16381fd99f00acb16521c6fc8f4fa15060dd6965 # timeout=10 Merge succeeded, producing cbda3ea691cfef601e422361509f7313aa1d9cda Checking out Revision cbda3ea691cfef601e422361509f7313aa1d9cda (PR-360) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbda3ea691cfef601e422361509f7313aa1d9cda # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:13:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:13:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:13:13 ========================================================= 05:13:13 EdgeX Global Pipelines Version Info 05:13:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:13:13 ------------------- 05:13:13 stable info: 05:13:13 ------------------- 05:13:13 Commited By: Cherry Wang cherry@iotechsys.com 05:13:13 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 05:13:13 Message: update stable to v1.0.271 05:13:14 ------------------- 05:13:14 experimental info: 05:13:14 ------------------- 05:13:14 Commited By: **** collab-it+edgex@linuxfoundation.org 05:13:14 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 05:13:14 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:13:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:13:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:13:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:13:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:13:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:13:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:13:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:13:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:13:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:13:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:13:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-360 [Pipeline] echo 05:13:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-360 [Pipeline] echo 05:13:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-360 [Pipeline] echo 05:13:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbda3ea691cfef601e422361509f7313aa1d9cda [Pipeline] echo 05:13:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbda3ea [Pipeline] echo 05:13:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:16 provisioning config files... 05:13:16 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-360@tmp/config5532608133225180895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:17 ---> ****-login.sh 05:13:17 nexus3.edgexfoundry.org:10001 05:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:13:17 Configure a credential helper to remove this warning. See 05:13:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:13:17 05:13:17 Login Succeeded 05:13:17 nexus3.edgexfoundry.org:10002 05:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:13:17 Configure a credential helper to remove this warning. See 05:13:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:13:17 05:13:17 Login Succeeded 05:13:17 nexus3.edgexfoundry.org:10003 05:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:13:17 Configure a credential helper to remove this warning. See 05:13:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:13:17 05:13:17 Login Succeeded 05:13:17 nexus3.edgexfoundry.org:10004 05:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:13:17 Configure a credential helper to remove this warning. See 05:13:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:13:17 05:13:17 Login Succeeded 05:13:17 ****.io 05:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:13:18 Configure a credential helper to remove this warning. See 05:13:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:13:18 05:13:18 Login Succeeded 05:13:18 ---> ****-login.sh ends [Pipeline] } 05:13:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:13:18 + git rev-list -1 --merges cbda3ea691cfef601e422361509f7313aa1d9cda~1..cbda3ea691cfef601e422361509f7313aa1d9cda [Pipeline] echo 05:13:18 -----------> git rev-list -1 --merges cbda3ea691cfef601e422361509f7313aa1d9cda~1..cbda3ea691cfef601e422361509f7313aa1d9cda cbda3ea691cfef601e422361509f7313aa1d9cda [false] [Pipeline] sh 05:13:19 + git log --format=format:%s -1 cbda3ea691cfef601e422361509f7313aa1d9cda [Pipeline] echo 05:13:19 ========================================================= 05:13:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:13:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:13:19 + git log --format=format:%s -1 cbda3ea691cfef601e422361509f7313aa1d9cda [Pipeline] echo 05:13:19 [semverPrep] GIT_COMMIT: cbda3ea691cfef601e422361509f7313aa1d9cda, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 05:13:19 [semverPrep] This is not a build commit. [Pipeline] sh 05:13:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:13:20 + grep -v github /etc/ssh/ssh_known_hosts 05:13:20 + [ -e /tmp/ssh_known_hosts ] 05:13:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:13:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:13:20 + sudo tee -a /etc/ssh/ssh_known_hosts 05:13:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:13:20 05:13:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:13:21 0.1.4: Pulling from edgex-devops/py-git-semver 05:13:21 b85a868b505f: Pulling fs layer 05:13:21 e2be974225ed: Pulling fs layer 05:13:21 339a4e72a1f5: Pulling fs layer 05:13:21 988bab9f4d93: Pulling fs layer 05:13:21 1469e6f7b9e6: Pulling fs layer 05:13:21 eaf3925da568: Pulling fs layer 05:13:21 bab4dde63d76: Pulling fs layer 05:13:21 bde34c3a00c8: Pulling fs layer 05:13:21 b352a97aabf1: Pulling fs layer 05:13:21 4872d77fe225: Pulling fs layer 05:13:21 5851b861e8e6: Pulling fs layer 05:13:21 4872d77fe225: Waiting 05:13:21 5851b861e8e6: Waiting 05:13:21 988bab9f4d93: Waiting 05:13:21 b352a97aabf1: Waiting 05:13:21 eaf3925da568: Waiting 05:13:21 1469e6f7b9e6: Waiting 05:13:21 bab4dde63d76: Waiting 05:13:21 bde34c3a00c8: Waiting 05:13:21 e2be974225ed: Verifying Checksum 05:13:21 e2be974225ed: Download complete 05:13:21 988bab9f4d93: Verifying Checksum 05:13:21 988bab9f4d93: Download complete 05:13:21 1469e6f7b9e6: Verifying Checksum 05:13:21 1469e6f7b9e6: Download complete 05:13:21 339a4e72a1f5: Verifying Checksum 05:13:21 339a4e72a1f5: Download complete 05:13:21 eaf3925da568: Download complete 05:13:21 bde34c3a00c8: Download complete 05:13:21 b352a97aabf1: Verifying Checksum 05:13:21 b352a97aabf1: Download complete 05:13:21 4872d77fe225: Verifying Checksum 05:13:21 4872d77fe225: Download complete 05:13:21 5851b861e8e6: Download complete 05:13:21 b85a868b505f: Download complete 05:13:21 bab4dde63d76: Download complete 05:13:22 b85a868b505f: Pull complete 05:13:22 e2be974225ed: Pull complete 05:13:23 339a4e72a1f5: Pull complete 05:13:23 988bab9f4d93: Pull complete 05:13:23 1469e6f7b9e6: Pull complete 05:13:23 eaf3925da568: Pull complete 05:13:25 bab4dde63d76: Pull complete 05:13:25 bde34c3a00c8: Pull complete 05:13:25 b352a97aabf1: Pull complete 05:13:25 4872d77fe225: Pull complete 05:13:25 5851b861e8e6: Pull complete 05:13:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:13:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:13:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:26 prd-ubuntu20.04-docker-8c-8g-40841 does not seem to be running inside a container 05:13:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-360 -v /w/workspace/gexfoundry_device-snmp-go_PR-360:/w/workspace/gexfoundry_device-snmp-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-360@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:13:27 $ docker top 59a116e102a42bd43c7fb21952d55c4f81b1d3a740fd6ee2be58e35f75f76c79 -eo pid,comm 05:13:27 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). 05:13:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:13:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:13:27 [ssh-agent] Looking for ssh-agent implementation... 05:13:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:13:27 $ docker exec 59a116e102a42bd43c7fb21952d55c4f81b1d3a740fd6ee2be58e35f75f76c79 ssh-agent 05:13:27 SSH_AUTH_SOCK=/tmp/ssh-sryq6bqN9d00/agent.31 05:13:27 SSH_AGENT_PID=37 05:13:27 Running ssh-add (command line suppressed) 05:13:27 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-360@tmp/private_key_18417733167002299028.key (/w/workspace/gexfoundry_device-snmp-go_PR-360@tmp/private_key_18417733167002299028.key) 05:13:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:13:28 + git tag --points-at HEAD [Pipeline] } 05:13:28 $ docker exec --env ******** --env ******** 59a116e102a42bd43c7fb21952d55c4f81b1d3a740fd6ee2be58e35f75f76c79 ssh-agent -k 05:13:28 unset SSH_AUTH_SOCK; 05:13:28 unset SSH_AGENT_PID; 05:13:28 echo Agent pid 37 killed; 05:13:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:13:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:13:28 [ssh-agent] Looking for ssh-agent implementation... 05:13:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:13:28 $ docker exec 59a116e102a42bd43c7fb21952d55c4f81b1d3a740fd6ee2be58e35f75f76c79 ssh-agent 05:13:28 SSH_AUTH_SOCK=/tmp/ssh-8NZCyxug631U/agent.70 05:13:28 SSH_AGENT_PID=76 05:13:28 Running ssh-add (command line suppressed) 05:13:28 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-360@tmp/private_key_2929800284632693736.key (/w/workspace/gexfoundry_device-snmp-go_PR-360@tmp/private_key_2929800284632693736.key) 05:13:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:13:29 + git semver init 05:13:29 2025-03-11 05:13:29,466 [run_init] DEBUG init version:0.0.0 force:False 05:13:29 2025-03-11 05:13:29,467 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-360/.semver 05:13:29 2025-03-11 05:13:29,467 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-360/.semver 05:13:29 2025-03-11 05:13:29,467 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-360/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-360, universal_newlines=False, shell=None, istream=None) 05:13:30 2025-03-11 05:13:30,924 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-360/.git/info/exclude 05:13:30 2025-03-11 05:13:30,925 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-360/.semver/PR-360 with force:False 05:13:30 2025-03-11 05:13:30,925 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-360/.semver/PR-360 05:13:30 2025-03-11 05:13:30,928 [execute] INFO git cat-file --batch-check 05:13:30 2025-03-11 05:13:30,929 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-360/.semver, universal_newlines=False, shell=None, istream=<valid stream>) 05:13:31 2025-03-11 05:13:30,935 [execute] INFO git cat-file --batch 05:13:31 2025-03-11 05:13:30,935 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-360/.semver, universal_newlines=False, shell=None, istream=<valid stream>) 05:13:31 2025-03-11 05:13:30,940 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-360/.semver/PR-360 05:13:31 0.0.0 [Pipeline] } 05:13:31 $ docker exec --env ******** --env ******** 59a116e102a42bd43c7fb21952d55c4f81b1d3a740fd6ee2be58e35f75f76c79 ssh-agent -k 05:13:31 unset SSH_AUTH_SOCK; 05:13:31 unset SSH_AGENT_PID; 05:13:31 echo Agent pid 76 killed; 05:13:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:13:31 + git semver [Pipeline] } 05:13:32 $ docker stop --time=1 59a116e102a42bd43c7fb21952d55c4f81b1d3a740fd6ee2be58e35f75f76c79 05:13:33 $ docker rm -f --volumes 59a116e102a42bd43c7fb21952d55c4f81b1d3a740fd6ee2be58e35f75f76c79 [Pipeline] // withDockerContainer [Pipeline] sh 05:13:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:13:34 Stashed 1 file(s) [Pipeline] echo 05:13:34 [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 05:13:35 provisioning config files... 05:13:35 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-360@tmp/config1479108117494722296tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:13:35 ---> ****-login.sh 05:13:35 nexus3.edgexfoundry.org:10001 05:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:13:35 Configure a credential helper to remove this warning. See 05:13:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:13:35 05:13:35 Login Succeeded 05:13:35 nexus3.edgexfoundry.org:10002 05:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:13:35 Configure a credential helper to remove this warning. See 05:13:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:13:35 05:13:35 Login Succeeded 05:13:35 nexus3.edgexfoundry.org:10003 05:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:13:35 Configure a credential helper to remove this warning. See 05:13:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:13:35 05:13:35 Login Succeeded 05:13:35 nexus3.edgexfoundry.org:10004 05:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:13:35 Configure a credential helper to remove this warning. See 05:13:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:13:35 05:13:35 Login Succeeded 05:13:35 ****.io 05:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:13:36 Configure a credential helper to remove this warning. See 05:13:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:13:36 05:13:36 Login Succeeded 05:13:36 ---> ****-login.sh ends [Pipeline] } 05:13:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:13:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:13:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:13:36 ========================================================= 05:13:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:13:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:36 + 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 . 05:13:36 Sending build context to Docker daemon 20.08MB 05:13:36 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 05:13:36 Step 2/12 : FROM ${BASE} AS builder 05:13:37 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:13:37 da9db072f522: Pulling fs layer 05:13:37 6ef4a4ee8ca5: Pulling fs layer 05:13:37 06f05ace1117: Pulling fs layer 05:13:37 5fe327b54edc: Pulling fs layer 05:13:37 4f4fb700ef54: Pulling fs layer 05:13:37 92a5565b7b96: Pulling fs layer 05:13:37 ff9bb7016b71: Pulling fs layer 05:13:37 b67dba6c2c7d: Pulling fs layer 05:13:37 a813b0c90790: Pulling fs layer 05:13:37 5fe327b54edc: Waiting 05:13:37 4f4fb700ef54: Waiting 05:13:37 92a5565b7b96: Waiting 05:13:37 b67dba6c2c7d: Waiting 05:13:37 ff9bb7016b71: Waiting 05:13:37 a813b0c90790: Waiting 05:13:37 6ef4a4ee8ca5: Download complete 05:13:37 5fe327b54edc: Verifying Checksum 05:13:37 5fe327b54edc: Download complete 05:13:37 4f4fb700ef54: Verifying Checksum 05:13:37 4f4fb700ef54: Download complete 05:13:37 da9db072f522: Download complete 05:13:37 92a5565b7b96: Verifying Checksum 05:13:37 92a5565b7b96: Download complete 05:13:37 ff9bb7016b71: Verifying Checksum 05:13:37 ff9bb7016b71: Download complete 05:13:37 da9db072f522: Pull complete 05:13:37 a813b0c90790: Verifying Checksum 05:13:37 a813b0c90790: Download complete 05:13:37 6ef4a4ee8ca5: Pull complete 05:13:37 06f05ace1117: Download complete 05:13:38 b67dba6c2c7d: Verifying Checksum 05:13:38 b67dba6c2c7d: Download complete 05:13:41 06f05ace1117: Pull complete 05:13:41 5fe327b54edc: Pull complete 05:13:41 4f4fb700ef54: Pull complete 05:13:41 92a5565b7b96: Pull complete 05:13:41 ff9bb7016b71: Pull complete 05:13:44 b67dba6c2c7d: Pull complete 05:13:44 a813b0c90790: Pull complete 05:13:44 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 05:13:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:13:44 ---> 3ba60ce46760 05:13:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:13:45 ---> Running in f3463e5b70d6 05:13:46 Removing intermediate container f3463e5b70d6 05:13:46 ---> ac1f51b17e23 05:13:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:13:46 ---> Running in e981220b9241 05:13:46 Removing intermediate container e981220b9241 05:13:46 ---> 3203a50282be 05:13:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:13:46 ---> Running in bcf265b05458 05:13:46 Removing intermediate container bcf265b05458 05:13:46 ---> 9957cfb1170d 05:13:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:13:46 ---> Running in 30672e014977 05:13:46 Removing intermediate container 30672e014977 05:13:46 ---> 0491620d59d5 05:13:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:13:46 ---> Running in d3accc3d69f5 05:13:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:13:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:13:47 (1/4) Installing openssh-keygen (9.7_p1-r5) 05:13:47 (2/4) Installing libedit (20240517.3.1-r0) 05:13:47 (3/4) Installing openssh-client-common (9.7_p1-r5) 05:13:47 (4/4) Installing openssh-client-default (9.7_p1-r5) 05:13:47 Executing busybox-1.36.1-r29.trigger 05:13:47 OK: 252 MiB in 62 packages 05:13:47 Removing intermediate container d3accc3d69f5 05:13:47 ---> a115deefe924 05:13:47 Step 8/12 : WORKDIR /device-snmp-go 05:13:47 ---> Running in 5e113e327687 05:13:47 Removing intermediate container 5e113e327687 05:13:47 ---> 4f5c4d0fd9d0 05:13:47 Step 9/12 : COPY go.mod vendor* ./ 05:13:47 ---> c25bec9e92dd 05:13:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:13:47 ---> Running in 7bb4993ff7fd 05:14:44 Removing intermediate container 7bb4993ff7fd 05:14:44 ---> 64e71b0fc32b 05:14:44 Step 11/12 : COPY . . 05:14:44 ---> b01d3d336bd8 05:14:44 Step 12/12 : RUN ${MAKE} 05:14:44 ---> Running in cc01addf3a0a 05:14:44 noop 05:14:44 Removing intermediate container cc01addf3a0a 05:14:44 ---> dc8611d7f5b4 05:14:44 Successfully built dc8611d7f5b4 05:14:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:44 + docker inspect -f . ci-base-image-x86_64 05:14:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:44 prd-ubuntu20.04-docker-8c-8g-40841 does not seem to be running inside a container 05:14:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-360 -v /w/workspace/gexfoundry_device-snmp-go_PR-360:/w/workspace/gexfoundry_device-snmp-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-360@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:14:45 $ docker top 37a636a84f7d7ce07e07bac3df28a4c3dac4b432dfba51e80069266c99af90fc -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:45 + go version 05:14:45 go version go1.23.4 linux/amd64 [Pipeline] } 05:14:45 $ docker stop --time=1 37a636a84f7d7ce07e07bac3df28a4c3dac4b432dfba51e80069266c99af90fc 05:14:46 $ docker rm -f --volumes 37a636a84f7d7ce07e07bac3df28a4c3dac4b432dfba51e80069266c99af90fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:47 + docker inspect -f . ci-base-image-x86_64 05:14:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:47 prd-ubuntu20.04-docker-8c-8g-40841 does not seem to be running inside a container 05:14:47 $ 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-360 -v /w/workspace/gexfoundry_device-snmp-go_PR-360:/w/workspace/gexfoundry_device-snmp-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-360@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:14:48 $ docker top 77aa6d84260e0f9101aa2cdc957512736575c00b2fcb287e457f722911cbb0cc -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:48 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-360 [Pipeline] fileExists [Pipeline] sh 05:14:48 + make test 05:14:48 go test ./... -coverprofile=coverage.out 05:14:50 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:15:12 github.com/edgexfoundry/device-snmp-go/cmd coverage: 0.0% of statements 05:15:12 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 05:15:20 go vet ./... 05:15:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:15:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:15:26 ./bin/test-attribution-txt.sh [Pipeline] echo 05:15:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:15:27 $ docker stop --time=1 77aa6d84260e0f9101aa2cdc957512736575c00b2fcb287e457f722911cbb0cc 05:15:29 $ docker rm -f --volumes 77aa6d84260e0f9101aa2cdc957512736575c00b2fcb287e457f722911cbb0cc [Pipeline] // withDockerContainer [Pipeline] sh 05:15:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:15:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:15:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:15:30 + ls -al . 05:15:30 total 236 05:15:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 05:14 . 05:15:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 05:13 .. 05:15:30 -rw-rw-r-- 1 jenkins jenkins 6 Mar 11 05:13 .dockerignore 05:15:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 05:15 .git 05:15:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 05:13 .github 05:15:30 -rw-rw-r-- 1 jenkins jenkins 263 Mar 11 05:13 .gitignore 05:15:30 -rw-rw-r-- 1 jenkins jenkins 199 Mar 11 05:13 .golangci.yml 05:15:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 05:13 .semver 05:15:30 -rw-rw-r-- 1 jenkins jenkins 18843 Mar 11 05:13 Attribution.txt 05:15:30 -rw-rw-r-- 1 jenkins jenkins 12273 Mar 11 05:13 CHANGELOG.md 05:15:30 -rw-rw-r-- 1 jenkins jenkins 1571 Mar 11 05:13 Dockerfile 05:15:30 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 05:13 GOVERNANCE.md 05:15:30 -rw-rw-r-- 1 jenkins jenkins 656 Mar 11 05:13 Jenkinsfile 05:15:30 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 05:13 LICENSE 05:15:30 -rw-rw-r-- 1 jenkins jenkins 2240 Mar 11 05:13 Makefile 05:15:30 -rw-rw-r-- 1 jenkins jenkins 620 Mar 11 05:13 OWNERS.md 05:15:30 -rw-rw-r-- 1 jenkins jenkins 10477 Mar 11 05:13 README.md 05:15:30 -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 05:13 VERSION 05:15:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 05:13 bin 05:15:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 05:13 cmd 05:15:30 -rw-r--r-- 1 jenkins jenkins 8903 Mar 11 05:15 coverage.out 05:15:30 -rw-rw-r-- 1 jenkins jenkins 6113 Mar 11 05:13 go.mod 05:15:30 -rw-rw-r-- 1 jenkins jenkins 86959 Mar 11 05:13 go.sum 05:15:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 05:13 internal 05:15:30 -rw-rw-r-- 1 jenkins jenkins 228 Mar 11 05:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15: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=cbda3ea691cfef601e422361509f7313aa1d9cda --label arch=amd64 --label version=0.0.0 . 05:15:31 Sending build context to Docker daemon 20.09MB 05:15:31 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 05:15:31 Step 2/25 : FROM ${BASE} AS builder 05:15:31 ---> dc8611d7f5b4 05:15:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:15:31 ---> Running in 2777c32c0ffc 05:15:31 Removing intermediate container 2777c32c0ffc 05:15:31 ---> 451fdfeeafb4 05:15:31 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:15:31 ---> Running in e89e4bb7228d 05:15:31 Removing intermediate container e89e4bb7228d 05:15:31 ---> e1f501974a9c 05:15:31 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:15:31 ---> Running in 4b373c72703b 05:15:31 Removing intermediate container 4b373c72703b 05:15:31 ---> fe957fa04373 05:15:31 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:15:31 ---> Running in b111606e645f 05:15:31 Removing intermediate container b111606e645f 05:15:31 ---> 8078a0fac6ce 05:15:31 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:15:31 ---> Running in 91cedb41b557 05:15:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:15:32 OK: 252 MiB in 62 packages 05:15:32 Removing intermediate container 91cedb41b557 05:15:32 ---> 03f2ff2e3a23 05:15:32 Step 8/25 : WORKDIR /device-snmp-go 05:15:33 ---> Running in 96d940846dac 05:15:33 Removing intermediate container 96d940846dac 05:15:33 ---> 56783027f798 05:15:33 Step 9/25 : COPY go.mod vendor* ./ 05:15:33 ---> 3f848e4b16cb 05:15:33 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:33 ---> Running in af2e3539f01b 05:15:33 Removing intermediate container af2e3539f01b 05:15:33 ---> 510e680e8d32 05:15:33 Step 11/25 : COPY . . 05:15:34 ---> d69ac91f2d7a 05:15:34 Step 12/25 : RUN ${MAKE} 05:15:34 ---> Running in 61b93e8252cd 05:15:34 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.31" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:16:06 Removing intermediate container 61b93e8252cd 05:16:06 ---> 500bdb59a800 05:16:06 Step 13/25 : FROM alpine:3.20 05:16:06 3.20: Pulling from library/alpine 05:16:06 0a9a5dfd008f: Pulling fs layer 05:16:06 0a9a5dfd008f: Verifying Checksum 05:16:06 0a9a5dfd008f: Pull complete 05:16:06 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 05:16:06 Status: Downloaded newer image for alpine:3.20 05:16:06 ---> ff221270b9fb 05:16:06 Step 14/25 : RUN apk add --update --no-cache dumb-init 05:16:06 ---> Running in 8f2142ad83f3 05:16:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:16:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:16:06 (1/1) Installing dumb-init (1.2.5-r3) 05:16:06 Executing busybox-1.36.1-r29.trigger 05:16:06 OK: 8 MiB in 15 packages 05:16:06 Removing intermediate container 8f2142ad83f3 05:16:06 ---> b59991d3d0d6 05:16:06 Step 15/25 : RUN apk --no-cache upgrade 05:16:06 ---> Running in 3a8daa464474 05:16:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:16:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:16:06 OK: 8 MiB in 15 packages 05:16:06 Removing intermediate container 3a8daa464474 05:16:06 ---> 2ead446db1eb 05:16:06 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:16:06 ---> eda8eab0e009 05:16:06 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:16:06 ---> bde266df27eb 05:16:06 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:16:06 ---> f5c666cdabe6 05:16:06 Step 19/25 : EXPOSE 59993 05:16:06 ---> Running in 9b812fd07ee7 05:16:07 Removing intermediate container 9b812fd07ee7 05:16:07 ---> 4b09f751b46b 05:16:07 Step 20/25 : EXPOSE 161 05:16:07 ---> Running in 67ad2bdebf37 05:16:07 Removing intermediate container 67ad2bdebf37 05:16:07 ---> 47174a4996a1 05:16:07 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:16:07 ---> Running in 1ca9af7140a0 05:16:07 Removing intermediate container 1ca9af7140a0 05:16:07 ---> f61cd0a23d5f 05:16:07 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:16:07 ---> Running in aa888ccd3e0e 05:16:07 Removing intermediate container aa888ccd3e0e 05:16:07 ---> 64775b57e7bb 05:16:07 Step 23/25 : LABEL arch=amd64 05:16:07 ---> Running in db782a572460 05:16:07 Removing intermediate container db782a572460 05:16:07 ---> 512da927c9c3 05:16:07 Step 24/25 : LABEL git_sha=cbda3ea691cfef601e422361509f7313aa1d9cda 05:16:07 ---> Running in d4031c34e11d 05:16:07 Removing intermediate container d4031c34e11d 05:16:07 ---> e68286efd4df 05:16:07 Step 25/25 : LABEL version=0.0.0 05:16:07 ---> Running in 01cd1b4f4abb 05:16:07 Removing intermediate container 01cd1b4f4abb 05:16:07 ---> 396615c3829c 05:16:07 [Warning] One or more build-args [ARCH] were not consumed 05:16:07 Successfully built 396615c3829c 05:16:07 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 05:16:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:08 05:16:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:08 latest: Pulling from edgex-lftools-log-publisher 05:16:08 5eb5b503b376: Pulling fs layer 05:16:08 5c69ac0246d0: Pulling fs layer 05:16:08 ec43610c2a17: Pulling fs layer 05:16:08 3a2ae6a8a46f: Pulling fs layer 05:16:08 33b1e0a273af: Pulling fs layer 05:16:08 5d3b04190fa2: Pulling fs layer 05:16:08 2f39f015ded8: Pulling fs layer 05:16:08 33b1e0a273af: Waiting 05:16:08 5d3b04190fa2: Waiting 05:16:08 2f39f015ded8: Waiting 05:16:08 3a2ae6a8a46f: Waiting 05:16:08 5c69ac0246d0: Verifying Checksum 05:16:08 5c69ac0246d0: Download complete 05:16:08 3a2ae6a8a46f: Verifying Checksum 05:16:08 3a2ae6a8a46f: Download complete 05:16:08 33b1e0a273af: Verifying Checksum 05:16:08 33b1e0a273af: Download complete 05:16:08 ec43610c2a17: Verifying Checksum 05:16:08 ec43610c2a17: Download complete 05:16:08 5d3b04190fa2: Download complete 05:16:09 5eb5b503b376: Download complete 05:16:09 2f39f015ded8: Download complete 05:16:10 5eb5b503b376: Pull complete 05:16:10 5c69ac0246d0: Pull complete 05:16:10 ec43610c2a17: Pull complete 05:16:11 3a2ae6a8a46f: Pull complete 05:16:11 33b1e0a273af: Pull complete 05:16:11 5d3b04190fa2: Pull complete 05:16:15 2f39f015ded8: Pull complete 05:16:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:16:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:15 prd-ubuntu20.04-docker-8c-8g-40841 does not seem to be running inside a container 05:16:15 $ 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-360 -v /w/workspace/gexfoundry_device-snmp-go_PR-360:/w/workspace/gexfoundry_device-snmp-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-360@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:16:17 $ docker top 52041c03aee7965675be6b4bb337b79d6c0c66ce2a08e6e0f563190d4e61eb51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:17 ---> job-cost.sh 05:16:17 lf-activate-venv: SKIPPING 05:16:17 INFO: No Stack... 05:16:17 INFO: Retrieving Pricing Info for: v3-standard-8 05:16:18 INFO: Archiving Costs [Pipeline] sh 05:16:18 + cat /w/workspace/gexfoundry_device-snmp-go_PR-360/archives/cost.csv 05:16:18 + cut -d, -f6 [Pipeline] lock 05:16:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-360-1-stack-cost] 05:16:18 Resource [jenkins-edgexfoundry-device-snmp-go-PR-360-1-stack-cost] did not exist. Created. 05:16:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-360-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:18 + echo total: 0.2199999988079071 [Pipeline] stash 05:16:18 Stashed 1 file(s) [Pipeline] } 05:16:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-PR-360-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:16:19 $ docker stop --time=1 52041c03aee7965675be6b4bb337b79d6c0c66ce2a08e6e0f563190d4e61eb51 05:16:20 $ docker rm -f --volumes 52041c03aee7965675be6b4bb337b79d6c0c66ce2a08e6e0f563190d4e61eb51 [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 05:16:21 provisioning config files... 05:16:21 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-360@tmp/config9634566879365885762tmp [Pipeline] { [Pipeline] sh 05:16:21 + set +x 05:16:21 + curl -s https://codecov.io/bash 05:16:21 + bash -s -- 05:16:21 05:16:21 _____ _ 05:16:21 / ____| | | 05:16:21 | | ___ __| | ___ ___ _____ __ 05:16:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:16:21 | |___| (_) | (_| | __/ (_| (_) \ V / 05:16:21 \_____\___/ \__,_|\___|\___\___/ \_/ 05:16:21 Bash-1.0.6 05:16:21 05:16:21 05:16:21 [0;36m==>[0m git version 2.25.1 found 05:16:21 [0;36m==>[0m 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 05:16:21 Release-Date: 2020-01-08 05:16:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:16:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:16:21 [0;90m==>[0m Jenkins CI detected. 05:16:21 [0;90mcurrent dir: [0m /w/workspace/gexfoundry_device-snmp-go_PR-360 05:16:21 [0;90mproject root:[0m . 05:16:21 [0;90m-->[0m token set from env 05:16:21 [0;32mYaml not found, that's ok! Learn more at[0m [0;36mhttp://docs.codecov.io/docs/codecov-yaml[0m 05:16:21 [0;90m==>[0m Running gcov in . [0;90m(disable via -X gcov)[0m 05:16:21 [0;90m==>[0m Python coveragepy not found 05:16:21 [0;90m==>[0m Searching for coverage reports in: 05:16:21 [0;32m+[0m . 05:16:21 [0;90m->[0m Found 1 reports 05:16:21 [0;90m==>[0m Detecting git/mercurial file structure 05:16:21 [0;90m==>[0m Reading reports 05:16:21 [0;32m+[0m ./coverage.out [0;90mbytes=8903[0m 05:16:21 [0;90m==>[0m Appending adjustments 05:16:21 [0;36mhttps://docs.codecov.io/docs/fixing-reports[0m 05:16:21 [0;32m+[0m Found adjustments 05:16:21 [0;90m==>[0m Gzipping contents 05:16:21 4.0K /tmp/codecov.qdDZeA.gz 05:16:21 [0;90m==>[0m Uploading reports 05:16:21 [0;90murl:[0m https://codecov.io 05:16:21 [0;90mquery:[0m branch=PR-360&commit=cbda3ea691cfef601e422361509f7313aa1d9cda&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-360%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=360&job=&cmd_args= 05:16:21 [0;90m->[0m Pinging Codecov 05:16:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=<hidden>&package=bash-1.0.6&token=****&branch=PR-360&commit=cbda3ea691cfef601e422361509f7313aa1d9cda&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-360%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=360&job=&cmd_args= 05:16:21 [0;90m->[0m Uploading to 05:16:21 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-snmp-go/cbda3ea691cfef601e422361509f7313aa1d9cda/d729b30d-3ae3-45de-a0af-b763b50dd1a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250311%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250311T051621Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=68d917e7073c3e9982b96f499e3cdd44382c2e0668ee2e3ada24fed598855a65 05:16:21 % Total % Received % Xferd Average Speed Time Time Time Current 05:16:21 Dload Upload Total Spent Left Speed 05:16:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 10048 --:--:-- --:--:-- --:--:-- 10048 05:16:21 [0;32m->[0m Reports have been successfully queued for processing at [0;36mhttps://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/cbda3ea691cfef601e422361509f7313aa1d9cda[0m [Pipeline] } 05:16:21 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 05:16:24 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-360/archives ] 05:16:24 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-360/archives 05:16:24 total 16 05:16:24 drwxr-xr-x 3 root root 4096 Mar 11 05:16 . 05:16:24 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 05:16 .. 05:16:24 drwxr-xr-x 2 root root 4096 Mar 11 05:16 cost 05:16:24 -rw-r--r-- 1 root root 86 Mar 11 05:16 cost.csv 05:16:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-360/archives 05:16:24 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-360/archives 05:16:24 total 16 05:16:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 05:16 . 05:16:24 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 05:16 .. 05:16:24 drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 05:16 cost 05:16:24 -rw-r--r-- 1 jenkins jenkins 86 Mar 11 05:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:16:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:16:25 ---> package-listing.sh 05:16:25 ++ facter osfamily 05:16:25 ++ tr '[:upper:]' '[:lower:]' 05:16:25 + OS_FAMILY=debian 05:16:25 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-360 05:16:25 + START_PACKAGES=/tmp/packages_start.txt 05:16:25 + END_PACKAGES=/tmp/packages_end.txt 05:16:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:16:25 + PACKAGES=/tmp/packages_start.txt 05:16:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-360 ']' 05:16:25 + PACKAGES=/tmp/packages_end.txt 05:16:25 + case "${OS_FAMILY}" in 05:16:25 + dpkg -l 05:16:25 + grep '^ii' 05:16:25 + '[' -f /tmp/packages_start.txt ']' 05:16:25 + '[' -f /tmp/packages_end.txt ']' 05:16:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:16:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-360 ']' 05:16:25 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-360/archives/ 05:16:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-360/archives/ [Pipeline] echo 05:16:25 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-360/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:16:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:26 prd-ubuntu20.04-docker-8c-8g-40841 does not seem to be running inside a container 05:16:26 $ 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-360/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-360 -v /w/workspace/gexfoundry_device-snmp-go_PR-360:/w/workspace/gexfoundry_device-snmp-go_PR-360:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-360@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:16:26 $ docker top bcda5dfd9e229dbaedb6bffd91383bf5e50d051930e87b978ebd074ab54e9fbc -eo pid,comm [Pipeline] { [Pipeline] sh 05:16:27 + touch /tmp/pre-build-complete [Pipeline] sh 05:16:27 + mkdir -p /var/log/sysstat [Pipeline] sh 05:16:27 + ls /var/log/sa-host 05:16:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:28 provisioning config files... 05:16:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-360@tmp/config2249235252672759898tmp [Pipeline] { [Pipeline] echo 05:16:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:16:28 ---> create-netrc.sh [Pipeline] } 05:16:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:16:28 ---> python-tools-install.sh [Pipeline] echo 05:16:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:16:29 ---> sudo-logs.sh 05:16:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:16:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:16:29 ---> job-cost.sh 05:16:29 lf-activate-venv: SKIPPING 05:16:29 DEBUG: total: 0.2199999988079071 05:16:29 INFO: Retrieving Stack Cost... 05:16:29 INFO: Retrieving Pricing Info for: v3-standard-8 05:16:30 INFO: Archiving Costs [Pipeline] echo 05:16:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:16:30 ---> logs-deploy.sh 05:16:30 lf-activate-venv: SKIPPING 05:16:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-360/1 05:16:30 INFO: archiving workspace using pattern(s): 05:16:31 Archives upload complete. 05:16:31 INFO: archiving logs to Nexus