Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 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-ssh7059968015914298062.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11059764592114378331.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17538726132358275079.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh16584583346171837205.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8629647404104257592.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.21 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-27970 in /w/workspace/edgexfoundry_device-snmp-go_main [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/edgexfoundry_device-snmp-go_main # 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 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 (main) > 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 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 # timeout=10 Commit message: "Merge pull request #339 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.7" > git rev-list --no-walk 1c898a5d1a99b518c80e00aa3bb7c808b03e10be # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:28:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:28:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:28:00 ========================================================= 06:28:00 EdgeX Global Pipelines Version Info 06:28:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:28:01 ------------------- 06:28:01 stable info: 06:28:01 ------------------- 06:28:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:28:01 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 06:28:01 Message: update stable to v1.0.258 06:28:02 ------------------- 06:28:02 experimental info: 06:28:02 ------------------- 06:28:02 Commited By: **** collab-it+edgex@linuxfoundation.org 06:28:02 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 06:28:02 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:28:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:28:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:28:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:28:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:28:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:28:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:28:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:28:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 [Pipeline] echo 06:28:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2c4288 [Pipeline] echo 06:28:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:28:03 provisioning config files... 06:28:03 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18161396898129891691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:03 ---> ****-login.sh 06:28:03 nexus3.edgexfoundry.org:10001 06:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:04 Configure a credential helper to remove this warning. See 06:28:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:04 06:28:04 Login Succeeded 06:28:04 nexus3.edgexfoundry.org:10002 06:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:04 Configure a credential helper to remove this warning. See 06:28:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:04 06:28:04 Login Succeeded 06:28:04 nexus3.edgexfoundry.org:10003 06:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:04 Configure a credential helper to remove this warning. See 06:28:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:04 06:28:04 Login Succeeded 06:28:04 nexus3.edgexfoundry.org:10004 06:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:04 Configure a credential helper to remove this warning. See 06:28:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:04 06:28:04 Login Succeeded 06:28:04 ****.io 06:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:04 Configure a credential helper to remove this warning. See 06:28:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:04 06:28:04 Login Succeeded 06:28:04 ---> ****-login.sh ends [Pipeline] } 06:28:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:28:05 + git rev-list -1 --merges c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58~1..c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 [Pipeline] echo 06:28:05 -----------> git rev-list -1 --merges c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58~1..c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 06:28:05 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 [false] [Pipeline] sh 06:28:05 + git log --format=format:%s -1 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 [Pipeline] echo 06:28:05 ========================================================= 06:28:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:28:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:28:06 + git log --format=format:%s -1 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 [Pipeline] echo 06:28:06 [semverPrep] GIT_COMMIT: c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58, Commit Message: Merge pull request #339 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.7 [Pipeline] echo 06:28:06 [semverPrep] This is not a build commit. [Pipeline] sh 06:28:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:28:06 + grep -v github /etc/ssh/ssh_known_hosts 06:28:06 + [ -e /tmp/ssh_known_hosts ] 06:28:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:28:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:28:06 + sudo tee -a /etc/ssh/ssh_known_hosts 06:28:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:07 06:28:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:07 0.1.4: Pulling from edgex-devops/py-git-semver 06:28:07 b85a868b505f: Pulling fs layer 06:28:07 e2be974225ed: Pulling fs layer 06:28:07 339a4e72a1f5: Pulling fs layer 06:28:07 988bab9f4d93: Pulling fs layer 06:28:07 1469e6f7b9e6: Pulling fs layer 06:28:07 eaf3925da568: Pulling fs layer 06:28:07 bab4dde63d76: Pulling fs layer 06:28:07 bde34c3a00c8: Pulling fs layer 06:28:07 b352a97aabf1: Pulling fs layer 06:28:07 4872d77fe225: Pulling fs layer 06:28:07 5851b861e8e6: Pulling fs layer 06:28:07 eaf3925da568: Waiting 06:28:07 bde34c3a00c8: Waiting 06:28:07 bab4dde63d76: Waiting 06:28:07 b352a97aabf1: Waiting 06:28:07 5851b861e8e6: Waiting 06:28:07 988bab9f4d93: Waiting 06:28:07 4872d77fe225: Waiting 06:28:07 1469e6f7b9e6: Waiting 06:28:07 e2be974225ed: Verifying Checksum 06:28:07 988bab9f4d93: Verifying Checksum 06:28:07 988bab9f4d93: Download complete 06:28:07 1469e6f7b9e6: Verifying Checksum 06:28:07 1469e6f7b9e6: Download complete 06:28:07 eaf3925da568: Verifying Checksum 06:28:07 eaf3925da568: Download complete 06:28:07 339a4e72a1f5: Verifying Checksum 06:28:07 339a4e72a1f5: Download complete 06:28:07 bde34c3a00c8: Verifying Checksum 06:28:07 bde34c3a00c8: Download complete 06:28:07 b352a97aabf1: Download complete 06:28:07 4872d77fe225: Verifying Checksum 06:28:07 4872d77fe225: Download complete 06:28:07 5851b861e8e6: Download complete 06:28:07 b85a868b505f: Verifying Checksum 06:28:07 b85a868b505f: Download complete 06:28:07 bab4dde63d76: Verifying Checksum 06:28:07 bab4dde63d76: Download complete 06:28:08 b85a868b505f: Pull complete 06:28:09 e2be974225ed: Pull complete 06:28:09 339a4e72a1f5: Pull complete 06:28:09 988bab9f4d93: Pull complete 06:28:10 1469e6f7b9e6: Pull complete 06:28:10 eaf3925da568: Pull complete 06:28:11 bab4dde63d76: Pull complete 06:28:11 bde34c3a00c8: Pull complete 06:28:11 b352a97aabf1: Pull complete 06:28:12 4872d77fe225: Pull complete 06:28:12 5851b861e8e6: Pull complete 06:28:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:28:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:12 prd-ubuntu20.04-docker-8c-8g-27970 does not seem to be running inside a container 06:28:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 06:28:15 $ docker top 27bad7e8a4cc61fffa580ae1bf9dec9c5b57c9343712d766b009223541885d23 -eo pid,comm 06:28:16 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). 06:28:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:16 [ssh-agent] Looking for ssh-agent implementation... 06:28:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:16 $ docker exec 27bad7e8a4cc61fffa580ae1bf9dec9c5b57c9343712d766b009223541885d23 ssh-agent 06:28:16 SSH_AUTH_SOCK=/tmp/ssh-NdELQM95WrqY/agent.33 06:28:16 SSH_AGENT_PID=39 06:28:16 Running ssh-add (command line suppressed) 06:28:16 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_58825740008445426.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_58825740008445426.key) 06:28:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:16 + git tag --points-at HEAD [Pipeline] } 06:28:16 $ docker exec --env ******** --env ******** 27bad7e8a4cc61fffa580ae1bf9dec9c5b57c9343712d766b009223541885d23 ssh-agent -k 06:28:16 unset SSH_AUTH_SOCK; 06:28:16 unset SSH_AGENT_PID; 06:28:16 echo Agent pid 39 killed; 06:28:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:28:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:16 [ssh-agent] Looking for ssh-agent implementation... 06:28:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:17 $ docker exec 27bad7e8a4cc61fffa580ae1bf9dec9c5b57c9343712d766b009223541885d23 ssh-agent 06:28:17 SSH_AUTH_SOCK=/tmp/ssh-iteVdBSFwQn2/agent.71 06:28:17 SSH_AGENT_PID=77 06:28:17 Running ssh-add (command line suppressed) 06:28:17 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13405630500415756178.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13405630500415756178.key) 06:28:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:17 + git semver init 06:28:17 2024-01-26 06:28:17,719 [run_init] DEBUG init version:0.0.0 force:False 06:28:17 2024-01-26 06:28:17,719 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 06:28:17 2024-01-26 06:28:17,720 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 06:28:17 2024-01-26 06:28:17,720 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 06:28:18 2024-01-26 06:28:18,742 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 06:28:18 2024-01-26 06:28:18,743 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 06:28:18 2024-01-26 06:28:18,743 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:28:18 2024-01-26 06:28:18,743 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:28:18 3.2.0-dev.5 [Pipeline] } 06:28:18 $ docker exec --env ******** --env ******** 27bad7e8a4cc61fffa580ae1bf9dec9c5b57c9343712d766b009223541885d23 ssh-agent -k 06:28:18 unset SSH_AUTH_SOCK; 06:28:18 unset SSH_AGENT_PID; 06:28:18 echo Agent pid 77 killed; 06:28:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:19 + git semver [Pipeline] } 06:28:19 $ docker stop --time=1 27bad7e8a4cc61fffa580ae1bf9dec9c5b57c9343712d766b009223541885d23 06:28:20 $ docker rm -f --volumes 27bad7e8a4cc61fffa580ae1bf9dec9c5b57c9343712d766b009223541885d23 [Pipeline] // withDockerContainer [Pipeline] sh 06:28:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:28:21 Stashed 1 file(s) [Pipeline] echo 06:28:21 [edgeXSemver]: initialized semver on version 3.2.0-dev.5 [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] withEnv [Pipeline] { [Pipeline] configFileProvider 06:28:21 provisioning config files... 06:28:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17147172206619133600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:22 ---> ****-login.sh 06:28:22 nexus3.edgexfoundry.org:10001 06:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:22 Configure a credential helper to remove this warning. See 06:28:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:22 06:28:22 Login Succeeded 06:28:22 nexus3.edgexfoundry.org:10002 06:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:22 Configure a credential helper to remove this warning. See 06:28:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:22 06:28:22 Login Succeeded 06:28:22 nexus3.edgexfoundry.org:10003 06:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:22 Configure a credential helper to remove this warning. See 06:28:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:22 06:28:22 Login Succeeded 06:28:22 nexus3.edgexfoundry.org:10004 06:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:22 Configure a credential helper to remove this warning. See 06:28:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:22 06:28:22 Login Succeeded 06:28:22 ****.io 06:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:23 Configure a credential helper to remove this warning. See 06:28:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:23 06:28:23 Login Succeeded 06:28:23 ---> ****-login.sh ends [Pipeline] } 06:28:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:28:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:28:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:28:23 ========================================================= 06:28:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:28:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:23 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:28:23 Sending build context to Docker daemon 14.1MB 06:28:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 06:28:23 Step 2/12 : FROM ${BASE} AS builder 06:28:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:28:23 7264a8db6415: Pulling fs layer 06:28:23 c4d48a809fc2: Pulling fs layer 06:28:23 4f1c88b9dad5: Pulling fs layer 06:28:23 ad3a456e5733: Pulling fs layer 06:28:23 69c7f0334f64: Pulling fs layer 06:28:23 1f1c1a5573a3: Pulling fs layer 06:28:23 ce7588e14bc9: Pulling fs layer 06:28:23 b5e4710f87ac: Pulling fs layer 06:28:23 b5e4710f87ac: Waiting 06:28:23 69c7f0334f64: Waiting 06:28:23 ce7588e14bc9: Waiting 06:28:23 ad3a456e5733: Waiting 06:28:23 c4d48a809fc2: Download complete 06:28:23 ad3a456e5733: Verifying Checksum 06:28:23 ad3a456e5733: Download complete 06:28:23 69c7f0334f64: Verifying Checksum 06:28:23 69c7f0334f64: Download complete 06:28:23 7264a8db6415: Verifying Checksum 06:28:23 7264a8db6415: Download complete 06:28:23 1f1c1a5573a3: Verifying Checksum 06:28:23 1f1c1a5573a3: Download complete 06:28:23 7264a8db6415: Pull complete 06:28:23 b5e4710f87ac: Verifying Checksum 06:28:23 b5e4710f87ac: Download complete 06:28:24 c4d48a809fc2: Pull complete 06:28:24 4f1c88b9dad5: Download complete 06:28:24 ce7588e14bc9: Verifying Checksum 06:28:24 ce7588e14bc9: Download complete 06:28:28 4f1c88b9dad5: Pull complete 06:28:28 ad3a456e5733: Pull complete 06:28:28 69c7f0334f64: Pull complete 06:28:28 1f1c1a5573a3: Pull complete 06:28:30 ce7588e14bc9: Pull complete 06:28:31 b5e4710f87ac: Pull complete 06:28:31 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 06:28:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:28:31 ---> 88b5674ff536 06:28:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:28:36 Still waiting to schedule task 06:28:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:28:37 ---> Running in 6ca30e87eb19 06:28:37 Removing intermediate container 6ca30e87eb19 06:28:37 ---> 785dc69b8e85 06:28:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:28:37 ---> Running in 3ab750cd7b1d 06:28:37 Removing intermediate container 3ab750cd7b1d 06:28:37 ---> 34ae446bd9e8 06:28:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:28:37 ---> Running in bc1d1220ce58 06:28:37 Removing intermediate container bc1d1220ce58 06:28:37 ---> 10eb5f6e8b75 06:28:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:28:37 ---> Running in 81e0c24ba108 06:28:37 Removing intermediate container 81e0c24ba108 06:28:37 ---> d44f233952f6 06:28:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:28:37 ---> Running in 49eb16a8654e 06:28:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:28:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:28:38 (1/4) Installing openssh-keygen (9.3_p2-r1) 06:28:38 (2/4) Installing libedit (20221030.3.1-r1) 06:28:38 (3/4) Installing openssh-client-common (9.3_p2-r1) 06:28:38 (4/4) Installing openssh-client-default (9.3_p2-r1) 06:28:38 Executing busybox-1.36.1-r5.trigger 06:28:38 OK: 268 MiB in 56 packages 06:28:39 Removing intermediate container 49eb16a8654e 06:28:39 ---> ffa1c9feeb10 06:28:39 Step 8/12 : WORKDIR /device-snmp-go 06:28:39 ---> Running in a3d47e117501 06:28:39 Removing intermediate container a3d47e117501 06:28:39 ---> ca1eb068560b 06:28:39 Step 9/12 : COPY go.mod vendor* ./ 06:28:39 ---> fc04d68cef02 06:28:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:28:39 ---> Running in 9341afeac6a9 06:29:11 Removing intermediate container 9341afeac6a9 06:29:11 ---> 88a80ad1c68e 06:29:11 Step 11/12 : COPY . . 06:29:11 ---> 709316918b0f 06:29:11 Step 12/12 : RUN ${MAKE} 06:29:11 ---> Running in aa4dd42da401 06:29:11 noop 06:29:11 Removing intermediate container aa4dd42da401 06:29:11 ---> f4adc845c715 06:29:11 Successfully built f4adc845c715 06:29:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:11 + docker inspect -f . ci-base-image-x86_64 06:29:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:12 prd-ubuntu20.04-docker-8c-8g-27970 does not seem to be running inside a container 06:29:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 06:29:12 $ docker top 3bd0ddd795ad6d82fcc7602778b4c87111e9f83f8fd086fb0aa9e224cee38332 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:12 + go version 06:29:12 go version go1.21.0 linux/amd64 [Pipeline] } 06:29:12 $ docker stop --time=1 3bd0ddd795ad6d82fcc7602778b4c87111e9f83f8fd086fb0aa9e224cee38332 06:29:14 $ docker rm -f --volumes 3bd0ddd795ad6d82fcc7602778b4c87111e9f83f8fd086fb0aa9e224cee38332 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:15 + docker inspect -f . ci-base-image-x86_64 06:29:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:15 prd-ubuntu20.04-docker-8c-8g-27970 does not seem to be running inside a container 06:29:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 06:29:15 $ docker top 024e5031639fb9c40d518e98437c446fdc7430673b59d47c9b774d5716ebf990 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:15 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 06:29:16 + make test 06:29:16 go test ./... -coverprofile=coverage.out 06:29:17 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:29:27 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:29:27 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 06:29:35 go vet ./... 06:29:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:29:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:29:38 ./bin/test-attribution-txt.sh 06:29:38 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 06:29:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:29:38 $ docker stop --time=1 024e5031639fb9c40d518e98437c446fdc7430673b59d47c9b774d5716ebf990 06:29:42 $ docker rm -f --volumes 024e5031639fb9c40d518e98437c446fdc7430673b59d47c9b774d5716ebf990 [Pipeline] // withDockerContainer [Pipeline] sh 06:29:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:29:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:29:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:29:43 + ls -al . 06:29:43 total 172 06:29:43 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 06:29 . 06:29:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:27 .. 06:29:43 -rw-rw-r-- 1 jenkins jenkins 6 Jan 26 06:27 .dockerignore 06:29:43 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 06:29 .git 06:29:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:27 .github 06:29:43 -rw-rw-r-- 1 jenkins jenkins 263 Jan 26 06:27 .gitignore 06:29:43 -rw-rw-r-- 1 jenkins jenkins 41 Jan 26 06:27 .golangci.yml 06:29:43 drwxr-xr-x 3 jenkins jenkins 4096 Jan 26 06:28 .semver 06:29:43 -rw-rw-r-- 1 jenkins jenkins 10025 Jan 26 06:27 Attribution.txt 06:29:43 -rw-rw-r-- 1 jenkins jenkins 11809 Jan 26 06:27 CHANGELOG.md 06:29:43 -rw-rw-r-- 1 jenkins jenkins 1571 Jan 26 06:27 Dockerfile 06:29:43 -rw-rw-r-- 1 jenkins jenkins 677 Jan 26 06:27 GOVERNANCE.md 06:29:43 -rw-rw-r-- 1 jenkins jenkins 656 Jan 26 06:27 Jenkinsfile 06:29:43 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 26 06:27 LICENSE 06:29:43 -rw-rw-r-- 1 jenkins jenkins 2240 Jan 26 06:27 Makefile 06:29:43 -rw-rw-r-- 1 jenkins jenkins 620 Jan 26 06:27 OWNERS.md 06:29:43 -rw-rw-r-- 1 jenkins jenkins 10477 Jan 26 06:27 README.md 06:29:43 -rw-rw-r-- 1 jenkins jenkins 11 Jan 26 06:28 VERSION 06:29:43 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:27 bin 06:29:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:27 cmd 06:29:43 -rw-r--r-- 1 jenkins jenkins 8837 Jan 26 06:29 coverage.out 06:29:43 -rw-rw-r-- 1 jenkins jenkins 3755 Jan 26 06:27 go.mod 06:29:43 -rw-rw-r-- 1 jenkins jenkins 34417 Jan 26 06:27 go.sum 06:29:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:27 internal 06:29:43 -rw-rw-r-- 1 jenkins jenkins 228 Jan 26 06:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:44 + 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=c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 --label arch=amd64 --label version=3.2.0-dev.5 . 06:29:44 Sending build context to Docker daemon 14.11MB 06:29:44 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 06:29:44 Step 2/25 : FROM ${BASE} AS builder 06:29:44 ---> f4adc845c715 06:29:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:29:44 ---> Running in 5d8c95efc67f 06:29:44 Removing intermediate container 5d8c95efc67f 06:29:44 ---> a5abc4acd59b 06:29:44 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:29:44 ---> Running in fe3b7a410eaa 06:29:44 Removing intermediate container fe3b7a410eaa 06:29:44 ---> 5b888f3feae0 06:29:44 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:29:44 ---> Running in 4532ee06b7d2 06:29:44 Removing intermediate container 4532ee06b7d2 06:29:44 ---> 1d37e63212fc 06:29:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:29:44 ---> Running in e3448a968ed8 06:29:44 Removing intermediate container e3448a968ed8 06:29:44 ---> df2d99004bbd 06:29:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:29:44 ---> Running in 56ce0903b441 06:29:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:29:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:29:45 OK: 268 MiB in 56 packages 06:29:45 Removing intermediate container 56ce0903b441 06:29:45 ---> 185e4e43b5ac 06:29:45 Step 8/25 : WORKDIR /device-snmp-go 06:29:45 ---> Running in 3b641273f7ea 06:29:45 Removing intermediate container 3b641273f7ea 06:29:45 ---> eab5a2ed89a9 06:29:45 Step 9/25 : COPY go.mod vendor* ./ 06:29:45 ---> b7e323943946 06:29:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:29:45 ---> Running in ec304885710b 06:29:46 Removing intermediate container ec304885710b 06:29:46 ---> 90d3d2179636 06:29:46 Step 11/25 : COPY . . 06:29:47 ---> 9169a832a1cd 06:29:47 Step 12/25 : RUN ${MAKE} 06:29:47 ---> Running in 6eecd3cffe71 06:29:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:30:09 Removing intermediate container 6eecd3cffe71 06:30:09 ---> 1ab72676a1ea 06:30:09 Step 13/25 : FROM alpine:3.18 06:30:09 3.18: Pulling from library/alpine 06:30:09 c926b61bad3b: Pulling fs layer 06:30:09 c926b61bad3b: Download complete 06:30:09 c926b61bad3b: Pull complete 06:30:09 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:30:09 Status: Downloaded newer image for alpine:3.18 06:30:09 ---> b541f2080109 06:30:09 Step 14/25 : RUN apk add --update --no-cache dumb-init 06:30:09 ---> Running in 55dead229d77 06:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:30:09 (1/1) Installing dumb-init (1.2.5-r2) 06:30:09 Executing busybox-1.36.1-r5.trigger 06:30:09 OK: 7 MiB in 16 packages 06:30:09 Removing intermediate container 55dead229d77 06:30:09 ---> 05e850b08aeb 06:30:09 Step 15/25 : RUN apk --no-cache upgrade 06:30:09 ---> Running in f2947ebc155f 06:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:30:10 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r5) 06:30:10 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r5) 06:30:10 OK: 7 MiB in 16 packages 06:30:10 Removing intermediate container f2947ebc155f 06:30:10 ---> 54d17abac5ad 06:30:10 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 06:30:11 ---> 21c37b40bd66 06:30:11 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:30:11 ---> 88304906f091 06:30:11 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 06:30:11 ---> 092ffa7fc6a9 06:30:11 Step 19/25 : EXPOSE 59993 06:30:11 ---> Running in 1cacd7833563 06:30:11 Removing intermediate container 1cacd7833563 06:30:11 ---> b02b75557d80 06:30:11 Step 20/25 : EXPOSE 161 06:30:12 ---> Running in 1cb328557feb 06:30:12 Removing intermediate container 1cb328557feb 06:30:12 ---> 6ab0e5d98c86 06:30:12 Step 21/25 : ENTRYPOINT ["/device-snmp"] 06:30:12 ---> Running in 15bac9b5c85d 06:30:12 Removing intermediate container 15bac9b5c85d 06:30:12 ---> 03bde6ae2e24 06:30:12 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:30:12 ---> Running in 936f2e73bcee 06:30:12 Removing intermediate container 936f2e73bcee 06:30:12 ---> 307a9dca2b1f 06:30:12 Step 23/25 : LABEL arch=amd64 06:30:12 ---> Running in 148231ea15fd 06:30:12 Removing intermediate container 148231ea15fd 06:30:12 ---> 613e1bff2290 06:30:12 Step 24/25 : LABEL git_sha=c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 06:30:12 ---> Running in 0c67c163aa44 06:30:12 Removing intermediate container 0c67c163aa44 06:30:12 ---> 1763fd20fd82 06:30:12 Step 25/25 : LABEL version=3.2.0-dev.5 06:30:12 ---> Running in 89d96a810aa6 06:30:12 Removing intermediate container 89d96a810aa6 06:30:12 ---> 01010507dbbb 06:30:12 [Warning] One or more build-args [ARCH] were not consumed 06:30:12 Successfully built 01010507dbbb 06:30:12 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:30:12 provisioning config files... 06:30:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15095937606934337012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:13 ---> ****-login.sh 06:30:13 nexus3.edgexfoundry.org:10001 06:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:13 Configure a credential helper to remove this warning. See 06:30:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:13 06:30:13 Login Succeeded 06:30:13 nexus3.edgexfoundry.org:10002 06:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:13 Configure a credential helper to remove this warning. See 06:30:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:13 06:30:13 Login Succeeded 06:30:13 nexus3.edgexfoundry.org:10003 06:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:13 Configure a credential helper to remove this warning. See 06:30:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:13 06:30:13 Login Succeeded 06:30:13 nexus3.edgexfoundry.org:10004 06:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:13 Configure a credential helper to remove this warning. See 06:30:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:13 06:30:13 Login Succeeded 06:30:13 ****.io 06:30:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27971 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 06:30:13 Running in /w/workspace/device-snmp-go/105 [Pipeline] { 06:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:13 Configure a credential helper to remove this warning. See 06:30:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:13 06:30:13 Login Succeeded 06:30:13 ---> ****-login.sh ends [Pipeline] checkout 06:30:14 Selected Git installation does not exist. Using Default 06:30:14 The recommended git tool is: NONE [Pipeline] } 06:30:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:30:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:30:15 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 06:30:15 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 06:30:15 latest 06:30:15 3.2.0-dev.5 06:30:15 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58-3.2.0-dev.5 06:30:15 main 06:30:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:15 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp:c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 06:30:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:30:15 0f24f84e3aca: Preparing 06:30:15 bf2f3baad16d: Preparing 06:30:15 892fe2c6d5a8: Preparing 06:30:15 f88ca9727a50: Preparing 06:30:15 a9c1b61404b1: Preparing 06:30:15 9fe9a137fd00: Preparing 06:30:15 0f24f84e3aca: Pushed 06:30:15 bf2f3baad16d: Pushed 06:30:15 a9c1b61404b1: Pushed 06:30:15 9fe9a137fd00: Layer already exists 06:30:16 f88ca9727a50: Pushed 06:30:18 892fe2c6d5a8: Pushed 06:30:18 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58: digest: sha256:274de3fc5c62eeb16c37cc8096c715db88428abe0fc103f656bf444b3d659a34 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:19 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:19 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 06:30:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:30:19 0f24f84e3aca: Preparing 06:30:19 bf2f3baad16d: Preparing 06:30:19 892fe2c6d5a8: Preparing 06:30:19 f88ca9727a50: Preparing 06:30:19 a9c1b61404b1: Preparing 06:30:19 9fe9a137fd00: Preparing 06:30:19 9fe9a137fd00: Waiting 06:30:19 0f24f84e3aca: Layer already exists 06:30:19 f88ca9727a50: Layer already exists 06:30:19 a9c1b61404b1: Layer already exists 06:30:19 bf2f3baad16d: Layer already exists 06:30:19 892fe2c6d5a8: Layer already exists 06:30:19 9fe9a137fd00: Layer already exists 06:30:19 latest: digest: sha256:274de3fc5c62eeb16c37cc8096c715db88428abe0fc103f656bf444b3d659a34 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:20 using credential edgex-jenkins-ssh 06:30:20 Cloning the remote Git repository 06:30:20 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.2.0-dev.5 06:30:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:30:20 0f24f84e3aca: Preparing 06:30:20 bf2f3baad16d: Preparing 06:30:20 892fe2c6d5a8: Preparing 06:30:20 f88ca9727a50: Preparing 06:30:20 a9c1b61404b1: Preparing 06:30:20 9fe9a137fd00: Preparing 06:30:20 a9c1b61404b1: Layer already exists 06:30:20 0f24f84e3aca: Layer already exists 06:30:20 bf2f3baad16d: Layer already exists 06:30:20 f88ca9727a50: Layer already exists 06:30:20 892fe2c6d5a8: Layer already exists 06:30:20 9fe9a137fd00: Layer already exists 06:30:20 3.2.0-dev.5: digest: sha256:274de3fc5c62eeb16c37cc8096c715db88428abe0fc103f656bf444b3d659a34 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:20 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:30:20 > git init /w/workspace/device-snmp-go/105 # timeout=10 06:30:20 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:30:20 > git --version # timeout=10 06:30:20 > git --version # 'git version 2.25.1' 06:30:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:30:21 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58-3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:21 + docker push nexus3.edgexfoundry.org:10004/device-snmp:c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58-3.2.0-dev.5 06:30:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:30:21 0f24f84e3aca: Preparing 06:30:21 bf2f3baad16d: Preparing 06:30:21 892fe2c6d5a8: Preparing 06:30:21 f88ca9727a50: Preparing 06:30:21 a9c1b61404b1: Preparing 06:30:21 9fe9a137fd00: Preparing 06:30:21 9fe9a137fd00: Waiting 06:30:21 0f24f84e3aca: Layer already exists 06:30:21 f88ca9727a50: Layer already exists 06:30:21 bf2f3baad16d: Layer already exists 06:30:21 892fe2c6d5a8: Layer already exists 06:30:21 a9c1b61404b1: Layer already exists 06:30:21 9fe9a137fd00: Layer already exists 06:30:21 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58-3.2.0-dev.5: digest: sha256:274de3fc5c62eeb16c37cc8096c715db88428abe0fc103f656bf444b3d659a34 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:21 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:22 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:30:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:30:22 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 06:30:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:30:22 0f24f84e3aca: Preparing 06:30:22 bf2f3baad16d: Preparing 06:30:22 892fe2c6d5a8: Preparing 06:30:22 f88ca9727a50: Preparing 06:30:22 a9c1b61404b1: Preparing 06:30:22 9fe9a137fd00: Preparing 06:30:22 9fe9a137fd00: Waiting 06:30:22 bf2f3baad16d: Layer already exists 06:30:22 f88ca9727a50: Layer already exists 06:30:22 a9c1b61404b1: Layer already exists 06:30:22 892fe2c6d5a8: Layer already exists 06:30:22 0f24f84e3aca: Layer already exists 06:30:22 9fe9a137fd00: Layer already exists 06:30:22 main: digest: sha256:274de3fc5c62eeb16c37cc8096c715db88428abe0fc103f656bf444b3d659a34 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:30:22 ===================================================== [Pipeline] echo 06:30:22 taggedImages: 06:30:22 - nexus3.edgexfoundry.org:10004/device-snmp:c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 06:30:22 - nexus3.edgexfoundry.org:10004/device-snmp:latest 06:30:22 - nexus3.edgexfoundry.org:10004/device-snmp:3.2.0-dev.5 06:30:22 - nexus3.edgexfoundry.org:10004/device-snmp:c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58-3.2.0-dev.5 06:30:22 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage 06:30:22 Avoid second fetch [Pipeline] script 06:30:22 Checking out Revision c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 (main) [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:23 06:30:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:23 Commit message: "Merge pull request #339 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.7" 06:30:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:23 latest: Pulling from edgex-lftools-log-publisher 06:30:23 5eb5b503b376: Pulling fs layer 06:30:23 5c69ac0246d0: Pulling fs layer 06:30:23 ec43610c2a17: Pulling fs layer 06:30:23 3a2ae6a8a46f: Pulling fs layer 06:30:23 33b1e0a273af: Pulling fs layer 06:30:23 5d3b04190fa2: Pulling fs layer 06:30:23 2f39f015ded8: Pulling fs layer 06:30:23 2f39f015ded8: Waiting 06:30:23 33b1e0a273af: Waiting 06:30:23 5d3b04190fa2: Waiting 06:30:23 3a2ae6a8a46f: Waiting 06:30:23 5c69ac0246d0: Verifying Checksum 06:30:23 5c69ac0246d0: Download complete 06:30:23 3a2ae6a8a46f: Download complete 06:30:23 33b1e0a273af: Verifying Checksum 06:30:23 33b1e0a273af: Download complete 06:30:23 5d3b04190fa2: Download complete 06:30:23 ec43610c2a17: Verifying Checksum 06:30:23 ec43610c2a17: Download complete 06:30:22 > git config core.sparsecheckout # timeout=10 06:30:22 > git checkout -f c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 # timeout=10 06:30:23 06:30:23 GitHub has been notified of this commit’s build result 06:30:23 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 06:30:23 5eb5b503b376: Verifying Checksum 06:30:23 5eb5b503b376: Download complete [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:30:24 % Total % Received % Xferd Average Speed Time Time Time Current 06:30:24 Dload Upload Total Spent Left Speed 06:30:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 108k 0 --:--:-- --:--:-- --:--:-- 109k 06:30:24 2f39f015ded8: Download complete [Pipeline] sh 06:30:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:30:24 5eb5b503b376: Pull complete 06:30:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 06:30:25 sudo tee /etc/docker/daemon.new 06:30:25 { 06:30:25 "registry-mirrors": [ 06:30:25 "https://nexus3.edgexfoundry.org:10001" 06:30:25 ], 06:30:25 "bip": "10.250.0.254/24", 06:30:25 "hosts": [ 06:30:25 "tcp://0.0.0.0:5555", 06:30:25 "unix:///var/run/docker.sock" 06:30:25 ], 06:30:25 "mtu": 1458, 06:30:25 "selinux-enabled": true, 06:30:25 "seccomp-profile": "/etc/docker/seccomp.json" 06:30:25 } [Pipeline] sh 06:30:25 5c69ac0246d0: Pull complete 06:30:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:30:25 + sudo service docker restart 06:30:25 ec43610c2a17: Pull complete 06:30:25 3a2ae6a8a46f: Pull complete 06:30:25 33b1e0a273af: Pull complete 06:30:26 5d3b04190fa2: Pull complete 06:30:30 2f39f015ded8: Pull complete 06:30:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:30:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:30:30 prd-ubuntu20.04-docker-8c-8g-27970 does not seem to be running inside a container 06:30:30 $ 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/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 06:30:34 $ docker top b4a34938f3894917b6e6dd7e37f80cd8835a5319d51e7a0ccad83d98f5cb4612 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:35 ---> job-cost.sh 06:30:35 lf-activate-venv: SKIPPING 06:30:35 INFO: No Stack... 06:30:35 INFO: Retrieving Pricing Info for: v3-standard-8 06:30:36 INFO: Archiving Costs [Pipeline] sh 06:30:36 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 06:30:36 + cut -d, -f6 [Pipeline] lock 06:30:36 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-105-stack-cost] 06:30:36 Resource [jenkins-edgexfoundry-device-snmp-go-main-105-stack-cost] did not exist. Created. 06:30:36 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:30:36 + echo total: 0.2199999988079071 [Pipeline] stash 06:30:36 Stashed 1 file(s) [Pipeline] } 06:30:36 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-105-stack-cost] [Pipeline] // lock [Pipeline] } 06:30:36 $ docker stop --time=1 b4a34938f3894917b6e6dd7e37f80cd8835a5319d51e7a0ccad83d98f5cb4612 06:30:38 $ docker rm -f --volumes b4a34938f3894917b6e6dd7e37f80cd8835a5319d51e7a0ccad83d98f5cb4612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:30:44 provisioning config files... 06:30:44 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/105@tmp/config2797097814860075045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:44 ---> ****-login.sh 06:30:44 nexus3.edgexfoundry.org:10001 06:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:45 Configure a credential helper to remove this warning. See 06:30:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:45 06:30:45 Login Succeeded 06:30:45 nexus3.edgexfoundry.org:10002 06:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:45 Configure a credential helper to remove this warning. See 06:30:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:45 06:30:45 Login Succeeded 06:30:45 nexus3.edgexfoundry.org:10003 06:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:45 Configure a credential helper to remove this warning. See 06:30:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:45 06:30:45 Login Succeeded 06:30:45 nexus3.edgexfoundry.org:10004 06:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:45 Configure a credential helper to remove this warning. See 06:30:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:45 06:30:45 Login Succeeded 06:30:45 ****.io 06:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:30:46 Configure a credential helper to remove this warning. See 06:30:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:30:46 06:30:46 Login Succeeded 06:30:46 ---> ****-login.sh ends [Pipeline] } 06:30:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:30:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:30:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:30:47 ========================================================= 06:30:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:30:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:30:48 #0 building with "default" instance using docker driver 06:30:48 06:30:48 #1 [internal] load build definition from Dockerfile 06:30:48 #1 transferring dockerfile: 1.61kB done 06:30:48 #1 DONE 0.1s 06:30:48 06:30:48 #2 [internal] load .dockerignore 06:30:48 #2 transferring context: 46B done 06:30:48 #2 DONE 0.1s 06:30:48 06:30:48 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:30:48 #3 DONE 0.1s 06:30:48 06:30:48 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 06:30:48 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 06:30:48 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 06:30:48 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 06:30:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.81MB / 63.99MB 0.2s 06:30:48 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 06:30:48 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 06:30:48 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s 06:30:48 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 06:30:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.3s 06:30:49 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 06:30:49 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 06:30:49 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 06:30:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 06:30:49 #4 ... 06:30:49 06:30:49 #5 [internal] load build context 06:30:49 #5 transferring context: 7.04MB 0.3s done 06:30:49 #5 DONE 0.4s 06:30:49 06:30:49 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 06:30:49 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.87MB / 11.40MB 0.4s 06:30:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.78MB / 63.99MB 0.6s 06:30:49 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.6s 06:30:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11.53MB / 97.63MB 0.6s 06:30:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 21.08MB / 63.99MB 0.7s 06:30:49 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 06:30:49 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 06:30:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.63MB / 63.99MB 0.8s 06:30:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20.97MB / 97.63MB 0.8s 06:30:49 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 06:30:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 38.26MB / 63.99MB 1.0s 06:30:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 1.0s 06:30:50 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 43.66MB / 63.99MB 1.1s 06:30:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 34.05MB / 97.63MB 1.1s 06:30:50 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 06:30:50 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.51MB / 63.99MB 1.3s 06:30:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 42.59MB / 97.63MB 1.3s 06:30:50 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.72MB / 63.99MB 1.4s 06:30:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.23MB / 97.63MB 1.4s 06:30:50 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s 06:30:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 54.53MB / 97.63MB 1.5s 06:30:50 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 06:30:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.77MB / 97.63MB 1.6s 06:30:50 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 06:30:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.25MB / 97.63MB 1.8s 06:30:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.50MB / 97.63MB 1.9s 06:30:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.62MB / 97.63MB 2.1s 06:30:51 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.42MB / 97.63MB 2.3s 06:30:51 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.5s done 06:30:56 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 06:31:02 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.0s 06:31:08 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.1s done 06:31:10 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 06:31:11 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 06:31:11 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 06:31:16 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 06:31:19 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.7s done 06:31:19 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 06:31:21 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 06:31:21 #4 DONE 33.0s 06:31:21 06:31:21 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 06:31:22 #6 0.744 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:31:22 #6 1.117 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:31:23 #6 2.089 (1/4) Installing openssh-keygen (9.3_p2-r1) 06:31:23 #6 2.107 (2/4) Installing libedit (20221030.3.1-r1) 06:31:23 #6 2.119 (3/4) Installing openssh-client-common (9.3_p2-r1) 06:31:23 #6 2.182 (4/4) Installing openssh-client-default (9.3_p2-r1) 06:31:23 #6 2.209 Executing busybox-1.36.1-r5.trigger 06:31:24 #6 2.245 OK: 271 MiB in 56 packages 06:31:25 #6 DONE 3.8s 06:31:25 06:31:25 #7 [builder 3/7] WORKDIR /device-snmp-go 06:31:25 #7 DONE 0.1s 06:31:25 06:31:25 #8 [builder 4/7] COPY go.mod vendor* ./ 06:31:25 #8 DONE 0.1s 06:31:25 06:31:25 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:31:44 #9 DONE 16.6s 06:31:44 06:31:44 #10 [builder 6/7] COPY . . 06:31:44 #10 DONE 0.3s 06:31:44 06:31:44 #11 [builder 7/7] RUN echo noop 06:31:44 #11 0.559 noop 06:31:44 #11 DONE 0.6s 06:31:44 06:31:44 #12 exporting to image 06:31:44 #12 exporting layers 06:32:02 #12 exporting layers 17.3s done 06:32:02 #12 writing image sha256:1735caef76671bd5c359e73ba479f88607d95f5ac9349b23804cb7fd6efb35ff done 06:32:02 #12 naming to docker.io/library/ci-base-image-arm64 done 06:32:02 #12 DONE 17.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:03 + docker inspect -f . ci-base-image-arm64 06:32:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:32:03 prd-ubuntu20.04-docker-arm64-4c-16g-27971 does not seem to be running inside a container 06:32:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/105 -v /w/workspace/device-snmp-go/105:/w/workspace/device-snmp-go/105:rw,z -v /w/workspace/device-snmp-go/105@tmp:/w/workspace/device-snmp-go/105@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 06:32:04 $ docker top d4a486616020ae913a475afcc31d73027787842c408bf2ad1d82220f5edd70e9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:05 + go version 06:32:05 go version go1.21.0 linux/arm64 [Pipeline] } 06:32:05 $ docker stop --time=1 d4a486616020ae913a475afcc31d73027787842c408bf2ad1d82220f5edd70e9 06:32:10 $ docker rm -f --volumes d4a486616020ae913a475afcc31d73027787842c408bf2ad1d82220f5edd70e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:11 + docker inspect -f . ci-base-image-arm64 06:32:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:32:11 prd-ubuntu20.04-docker-arm64-4c-16g-27971 does not seem to be running inside a container 06:32:12 $ 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/105 -v /w/workspace/device-snmp-go/105:/w/workspace/device-snmp-go/105:rw,z -v /w/workspace/device-snmp-go/105@tmp:/w/workspace/device-snmp-go/105@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 06:32:12 $ docker top 5a36288346a8b9afd21ce39fa71db58ffc1b2ef380287e7b4c8da0c9165a49e7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:13 + git config --global --add safe.directory /w/workspace/device-snmp-go/105 [Pipeline] fileExists [Pipeline] sh 06:32:13 + make test 06:32:13 go test ./... -coverprofile=coverage.out 06:32:17 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:33:13 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:33:13 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements 06:33:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:33:13 go vet ./... 06:33:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:33:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:33:23 ./bin/test-attribution-txt.sh 06:33:23 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 06:33:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:33:24 $ docker stop --time=1 5a36288346a8b9afd21ce39fa71db58ffc1b2ef380287e7b4c8da0c9165a49e7 06:33:25 $ docker rm -f --volumes 5a36288346a8b9afd21ce39fa71db58ffc1b2ef380287e7b4c8da0c9165a49e7 [Pipeline] // withDockerContainer [Pipeline] sh 06:33:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:33:27 Warning: overwriting stash ‘coverage-report’ 06:33:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:33:28 + ls -al . 06:33:28 total 168 06:33:28 drwxrwxr-x 7 jenkins jenkins 4096 Jan 26 06:32 . 06:33:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:30 .. 06:33:28 -rw-rw-r-- 1 jenkins jenkins 6 Jan 26 06:30 .dockerignore 06:33:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 06:30 .git 06:33:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:30 .github 06:33:28 -rw-rw-r-- 1 jenkins jenkins 263 Jan 26 06:30 .gitignore 06:33:28 -rw-rw-r-- 1 jenkins jenkins 41 Jan 26 06:30 .golangci.yml 06:33:28 -rw-rw-r-- 1 jenkins jenkins 10025 Jan 26 06:30 Attribution.txt 06:33:28 -rw-rw-r-- 1 jenkins jenkins 11809 Jan 26 06:30 CHANGELOG.md 06:33:28 -rw-rw-r-- 1 jenkins jenkins 1571 Jan 26 06:30 Dockerfile 06:33:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 26 06:30 GOVERNANCE.md 06:33:28 -rw-rw-r-- 1 jenkins jenkins 656 Jan 26 06:30 Jenkinsfile 06:33:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 26 06:30 LICENSE 06:33:28 -rw-rw-r-- 1 jenkins jenkins 2240 Jan 26 06:30 Makefile 06:33:28 -rw-rw-r-- 1 jenkins jenkins 620 Jan 26 06:30 OWNERS.md 06:33:28 -rw-rw-r-- 1 jenkins jenkins 10477 Jan 26 06:30 README.md 06:33:28 -rw-rw-r-- 1 jenkins jenkins 11 Jan 26 06:28 VERSION 06:33:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:30 bin 06:33:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:30 cmd 06:33:28 -rw-r--r-- 1 jenkins jenkins 8837 Jan 26 06:33 coverage.out 06:33:28 -rw-rw-r-- 1 jenkins jenkins 3755 Jan 26 06:30 go.mod 06:33:28 -rw-rw-r-- 1 jenkins jenkins 34417 Jan 26 06:30 go.sum 06:33:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 06:30 internal 06:33:28 -rw-rw-r-- 1 jenkins jenkins 228 Jan 26 06:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:29 + 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=c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 --label arch=arm64 --label version=3.2.0-dev.5 . 06:33:30 #0 building with "default" instance using docker driver 06:33:30 06:33:30 #1 [internal] load .dockerignore 06:33:30 #1 transferring context: 46B 0.0s done 06:33:30 #1 DONE 0.0s 06:33:30 06:33:30 #2 [internal] load build definition from Dockerfile 06:33:30 #2 transferring dockerfile: 1.61kB 0.0s done 06:33:30 #2 DONE 0.0s 06:33:30 06:33:30 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 06:33:30 #3 DONE 0.0s 06:33:30 06:33:30 #4 [internal] load metadata for docker.io/library/alpine:3.18 06:33:30 #4 DONE 0.3s 06:33:30 06:33:30 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:33:30 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:33:30 #5 ... 06:33:30 06:33:30 #6 [internal] load build context 06:33:30 #6 transferring context: 15.30kB 0.0s done 06:33:30 #6 DONE 0.1s 06:33:30 06:33:30 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:33:30 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 06:33:30 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 06:33:30 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 06:33:30 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 06:33:30 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 06:33:30 #5 ... 06:33:30 06:33:30 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 06:33:30 #7 DONE 0.2s 06:33:30 06:33:30 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 06:33:30 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 06:33:30 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 06:33:31 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 06:33:31 #5 DONE 1.0s 06:33:31 06:33:31 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 06:33:31 #8 0.670 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:33:32 #8 1.011 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:33:33 #8 2.158 (1/1) Installing dumb-init (1.2.5-r2) 06:33:33 #8 2.169 Executing busybox-1.36.1-r5.trigger 06:33:33 #8 2.191 OK: 8 MiB in 16 packages 06:33:36 #8 DONE 4.6s 06:33:36 06:33:36 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 06:33:36 #9 0.711 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:33:36 #9 1.171 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:33:36 #9 2.418 OK: 271 MiB in 56 packages 06:33:36 #9 DONE 5.3s 06:33:36 06:33:36 #10 [stage-1 3/6] RUN apk --no-cache upgrade 06:33:36 #10 ... 06:33:36 06:33:36 #11 [builder 3/7] WORKDIR /device-snmp-go 06:33:36 #11 DONE 0.1s 06:33:36 06:33:36 #12 [builder 4/7] COPY go.mod vendor* ./ 06:33:36 #12 DONE 0.2s 06:33:36 06:33:36 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:33:37 #13 DONE 1.2s 06:33:37 06:33:37 #14 [builder 6/7] COPY . . 06:33:37 #14 DONE 0.3s 06:33:37 06:33:37 #10 [stage-1 3/6] RUN apk --no-cache upgrade 06:33:37 #10 1.113 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:33:37 #10 1.562 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:33:38 #10 2.850 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r5) 06:33:39 #10 2.976 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r5) 06:33:39 #10 3.008 OK: 8 MiB in 16 packages 06:33:39 #10 DONE 3.4s 06:33:39 06:33:39 #15 [builder 7/7] RUN make build 06:33:39 #15 0.754 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:35:01 #15 DONE 79.1s 06:35:01 06:35:01 #16 [stage-1 4/6] COPY --from=builder /device-snmp-go/cmd / 06:35:01 #16 DONE 0.4s 06:35:01 06:35:01 #17 [stage-1 5/6] COPY --from=builder /device-snmp-go/Attribution.txt / 06:35:01 #17 DONE 0.1s 06:35:01 06:35:01 #18 [stage-1 6/6] COPY --from=builder /device-snmp-go/LICENSE / 06:35:01 #18 DONE 0.1s 06:35:01 06:35:01 #19 exporting to image 06:35:01 #19 exporting layers 06:35:01 #19 exporting layers 0.4s done 06:35:01 #19 writing image sha256:0037a9b4a913b37664bdc43559034769618724ecb527f92a70cd1e7467b0f502 done 06:35:01 #19 naming to docker.io/library/device-snmp-arm64 done 06:35:01 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:35:01 provisioning config files... 06:35:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/105@tmp/config865108645240492145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:02 ---> ****-login.sh 06:35:02 nexus3.edgexfoundry.org:10001 06:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:02 Configure a credential helper to remove this warning. See 06:35:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:02 06:35:02 Login Succeeded 06:35:02 nexus3.edgexfoundry.org:10002 06:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:02 Configure a credential helper to remove this warning. See 06:35:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:02 06:35:02 Login Succeeded 06:35:02 nexus3.edgexfoundry.org:10003 06:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:02 Configure a credential helper to remove this warning. See 06:35:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:02 06:35:02 Login Succeeded 06:35:02 nexus3.edgexfoundry.org:10004 06:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:03 Configure a credential helper to remove this warning. See 06:35:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:03 06:35:03 Login Succeeded 06:35:03 ****.io 06:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:35:03 Configure a credential helper to remove this warning. See 06:35:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:35:03 06:35:03 Login Succeeded 06:35:03 ---> ****-login.sh ends [Pipeline] } 06:35:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:35:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:35:04 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 06:35:04 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 06:35:04 latest 06:35:04 3.2.0-dev.5 06:35:04 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58-3.2.0-dev.5 06:35:04 main 06:35:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:04 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:05 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 06:35:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:35:05 6c80c2fa64ab: Preparing 06:35:05 a9b809a10aa1: Preparing 06:35:05 39c6144308d7: Preparing 06:35:05 c5519bc48268: Preparing 06:35:05 63f21c7ab36a: Preparing 06:35:05 0faf9b67be60: Preparing 06:35:05 0faf9b67be60: Waiting 06:35:05 63f21c7ab36a: Pushed 06:35:05 a9b809a10aa1: Pushed 06:35:05 6c80c2fa64ab: Pushed 06:35:05 0faf9b67be60: Layer already exists 06:35:06 c5519bc48268: Pushed 06:35:12 39c6144308d7: Pushed 06:35:12 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58: digest: sha256:7d036b420b30e2eeaa8a8780b2431e4f78c09e291781814477bd92e3a02da0bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:12 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 06:35:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:35:13 6c80c2fa64ab: Preparing 06:35:13 a9b809a10aa1: Preparing 06:35:13 39c6144308d7: Preparing 06:35:13 c5519bc48268: Preparing 06:35:13 63f21c7ab36a: Preparing 06:35:13 0faf9b67be60: Preparing 06:35:13 0faf9b67be60: Waiting 06:35:13 63f21c7ab36a: Layer already exists 06:35:13 c5519bc48268: Layer already exists 06:35:13 6c80c2fa64ab: Layer already exists 06:35:13 a9b809a10aa1: Layer already exists 06:35:13 39c6144308d7: Layer already exists 06:35:13 0faf9b67be60: Layer already exists 06:35:13 latest: digest: sha256:7d036b420b30e2eeaa8a8780b2431e4f78c09e291781814477bd92e3a02da0bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:14 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.2.0-dev.5 06:35:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:35:14 6c80c2fa64ab: Preparing 06:35:14 a9b809a10aa1: Preparing 06:35:14 39c6144308d7: Preparing 06:35:14 c5519bc48268: Preparing 06:35:14 63f21c7ab36a: Preparing 06:35:14 0faf9b67be60: Preparing 06:35:14 0faf9b67be60: Waiting 06:35:14 6c80c2fa64ab: Layer already exists 06:35:14 63f21c7ab36a: Layer already exists 06:35:14 c5519bc48268: Layer already exists 06:35:14 a9b809a10aa1: Layer already exists 06:35:14 39c6144308d7: Layer already exists 06:35:14 0faf9b67be60: Layer already exists 06:35:14 3.2.0-dev.5: digest: sha256:7d036b420b30e2eeaa8a8780b2431e4f78c09e291781814477bd92e3a02da0bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:15 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58-3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58-3.2.0-dev.5 06:35:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:35:15 6c80c2fa64ab: Preparing 06:35:15 a9b809a10aa1: Preparing 06:35:15 39c6144308d7: Preparing 06:35:15 c5519bc48268: Preparing 06:35:15 63f21c7ab36a: Preparing 06:35:15 0faf9b67be60: Preparing 06:35:15 0faf9b67be60: Waiting 06:35:15 39c6144308d7: Layer already exists 06:35:15 6c80c2fa64ab: Layer already exists 06:35:15 a9b809a10aa1: Layer already exists 06:35:15 c5519bc48268: Layer already exists 06:35:15 63f21c7ab36a: Layer already exists 06:35:15 0faf9b67be60: Layer already exists 06:35:16 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58-3.2.0-dev.5: digest: sha256:7d036b420b30e2eeaa8a8780b2431e4f78c09e291781814477bd92e3a02da0bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:16 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 06:35:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:35:17 6c80c2fa64ab: Preparing 06:35:17 a9b809a10aa1: Preparing 06:35:17 39c6144308d7: Preparing 06:35:17 c5519bc48268: Preparing 06:35:17 63f21c7ab36a: Preparing 06:35:17 0faf9b67be60: Preparing 06:35:17 0faf9b67be60: Waiting 06:35:17 a9b809a10aa1: Layer already exists 06:35:17 6c80c2fa64ab: Layer already exists 06:35:17 63f21c7ab36a: Layer already exists 06:35:17 c5519bc48268: Layer already exists 06:35:17 39c6144308d7: Layer already exists 06:35:17 0faf9b67be60: Layer already exists 06:35:17 main: digest: sha256:7d036b420b30e2eeaa8a8780b2431e4f78c09e291781814477bd92e3a02da0bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:35:17 ===================================================== [Pipeline] echo 06:35:17 taggedImages: 06:35:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 06:35:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 06:35:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.2.0-dev.5 06:35:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58-3.2.0-dev.5 06:35:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:35:18 06:35:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:35:19 arm64: Pulling from edgex-lftools-log-publisher 06:35:19 8998bd30e6a1: Pulling fs layer 06:35:19 04944245beec: Pulling fs layer 06:35:19 699f458cf7ca: Pulling fs layer 06:35:19 765212b225bb: Pulling fs layer 06:35:19 f23df028b6ca: Pulling fs layer 06:35:19 d65c8cfc05b1: Pulling fs layer 06:35:19 2437ff75d9bd: Pulling fs layer 06:35:19 765212b225bb: Waiting 06:35:19 d65c8cfc05b1: Waiting 06:35:19 2437ff75d9bd: Waiting 06:35:19 f23df028b6ca: Waiting 06:35:19 04944245beec: Verifying Checksum 06:35:19 04944245beec: Download complete 06:35:19 765212b225bb: Verifying Checksum 06:35:19 765212b225bb: Download complete 06:35:19 f23df028b6ca: Verifying Checksum 06:35:19 f23df028b6ca: Download complete 06:35:19 d65c8cfc05b1: Download complete 06:35:19 699f458cf7ca: Verifying Checksum 06:35:19 699f458cf7ca: Download complete 06:35:19 8998bd30e6a1: Verifying Checksum 06:35:19 8998bd30e6a1: Download complete 06:35:22 2437ff75d9bd: Verifying Checksum 06:35:26 8998bd30e6a1: Pull complete 06:35:26 04944245beec: Pull complete 06:35:28 699f458cf7ca: Pull complete 06:35:28 765212b225bb: Pull complete 06:35:33 f23df028b6ca: Pull complete 06:35:33 d65c8cfc05b1: Pull complete 06:35:59 2437ff75d9bd: Pull complete 06:35:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:35:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:35:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:00 prd-ubuntu20.04-docker-arm64-4c-16g-27971 does not seem to be running inside a container 06:36:00 $ 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/105 -v /w/workspace/device-snmp-go/105:/w/workspace/device-snmp-go/105:rw,z -v /w/workspace/device-snmp-go/105@tmp:/w/workspace/device-snmp-go/105@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 06:36:03 $ docker top fa6fe337d1e7ad4ace5cf4b99217b50f11d276b94971c56ef3531b4a8e8807d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:03 ---> job-cost.sh 06:36:04 lf-activate-venv: SKIPPING 06:36:04 INFO: No Stack... 06:36:04 INFO: Retrieving Pricing Info for: v3-standard-8 06:36:05 INFO: Archiving Costs [Pipeline] sh 06:36:05 + cat /w/workspace/device-snmp-go/105/archives/cost.csv+ 06:36:05 cut -d, -f6 [Pipeline] lock 06:36:05 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-105-stack-cost] 06:36:05 Resource [jenkins-edgexfoundry-device-snmp-go-main-105-stack-cost] did not exist. Created. 06:36:05 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:36:06 /w/workspace/device-snmp-go/105@tmp/durable-077518d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:36:06 + echo total: 0.2199999988079071 [Pipeline] stash 06:36:06 Warning: overwriting stash ‘stack-cost’ 06:36:07 Stashed 1 file(s) [Pipeline] } 06:36:07 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-105-stack-cost] [Pipeline] // lock [Pipeline] } 06:36:07 $ docker stop --time=1 fa6fe337d1e7ad4ace5cf4b99217b50f11d276b94971c56ef3531b4a8e8807d2 06:36:08 $ docker rm -f --volumes fa6fe337d1e7ad4ace5cf4b99217b50f11d276b94971c56ef3531b4a8e8807d2 [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 06:36:10 provisioning config files... 06:36:10 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4057394708254436784tmp [Pipeline] { [Pipeline] sh 06:36:10 + set +x 06:36:10 + curl -s https://codecov.io/bash 06:36:10 + bash -s -- 06:36:10 06:36:10 _____ _ 06:36:10 / ____| | | 06:36:10 | | ___ __| | ___ ___ _____ __ 06:36:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:36:10 | |___| (_) | (_| | __/ (_| (_) \ V / 06:36:10 \_____\___/ \__,_|\___|\___\___/ \_/ 06:36:10 Bash-1.0.6 06:36:10 06:36:10 06:36:10 ==> git version 2.25.1 found 06:36:10 ==> 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 06:36:10 Release-Date: 2020-01-08 06:36:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:36:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:36:10 ==> Jenkins CI detected. 06:36:10 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 06:36:10 project root: . 06:36:10 --> token set from env 06:36:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:36:10 ==> Running gcov in . (disable via -X gcov) 06:36:10 ==> Python coveragepy not found 06:36:10 ==> Searching for coverage reports in: 06:36:10 + . 06:36:10 -> Found 1 reports 06:36:10 ==> Detecting git/mercurial file structure 06:36:10 ==> Reading reports 06:36:11 + ./coverage.out bytes=8837 06:36:11 ==> Appending adjustments 06:36:11 https://docs.codecov.io/docs/fixing-reports 06:36:11 + Found adjustments 06:36:11 ==> Gzipping contents 06:36:11 4.0K /tmp/codecov.R9UO8b.gz 06:36:11 ==> Uploading reports 06:36:11 url: https://codecov.io 06:36:11 query: branch=main&commit=c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:36:11 -> Pinging Codecov 06:36:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:36:11 -> Uploading to 06:36:11 https://storage.googleapis.com/codecov/v4/raw/2024-01-26/6C56EA5C29638FB4528AC87E60AF5AE0/c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58/38597103-66a6-43f9-898f-c3b1e0457249.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240126T063611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7d4b1569d3995bafb170d35c6a0cbb030a2b3f6421215e6527044aaf5535aaa 06:36:11 % Total % Received % Xferd Average Speed Time Time Time Current 06:36:11 Dload Upload Total Spent Left Speed 06:36:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5929 --:--:-- --:--:-- --:--:-- 5929 06:36:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 [Pipeline] } 06:36:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:36:12 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:36:12 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:36:12 06:36:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:36:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:36:12 df9b9388f04a: Pulling fs layer 06:36:12 52dc419b0ee2: Pulling fs layer 06:36:12 25bc292e5bac: Pulling fs layer 06:36:12 114826534d7a: Pulling fs layer 06:36:12 4657fd5d0bcf: Pulling fs layer 06:36:12 6ad1cebc031e: Pulling fs layer 06:36:12 8a3aa393b2d8: Pulling fs layer 06:36:12 4657fd5d0bcf: Waiting 06:36:12 6ad1cebc031e: Waiting 06:36:12 8a3aa393b2d8: Waiting 06:36:12 114826534d7a: Waiting 06:36:12 25bc292e5bac: Verifying Checksum 06:36:12 25bc292e5bac: Download complete 06:36:12 52dc419b0ee2: Verifying Checksum 06:36:12 52dc419b0ee2: Download complete 06:36:12 4657fd5d0bcf: Download complete 06:36:12 df9b9388f04a: Download complete 06:36:13 6ad1cebc031e: Download complete 06:36:13 df9b9388f04a: Pull complete 06:36:13 52dc419b0ee2: Pull complete 06:36:13 25bc292e5bac: Pull complete 06:36:13 114826534d7a: Download complete 06:36:13 8a3aa393b2d8: Verifying Checksum 06:36:13 8a3aa393b2d8: Download complete 06:36:17 114826534d7a: Pull complete 06:36:17 4657fd5d0bcf: Pull complete 06:36:17 6ad1cebc031e: Pull complete 06:36:19 8a3aa393b2d8: Pull complete 06:36:19 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:36:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:36:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:20 prd-ubuntu20.04-docker-8c-8g-27970 does not seem to be running inside a container 06:36:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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/edgex-snyk-go:1.410.4 cat 06:36:25 $ docker top 1b16660cd18aa53a3fe8c8c49ad4d1816a7db35690f74764ac91dc4d23b0a3fb -eo pid,comm [Pipeline] { [Pipeline] echo 06:36:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 06:36:25 + set -o pipefail 06:36:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 06:36:30 06:36:30 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 06:36:30 06:36:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/4f5d7634-cd82-479c-b094-d293cd4c50d0 06:36:30 06:36:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:36:30 06:36:30 06:36:30 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:36:30 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:36:30 More details here: https://snyk.co/ue1NS 06:36:30 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 06:36:30 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:36:30 $ docker stop --time=1 1b16660cd18aa53a3fe8c8c49ad4d1816a7db35690f74764ac91dc4d23b0a3fb 06:36:34 $ docker rm -f --volumes 1b16660cd18aa53a3fe8c8c49ad4d1816a7db35690f74764ac91dc4d23b0a3fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:36:36 + git log --format=format:%s -1 c2c42889b25b25fe7e98aa198a4ebf7bc3c2ea58 [Pipeline] sh 06:36:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:36:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:36:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:37 prd-ubuntu20.04-docker-8c-8g-27970 does not seem to be running inside a container 06:36:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:36:37 $ docker top a2eba20d3a0a550c0a4fce7fdbcaacf8404405f16135f6ef13c4c365f42a7c40 -eo pid,comm 06:36:37 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). 06:36:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:36:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:36:37 [ssh-agent] Looking for ssh-agent implementation... 06:36:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:36:37 $ docker exec a2eba20d3a0a550c0a4fce7fdbcaacf8404405f16135f6ef13c4c365f42a7c40 ssh-agent 06:36:38 SSH_AUTH_SOCK=/tmp/ssh-qdnE3obHzCEI/agent.31 06:36:38 SSH_AGENT_PID=37 06:36:38 Running ssh-add (command line suppressed) 06:36:38 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11724045990897058497.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11724045990897058497.key) 06:36:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:36:38 + git semver tag 06:36:38 2024-01-26 06:36:38,654 [run_tag] DEBUG tag force:False 06:36:38 2024-01-26 06:36:38,655 [check_head_tag] DEBUG check head tag 06:36:38 2024-01-26 06:36:38,655 [execute] INFO git cat-file --batch-check 06:36:38 2024-01-26 06:36:38,656 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 06:36:38 2024-01-26 06:36:38,659 [execute] INFO git cat-file --batch 06:36:38 2024-01-26 06:36:38,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 06:36:38 2024-01-26 06:36:38,671 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:36:38 2024-01-26 06:36:38,671 [execute] INFO git tag -a v3.2.0-dev.5 -m v3.2.0-dev.5 06:36:38 2024-01-26 06:36:38,672 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.5', '-m', 'v3.2.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 06:36:38 2024-01-26 06:36:38,676 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:36:38 3.2.0-dev.5 [Pipeline] } 06:36:38 $ docker exec --env ******** --env ******** a2eba20d3a0a550c0a4fce7fdbcaacf8404405f16135f6ef13c4c365f42a7c40 ssh-agent -k 06:36:38 unset SSH_AUTH_SOCK; 06:36:38 unset SSH_AGENT_PID; 06:36:38 echo Agent pid 37 killed; 06:36:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:36:39 + git semver [Pipeline] } 06:36:39 $ docker stop --time=1 a2eba20d3a0a550c0a4fce7fdbcaacf8404405f16135f6ef13c4c365f42a7c40 06:36:40 $ docker rm -f --volumes a2eba20d3a0a550c0a4fce7fdbcaacf8404405f16135f6ef13c4c365f42a7c40 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:36:41 06:36:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:36:41 0.23.1-centos7: Pulling from edgex-lftools 06:36:41 ab5ef0e58194: Pulling fs layer 06:36:41 9712f1f96733: Pulling fs layer 06:36:41 63f879dbbcfc: Pulling fs layer 06:36:41 0d9ebad4ef96: Pulling fs layer 06:36:41 e9a5061849ea: Pulling fs layer 06:36:41 d747dcd14b5f: Pulling fs layer 06:36:41 2de7ff778b66: Pulling fs layer 06:36:41 d747dcd14b5f: Waiting 06:36:41 0d9ebad4ef96: Waiting 06:36:41 e9a5061849ea: Waiting 06:36:41 2de7ff778b66: Waiting 06:36:41 9712f1f96733: Verifying Checksum 06:36:41 9712f1f96733: Download complete 06:36:42 63f879dbbcfc: Verifying Checksum 06:36:42 63f879dbbcfc: Download complete 06:36:42 e9a5061849ea: Verifying Checksum 06:36:42 e9a5061849ea: Download complete 06:36:42 d747dcd14b5f: Verifying Checksum 06:36:42 d747dcd14b5f: Download complete 06:36:42 0d9ebad4ef96: Verifying Checksum 06:36:42 0d9ebad4ef96: Download complete 06:36:42 ab5ef0e58194: Download complete 06:36:42 2de7ff778b66: Verifying Checksum 06:36:42 2de7ff778b66: Download complete 06:36:45 ab5ef0e58194: Pull complete 06:36:45 9712f1f96733: Pull complete 06:36:45 63f879dbbcfc: Pull complete 06:36:49 0d9ebad4ef96: Pull complete 06:36:49 e9a5061849ea: Pull complete 06:36:49 d747dcd14b5f: Pull complete 06:36:50 2de7ff778b66: Pull complete 06:36:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:36:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:36:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:51 prd-ubuntu20.04-docker-8c-8g-27970 does not seem to be running inside a container 06:36:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:36:58 $ docker top 0ecb13ffc9ecc62f7c5d92ae5a3632057f1cc84e1dbff42780afa913470e43ad -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:36:58 provisioning config files... 06:36:58 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13006617994741173151tmp 06:36:58 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7115658727257737066tmp 06:36:58 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7952240783953211623tmp [Pipeline] { [Pipeline] echo 06:36:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:36:58 ---> sigul-configuration.sh 06:36:58 gpg: directory `/root/.gnupg' created 06:36:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:36:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:36:58 gpg: keyring `/root/.gnupg/secring.gpg' created 06:36:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:36:58 gpg: CAST5 encrypted data 06:36:58 gpg: encrypted with 1 passphrase 06:36:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:36:59 + mkdir /home/jenkins 06:36:59 + mkdir /home/jenkins/sigul [Pipeline] sh 06:36:59 + 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 06:36:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:36:59 ---> sigul-install.sh 06:36:59 Sigul already installed; skipping installation. [Pipeline] sh 06:36:59 + git tag --list 06:36:59 1.0.0 06:36:59 v0.0.0 06:36:59 v1.1.0 06:36:59 v1.1.1 06:36:59 v1.2.2 06:36:59 v1.3.0 06:36:59 v1.3.1 06:36:59 v2.0.0 06:36:59 v2.1.0 06:36:59 v2.1.1 06:36:59 v2.2.0 06:36:59 v2.3.0 06:36:59 v3.0 06:36:59 v3.0.0 06:36:59 v3.1 06:36:59 v3.1.0 06:36:59 v3.1.0-dev.1 06:36:59 v3.1.0-dev.10 06:36:59 v3.1.0-dev.11 06:36:59 v3.1.0-dev.12 06:36:59 v3.1.0-dev.13 06:36:59 v3.1.0-dev.2 06:36:59 v3.1.0-dev.3 06:36:59 v3.1.0-dev.4 06:36:59 v3.1.0-dev.5 06:36:59 v3.1.0-dev.6 06:36:59 v3.1.0-dev.7 06:36:59 v3.1.0-dev.8 06:36:59 v3.1.0-dev.9 06:36:59 v3.2.0-dev.1 06:36:59 v3.2.0-dev.2 06:36:59 v3.2.0-dev.3 06:36:59 v3.2.0-dev.4 06:36:59 v3.2.0-dev.5 [Pipeline] sh 06:37:00 + lftools sign git-tag v3.2.0-dev.5 06:37:00 Signing Git tag with Sigul... 06:37:00 Signing v3.2.0-dev.5 [Pipeline] echo 06:37:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:37:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:37:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:37:01 $ docker stop --time=1 0ecb13ffc9ecc62f7c5d92ae5a3632057f1cc84e1dbff42780afa913470e43ad 06:37:03 $ docker rm -f --volumes 0ecb13ffc9ecc62f7c5d92ae5a3632057f1cc84e1dbff42780afa913470e43ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:37:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:37:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:37:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:04 prd-ubuntu20.04-docker-8c-8g-27970 does not seem to be running inside a container 06:37:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:37:05 $ docker top 304f2f965dc16e308337d1269a7912b91d4c8e15a67eb5f659fdde53bfeed9f8 -eo pid,comm 06:37:05 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). 06:37:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:37:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:37:05 [ssh-agent] Looking for ssh-agent implementation... 06:37:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:37:05 $ docker exec 304f2f965dc16e308337d1269a7912b91d4c8e15a67eb5f659fdde53bfeed9f8 ssh-agent 06:37:05 SSH_AUTH_SOCK=/tmp/ssh-qGvrJVsmY8gj/agent.31 06:37:05 SSH_AGENT_PID=37 06:37:05 Running ssh-add (command line suppressed) 06:37:05 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1270673632577683727.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1270673632577683727.key) 06:37:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:37:06 + git semver bump pre 06:37:06 2024-01-26 06:37:06,254 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:37:06 2024-01-26 06:37:06,254 [bump_version] DEBUG bumping version:3.2.0-dev.5 on axis:pre with prefix:dev 06:37:06 2024-01-26 06:37:06,254 [bump_version] DEBUG bumped version:3.2.0-dev.6 06:37:06 2024-01-26 06:37:06,254 [write_version] DEBUG write version:3.2.0-dev.6 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 06:37:06 2024-01-26 06:37:06,254 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:37:06 2024-01-26 06:37:06,255 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:37:06 2024-01-26 06:37:06,257 [execute] INFO git cat-file --batch-check 06:37:06 2024-01-26 06:37:06,257 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:37:06 2024-01-26 06:37:06,262 [execute] INFO git cat-file --batch 06:37:06 2024-01-26 06:37:06,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:37:06 2024-01-26 06:37:06,267 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:37:06 3.2.0-dev.6 [Pipeline] } 06:37:06 $ docker exec --env ******** --env ******** 304f2f965dc16e308337d1269a7912b91d4c8e15a67eb5f659fdde53bfeed9f8 ssh-agent -k 06:37:06 unset SSH_AUTH_SOCK; 06:37:06 unset SSH_AGENT_PID; 06:37:06 echo Agent pid 37 killed; 06:37:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:37:06 + git semver [Pipeline] } 06:37:07 $ docker stop --time=1 304f2f965dc16e308337d1269a7912b91d4c8e15a67eb5f659fdde53bfeed9f8 06:37:08 $ docker rm -f --volumes 304f2f965dc16e308337d1269a7912b91d4c8e15a67eb5f659fdde53bfeed9f8 [Pipeline] // withDockerContainer [Pipeline] sh 06:37:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:37:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:37:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:10 prd-ubuntu20.04-docker-8c-8g-27970 does not seem to be running inside a container 06:37:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:37:10 $ docker top a253284062e93937f99a5aab0b751e0ccc9d025b1a0b448dd1e7383e66eb1d7e -eo pid,comm 06:37:10 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). 06:37:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:37:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:37:11 [ssh-agent] Looking for ssh-agent implementation... 06:37:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:37:11 $ docker exec a253284062e93937f99a5aab0b751e0ccc9d025b1a0b448dd1e7383e66eb1d7e ssh-agent 06:37:11 SSH_AUTH_SOCK=/tmp/ssh-BkrBgr1d0Y4D/agent.30 06:37:11 SSH_AGENT_PID=36 06:37:11 Running ssh-add (command line suppressed) 06:37:11 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11038094246498270191.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11038094246498270191.key) 06:37:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:37:11 + git semver push 06:37:12 2024-01-26 06:37:12,077 [run_push] DEBUG push 06:37:12 2024-01-26 06:37:12,078 [execute] INFO git cat-file --batch-check 06:37:12 2024-01-26 06:37:12,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:37:12 2024-01-26 06:37:12,082 [execute] INFO git rev-list b8e2b045e1784856172177413734afaa5f4fe5ed -- 06:37:12 2024-01-26 06:37:12,083 [execute] DEBUG Popen(['git', 'rev-list', 'b8e2b045e1784856172177413734afaa5f4fe5ed', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:37:12 2024-01-26 06:37:12,092 [execute] INFO git fetch -v origin 06:37:12 2024-01-26 06:37:12,092 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:37:12 2024-01-26 06:37:12,602 [run_push] DEBUG no remote changes detected 06:37:12 2024-01-26 06:37:12,603 [execute] INFO git push origin semver 06:37:12 2024-01-26 06:37:12,603 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:37:13 2024-01-26 06:37:13,301 [run_push] DEBUG push all version tags 06:37:13 2024-01-26 06:37:13,302 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:37:13 2024-01-26 06:37:13,302 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 06:37:14 2024-01-26 06:37:13,978 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:37:14 3.2.0-dev.6 [Pipeline] } 06:37:14 $ docker exec --env ******** --env ******** a253284062e93937f99a5aab0b751e0ccc9d025b1a0b448dd1e7383e66eb1d7e ssh-agent -k 06:37:14 unset SSH_AUTH_SOCK; 06:37:14 unset SSH_AGENT_PID; 06:37:14 echo Agent pid 36 killed; 06:37:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:37:14 + git semver [Pipeline] } 06:37:15 $ docker stop --time=1 a253284062e93937f99a5aab0b751e0ccc9d025b1a0b448dd1e7383e66eb1d7e 06:37:16 $ docker rm -f --volumes a253284062e93937f99a5aab0b751e0ccc9d025b1a0b448dd1e7383e66eb1d7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:37:18 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 06:37:18 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:37:18 total 16 06:37:18 drwxr-xr-x 3 root root 4096 Jan 26 06:30 . 06:37:18 drwxrwxr-x 9 jenkins jenkins 4096 Jan 26 06:36 .. 06:37:18 drwxr-xr-x 2 root root 4096 Jan 26 06:30 cost 06:37:18 -rw-r--r-- 1 root root 86 Jan 26 06:30 cost.csv 06:37:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:37:18 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:37:18 total 16 06:37:18 drwxr-xr-x 3 jenkins jenkins 4096 Jan 26 06:30 . 06:37:18 drwxrwxr-x 9 jenkins jenkins 4096 Jan 26 06:36 .. 06:37:18 drwxr-xr-x 2 jenkins jenkins 4096 Jan 26 06:30 cost 06:37:18 -rw-r--r-- 1 jenkins jenkins 86 Jan 26 06:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:37:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:37:19 ---> package-listing.sh 06:37:19 ++ facter osfamily 06:37:19 ++ tr '[:upper:]' '[:lower:]' 06:37:19 + OS_FAMILY=debian 06:37:19 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 06:37:19 + START_PACKAGES=/tmp/packages_start.txt 06:37:19 + END_PACKAGES=/tmp/packages_end.txt 06:37:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:37:19 + PACKAGES=/tmp/packages_start.txt 06:37:19 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 06:37:19 + PACKAGES=/tmp/packages_end.txt 06:37:19 + case "${OS_FAMILY}" in 06:37:19 + dpkg -l 06:37:19 + grep '^ii' 06:37:19 + '[' -f /tmp/packages_start.txt ']' 06:37:19 + '[' -f /tmp/packages_end.txt ']' 06:37:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:37:19 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 06:37:19 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 06:37:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 06:37:19 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:37:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:37:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:20 prd-ubuntu20.04-docker-8c-8g-27970 does not seem to be running inside a container 06:37:20 $ 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:37:20 $ docker top e673c52171c6038bf9eec089dc3fbfe9d089f73d84452fcddc4c17e856642f91 -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:21 + touch /tmp/pre-build-complete [Pipeline] sh 06:37:21 + mkdir -p /var/log/sysstat [Pipeline] sh 06:37:21 + ls /var/log/sa-host 06:37:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:22 provisioning config files... 06:37:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18063720371762500927tmp [Pipeline] { [Pipeline] echo 06:37:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:37:22 ---> create-netrc.sh [Pipeline] } 06:37:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:37:22 ---> python-tools-install.sh [Pipeline] echo 06:37:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:37:23 ---> sudo-logs.sh 06:37:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:37:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:37:23 ---> job-cost.sh 06:37:23 lf-activate-venv: SKIPPING 06:37:23 DEBUG: total: 0.2199999988079071 06:37:23 INFO: Retrieving Stack Cost... 06:37:23 INFO: Retrieving Pricing Info for: v3-standard-8 06:37:24 INFO: Archiving Costs [Pipeline] echo 06:37:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:37:24 ---> logs-deploy.sh 06:37:24 lf-activate-venv: SKIPPING 06:37:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/105 06:37:24 INFO: archiving workspace using pattern(s): 06:37:25 Archives upload complete. 06:37:25 INFO: archiving logs to Nexus