Started by upstream project "edgexfoundry/cd-management/release-lts" build number 97 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8c3dfae861d5d37290ebea249bf7fca27b724746 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-ssh9878986122511993402.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-ssh15545762971962649578.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3183174645862661862.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 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-ssh15660115447490111355.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10699249072501381398.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-41080 in /w/workspace/gexfoundry_device-snmp-go_odessa [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_odessa # 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 Avoid second fetch Checking out Revision 8c3dfae861d5d37290ebea249bf7fca27b724746 (odessa) Commit message: "ci(lts-release): LTS release v4.0.0 @1b78132" > 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 core.sparsecheckout # timeout=10 > git checkout -f 8c3dfae861d5d37290ebea249bf7fca27b724746 # timeout=10 > git rev-list --no-walk 8c3dfae861d5d37290ebea249bf7fca27b724746 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:51:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:51:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:51:46 ========================================================= 07:51:46 EdgeX Global Pipelines Version Info 07:51:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:51:47 ------------------- 07:51:47 stable info: 07:51:47 ------------------- 07:51:47 Commited By: Cherry Wang cherry@iotechsys.com 07:51:47 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 07:51:47 Message: update stable to v1.0.271 07:51:48 ------------------- 07:51:48 experimental info: 07:51:48 ------------------- 07:51:48 Commited By: **** collab-it+edgex@linuxfoundation.org 07:51:48 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 07:51:48 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:51:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c3dfae861d5d37290ebea249bf7fca27b724746 [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c3dfae [Pipeline] echo 07:51:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:51:49 provisioning config files... 07:51:49 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config7204305530079216058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:49 ---> ****-login.sh 07:51:49 nexus3.edgexfoundry.org:10001 07:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:50 Configure a credential helper to remove this warning. See 07:51:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:50 07:51:50 Login Succeeded 07:51:50 nexus3.edgexfoundry.org:10002 07:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:50 Configure a credential helper to remove this warning. See 07:51:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:50 07:51:50 Login Succeeded 07:51:50 nexus3.edgexfoundry.org:10003 07:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:50 Configure a credential helper to remove this warning. See 07:51:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:50 07:51:50 Login Succeeded 07:51:50 nexus3.edgexfoundry.org:10004 07:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:50 Configure a credential helper to remove this warning. See 07:51:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:50 07:51:50 Login Succeeded 07:51:50 ****.io 07:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:50 Configure a credential helper to remove this warning. See 07:51:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:50 07:51:50 Login Succeeded 07:51:50 ---> ****-login.sh ends [Pipeline] } 07:51:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:51:50 + git rev-list -1 --merges 8c3dfae861d5d37290ebea249bf7fca27b724746~1..8c3dfae861d5d37290ebea249bf7fca27b724746 [Pipeline] echo 07:51:51 -----------> git rev-list -1 --merges 8c3dfae861d5d37290ebea249bf7fca27b724746~1..8c3dfae861d5d37290ebea249bf7fca27b724746 8c3dfae861d5d37290ebea249bf7fca27b724746 [false] [Pipeline] sh 07:51:51 + git log --format=format:%s -1 8c3dfae861d5d37290ebea249bf7fca27b724746 [Pipeline] echo 07:51:51 ========================================================= 07:51:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 07:51:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:51:51 + git log --format=format:%s -1 8c3dfae861d5d37290ebea249bf7fca27b724746 [Pipeline] echo 07:51:51 [semverPrep] GIT_COMMIT: 8c3dfae861d5d37290ebea249bf7fca27b724746, Commit Message: ci(lts-release): LTS release v4.0.0 @1b78132 [Pipeline] echo 07:51:51 [semverPrep] This is not a build commit. [Pipeline] sh 07:51:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:51:52 + grep -v github /etc/ssh/ssh_known_hosts 07:51:52 + [ -e /tmp/ssh_known_hosts ] 07:51:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:51:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:51:52 + sudo tee -a /etc/ssh/ssh_known_hosts 07:51:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:51:52 07:51:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:51:52 0.1.4: Pulling from edgex-devops/py-git-semver 07:51:52 b85a868b505f: Pulling fs layer 07:51:52 e2be974225ed: Pulling fs layer 07:51:52 339a4e72a1f5: Pulling fs layer 07:51:52 988bab9f4d93: Pulling fs layer 07:51:52 1469e6f7b9e6: Pulling fs layer 07:51:52 eaf3925da568: Pulling fs layer 07:51:52 bab4dde63d76: Pulling fs layer 07:51:52 bde34c3a00c8: Pulling fs layer 07:51:52 b352a97aabf1: Pulling fs layer 07:51:52 4872d77fe225: Pulling fs layer 07:51:52 5851b861e8e6: Pulling fs layer 07:51:52 eaf3925da568: Waiting 07:51:52 bab4dde63d76: Waiting 07:51:52 bde34c3a00c8: Waiting 07:51:52 b352a97aabf1: Waiting 07:51:52 4872d77fe225: Waiting 07:51:52 5851b861e8e6: Waiting 07:51:52 988bab9f4d93: Waiting 07:51:52 1469e6f7b9e6: Waiting 07:51:52 e2be974225ed: Download complete 07:51:52 988bab9f4d93: Download complete 07:51:52 1469e6f7b9e6: Verifying Checksum 07:51:52 1469e6f7b9e6: Download complete 07:51:52 eaf3925da568: Verifying Checksum 07:51:52 eaf3925da568: Download complete 07:51:52 339a4e72a1f5: Verifying Checksum 07:51:52 339a4e72a1f5: Download complete 07:51:52 bde34c3a00c8: Download complete 07:51:52 b352a97aabf1: Verifying Checksum 07:51:52 b352a97aabf1: Download complete 07:51:52 4872d77fe225: Verifying Checksum 07:51:52 4872d77fe225: Download complete 07:51:52 5851b861e8e6: Verifying Checksum 07:51:52 5851b861e8e6: Download complete 07:51:52 b85a868b505f: Verifying Checksum 07:51:52 b85a868b505f: Download complete 07:51:53 bab4dde63d76: Verifying Checksum 07:51:53 bab4dde63d76: Download complete 07:51:54 b85a868b505f: Pull complete 07:51:54 e2be974225ed: Pull complete 07:51:55 339a4e72a1f5: Pull complete 07:51:55 988bab9f4d93: Pull complete 07:51:56 1469e6f7b9e6: Pull complete 07:51:56 eaf3925da568: Pull complete 07:51:57 bab4dde63d76: Pull complete 07:51:57 bde34c3a00c8: Pull complete 07:51:57 b352a97aabf1: Pull complete 07:51:57 4872d77fe225: Pull complete 07:51:57 5851b861e8e6: Pull complete 07:51:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:51:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:51:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:58 prd-ubuntu20.04-docker-8c-8g-41080 does not seem to be running inside a container 07:51:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:52:03 $ docker top 1722417969bd6c22914c1b6e65d800e288f04e90bf4e409ecd8e3cf971205a42 -eo pid,comm 07:52:03 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). 07:52:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:52:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:03 [ssh-agent] Looking for ssh-agent implementation... 07:52:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:03 $ docker exec 1722417969bd6c22914c1b6e65d800e288f04e90bf4e409ecd8e3cf971205a42 ssh-agent 07:52:03 SSH_AUTH_SOCK=/tmp/ssh-qe8oReviNRz1/agent.13 07:52:03 SSH_AGENT_PID=19 07:52:03 Running ssh-add (command line suppressed) 07:52:03 Identity added: /w/workspace/gexfoundry_device-snmp-go_odessa@tmp/private_key_13779279091162878676.key (/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/private_key_13779279091162878676.key) 07:52:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:03 + git tag --points-at 8c3dfae861d5d37290ebea249bf7fca27b724746 [Pipeline] } 07:52:03 $ docker exec --env ******** --env ******** 1722417969bd6c22914c1b6e65d800e288f04e90bf4e409ecd8e3cf971205a42 ssh-agent -k 07:52:03 unset SSH_AUTH_SOCK; 07:52:03 unset SSH_AGENT_PID; 07:52:03 echo Agent pid 19 killed; 07:52:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:52:04 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0' [Pipeline] sshagent 07:52:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:04 [ssh-agent] Looking for ssh-agent implementation... 07:52:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:04 $ docker exec 1722417969bd6c22914c1b6e65d800e288f04e90bf4e409ecd8e3cf971205a42 ssh-agent 07:52:04 SSH_AUTH_SOCK=/tmp/ssh-yejzHouBVyTu/agent.70 07:52:04 SSH_AGENT_PID=76 07:52:04 Running ssh-add (command line suppressed) 07:52:04 Identity added: /w/workspace/gexfoundry_device-snmp-go_odessa@tmp/private_key_9043972241512362980.key (/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/private_key_9043972241512362980.key) 07:52:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:04 + git semver init 07:52:04 2025-03-12 07:52:04,843 [run_init] DEBUG init version:0.0.0 force:False 07:52:04 2025-03-12 07:52:04,844 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_odessa/.semver 07:52:04 2025-03-12 07:52:04,845 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_odessa/.semver 07:52:04 2025-03-12 07:52:04,846 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_odessa/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_odessa, universal_newlines=False, shell=None, istream=None) 07:52:06 2025-03-12 07:52:06,775 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_odessa/.git/info/exclude 07:52:06 2025-03-12 07:52:06,776 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_odessa/.semver/odessa with force:False 07:52:06 2025-03-12 07:52:06,776 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_odessa/.semver/odessa 07:52:06 2025-03-12 07:52:06,776 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_odessa/.semver/odessa 07:52:06 4.0.0 [Pipeline] } 07:52:06 $ docker exec --env ******** --env ******** 1722417969bd6c22914c1b6e65d800e288f04e90bf4e409ecd8e3cf971205a42 ssh-agent -k 07:52:06 unset SSH_AUTH_SOCK; 07:52:06 unset SSH_AGENT_PID; 07:52:06 echo Agent pid 76 killed; 07:52:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:52:07 + git semver [Pipeline] } 07:52:07 $ docker stop --time=1 1722417969bd6c22914c1b6e65d800e288f04e90bf4e409ecd8e3cf971205a42 07:52:08 $ docker rm -f --volumes 1722417969bd6c22914c1b6e65d800e288f04e90bf4e409ecd8e3cf971205a42 [Pipeline] // withDockerContainer [Pipeline] sh 07:52:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:52:09 Stashed 1 file(s) [Pipeline] echo 07:52:09 [edgeXSemver]: initialized semver on version 4.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:52:09 + git checkout 8c3dfae861d5d37290ebea249bf7fca27b724746 07:52:09 HEAD is now at 8c3dfae ci(lts-release): LTS release v4.0.0 @1b78132 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:52:09 provisioning config files... 07:52:09 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config3556909544890100569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:10 ---> ****-login.sh 07:52:10 nexus3.edgexfoundry.org:10001 07:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:10 Configure a credential helper to remove this warning. See 07:52:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:10 07:52:10 Login Succeeded 07:52:10 nexus3.edgexfoundry.org:10002 07:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:10 Configure a credential helper to remove this warning. See 07:52:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:10 07:52:10 Login Succeeded 07:52:10 nexus3.edgexfoundry.org:10003 07:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:10 Configure a credential helper to remove this warning. See 07:52:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:10 07:52:10 Login Succeeded 07:52:10 nexus3.edgexfoundry.org:10004 07:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:10 Configure a credential helper to remove this warning. See 07:52:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:10 07:52:10 Login Succeeded 07:52:10 ****.io 07:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:10 Configure a credential helper to remove this warning. See 07:52:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:10 07:52:10 Login Succeeded 07:52:10 ---> ****-login.sh ends [Pipeline] } 07:52:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:52:10 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 07:52:11 + grep ^go [0-9].[0-9]* go.mod 07:52:11 + cut -d -f 2 [Pipeline] echo 07:52:11 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:52:11 ========================================================= 07:52:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 07:52:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:52:12 Sending build context to Docker daemon 70.46MB 07:52:12 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:52:12 Step 2/12 : FROM ${BASE} AS builder 07:52:12 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base 07:52:12 0a9a5dfd008f: Pulling fs layer 07:52:12 8833042f23b5: Pulling fs layer 07:52:12 6ca661eb024f: Pulling fs layer 07:52:12 b5acb76e9680: Pulling fs layer 07:52:12 4f4fb700ef54: Pulling fs layer 07:52:12 012bb1f9d321: Pulling fs layer 07:52:12 97255f1bc79d: Pulling fs layer 07:52:12 454448c9edf9: Pulling fs layer 07:52:12 15f87924ceaf: Pulling fs layer 07:52:12 012bb1f9d321: Waiting 07:52:12 97255f1bc79d: Waiting 07:52:12 15f87924ceaf: Waiting 07:52:12 454448c9edf9: Waiting 07:52:12 4f4fb700ef54: Waiting 07:52:12 b5acb76e9680: Waiting 07:52:12 8833042f23b5: Verifying Checksum 07:52:12 8833042f23b5: Download complete 07:52:12 b5acb76e9680: Verifying Checksum 07:52:12 b5acb76e9680: Download complete 07:52:12 4f4fb700ef54: Verifying Checksum 07:52:12 4f4fb700ef54: Download complete 07:52:12 012bb1f9d321: Verifying Checksum 07:52:12 012bb1f9d321: Download complete 07:52:12 0a9a5dfd008f: Download complete 07:52:12 97255f1bc79d: Verifying Checksum 07:52:12 97255f1bc79d: Download complete 07:52:12 0a9a5dfd008f: Pull complete 07:52:12 15f87924ceaf: Verifying Checksum 07:52:12 15f87924ceaf: Download complete 07:52:12 8833042f23b5: Pull complete 07:52:12 6ca661eb024f: Download complete 07:52:13 454448c9edf9: Download complete 07:52:17 6ca661eb024f: Pull complete 07:52:17 b5acb76e9680: Pull complete 07:52:17 4f4fb700ef54: Pull complete 07:52:17 012bb1f9d321: Pull complete 07:52:17 97255f1bc79d: Pull complete 07:52:19 454448c9edf9: Pull complete 07:52:20 15f87924ceaf: Pull complete 07:52:20 Digest: sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 07:52:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 07:52:20 ---> bc3d7bf65e23 07:52:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:52:24 Still waiting to schedule task 07:52:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-41068’ 07:52:30 ---> Running in 94453ad2771c 07:52:30 Removing intermediate container 94453ad2771c 07:52:30 ---> 4520d03a1e7f 07:52:30 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:52:30 ---> Running in c50dc3e8aa1b 07:52:30 Removing intermediate container c50dc3e8aa1b 07:52:30 ---> 942beb67f382 07:52:30 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:52:30 ---> Running in 9e8e2989158a 07:52:30 Removing intermediate container 9e8e2989158a 07:52:30 ---> c9f2b2e11782 07:52:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:52:30 ---> Running in 3d32cbb4b89f 07:52:30 Removing intermediate container 3d32cbb4b89f 07:52:30 ---> 09d37028bd67 07:52:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:52:30 ---> Running in f3addbeaff42 07:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:52:31 (1/4) Installing openssh-keygen (9.7_p1-r5) 07:52:31 (2/4) Installing libedit (20240517.3.1-r0) 07:52:31 (3/4) Installing openssh-client-common (9.7_p1-r5) 07:52:31 (4/4) Installing openssh-client-default (9.7_p1-r5) 07:52:31 Executing busybox-1.36.1-r29.trigger 07:52:31 OK: 252 MiB in 62 packages 07:52:32 Removing intermediate container f3addbeaff42 07:52:32 ---> 0acb22ca5897 07:52:32 Step 8/12 : WORKDIR /device-snmp-go 07:52:32 ---> Running in 8f712e305c00 07:52:32 Removing intermediate container 8f712e305c00 07:52:32 ---> 5065415630b6 07:52:32 Step 9/12 : COPY go.mod vendor* ./ 07:52:36 ---> a89f22ebc401 07:52:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:36 ---> Running in 04343d15fc30 07:53:32 Removing intermediate container 04343d15fc30 07:53:32 ---> 8455eeadfc34 07:53:32 Step 11/12 : COPY . . 07:53:37 ---> 78f49f0a801b 07:53:37 Step 12/12 : RUN ${MAKE} 07:53:37 ---> Running in e3c28da54362 07:53:38 noop 07:53:38 Removing intermediate container e3c28da54362 07:53:38 ---> 266e1663b59c 07:53:38 Successfully built 266e1663b59c 07:53:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:38 + docker inspect -f . ci-base-image-x86_64 07:53:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:38 prd-ubuntu20.04-docker-8c-8g-41080 does not seem to be running inside a container 07:53:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** ci-base-image-x86_64 cat 07:53:39 $ docker top 6dbfba79b14355da825271083417578de57925a0dc9fcf8b75ea13699423da3d -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:39 + go version 07:53:39 go version go1.23.7 linux/amd64 [Pipeline] } 07:53:39 $ docker stop --time=1 6dbfba79b14355da825271083417578de57925a0dc9fcf8b75ea13699423da3d 07:53:40 $ docker rm -f --volumes 6dbfba79b14355da825271083417578de57925a0dc9fcf8b75ea13699423da3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:41 + docker inspect -f . ci-base-image-x86_64 07:53:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:41 prd-ubuntu20.04-docker-8c-8g-41080 does not seem to be running inside a container 07:53:41 $ 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_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** ci-base-image-x86_64 cat 07:53:41 $ docker top ca2a4e40eca1d253e60cc0cb7a1114bc4e37363c2871f91949fecfcb068c6f66 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:42 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_odessa [Pipeline] fileExists [Pipeline] sh 07:53:42 + make test 07:53:42 go test ./... -coverprofile=coverage.out 07:53:44 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:54:02 github.com/edgexfoundry/device-snmp-go/cmd coverage: 0.0% of statements 07:54:02 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements 07:54:10 go vet ./... 07:54:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:54:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:54:15 ./bin/test-attribution-txt.sh [Pipeline] echo 07:54:16 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:54:16 + go mod tidy [Pipeline] } 07:54:16 $ docker stop --time=1 ca2a4e40eca1d253e60cc0cb7a1114bc4e37363c2871f91949fecfcb068c6f66 07:54:23 $ docker rm -f --volumes ca2a4e40eca1d253e60cc0cb7a1114bc4e37363c2871f91949fecfcb068c6f66 [Pipeline] // withDockerContainer [Pipeline] sh 07:54:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:54:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:54:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:54:25 + ls -al . 07:54:25 total 240 07:54:25 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 07:53 . 07:54:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:51 .. 07:54:25 -rw-rw-r-- 1 jenkins jenkins 6 Mar 12 07:51 .dockerignore 07:54:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:54 .git 07:54:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:51 .github 07:54:25 -rw-rw-r-- 1 jenkins jenkins 255 Mar 12 07:51 .gitignore 07:54:25 -rw-rw-r-- 1 jenkins jenkins 199 Mar 12 07:51 .golangci.yml 07:54:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 07:52 .semver 07:54:25 -rw-rw-r-- 1 jenkins jenkins 18843 Mar 12 07:51 Attribution.txt 07:54:25 -rw-rw-r-- 1 jenkins jenkins 12273 Mar 12 07:51 CHANGELOG.md 07:54:25 -rw-rw-r-- 1 jenkins jenkins 1571 Mar 12 07:51 Dockerfile 07:54:25 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 07:51 GOVERNANCE.md 07:54:25 -rw-rw-r-- 1 jenkins jenkins 656 Mar 12 07:51 Jenkinsfile 07:54:25 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 07:51 LICENSE 07:54:25 -rw-rw-r-- 1 jenkins jenkins 2240 Mar 12 07:51 Makefile 07:54:25 -rw-rw-r-- 1 jenkins jenkins 620 Mar 12 07:51 OWNERS.md 07:54:25 -rw-rw-r-- 1 jenkins jenkins 10477 Mar 12 07:51 README.md 07:54:25 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:52 VERSION 07:54:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:51 bin 07:54:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:51 cmd 07:54:25 -rw-r--r-- 1 jenkins jenkins 8903 Mar 12 07:54 coverage.out 07:54:25 -rw-rw-r-- 1 jenkins jenkins 6106 Mar 12 07:51 go.mod 07:54:25 -rw-rw-r-- 1 jenkins jenkins 86945 Mar 12 07:51 go.sum 07:54:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:51 internal 07:54:25 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:51 vendor 07:54:25 -rw-rw-r-- 1 jenkins jenkins 228 Mar 12 07:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:25 + 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=8c3dfae861d5d37290ebea249bf7fca27b724746 --label arch=amd64 --label version=4.0.0 . 07:54:26 Sending build context to Docker daemon 70.47MB 07:54:26 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 07:54:26 Step 2/25 : FROM ${BASE} AS builder 07:54:26 ---> 266e1663b59c 07:54:26 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:54:27 ---> Running in 70147b2f8b06 07:54:27 Removing intermediate container 70147b2f8b06 07:54:27 ---> 96af82eefb2e 07:54:27 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:54:27 ---> Running in 8d34da5cf694 07:54:27 Removing intermediate container 8d34da5cf694 07:54:27 ---> a5f2bb7d322b 07:54:27 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:54:27 ---> Running in 36d5ec08ca0a 07:54:27 Removing intermediate container 36d5ec08ca0a 07:54:27 ---> 3e8e89d29fde 07:54:27 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:54:27 ---> Running in 6667682a0781 07:54:27 Removing intermediate container 6667682a0781 07:54:27 ---> 5443b5856b99 07:54:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:54:27 ---> Running in aa2e75d4bf2d 07:54:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:54:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:54:28 OK: 252 MiB in 62 packages 07:54:28 Removing intermediate container aa2e75d4bf2d 07:54:28 ---> 757d78f1df03 07:54:28 Step 8/25 : WORKDIR /device-snmp-go 07:54:28 ---> Running in 5f6ad54c3525 07:54:28 Removing intermediate container 5f6ad54c3525 07:54:28 ---> a961c3b239b0 07:54:28 Step 9/25 : COPY go.mod vendor* ./ 07:54:32 ---> 048047149ebf 07:54:32 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:54:32 ---> Running in 0a53333ff63e 07:54:32 skipping... 07:54:32 Removing intermediate container 0a53333ff63e 07:54:32 ---> 892b79e3486c 07:54:32 Step 11/25 : COPY . . 07:54:36 ---> 92c4c3ae9385 07:54:36 Step 12/25 : RUN ${MAKE} 07:54:36 ---> Running in e4f720c5ee6f 07:54:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 07:55:16 Removing intermediate container e4f720c5ee6f 07:55:16 ---> eac6d507223b 07:55:16 Step 13/25 : FROM alpine:3.20 07:55:16 3.20: Pulling from library/alpine 07:55:16 0a9a5dfd008f: Already exists 07:55:16 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 07:55:16 Status: Downloaded newer image for alpine:3.20 07:55:16 ---> ff221270b9fb 07:55:16 Step 14/25 : RUN apk add --update --no-cache dumb-init 07:55:17 ---> Running in 9bdc65989bc6 07:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:55:17 (1/1) Installing dumb-init (1.2.5-r3) 07:55:17 Executing busybox-1.36.1-r29.trigger 07:55:17 OK: 8 MiB in 15 packages 07:55:18 Removing intermediate container 9bdc65989bc6 07:55:18 ---> 92e266c843c4 07:55:18 Step 15/25 : RUN apk --no-cache upgrade 07:55:18 ---> Running in 6a90f52344da 07:55:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:55:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:55:19 OK: 8 MiB in 15 packages 07:55:19 Removing intermediate container 6a90f52344da 07:55:19 ---> b07f084ec5b3 07:55:19 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 07:55:21 ---> 8f5df56e018f 07:55:21 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:55:21 ---> 4dd3e5be195b 07:55:21 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 07:55:21 ---> 4ac497aa2986 07:55:21 Step 19/25 : EXPOSE 59993 07:55:21 ---> Running in 8cbe74c2d6dd 07:55:22 Removing intermediate container 8cbe74c2d6dd 07:55:22 ---> 7be1c41364e5 07:55:22 Step 20/25 : EXPOSE 161 07:55:22 ---> Running in d135a7410ecd 07:55:22 Removing intermediate container d135a7410ecd 07:55:22 ---> e6e0fb0c8e03 07:55:22 Step 21/25 : ENTRYPOINT ["/device-snmp"] 07:55:22 ---> Running in 2b2939e34d65 07:55:22 Removing intermediate container 2b2939e34d65 07:55:22 ---> f500e3e7b4fb 07:55:22 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:55:22 ---> Running in 1a8f447ffdde 07:55:22 Removing intermediate container 1a8f447ffdde 07:55:22 ---> 99b8d7afffd8 07:55:22 Step 23/25 : LABEL arch=amd64 07:55:22 ---> Running in 5e5f6047fa4a 07:55:22 Removing intermediate container 5e5f6047fa4a 07:55:22 ---> 51215f429497 07:55:22 Step 24/25 : LABEL git_sha=8c3dfae861d5d37290ebea249bf7fca27b724746 07:55:22 ---> Running in 8fb52187d6c0 07:55:23 Removing intermediate container 8fb52187d6c0 07:55:23 ---> 37361a005066 07:55:23 Step 25/25 : LABEL version=4.0.0 07:55:23 ---> Running in deb2717b9aa4 07:55:24 Removing intermediate container deb2717b9aa4 07:55:24 ---> 302599437740 07:55:24 [Warning] One or more build-args [ARCH] were not consumed 07:55:24 Successfully built 302599437740 07:55:24 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:55:24 provisioning config files... 07:55:24 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config14168793063626324226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:24 ---> ****-login.sh 07:55:24 nexus3.edgexfoundry.org:10001 07:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:24 Configure a credential helper to remove this warning. See 07:55:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:24 07:55:24 Login Succeeded 07:55:24 nexus3.edgexfoundry.org:10002 07:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:24 Configure a credential helper to remove this warning. See 07:55:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:24 07:55:24 Login Succeeded 07:55:24 nexus3.edgexfoundry.org:10003 07:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:25 Configure a credential helper to remove this warning. See 07:55:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:25 07:55:25 Login Succeeded 07:55:25 nexus3.edgexfoundry.org:10004 07:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:25 Configure a credential helper to remove this warning. See 07:55:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:25 07:55:25 Login Succeeded 07:55:25 ****.io 07:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:25 Configure a credential helper to remove this warning. See 07:55:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:25 07:55:25 Login Succeeded 07:55:25 ---> ****-login.sh ends [Pipeline] } 07:55:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:55:25 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:55:25 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 07:55:25 8c3dfae861d5d37290ebea249bf7fca27b724746 07:55:25 4.0.0 07:55:25 8c3dfae861d5d37290ebea249bf7fca27b724746-4.0.0 07:55:25 odessa 07:55:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:25 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:8c3dfae861d5d37290ebea249bf7fca27b724746 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:26 + docker push nexus3.edgexfoundry.org:10004/device-snmp:8c3dfae861d5d37290ebea249bf7fca27b724746 07:55:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:55:26 24448e33022c: Preparing 07:55:26 b81bb856d8bf: Preparing 07:55:26 f59818e2c634: Preparing 07:55:26 6a4837f2a1fe: Preparing 07:55:26 a9dbd2915b4e: Preparing 07:55:26 994456c4fd7b: Preparing 07:55:26 b81bb856d8bf: Pushed 07:55:26 a9dbd2915b4e: Pushed 07:55:26 6a4837f2a1fe: Pushed 07:55:26 24448e33022c: Pushed 07:55:26 994456c4fd7b: Layer already exists 07:55:29 f59818e2c634: Pushed 07:55:30 8c3dfae861d5d37290ebea249bf7fca27b724746: digest: sha256:b8abf61801793aec707fe18cd1a2c3a4e3ca6fd5ab60ab9a1b1eeb36ca22ffbc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:30 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:30 + docker push nexus3.edgexfoundry.org:10004/device-snmp:4.0.0 07:55:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:55:30 24448e33022c: Preparing 07:55:30 b81bb856d8bf: Preparing 07:55:30 f59818e2c634: Preparing 07:55:30 6a4837f2a1fe: Preparing 07:55:30 a9dbd2915b4e: Preparing 07:55:30 994456c4fd7b: Preparing 07:55:30 994456c4fd7b: Waiting 07:55:30 24448e33022c: Layer already exists 07:55:30 a9dbd2915b4e: Layer already exists 07:55:30 f59818e2c634: Layer already exists 07:55:30 6a4837f2a1fe: Layer already exists 07:55:30 b81bb856d8bf: Layer already exists 07:55:30 994456c4fd7b: Layer already exists 07:55:30 4.0.0: digest: sha256:b8abf61801793aec707fe18cd1a2c3a4e3ca6fd5ab60ab9a1b1eeb36ca22ffbc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:31 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:8c3dfae861d5d37290ebea249bf7fca27b724746-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:31 + docker push nexus3.edgexfoundry.org:10004/device-snmp:8c3dfae861d5d37290ebea249bf7fca27b724746-4.0.0 07:55:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:55:31 24448e33022c: Preparing 07:55:31 b81bb856d8bf: Preparing 07:55:31 f59818e2c634: Preparing 07:55:31 6a4837f2a1fe: Preparing 07:55:31 a9dbd2915b4e: Preparing 07:55:31 994456c4fd7b: Preparing 07:55:31 994456c4fd7b: Waiting 07:55:31 a9dbd2915b4e: Layer already exists 07:55:31 6a4837f2a1fe: Layer already exists 07:55:31 b81bb856d8bf: Layer already exists 07:55:31 24448e33022c: Layer already exists 07:55:31 f59818e2c634: Layer already exists 07:55:31 994456c4fd7b: Layer already exists 07:55:31 8c3dfae861d5d37290ebea249bf7fca27b724746-4.0.0: digest: sha256:b8abf61801793aec707fe18cd1a2c3a4e3ca6fd5ab60ab9a1b1eeb36ca22ffbc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:31 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:32 + docker push nexus3.edgexfoundry.org:10004/device-snmp:odessa 07:55:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:55:32 24448e33022c: Preparing 07:55:32 b81bb856d8bf: Preparing 07:55:32 f59818e2c634: Preparing 07:55:32 6a4837f2a1fe: Preparing 07:55:32 a9dbd2915b4e: Preparing 07:55:32 994456c4fd7b: Preparing 07:55:32 994456c4fd7b: Waiting 07:55:32 a9dbd2915b4e: Layer already exists 07:55:32 6a4837f2a1fe: Layer already exists 07:55:32 f59818e2c634: Layer already exists 07:55:32 24448e33022c: Layer already exists 07:55:32 b81bb856d8bf: Layer already exists 07:55:32 994456c4fd7b: Layer already exists 07:55:32 odessa: digest: sha256:b8abf61801793aec707fe18cd1a2c3a4e3ca6fd5ab60ab9a1b1eeb36ca22ffbc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:55:32 ===================================================== [Pipeline] echo 07:55:32 taggedImages: 07:55:32 - nexus3.edgexfoundry.org:10004/device-snmp:8c3dfae861d5d37290ebea249bf7fca27b724746 07:55:32 - nexus3.edgexfoundry.org:10004/device-snmp:4.0.0 07:55:32 - nexus3.edgexfoundry.org:10004/device-snmp:8c3dfae861d5d37290ebea249bf7fca27b724746-4.0.0 07:55:32 - nexus3.edgexfoundry.org:10004/device-snmp:odessa [Pipeline] } [Pipeline] // script [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 07:55:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:32 07:55:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:32 latest: Pulling from edgex-lftools-log-publisher 07:55:32 5eb5b503b376: Pulling fs layer 07:55:32 5c69ac0246d0: Pulling fs layer 07:55:32 ec43610c2a17: Pulling fs layer 07:55:32 3a2ae6a8a46f: Pulling fs layer 07:55:32 33b1e0a273af: Pulling fs layer 07:55:32 5d3b04190fa2: Pulling fs layer 07:55:32 2f39f015ded8: Pulling fs layer 07:55:32 5d3b04190fa2: Waiting 07:55:32 3a2ae6a8a46f: Waiting 07:55:32 2f39f015ded8: Waiting 07:55:32 33b1e0a273af: Waiting 07:55:32 5c69ac0246d0: Verifying Checksum 07:55:32 5c69ac0246d0: Download complete 07:55:32 3a2ae6a8a46f: Verifying Checksum 07:55:32 3a2ae6a8a46f: Download complete 07:55:32 33b1e0a273af: Verifying Checksum 07:55:32 33b1e0a273af: Download complete 07:55:32 5d3b04190fa2: Download complete 07:55:32 ec43610c2a17: Verifying Checksum 07:55:32 ec43610c2a17: Download complete 07:55:33 5eb5b503b376: Verifying Checksum 07:55:33 5eb5b503b376: Download complete 07:55:33 2f39f015ded8: Download complete 07:55:34 5eb5b503b376: Pull complete 07:55:34 5c69ac0246d0: Pull complete 07:55:34 ec43610c2a17: Pull complete 07:55:35 3a2ae6a8a46f: Pull complete 07:55:35 33b1e0a273af: Pull complete 07:55:35 5d3b04190fa2: Pull complete 07:55:39 2f39f015ded8: Pull complete 07:55:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:55:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:39 prd-ubuntu20.04-docker-8c-8g-41080 does not seem to be running inside a container 07:55:39 $ 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_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 07:55:46 $ docker top 03d5d7314a608aa7fe8bd8513e127f4a64deb8a059e361bcd64294fee216970e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:46 ---> job-cost.sh 07:55:46 lf-activate-venv: SKIPPING 07:55:46 INFO: No Stack... 07:55:47 INFO: Retrieving Pricing Info for: v3-standard-8 07:55:47 INFO: Archiving Costs [Pipeline] sh 07:55:47 + cat /w/workspace/gexfoundry_device-snmp-go_odessa/archives/cost.csv 07:55:47 + cut -d, -f6 [Pipeline] lock 07:55:47 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-odessa-2-stack-cost] 07:55:47 Resource [jenkins-edgexfoundry-device-snmp-go-odessa-2-stack-cost] did not exist. Created. 07:55:47 Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-odessa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:55:48 + echo total: 0.2199999988079071 [Pipeline] stash 07:55:48 Stashed 1 file(s) [Pipeline] } 07:55:48 Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-odessa-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:55:48 $ docker stop --time=1 03d5d7314a608aa7fe8bd8513e127f4a64deb8a059e361bcd64294fee216970e 07:55:49 $ docker rm -f --volumes 03d5d7314a608aa7fe8bd8513e127f4a64deb8a059e361bcd64294fee216970e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:57:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41086 in /w/workspace/gexfoundry_device-snmp-go_odessa [Pipeline] { [Pipeline] ws 07:57:12 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 07:57:15 Selected Git installation does not exist. Using Default 07:57:15 The recommended git tool is: NONE 07:57:22 using credential edgex-jenkins-ssh 07:57:22 Cloning the remote Git repository 07:57:22 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:57:23 > git init /w/workspace/device-snmp-go/2 # timeout=10 07:57:23 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:57:23 > git --version # timeout=10 07:57:23 > git --version # 'git version 2.25.1' 07:57:23 using GIT_SSH to set credentials SSH Credentials for GitHub 07:57:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:57:29 Avoid second fetch 07:57:29 Checking out Revision 8c3dfae861d5d37290ebea249bf7fca27b724746 (odessa) 07:57:27 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:57:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:57:29 > git config core.sparsecheckout # timeout=10 07:57:29 > git checkout -f 8c3dfae861d5d37290ebea249bf7fca27b724746 # timeout=10 07:57:31 Commit message: "ci(lts-release): LTS release v4.0.0 @1b78132" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:57:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:57:36 % Total % Received % Xferd Average Speed Time Time Time Current 07:57:36 Dload Upload Total Spent Left Speed 07:57:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 07:57:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:57:37 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 07:57:37 /etc/docker/daemon.json 07:57:37 { 07:57:37 "registry-mirrors": [ 07:57:37 "https://nexus3.edgexfoundry.org:10001" 07:57:37 ], 07:57:37 "bip": "10.250.0.254/24", 07:57:37 "hosts": [ 07:57:37 "tcp://0.0.0.0:5555", 07:57:37 "unix:///var/run/docker.sock" 07:57:37 ], 07:57:37 "mtu": 1458, 07:57:37 "selinux-enabled": true, 07:57:37 "seccomp-profile": "/etc/docker/seccomp.json" 07:57:37 } [Pipeline] sh 07:57:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:57:37 + sudo service docker restart [Pipeline] sh 07:57:56 + git checkout 8c3dfae861d5d37290ebea249bf7fca27b724746 07:57:56 HEAD is now at 8c3dfae ci(lts-release): LTS release v4.0.0 @1b78132 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:57:56 provisioning config files... 07:57:57 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config10152446166689350029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:57:57 ---> ****-login.sh 07:57:57 nexus3.edgexfoundry.org:10001 07:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:57:59 Configure a credential helper to remove this warning. See 07:57:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:57:59 07:57:59 Login Succeeded 07:57:59 nexus3.edgexfoundry.org:10002 07:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:00 Configure a credential helper to remove this warning. See 07:58:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:00 07:58:00 Login Succeeded 07:58:00 nexus3.edgexfoundry.org:10003 07:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:00 Configure a credential helper to remove this warning. See 07:58:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:00 07:58:00 Login Succeeded 07:58:00 nexus3.edgexfoundry.org:10004 07:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:00 Configure a credential helper to remove this warning. See 07:58:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:00 07:58:00 Login Succeeded 07:58:00 ****.io 07:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:01 Configure a credential helper to remove this warning. See 07:58:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:01 07:58:01 Login Succeeded 07:58:01 ---> ****-login.sh ends [Pipeline] } 07:58:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:58:01 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 07:58:02 + + grep ^go [0-9].[0-9]* go.mod 07:58:02 cut -d -f 2 [Pipeline] echo 07:58:02 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:58:02 ========================================================= 07:58:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts] 07:58:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:02 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:58:07 Sending build context to Docker daemon 55.6MB 07:58:07 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:58:07 Step 2/12 : FROM ${BASE} AS builder 07:58:07 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 07:58:07 94e9d8af2201: Pulling fs layer 07:58:07 345fe9f21930: Pulling fs layer 07:58:07 b40fc9e46828: Pulling fs layer 07:58:07 c9804373a1e5: Pulling fs layer 07:58:07 4f4fb700ef54: Pulling fs layer 07:58:07 f5a772c54f75: Pulling fs layer 07:58:07 e2dd1b2a9dca: Pulling fs layer 07:58:07 0a0502178392: Pulling fs layer 07:58:07 c9804373a1e5: Waiting 07:58:07 4f4fb700ef54: Waiting 07:58:07 f5a772c54f75: Waiting 07:58:07 e2dd1b2a9dca: Waiting 07:58:07 0a0502178392: Waiting 07:58:07 345fe9f21930: Verifying Checksum 07:58:07 345fe9f21930: Download complete 07:58:07 c9804373a1e5: Verifying Checksum 07:58:07 c9804373a1e5: Download complete 07:58:07 4f4fb700ef54: Verifying Checksum 07:58:07 4f4fb700ef54: Download complete 07:58:07 f5a772c54f75: Verifying Checksum 07:58:07 f5a772c54f75: Download complete 07:58:07 94e9d8af2201: Verifying Checksum 07:58:07 94e9d8af2201: Download complete 07:58:08 0a0502178392: Verifying Checksum 07:58:08 0a0502178392: Download complete 07:58:08 94e9d8af2201: Pull complete 07:58:09 345fe9f21930: Pull complete 07:58:09 b40fc9e46828: Verifying Checksum 07:58:09 b40fc9e46828: Download complete 07:58:10 e2dd1b2a9dca: Verifying Checksum 07:58:10 e2dd1b2a9dca: Download complete 07:58:25 b40fc9e46828: Pull complete 07:58:25 c9804373a1e5: Pull complete 07:58:26 4f4fb700ef54: Pull complete 07:58:26 f5a772c54f75: Pull complete 07:58:34 e2dd1b2a9dca: Pull complete 07:58:36 0a0502178392: Pull complete 07:58:36 Digest: sha256:cb630d247bcc3b1d0751040a39c4e103216f7d9e7edda4006e03146d987d6ddf 07:58:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts 07:58:36 ---> 72db82c1953f 07:58:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:58:39 ---> Running in 9978b845d45e 07:58:39 Removing intermediate container 9978b845d45e 07:58:39 ---> 8971a3a8dbb7 07:58:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:58:39 ---> Running in af30bfbd6316 07:58:39 Removing intermediate container af30bfbd6316 07:58:39 ---> f8cb1d3c0c2c 07:58:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:58:39 ---> Running in 937117e3ce2e 07:58:40 Removing intermediate container 937117e3ce2e 07:58:40 ---> a8885863e805 07:58:40 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:58:40 ---> Running in 02555e72771f 07:58:40 Removing intermediate container 02555e72771f 07:58:40 ---> fd5d3f9cb565 07:58:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:58:40 ---> Running in 6cbb14f3e495 07:58:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:58:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:58:43 (1/4) Installing openssh-keygen (9.7_p1-r5) 07:58:43 (2/4) Installing libedit (20240517.3.1-r0) 07:58:43 (3/4) Installing openssh-client-common (9.7_p1-r5) 07:58:43 (4/4) Installing openssh-client-default (9.7_p1-r5) 07:58:43 Executing busybox-1.36.1-r29.trigger 07:58:43 OK: 244 MiB in 62 packages 07:58:45 Removing intermediate container 6cbb14f3e495 07:58:45 ---> b572c6f0a946 07:58:45 Step 8/12 : WORKDIR /device-snmp-go 07:58:45 ---> Running in 70a53795dbe1 07:58:45 Removing intermediate container 70a53795dbe1 07:58:45 ---> f43cd6473462 07:58:45 Step 9/12 : COPY go.mod vendor* ./ 07:59:00 ---> 984c3b0d571e 07:59:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:59:00 ---> Running in e802b1317ca7 08:00:53 Removing intermediate container e802b1317ca7 08:00:53 ---> 1d7c01ac4e12 08:00:53 Step 11/12 : COPY . . 08:00:55 ---> 9e5ba435630c 08:00:55 Step 12/12 : RUN ${MAKE} 08:00:55 ---> Running in e82e781a0a1a 08:00:56 noop 08:00:57 Removing intermediate container e82e781a0a1a 08:00:57 ---> 9fc8424d5fb2 08:00:58 Successfully built 9fc8424d5fb2 08:00:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:58 + docker inspect -f . ci-base-image-arm64 08:00:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:00:58 prd-ubuntu20.04-docker-arm64-4c-16g-41086 does not seem to be running inside a container 08:00:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** ci-base-image-arm64 cat 08:01:00 $ docker top a3ab85bba634042a9e32a6f24f70ae7aa86ec08c6fdd2cbe38cb61055a7ac58a -eo pid,comm [Pipeline] { [Pipeline] sh 08:01:01 + go version 08:01:01 go version go1.23.7 linux/arm64 [Pipeline] } 08:01:01 $ docker stop --time=1 a3ab85bba634042a9e32a6f24f70ae7aa86ec08c6fdd2cbe38cb61055a7ac58a 08:01:02 $ docker rm -f --volumes a3ab85bba634042a9e32a6f24f70ae7aa86ec08c6fdd2cbe38cb61055a7ac58a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:03 + docker inspect -f . ci-base-image-arm64 08:01:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:01:03 prd-ubuntu20.04-docker-arm64-4c-16g-41086 does not seem to be running inside a container 08:01:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** ci-base-image-arm64 cat 08:01:05 $ docker top f43c7f20b60f2082d15e12f485671a88c6f223a998295857bb170ef469a642fc -eo pid,comm [Pipeline] { [Pipeline] sh 08:01:06 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 08:01:06 + make test 08:01:06 go test ./... -coverprofile=coverage.out 08:01:11 ? github.com/edgexfoundry/device-snmp-go [no test files] 08:05:19 github.com/edgexfoundry/device-snmp-go/cmd coverage: 0.0% of statements 08:05:22 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.031s coverage: 0.0% of statements 08:05:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:05:23 go vet ./... 08:06:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:06:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:06:31 ./bin/test-attribution-txt.sh [Pipeline] echo 08:06:31 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 08:06:32 + go mod tidy [Pipeline] } 08:06:39 $ docker stop --time=1 f43c7f20b60f2082d15e12f485671a88c6f223a998295857bb170ef469a642fc 08:06:41 $ docker rm -f --volumes f43c7f20b60f2082d15e12f485671a88c6f223a998295857bb170ef469a642fc [Pipeline] // withDockerContainer [Pipeline] sh 08:06:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:06:43 Warning: overwriting stash ‘coverage-report’ 08:06:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:06:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:06:45 + ls -al . 08:06:45 total 236 08:06:45 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 08:01 . 08:06:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:57 .. 08:06:45 -rw-rw-r-- 1 jenkins jenkins 6 Mar 12 07:57 .dockerignore 08:06:45 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:57 .git 08:06:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:57 .github 08:06:45 -rw-rw-r-- 1 jenkins jenkins 255 Mar 12 07:57 .gitignore 08:06:45 -rw-rw-r-- 1 jenkins jenkins 199 Mar 12 07:57 .golangci.yml 08:06:45 -rw-rw-r-- 1 jenkins jenkins 18843 Mar 12 07:57 Attribution.txt 08:06:45 -rw-rw-r-- 1 jenkins jenkins 12273 Mar 12 07:57 CHANGELOG.md 08:06:45 -rw-rw-r-- 1 jenkins jenkins 1571 Mar 12 07:57 Dockerfile 08:06:45 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 07:57 GOVERNANCE.md 08:06:45 -rw-rw-r-- 1 jenkins jenkins 656 Mar 12 07:57 Jenkinsfile 08:06:45 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 07:57 LICENSE 08:06:45 -rw-rw-r-- 1 jenkins jenkins 2240 Mar 12 07:57 Makefile 08:06:45 -rw-rw-r-- 1 jenkins jenkins 620 Mar 12 07:57 OWNERS.md 08:06:45 -rw-rw-r-- 1 jenkins jenkins 10477 Mar 12 07:57 README.md 08:06:45 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:52 VERSION 08:06:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:57 bin 08:06:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:57 cmd 08:06:45 -rw-r--r-- 1 jenkins jenkins 8903 Mar 12 08:05 coverage.out 08:06:45 -rw-rw-r-- 1 jenkins jenkins 6106 Mar 12 07:57 go.mod 08:06:45 -rw-rw-r-- 1 jenkins jenkins 86945 Mar 12 07:57 go.sum 08:06:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:57 internal 08:06:45 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:57 vendor 08:06:45 -rw-rw-r-- 1 jenkins jenkins 228 Mar 12 07:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:45 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8c3dfae861d5d37290ebea249bf7fca27b724746 --label arch=arm64 --label version=4.0.0 . 08:06:50 Sending build context to Docker daemon 55.61MB 08:06:50 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 08:06:50 Step 2/25 : FROM ${BASE} AS builder 08:06:50 ---> 9fc8424d5fb2 08:06:50 Step 3/25 : ARG ADD_BUILD_TAGS="" 08:06:50 ---> Running in edd7102a0f9a 08:06:51 Removing intermediate container edd7102a0f9a 08:06:51 ---> f15271138da7 08:06:51 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:06:51 ---> Running in c292e36377e2 08:06:51 Removing intermediate container c292e36377e2 08:06:51 ---> 0a9261d8dd8b 08:06:51 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:06:52 ---> Running in 4bc8d1483cca 08:06:52 Removing intermediate container 4bc8d1483cca 08:06:52 ---> 750b6de5c7f0 08:06:52 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 08:06:52 ---> Running in 1c587750782f 08:06:52 Removing intermediate container 1c587750782f 08:06:52 ---> c748b31a4f0c 08:06:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:06:52 ---> Running in 39095a3450ad 08:06:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:06:56 OK: 244 MiB in 62 packages 08:06:57 Removing intermediate container 39095a3450ad 08:06:57 ---> 7b8b59172ca1 08:06:57 Step 8/25 : WORKDIR /device-snmp-go 08:06:57 ---> Running in 1a3a4d6f63f1 08:06:57 Removing intermediate container 1a3a4d6f63f1 08:06:57 ---> f0e282a0d237 08:06:57 Step 9/25 : COPY go.mod vendor* ./ 08:07:12 ---> 935797a24fa8 08:07:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:07:12 ---> Running in 39799ab8076f 08:07:12 skipping... 08:07:12 Removing intermediate container 39799ab8076f 08:07:12 ---> e33fcf157187 08:07:12 Step 11/25 : COPY . . 08:07:27 ---> 9c5c99d8fea9 08:07:27 Step 12/25 : RUN ${MAKE} 08:07:27 ---> Running in ee9e5c5b22e9 08:07:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 08:11:35 Removing intermediate container ee9e5c5b22e9 08:11:35 ---> ce082eff4327 08:11:35 Step 13/25 : FROM alpine:3.20 08:11:35 3.20: Pulling from library/alpine 08:11:35 94e9d8af2201: Already exists 08:11:35 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 08:11:35 Status: Downloaded newer image for alpine:3.20 08:11:35 ---> 7aab056cecc6 08:11:35 Step 14/25 : RUN apk add --update --no-cache dumb-init 08:11:35 ---> Running in 2aa44f4f077b 08:11:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:11:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:11:35 (1/1) Installing dumb-init (1.2.5-r3) 08:11:35 Executing busybox-1.36.1-r29.trigger 08:11:35 OK: 9 MiB in 15 packages 08:11:35 Removing intermediate container 2aa44f4f077b 08:11:35 ---> ad1126e1d03e 08:11:35 Step 15/25 : RUN apk --no-cache upgrade 08:11:35 ---> Running in f270b4e0322f 08:11:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:11:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:11:35 OK: 9 MiB in 15 packages 08:11:35 Removing intermediate container f270b4e0322f 08:11:35 ---> feecc5ff4f5e 08:11:35 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 08:11:37 ---> c9d9ea7fa0cd 08:11:37 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 08:11:37 ---> b78ad59449f0 08:11:37 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 08:11:38 ---> 82c84aa59455 08:11:38 Step 19/25 : EXPOSE 59993 08:11:38 ---> Running in 9f8c06c39e58 08:11:38 Removing intermediate container 9f8c06c39e58 08:11:38 ---> 9409e1ea14f5 08:11:38 Step 20/25 : EXPOSE 161 08:11:38 ---> Running in 311bdbd9c83e 08:11:39 Removing intermediate container 311bdbd9c83e 08:11:39 ---> 94f03b557c78 08:11:39 Step 21/25 : ENTRYPOINT ["/device-snmp"] 08:11:39 ---> Running in 9114d3a0a994 08:11:39 Removing intermediate container 9114d3a0a994 08:11:39 ---> f93d3aa59f4e 08:11:39 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:11:39 ---> Running in be6e2dec4d41 08:11:40 Removing intermediate container be6e2dec4d41 08:11:40 ---> 93a3265e2a1b 08:11:40 Step 23/25 : LABEL arch=arm64 08:11:40 ---> Running in 1b692c15d29f 08:11:40 Removing intermediate container 1b692c15d29f 08:11:40 ---> b9e658fd04a7 08:11:40 Step 24/25 : LABEL git_sha=8c3dfae861d5d37290ebea249bf7fca27b724746 08:11:40 ---> Running in 11907a7c9880 08:11:40 Removing intermediate container 11907a7c9880 08:11:40 ---> f948bed70ea3 08:11:40 Step 25/25 : LABEL version=4.0.0 08:11:41 ---> Running in d0ae2ab88285 08:11:41 Removing intermediate container d0ae2ab88285 08:11:41 ---> 4e0323126703 08:11:41 [Warning] One or more build-args [ARCH] were not consumed 08:11:42 Successfully built 4e0323126703 08:11:42 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:11:42 provisioning config files... 08:11:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config11843969726276206711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:11:42 ---> ****-login.sh 08:11:42 nexus3.edgexfoundry.org:10001 08:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:11:43 Configure a credential helper to remove this warning. See 08:11:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:11:43 08:11:43 Login Succeeded 08:11:43 nexus3.edgexfoundry.org:10002 08:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:11:43 Configure a credential helper to remove this warning. See 08:11:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:11:43 08:11:43 Login Succeeded 08:11:43 nexus3.edgexfoundry.org:10003 08:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:11:43 Configure a credential helper to remove this warning. See 08:11:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:11:43 08:11:43 Login Succeeded 08:11:43 nexus3.edgexfoundry.org:10004 08:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:11:44 Configure a credential helper to remove this warning. See 08:11:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:11:44 08:11:44 Login Succeeded 08:11:44 ****.io 08:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:11:44 Configure a credential helper to remove this warning. See 08:11:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:11:44 08:11:44 Login Succeeded 08:11:44 ---> ****-login.sh ends [Pipeline] } 08:11:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:11:45 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 08:11:45 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 08:11:45 8c3dfae861d5d37290ebea249bf7fca27b724746 08:11:45 4.0.0 08:11:45 8c3dfae861d5d37290ebea249bf7fca27b724746-4.0.0 08:11:45 odessa 08:11:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:45 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:8c3dfae861d5d37290ebea249bf7fca27b724746 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:8c3dfae861d5d37290ebea249bf7fca27b724746 08:11:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 08:11:45 0ed60597b6c5: Preparing 08:11:45 af15a752a65a: Preparing 08:11:45 c84182e2a660: Preparing 08:11:45 d58a52d70bbd: Preparing 08:11:45 4371a392d70e: Preparing 08:11:45 dd9c8f8612c8: Preparing 08:11:45 dd9c8f8612c8: Waiting 08:11:46 d58a52d70bbd: Pushed 08:11:46 0ed60597b6c5: Pushed 08:11:46 4371a392d70e: Pushed 08:11:46 af15a752a65a: Pushed 08:11:46 dd9c8f8612c8: Layer already exists 08:11:56 c84182e2a660: Pushed 08:11:56 8c3dfae861d5d37290ebea249bf7fca27b724746: digest: sha256:8f108cd45d4a3669390a5427881d1427d5a791887d775dbc26300878e464555c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:56 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:56 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:4.0.0 08:11:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 08:11:56 0ed60597b6c5: Preparing 08:11:56 af15a752a65a: Preparing 08:11:56 c84182e2a660: Preparing 08:11:56 d58a52d70bbd: Preparing 08:11:56 4371a392d70e: Preparing 08:11:56 dd9c8f8612c8: Preparing 08:11:56 dd9c8f8612c8: Waiting 08:11:56 af15a752a65a: Layer already exists 08:11:56 c84182e2a660: Layer already exists 08:11:56 d58a52d70bbd: Layer already exists 08:11:56 0ed60597b6c5: Layer already exists 08:11:56 4371a392d70e: Layer already exists 08:11:56 dd9c8f8612c8: Layer already exists 08:11:57 4.0.0: digest: sha256:8f108cd45d4a3669390a5427881d1427d5a791887d775dbc26300878e464555c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:57 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:8c3dfae861d5d37290ebea249bf7fca27b724746-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:57 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:8c3dfae861d5d37290ebea249bf7fca27b724746-4.0.0 08:11:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 08:11:57 0ed60597b6c5: Preparing 08:11:57 af15a752a65a: Preparing 08:11:57 c84182e2a660: Preparing 08:11:57 d58a52d70bbd: Preparing 08:11:57 4371a392d70e: Preparing 08:11:57 dd9c8f8612c8: Preparing 08:11:57 dd9c8f8612c8: Waiting 08:11:57 d58a52d70bbd: Layer already exists 08:11:57 0ed60597b6c5: Layer already exists 08:11:57 c84182e2a660: Layer already exists 08:11:57 af15a752a65a: Layer already exists 08:11:57 4371a392d70e: Layer already exists 08:11:57 dd9c8f8612c8: Layer already exists 08:11:58 8c3dfae861d5d37290ebea249bf7fca27b724746-4.0.0: digest: sha256:8f108cd45d4a3669390a5427881d1427d5a791887d775dbc26300878e464555c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:58 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:59 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:odessa 08:11:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 08:11:59 0ed60597b6c5: Preparing 08:11:59 af15a752a65a: Preparing 08:11:59 c84182e2a660: Preparing 08:11:59 d58a52d70bbd: Preparing 08:11:59 4371a392d70e: Preparing 08:11:59 dd9c8f8612c8: Preparing 08:11:59 dd9c8f8612c8: Waiting 08:11:59 4371a392d70e: Layer already exists 08:11:59 c84182e2a660: Layer already exists 08:11:59 d58a52d70bbd: Layer already exists 08:11:59 0ed60597b6c5: Layer already exists 08:11:59 af15a752a65a: Layer already exists 08:11:59 dd9c8f8612c8: Layer already exists 08:11:59 odessa: digest: sha256:8f108cd45d4a3669390a5427881d1427d5a791887d775dbc26300878e464555c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:11:59 ===================================================== [Pipeline] echo 08:11:59 taggedImages: 08:11:59 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:8c3dfae861d5d37290ebea249bf7fca27b724746 08:11:59 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:4.0.0 08:11:59 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:8c3dfae861d5d37290ebea249bf7fca27b724746-4.0.0 08:11:59 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:11:59 08:11:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:12:00 arm64: Pulling from edgex-lftools-log-publisher 08:12:00 8998bd30e6a1: Pulling fs layer 08:12:00 04944245beec: Pulling fs layer 08:12:00 699f458cf7ca: Pulling fs layer 08:12:00 765212b225bb: Pulling fs layer 08:12:00 f23df028b6ca: Pulling fs layer 08:12:00 d65c8cfc05b1: Pulling fs layer 08:12:00 2437ff75d9bd: Pulling fs layer 08:12:00 765212b225bb: Waiting 08:12:00 d65c8cfc05b1: Waiting 08:12:00 2437ff75d9bd: Waiting 08:12:00 f23df028b6ca: Waiting 08:12:00 04944245beec: Verifying Checksum 08:12:00 04944245beec: Download complete 08:12:00 765212b225bb: Verifying Checksum 08:12:00 765212b225bb: Download complete 08:12:00 f23df028b6ca: Download complete 08:12:00 d65c8cfc05b1: Verifying Checksum 08:12:00 d65c8cfc05b1: Download complete 08:12:00 699f458cf7ca: Verifying Checksum 08:12:00 699f458cf7ca: Download complete 08:12:01 8998bd30e6a1: Verifying Checksum 08:12:01 8998bd30e6a1: Download complete 08:12:03 2437ff75d9bd: Verifying Checksum 08:12:06 8998bd30e6a1: Pull complete 08:12:06 04944245beec: Pull complete 08:12:08 699f458cf7ca: Pull complete 08:12:08 765212b225bb: Pull complete 08:12:09 f23df028b6ca: Pull complete 08:12:09 d65c8cfc05b1: Pull complete 08:12:27 2437ff75d9bd: Pull complete 08:12:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:12:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:12:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:12:28 prd-ubuntu20.04-docker-arm64-4c-16g-41086 does not seem to be running inside a container 08:12:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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:arm64 cat 08:12:31 $ docker top daacd49b2bd1cc6e24859ff7c13fb23fad46a8b334566a446121725e3debaff5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:32 ---> job-cost.sh 08:12:32 lf-activate-venv: SKIPPING 08:12:32 INFO: No Stack... 08:12:32 INFO: Retrieving Pricing Info for: v3-standard-4 08:12:33 INFO: Archiving Costs [Pipeline] sh 08:12:34 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 08:12:34 + cut -d, -f6 [Pipeline] lock 08:12:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-odessa-2-stack-cost] 08:12:34 Resource [jenkins-edgexfoundry-device-snmp-go-odessa-2-stack-cost] did not exist. Created. 08:12:34 Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-odessa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:12:34 /w/workspace/device-snmp-go/2@tmp/durable-2aaeeab0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:12:35 + echo total: 0.10999999940395355 [Pipeline] stash 08:12:35 Warning: overwriting stash ‘stack-cost’ 08:12:36 Stashed 1 file(s) [Pipeline] } 08:12:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-odessa-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:12:36 $ docker stop --time=1 daacd49b2bd1cc6e24859ff7c13fb23fad46a8b334566a446121725e3debaff5 08:12:37 $ docker rm -f --volumes daacd49b2bd1cc6e24859ff7c13fb23fad46a8b334566a446121725e3debaff5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:12:38 provisioning config files... 08:12:38 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config5217707438465846590tmp [Pipeline] { [Pipeline] sh 08:12:38 + set +x 08:12:38 + bash -s -- 08:12:38 + curl -s https://codecov.io/bash 08:12:38 08:12:38 _____ _ 08:12:38 / ____| | | 08:12:38 | | ___ __| | ___ ___ _____ __ 08:12:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:12:38 | |___| (_) | (_| | __/ (_| (_) \ V / 08:12:38 \_____\___/ \__,_|\___|\___\___/ \_/ 08:12:38 Bash-1.0.6 08:12:38 08:12:38 08:12:38 ==> git version 2.25.1 found 08:12:38 ==> 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 08:12:38 Release-Date: 2020-01-08 08:12:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:12:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:12:38 ==> Jenkins CI detected. 08:12:38 current dir:  /w/workspace/gexfoundry_device-snmp-go_odessa 08:12:38 project root: . 08:12:38 --> token set from env 08:12:38 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 08:12:38 ==> Running gcov in . (disable via -X gcov) 08:12:38 ==> Python coveragepy not found 08:12:38 ==> Searching for coverage reports in: 08:12:38 + . 08:12:38 -> Found 1 reports 08:12:38 ==> Detecting git/mercurial file structure 08:12:38 ==> Reading reports 08:12:38 + ./coverage.out bytes=8903 08:12:38 ==> Appending adjustments 08:12:38 https://docs.codecov.io/docs/fixing-reports 08:12:39 + Found adjustments 08:12:39 ==> Gzipping contents 08:12:39 28K /tmp/codecov.NIGzpV.gz 08:12:39 ==> Uploading reports 08:12:39 url: https://codecov.io 08:12:39 query: branch=odessa&commit=8c3dfae861d5d37290ebea249bf7fca27b724746&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fodessa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:12:39 -> Pinging Codecov 08:12:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=odessa&commit=8c3dfae861d5d37290ebea249bf7fca27b724746&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fodessa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:12:39 -> Uploading to 08:12:39 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-snmp-go/8c3dfae861d5d37290ebea249bf7fca27b724746/c56fa2d3-93d3-4afc-9569-7e2231de81f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T081239Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=3fda7b31a94f088a0d7478b2d9f50700ba865be967a48d680b3a9b16e967ea5e 08:12:39 % Total % Received % Xferd Average Speed Time Time Time Current 08:12:39 Dload Upload Total Spent Left Speed 08:12:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 25993 0 0 100 25993 0 154k --:--:-- --:--:-- --:--:-- 154k 08:12:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/8c3dfae861d5d37290ebea249bf7fca27b724746 [Pipeline] } 08:12:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:12:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:12:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:12:39 08:12:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:12:40 latest: Pulling from edgex-devops/edgex-snyk-go 08:12:40 43c4264eed91: Pulling fs layer 08:12:40 4cc291be95ef: Pulling fs layer 08:12:40 2ac1f1163629: Pulling fs layer 08:12:40 5c3c966382ef: Pulling fs layer 08:12:40 4f4fb700ef54: Pulling fs layer 08:12:40 d9c7d2e4e75e: Pulling fs layer 08:12:40 9c3e1370e548: Pulling fs layer 08:12:40 5c3c966382ef: Waiting 08:12:40 4f4fb700ef54: Waiting 08:12:40 d9c7d2e4e75e: Waiting 08:12:40 4cc291be95ef: Verifying Checksum 08:12:40 4cc291be95ef: Download complete 08:12:40 5c3c966382ef: Download complete 08:12:40 4f4fb700ef54: Download complete 08:12:40 43c4264eed91: Download complete 08:12:40 43c4264eed91: Pull complete 08:12:40 d9c7d2e4e75e: Verifying Checksum 08:12:40 d9c7d2e4e75e: Download complete 08:12:40 4cc291be95ef: Pull complete 08:12:40 2ac1f1163629: Download complete 08:12:41 9c3e1370e548: Verifying Checksum 08:12:41 9c3e1370e548: Download complete 08:12:44 2ac1f1163629: Pull complete 08:12:44 5c3c966382ef: Pull complete 08:12:44 4f4fb700ef54: Pull complete 08:12:44 d9c7d2e4e75e: Pull complete 08:12:47 9c3e1370e548: Pull complete 08:12:47 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:12:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:12:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:12:47 prd-ubuntu20.04-docker-8c-8g-41080 does not seem to be running inside a container 08:12:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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/edgex-snyk-go:latest cat 08:12:50 $ docker top c32fd175dc81ba01741c0b0de0e6b661c9d7d770b80e0d4d4389c363e8cd7996 -eo pid,comm [Pipeline] { [Pipeline] sh 08:12:50 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_odessa [Pipeline] echo 08:12:50 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:odessa' [Pipeline] sh 08:12:50 + set -o pipefail 08:12:50 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:odessa' 08:12:55 08:12:55 Monitoring /w/workspace/gexfoundry_device-snmp-go_odessa (github.com/edgexfoundry/device-snmp-go)... 08:12:55 08:12:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/260d3e8b-2ced-4b14-8e38-6f866c7ee329/history/cf8396f5-bf3a-46c6-80f2-5dc20f9d33e4 08:12:55 08:12:55 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:12:55 08:12:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:12:55 08:12:55 08:12:55 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:12:55 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:12:55 $ docker stop --time=1 c32fd175dc81ba01741c0b0de0e6b661c9d7d770b80e0d4d4389c363e8cd7996 08:12:56 $ docker rm -f --volumes c32fd175dc81ba01741c0b0de0e6b661c9d7d770b80e0d4d4389c363e8cd7996 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:12:57 + git log --format=format:%s -1 8c3dfae861d5d37290ebea249bf7fca27b724746 [Pipeline] sh 08:12:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:12:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:12:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:12:58 prd-ubuntu20.04-docker-8c-8g-41080 does not seem to be running inside a container 08:12:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:12:58 $ docker top d65a09e22a52ca3a2c9d001a9f094d6d1eccf275f6595a648df8e530f3be6185 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:12:58 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:12:58 + git semver [Pipeline] } 08:12:59 $ docker stop --time=1 d65a09e22a52ca3a2c9d001a9f094d6d1eccf275f6595a648df8e530f3be6185 08:13:00 $ docker rm -f --volumes d65a09e22a52ca3a2c9d001a9f094d6d1eccf275f6595a648df8e530f3be6185 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:13:00 08:13:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:13:01 0.23.1-centos7: Pulling from edgex-lftools 08:13:01 ab5ef0e58194: Pulling fs layer 08:13:01 9712f1f96733: Pulling fs layer 08:13:01 63f879dbbcfc: Pulling fs layer 08:13:01 0d9ebad4ef96: Pulling fs layer 08:13:01 e9a5061849ea: Pulling fs layer 08:13:01 d747dcd14b5f: Pulling fs layer 08:13:01 2de7ff778b66: Pulling fs layer 08:13:01 d747dcd14b5f: Waiting 08:13:01 2de7ff778b66: Waiting 08:13:01 e9a5061849ea: Waiting 08:13:01 0d9ebad4ef96: Waiting 08:13:01 9712f1f96733: Verifying Checksum 08:13:01 9712f1f96733: Download complete 08:13:01 63f879dbbcfc: Verifying Checksum 08:13:01 63f879dbbcfc: Download complete 08:13:01 e9a5061849ea: Verifying Checksum 08:13:01 e9a5061849ea: Download complete 08:13:01 d747dcd14b5f: Download complete 08:13:01 0d9ebad4ef96: Verifying Checksum 08:13:01 0d9ebad4ef96: Download complete 08:13:01 ab5ef0e58194: Verifying Checksum 08:13:01 ab5ef0e58194: Download complete 08:13:01 2de7ff778b66: Verifying Checksum 08:13:01 2de7ff778b66: Download complete 08:13:04 ab5ef0e58194: Pull complete 08:13:04 9712f1f96733: Pull complete 08:13:05 63f879dbbcfc: Pull complete 08:13:09 0d9ebad4ef96: Pull complete 08:13:09 e9a5061849ea: Pull complete 08:13:09 d747dcd14b5f: Pull complete 08:13:10 2de7ff778b66: Pull complete 08:13:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:13:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:13:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:10 prd-ubuntu20.04-docker-8c-8g-41080 does not seem to be running inside a container 08:13:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:13:14 $ docker top 821c20456f59916e17a6dd5b78114de220b11c3db0971bad88857acda1032af3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:13:14 provisioning config files... 08:13:14 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config15037041405182290320tmp 08:13:14 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config8105409629350483506tmp 08:13:14 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config8704903068852959780tmp [Pipeline] { [Pipeline] echo 08:13:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:13:15 ---> sigul-configuration.sh 08:13:15 gpg: directory `/root/.gnupg' created 08:13:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:13:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:13:15 gpg: keyring `/root/.gnupg/secring.gpg' created 08:13:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:13:15 gpg: CAST5 encrypted data 08:13:15 gpg: encrypted with 1 passphrase 08:13:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:13:15 + mkdir /home/jenkins 08:13:15 + mkdir /home/jenkins/sigul [Pipeline] sh 08:13:15 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 08:13:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:13:15 ---> sigul-install.sh 08:13:15 Sigul already installed; skipping installation. [Pipeline] sh 08:13:16 + git tag --list 08:13:16 1.0.0 08:13:16 v0.0.0 08:13:16 v1.1.0 08:13:16 v1.1.1 08:13:16 v1.2.2 08:13:16 v1.3.0 08:13:16 v1.3.1 08:13:16 v2.0.0 08:13:16 v2.1.0 08:13:16 v2.1.1 08:13:16 v2.2.0 08:13:16 v2.3.0 08:13:16 v3.0 08:13:16 v3.0.0 08:13:16 v3.1 08:13:16 v3.1.0 08:13:16 v3.1.0-dev.1 08:13:16 v3.1.0-dev.10 08:13:16 v3.1.0-dev.11 08:13:16 v3.1.0-dev.12 08:13:16 v3.1.0-dev.13 08:13:16 v3.1.0-dev.2 08:13:16 v3.1.0-dev.3 08:13:16 v3.1.0-dev.4 08:13:16 v3.1.0-dev.5 08:13:16 v3.1.0-dev.6 08:13:16 v3.1.0-dev.7 08:13:16 v3.1.0-dev.8 08:13:16 v3.1.0-dev.9 08:13:16 v3.1.1 08:13:16 v3.1.1-dev.1 08:13:16 v3.2.0-dev.1 08:13:16 v3.2.0-dev.10 08:13:16 v3.2.0-dev.2 08:13:16 v3.2.0-dev.3 08:13:16 v3.2.0-dev.4 08:13:16 v3.2.0-dev.5 08:13:16 v3.2.0-dev.6 08:13:16 v3.2.0-dev.7 08:13:16 v3.2.0-dev.8 08:13:16 v3.2.0-dev.9 08:13:16 v4.0.0 08:13:16 v4.0.0-dev.1 08:13:16 v4.0.0-dev.2 08:13:16 v4.0.0-dev.3 08:13:16 v4.0.0-dev.4 [Pipeline] sh 08:13:16 + lftools sign git-tag v4.0.0 08:13:17 Signing Git tag with Sigul... 08:13:17 Signing v4.0.0 [Pipeline] echo 08:13:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:13:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:13:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:13:17 $ docker stop --time=1 821c20456f59916e17a6dd5b78114de220b11c3db0971bad88857acda1032af3 08:13:18 $ docker rm -f --volumes 821c20456f59916e17a6dd5b78114de220b11c3db0971bad88857acda1032af3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:13:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:13:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:13:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:20 prd-ubuntu20.04-docker-8c-8g-41080 does not seem to be running inside a container 08:13:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:13:20 $ docker top 518d3599a69d9439598324c75b3fe8d000b40b8f580b4ae1fa4ca94da4ca8d2f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:13:20 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:13:20 + git semver [Pipeline] } 08:13:21 $ docker stop --time=1 518d3599a69d9439598324c75b3fe8d000b40b8f580b4ae1fa4ca94da4ca8d2f 08:13:22 $ docker rm -f --volumes 518d3599a69d9439598324c75b3fe8d000b40b8f580b4ae1fa4ca94da4ca8d2f [Pipeline] // withDockerContainer [Pipeline] sh 08:13:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:13:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:13:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:23 prd-ubuntu20.04-docker-8c-8g-41080 does not seem to be running inside a container 08:13:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:13:23 $ docker top 80e2bf67a1d9fa65cb07ca9c5575116ad099758904efa1392a825e80295c1585 -eo pid,comm 08:13:23 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). 08:13:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:13:23 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:13:23 + git semver [Pipeline] } 08:13:24 $ docker stop --time=1 80e2bf67a1d9fa65cb07ca9c5575116ad099758904efa1392a825e80295c1585 08:13:25 $ docker rm -f --volumes 80e2bf67a1d9fa65cb07ca9c5575116ad099758904efa1392a825e80295c1585 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 08:13:26 + [ -d /w/workspace/gexfoundry_device-snmp-go_odessa/archives ] 08:13:26 + ls -al /w/workspace/gexfoundry_device-snmp-go_odessa/archives 08:13:26 total 16 08:13:26 drwxr-xr-x 3 root root 4096 Mar 12 07:55 . 08:13:26 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 08:13 .. 08:13:26 drwxr-xr-x 2 root root 4096 Mar 12 07:55 cost 08:13:26 -rw-r--r-- 1 root root 86 Mar 12 07:55 cost.csv 08:13:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_odessa/archives 08:13:26 + ls -al /w/workspace/gexfoundry_device-snmp-go_odessa/archives 08:13:26 total 16 08:13:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 07:55 . 08:13:26 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 08:13 .. 08:13:26 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 07:55 cost 08:13:26 -rw-r--r-- 1 jenkins jenkins 86 Mar 12 07:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:13:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:13:27 ---> package-listing.sh 08:13:27 ++ facter osfamily 08:13:27 ++ tr '[:upper:]' '[:lower:]' 08:13:27 + OS_FAMILY=debian 08:13:27 + workspace=/w/workspace/gexfoundry_device-snmp-go_odessa 08:13:27 + START_PACKAGES=/tmp/packages_start.txt 08:13:27 + END_PACKAGES=/tmp/packages_end.txt 08:13:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:13:27 + PACKAGES=/tmp/packages_start.txt 08:13:27 + '[' /w/workspace/gexfoundry_device-snmp-go_odessa ']' 08:13:27 + PACKAGES=/tmp/packages_end.txt 08:13:27 + case "${OS_FAMILY}" in 08:13:27 + dpkg -l 08:13:27 + grep '^ii' 08:13:27 + '[' -f /tmp/packages_start.txt ']' 08:13:27 + '[' -f /tmp/packages_end.txt ']' 08:13:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:13:27 + '[' /w/workspace/gexfoundry_device-snmp-go_odessa ']' 08:13:27 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_odessa/archives/ 08:13:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_odessa/archives/ [Pipeline] echo 08:13:27 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_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:13:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:13:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:28 prd-ubuntu20.04-docker-8c-8g-41080 does not seem to be running inside a container 08:13:28 $ 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_odessa/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_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:13:28 $ docker top 4c15985f9534e2a6964f693251867642ca707c7e9c758705b214a09895f3eaec -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:29 + touch /tmp/pre-build-complete [Pipeline] sh 08:13:29 + mkdir -p /var/log/sysstat [Pipeline] sh 08:13:29 + ls /var/log/sa-host 08:13:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:13:29 provisioning config files... 08:13:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config18276407604352007607tmp [Pipeline] { [Pipeline] echo 08:13:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:13:30 ---> create-netrc.sh [Pipeline] } 08:13:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:13:30 ---> python-tools-install.sh [Pipeline] echo 08:13:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:13:30 ---> sudo-logs.sh 08:13:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:13:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:13:30 ---> job-cost.sh 08:13:30 lf-activate-venv: SKIPPING 08:13:30 DEBUG: total: 0.2199999988079071 08:13:30 INFO: Retrieving Stack Cost... 08:13:31 INFO: Retrieving Pricing Info for: v3-standard-8 08:13:31 INFO: Archiving Costs [Pipeline] echo 08:13:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:13:32 ---> logs-deploy.sh 08:13:32 lf-activate-venv: SKIPPING 08:13:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/odessa/2 08:13:32 INFO: archiving workspace using pattern(s): 08:13:33 Archives upload complete. 08:13:33 INFO: archiving logs to Nexus