Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 027e49bbb3adb675c2501a9a4fed4a08c937de63 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-ssh5628162398850423342.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-ssh4925184162592895638.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-ssh4384190876175301574.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-ssh17486750745770514664.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-ssh17322221497664733226.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24216 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 027e49bbb3adb675c2501a9a4fed4a08c937de63 (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 027e49bbb3adb675c2501a9a4fed4a08c937de63 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#335)" > git rev-list --no-walk 042ec1626ee523754e0e1f4be46f239764bd63ff # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:24:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:24:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:24:22 ========================================================= 15:24:22 EdgeX Global Pipelines Version Info 15:24:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:24:23 ------------------- 15:24:23 stable info: 15:24:23 ------------------- 15:24:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:24:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 15:24:23 Message: update stable to v1.0.258 15:24:24 ------------------- 15:24:24 experimental info: 15:24:24 ------------------- 15:24:24 Commited By: **** collab-it+edgex@linuxfoundation.org 15:24:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 15:24:24 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:24:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:24:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:24:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:24:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:24:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:24:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 027e49bbb3adb675c2501a9a4fed4a08c937de63 [Pipeline] echo 15:24:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 027e49b [Pipeline] echo 15:24:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:24:25 provisioning config files... 15:24:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9617704196742956637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:25 ---> ****-login.sh 15:24:25 nexus3.edgexfoundry.org:10001 15:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:24:26 Configure a credential helper to remove this warning. See 15:24:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:24:26 15:24:26 Login Succeeded 15:24:26 nexus3.edgexfoundry.org:10002 15:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:24:26 Configure a credential helper to remove this warning. See 15:24:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:24:26 15:24:26 Login Succeeded 15:24:26 nexus3.edgexfoundry.org:10003 15:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:24:26 Configure a credential helper to remove this warning. See 15:24:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:24:26 15:24:26 Login Succeeded 15:24:26 nexus3.edgexfoundry.org:10004 15:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:24:26 Configure a credential helper to remove this warning. See 15:24:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:24:26 15:24:26 Login Succeeded 15:24:26 ****.io 15:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:24:26 Configure a credential helper to remove this warning. See 15:24:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:24:26 15:24:26 Login Succeeded 15:24:26 ---> ****-login.sh ends [Pipeline] } 15:24:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:24:27 + git rev-list -1 --merges 027e49bbb3adb675c2501a9a4fed4a08c937de63~1..027e49bbb3adb675c2501a9a4fed4a08c937de63 [Pipeline] echo 15:24:27 -----------> git rev-list -1 --merges 027e49bbb3adb675c2501a9a4fed4a08c937de63~1..027e49bbb3adb675c2501a9a4fed4a08c937de63 027e49bbb3adb675c2501a9a4fed4a08c937de63 [false] [Pipeline] sh 15:24:27 + git log --format=format:%s -1 027e49bbb3adb675c2501a9a4fed4a08c937de63 [Pipeline] echo 15:24:27 ========================================================= 15:24:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:24:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:27 + git log --format=format:%s -1 027e49bbb3adb675c2501a9a4fed4a08c937de63 [Pipeline] echo 15:24:27 [semverPrep] GIT_COMMIT: 027e49bbb3adb675c2501a9a4fed4a08c937de63, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#335) [Pipeline] echo 15:24:27 [semverPrep] This is not a build commit. [Pipeline] sh 15:24:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:24:28 + grep -v github /etc/ssh/ssh_known_hosts 15:24:28 + [ -e /tmp/ssh_known_hosts ] 15:24:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:24:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:24:28 + sudo tee -a /etc/ssh/ssh_known_hosts 15:24:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:24:28 15:24:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:24:28 0.1.4: Pulling from edgex-devops/py-git-semver 15:24:28 b85a868b505f: Pulling fs layer 15:24:28 e2be974225ed: Pulling fs layer 15:24:28 339a4e72a1f5: Pulling fs layer 15:24:28 988bab9f4d93: Pulling fs layer 15:24:28 1469e6f7b9e6: Pulling fs layer 15:24:28 eaf3925da568: Pulling fs layer 15:24:28 bab4dde63d76: Pulling fs layer 15:24:28 bde34c3a00c8: Pulling fs layer 15:24:28 b352a97aabf1: Pulling fs layer 15:24:28 4872d77fe225: Pulling fs layer 15:24:28 5851b861e8e6: Pulling fs layer 15:24:28 bab4dde63d76: Waiting 15:24:28 bde34c3a00c8: Waiting 15:24:28 b352a97aabf1: Waiting 15:24:28 988bab9f4d93: Waiting 15:24:28 4872d77fe225: Waiting 15:24:28 1469e6f7b9e6: Waiting 15:24:28 5851b861e8e6: Waiting 15:24:28 eaf3925da568: Waiting 15:24:28 e2be974225ed: Verifying Checksum 15:24:28 e2be974225ed: Download complete 15:24:28 988bab9f4d93: Verifying Checksum 15:24:28 988bab9f4d93: Download complete 15:24:29 1469e6f7b9e6: Verifying Checksum 15:24:29 1469e6f7b9e6: Download complete 15:24:29 339a4e72a1f5: Verifying Checksum 15:24:29 339a4e72a1f5: Download complete 15:24:29 eaf3925da568: Verifying Checksum 15:24:29 eaf3925da568: Download complete 15:24:29 bde34c3a00c8: Download complete 15:24:30 b352a97aabf1: Verifying Checksum 15:24:30 b352a97aabf1: Download complete 15:24:30 4872d77fe225: Verifying Checksum 15:24:30 4872d77fe225: Download complete 15:24:30 5851b861e8e6: Verifying Checksum 15:24:30 5851b861e8e6: Download complete 15:24:30 b85a868b505f: Download complete 15:24:31 bab4dde63d76: Verifying Checksum 15:24:31 bab4dde63d76: Download complete 15:24:31 b85a868b505f: Pull complete 15:24:31 e2be974225ed: Pull complete 15:24:32 339a4e72a1f5: Pull complete 15:24:32 988bab9f4d93: Pull complete 15:24:32 1469e6f7b9e6: Pull complete 15:24:32 eaf3925da568: Pull complete 15:24:35 bab4dde63d76: Pull complete 15:24:35 bde34c3a00c8: Pull complete 15:24:35 b352a97aabf1: Pull complete 15:24:35 4872d77fe225: Pull complete 15:24:35 5851b861e8e6: Pull complete 15:24:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:24:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:24:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:35 prd-ubuntu20.04-docker-8c-8g-24216 does not seem to be running inside a container 15:24:35 $ 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 15:24:40 $ docker top cdd77e52a1fae9b660057d9e678715d5183c98acdfa98f145508e1f8a63b451b -eo pid,comm 15:24:40 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). 15:24:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:24:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:40 [ssh-agent] Looking for ssh-agent implementation... 15:24:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:40 $ docker exec cdd77e52a1fae9b660057d9e678715d5183c98acdfa98f145508e1f8a63b451b ssh-agent 15:24:40 SSH_AUTH_SOCK=/tmp/ssh-5AHEf5gz5WBy/agent.14 15:24:40 SSH_AGENT_PID=20 15:24:40 Running ssh-add (command line suppressed) 15:24:41 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3333956322916321546.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3333956322916321546.key) 15:24:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:41 + git tag --points-at HEAD [Pipeline] } 15:24:41 $ docker exec --env ******** --env ******** cdd77e52a1fae9b660057d9e678715d5183c98acdfa98f145508e1f8a63b451b ssh-agent -k 15:24:41 unset SSH_AUTH_SOCK; 15:24:41 unset SSH_AGENT_PID; 15:24:41 echo Agent pid 20 killed; 15:24:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:24:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:41 [ssh-agent] Looking for ssh-agent implementation... 15:24:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:41 $ docker exec cdd77e52a1fae9b660057d9e678715d5183c98acdfa98f145508e1f8a63b451b ssh-agent 15:24:41 SSH_AUTH_SOCK=/tmp/ssh-Kwpjddro6ppY/agent.71 15:24:41 SSH_AGENT_PID=77 15:24:41 Running ssh-add (command line suppressed) 15:24:41 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11343878591599184631.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11343878591599184631.key) 15:24:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:42 + git semver init 15:24:42 2023-12-06 15:24:42,390 [run_init] DEBUG init version:0.0.0 force:False 15:24:42 2023-12-06 15:24:42,391 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 15:24:42 2023-12-06 15:24:42,391 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 15:24:42 2023-12-06 15:24:42,392 [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) 15:24:43 2023-12-06 15:24:43,630 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 15:24:43 2023-12-06 15:24:43,631 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 15:24:43 2023-12-06 15:24:43,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:24:43 2023-12-06 15:24:43,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:24:43 3.2.0-dev.2 [Pipeline] } 15:24:43 $ docker exec --env ******** --env ******** cdd77e52a1fae9b660057d9e678715d5183c98acdfa98f145508e1f8a63b451b ssh-agent -k 15:24:43 unset SSH_AUTH_SOCK; 15:24:43 unset SSH_AGENT_PID; 15:24:43 echo Agent pid 77 killed; 15:24:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:24:44 + git semver [Pipeline] } 15:24:44 $ docker stop --time=1 cdd77e52a1fae9b660057d9e678715d5183c98acdfa98f145508e1f8a63b451b 15:24:45 $ docker rm -f --volumes cdd77e52a1fae9b660057d9e678715d5183c98acdfa98f145508e1f8a63b451b [Pipeline] // withDockerContainer [Pipeline] sh 15:24:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:24:46 Stashed 1 file(s) [Pipeline] echo 15:24:46 [edgeXSemver]: initialized semver on version 3.2.0-dev.2 [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 15:24:46 provisioning config files... 15:24:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4837535920781013587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:47 ---> ****-login.sh 15:24:47 nexus3.edgexfoundry.org:10001 15:24:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:24:47 Configure a credential helper to remove this warning. See 15:24:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:24:47 15:24:47 Login Succeeded 15:24:47 nexus3.edgexfoundry.org:10002 15:24:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:24:47 Configure a credential helper to remove this warning. See 15:24:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:24:47 15:24:47 Login Succeeded 15:24:47 nexus3.edgexfoundry.org:10003 15:24:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:24:47 Configure a credential helper to remove this warning. See 15:24:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:24:47 15:24:47 Login Succeeded 15:24:47 nexus3.edgexfoundry.org:10004 15:24:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:24:47 Configure a credential helper to remove this warning. See 15:24:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:24:47 15:24:47 Login Succeeded 15:24:47 ****.io 15:24:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:24:47 Configure a credential helper to remove this warning. See 15:24:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:24:47 15:24:47 Login Succeeded 15:24:47 ---> ****-login.sh ends [Pipeline] } 15:24:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:24:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:24:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:24:47 ========================================================= 15:24:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:24:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:48 + 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 . 15:24:48 Sending build context to Docker daemon 14.07MB 15:24:48 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:24:48 Step 2/12 : FROM ${BASE} AS builder 15:24:48 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:24:48 7264a8db6415: Pulling fs layer 15:24:48 c4d48a809fc2: Pulling fs layer 15:24:48 4f1c88b9dad5: Pulling fs layer 15:24:48 ad3a456e5733: Pulling fs layer 15:24:48 69c7f0334f64: Pulling fs layer 15:24:48 1f1c1a5573a3: Pulling fs layer 15:24:48 ce7588e14bc9: Pulling fs layer 15:24:48 b5e4710f87ac: Pulling fs layer 15:24:48 69c7f0334f64: Waiting 15:24:48 ad3a456e5733: Waiting 15:24:48 b5e4710f87ac: Waiting 15:24:48 1f1c1a5573a3: Waiting 15:24:48 ce7588e14bc9: Waiting 15:24:48 c4d48a809fc2: Verifying Checksum 15:24:48 c4d48a809fc2: Download complete 15:24:48 ad3a456e5733: Verifying Checksum 15:24:48 ad3a456e5733: Download complete 15:24:48 69c7f0334f64: Verifying Checksum 15:24:48 69c7f0334f64: Download complete 15:24:48 7264a8db6415: Verifying Checksum 15:24:48 7264a8db6415: Download complete 15:24:48 1f1c1a5573a3: Verifying Checksum 15:24:48 1f1c1a5573a3: Download complete 15:24:48 7264a8db6415: Pull complete 15:24:48 b5e4710f87ac: Verifying Checksum 15:24:48 b5e4710f87ac: Download complete 15:24:48 c4d48a809fc2: Pull complete 15:24:49 4f1c88b9dad5: Verifying Checksum 15:24:49 4f1c88b9dad5: Download complete 15:24:49 ce7588e14bc9: Verifying Checksum 15:24:49 ce7588e14bc9: Download complete 15:24:52 4f1c88b9dad5: Pull complete 15:24:52 ad3a456e5733: Pull complete 15:24:52 69c7f0334f64: Pull complete 15:24:52 1f1c1a5573a3: Pull complete 15:24:55 ce7588e14bc9: Pull complete 15:24:55 b5e4710f87ac: Pull complete 15:24:55 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 15:24:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:24:55 ---> 88b5674ff536 15:24:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:25:01 ---> Running in e337bfc28cf7 15:25:01 Removing intermediate container e337bfc28cf7 15:25:01 ---> 85aa82830698 15:25:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:25:01 ---> Running in c87944f5c820 15:25:01 Removing intermediate container c87944f5c820 15:25:01 ---> 15f13673917d 15:25:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:25:01 ---> Running in ae296329119b 15:25:01 Removing intermediate container ae296329119b 15:25:01 ---> 5ff21bef694c 15:25:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:25:01 ---> Running in 9df669f86587 15:25:01 Removing intermediate container 9df669f86587 15:25:01 ---> e298c16802b6 15:25:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:25:01 ---> Running in f45e192863c8 15:25:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:25:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:25:01 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:25:01 (2/4) Installing libedit (20221030.3.1-r1) 15:25:01 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:25:01 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:25:01 Executing busybox-1.36.1-r5.trigger 15:25:01 OK: 268 MiB in 56 packages 15:25:01 Still waiting to schedule task 15:25:01 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24218’ is offline 15:25:04 Removing intermediate container f45e192863c8 15:25:04 ---> 404b582c8d53 15:25:04 Step 8/12 : WORKDIR /device-snmp-go 15:25:04 ---> Running in 0747a06543c8 15:25:04 Removing intermediate container 0747a06543c8 15:25:04 ---> b9e05ba98b72 15:25:04 Step 9/12 : COPY go.mod vendor* ./ 15:25:04 ---> 8573df4a2e72 15:25:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:25:04 ---> Running in 3cc9ba1c7d5a 15:25:43 Removing intermediate container 3cc9ba1c7d5a 15:25:43 ---> 0ba49109d263 15:25:43 Step 11/12 : COPY . . 15:25:43 ---> 09652aab0aaf 15:25:43 Step 12/12 : RUN ${MAKE} 15:25:43 ---> Running in 5f700a35b5ad 15:25:43 noop 15:25:43 Removing intermediate container 5f700a35b5ad 15:25:43 ---> 000475e3f1b2 15:25:43 Successfully built 000475e3f1b2 15:25:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:43 + docker inspect -f . ci-base-image-x86_64 15:25:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:44 prd-ubuntu20.04-docker-8c-8g-24216 does not seem to be running inside a container 15:25:44 $ 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 15:25:44 $ docker top 894b600cc937912e1670cfcfcd77d058f5cb3d3ba9b95a38d0ca91b41afbff82 -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:44 + go version 15:25:44 go version go1.21.0 linux/amd64 [Pipeline] } 15:25:44 $ docker stop --time=1 894b600cc937912e1670cfcfcd77d058f5cb3d3ba9b95a38d0ca91b41afbff82 15:25:46 $ docker rm -f --volumes 894b600cc937912e1670cfcfcd77d058f5cb3d3ba9b95a38d0ca91b41afbff82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:46 + docker inspect -f . ci-base-image-x86_64 15:25:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:46 prd-ubuntu20.04-docker-8c-8g-24216 does not seem to be running inside a container 15:25:46 $ 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 15:25:47 $ docker top 3f0c370c61c95936da16c341ce55a546e77f28b9c013e6e41f37633e4d8e8d2c -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:47 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 15:25:47 + make test 15:25:47 go test ./... -coverprofile=coverage.out 15:25:49 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:25:59 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:25:59 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 15:26:05 go vet ./... 15:26:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:26:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:26:09 ./bin/test-attribution-txt.sh [Pipeline] echo 15:26:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:26:09 $ docker stop --time=1 3f0c370c61c95936da16c341ce55a546e77f28b9c013e6e41f37633e4d8e8d2c 15:26:12 $ docker rm -f --volumes 3f0c370c61c95936da16c341ce55a546e77f28b9c013e6e41f37633e4d8e8d2c [Pipeline] // withDockerContainer [Pipeline] sh 15:26:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:26:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:26:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:26:14 + ls -al . 15:26:14 total 172 15:26:14 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:25 . 15:26:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:24 .. 15:26:14 -rw-rw-r-- 1 jenkins jenkins 6 Dec 6 15:24 .dockerignore 15:26:14 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:25 .git 15:26:14 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:24 .github 15:26:14 -rw-rw-r-- 1 jenkins jenkins 263 Dec 6 15:24 .gitignore 15:26:14 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 15:24 .golangci.yml 15:26:14 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 15:24 .semver 15:26:14 -rw-rw-r-- 1 jenkins jenkins 10025 Dec 6 15:24 Attribution.txt 15:26:14 -rw-rw-r-- 1 jenkins jenkins 11809 Dec 6 15:24 CHANGELOG.md 15:26:14 -rw-rw-r-- 1 jenkins jenkins 1571 Dec 6 15:24 Dockerfile 15:26:14 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 15:24 GOVERNANCE.md 15:26:14 -rw-rw-r-- 1 jenkins jenkins 656 Dec 6 15:24 Jenkinsfile 15:26:14 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 15:24 LICENSE 15:26:14 -rw-rw-r-- 1 jenkins jenkins 2240 Dec 6 15:24 Makefile 15:26:14 -rw-rw-r-- 1 jenkins jenkins 620 Dec 6 15:24 OWNERS.md 15:26:14 -rw-rw-r-- 1 jenkins jenkins 10477 Dec 6 15:24 README.md 15:26:14 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 15:24 VERSION 15:26:14 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:24 bin 15:26:14 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:24 cmd 15:26:14 -rw-r--r-- 1 jenkins jenkins 8837 Dec 6 15:25 coverage.out 15:26:14 -rw-rw-r-- 1 jenkins jenkins 3707 Dec 6 15:24 go.mod 15:26:14 -rw-rw-r-- 1 jenkins jenkins 34812 Dec 6 15:24 go.sum 15:26:14 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:24 internal 15:26:14 -rw-rw-r-- 1 jenkins jenkins 228 Dec 6 15:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:15 + 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=027e49bbb3adb675c2501a9a4fed4a08c937de63 --label arch=amd64 --label version=3.2.0-dev.2 . 15:26:15 Sending build context to Docker daemon 14.08MB 15:26:15 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 15:26:15 Step 2/25 : FROM ${BASE} AS builder 15:26:15 ---> 000475e3f1b2 15:26:15 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:26:15 ---> Running in 97b893877559 15:26:15 Removing intermediate container 97b893877559 15:26:15 ---> daf20e60b365 15:26:15 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:26:15 ---> Running in 6bd466f0e22a 15:26:15 Removing intermediate container 6bd466f0e22a 15:26:15 ---> 4da4beffc592 15:26:15 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:26:15 ---> Running in 3c89ecebda5d 15:26:15 Removing intermediate container 3c89ecebda5d 15:26:15 ---> 2aedd73405a8 15:26:15 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:26:15 ---> Running in 01f1c0e1d388 15:26:15 Removing intermediate container 01f1c0e1d388 15:26:15 ---> 8f65ca6a1146 15:26:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:26:15 ---> Running in bcfb4ff5e50f 15:26:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:26:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:26:16 OK: 268 MiB in 56 packages 15:26:16 Removing intermediate container bcfb4ff5e50f 15:26:16 ---> 3d1ed4fb9b2c 15:26:16 Step 8/25 : WORKDIR /device-snmp-go 15:26:16 ---> Running in b09879ec3fca 15:26:16 Removing intermediate container b09879ec3fca 15:26:16 ---> 838c599a0bf0 15:26:16 Step 9/25 : COPY go.mod vendor* ./ 15:26:16 ---> ffb43daa6fc0 15:26:16 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:26:16 ---> Running in 2a139a231f5f 15:26:17 Removing intermediate container 2a139a231f5f 15:26:17 ---> 2b38615cda1c 15:26:17 Step 11/25 : COPY . . 15:26:17 ---> 7de81c940111 15:26:17 Step 12/25 : RUN ${MAKE} 15:26:17 ---> Running in b6f4a4bf53eb 15:26:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 15:26:40 Removing intermediate container b6f4a4bf53eb 15:26:40 ---> 9a9b6d98fc08 15:26:40 Step 13/25 : FROM alpine:3.18 15:26:40 3.18: Pulling from library/alpine 15:26:40 c926b61bad3b: Pulling fs layer 15:26:40 c926b61bad3b: Verifying Checksum 15:26:40 c926b61bad3b: Download complete 15:26:40 c926b61bad3b: Pull complete 15:26:40 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:26:40 Status: Downloaded newer image for alpine:3.18 15:26:40 ---> b541f2080109 15:26:40 Step 14/25 : RUN apk add --update --no-cache dumb-init 15:26:40 ---> Running in e89c72ae69c3 15:26:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:26:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:26:40 (1/1) Installing dumb-init (1.2.5-r2) 15:26:40 Executing busybox-1.36.1-r5.trigger 15:26:40 OK: 7 MiB in 16 packages 15:26:41 Removing intermediate container e89c72ae69c3 15:26:41 ---> c9ea2bd2d1e2 15:26:41 Step 15/25 : RUN apk --no-cache upgrade 15:26:41 ---> Running in 6bb6ffe9bdee 15:26:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:26:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:26:41 OK: 7 MiB in 16 packages 15:26:41 Removing intermediate container 6bb6ffe9bdee 15:26:41 ---> 1432e6cda2f3 15:26:41 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 15:26:42 ---> 0daf958334b1 15:26:42 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:26:42 ---> cca16f5527f2 15:26:42 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 15:26:43 ---> 1c95d1767e28 15:26:43 Step 19/25 : EXPOSE 59993 15:26:43 ---> Running in dd6376e8173a 15:26:43 Removing intermediate container dd6376e8173a 15:26:43 ---> 26e593af8c1e 15:26:43 Step 20/25 : EXPOSE 161 15:26:43 ---> Running in c8a7772f6eb5 15:26:43 Removing intermediate container c8a7772f6eb5 15:26:43 ---> d596e24f21e4 15:26:43 Step 21/25 : ENTRYPOINT ["/device-snmp"] 15:26:43 ---> Running in e3a7b9e1be3d 15:26:43 Removing intermediate container e3a7b9e1be3d 15:26:43 ---> cc2ac84bf327 15:26:43 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:26:43 ---> Running in 668fe5486dd2 15:26:43 Removing intermediate container 668fe5486dd2 15:26:43 ---> 18683adf0fac 15:26:43 Step 23/25 : LABEL arch=amd64 15:26:43 ---> Running in e1fbc1d8130a 15:26:43 Removing intermediate container e1fbc1d8130a 15:26:43 ---> f21f09d55f7c 15:26:43 Step 24/25 : LABEL git_sha=027e49bbb3adb675c2501a9a4fed4a08c937de63 15:26:43 ---> Running in 7c2ef7106f61 15:26:43 Removing intermediate container 7c2ef7106f61 15:26:43 ---> 105406a093a0 15:26:43 Step 25/25 : LABEL version=3.2.0-dev.2 15:26:43 ---> Running in e64464513945 15:26:43 Removing intermediate container e64464513945 15:26:43 ---> 1898f5e8026e 15:26:43 [Warning] One or more build-args [ARCH] were not consumed 15:26:43 Successfully built 1898f5e8026e 15:26:43 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:26:43 provisioning config files... 15:26:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8933957484940277421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:44 ---> ****-login.sh 15:26:44 nexus3.edgexfoundry.org:10001 15:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:26:44 Configure a credential helper to remove this warning. See 15:26:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:26:44 15:26:44 Login Succeeded 15:26:44 nexus3.edgexfoundry.org:10002 15:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:26:44 Configure a credential helper to remove this warning. See 15:26:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:26:44 15:26:44 Login Succeeded 15:26:44 nexus3.edgexfoundry.org:10003 15:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:26:44 Configure a credential helper to remove this warning. See 15:26:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:26:44 15:26:44 Login Succeeded 15:26:44 nexus3.edgexfoundry.org:10004 15:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:26:44 Configure a credential helper to remove this warning. See 15:26:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:26:44 15:26:44 Login Succeeded 15:26:44 ****.io 15:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:26:44 Configure a credential helper to remove this warning. See 15:26:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:26:44 15:26:44 Login Succeeded 15:26:44 ---> ****-login.sh ends [Pipeline] } 15:26:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:26:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:26:44 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 15:26:44 027e49bbb3adb675c2501a9a4fed4a08c937de63 15:26:44 latest 15:26:44 3.2.0-dev.2 15:26:44 027e49bbb3adb675c2501a9a4fed4a08c937de63-3.2.0-dev.2 15:26:44 main 15:26:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:45 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:027e49bbb3adb675c2501a9a4fed4a08c937de63 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp:027e49bbb3adb675c2501a9a4fed4a08c937de63 15:26:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:26:45 a29f0715ff2d: Preparing 15:26:45 d6d3d799286e: Preparing 15:26:45 72ac6c2eefd0: Preparing 15:26:45 44d51867e9fa: Preparing 15:26:45 1aa0b4293fea: Preparing 15:26:45 9fe9a137fd00: Preparing 15:26:45 9fe9a137fd00: Waiting 15:26:45 1aa0b4293fea: Pushed 15:26:45 d6d3d799286e: Pushed 15:26:45 a29f0715ff2d: Pushed 15:26:45 44d51867e9fa: Pushed 15:26:45 9fe9a137fd00: Layer already exists 15:26:49 72ac6c2eefd0: Pushed 15:26:49 027e49bbb3adb675c2501a9a4fed4a08c937de63: digest: sha256:717d0a8dda297433750cf8f92a53f0d368a1f077d295e92fc901429d55b65ab4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:49 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:49 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 15:26:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:26:49 a29f0715ff2d: Preparing 15:26:49 d6d3d799286e: Preparing 15:26:49 72ac6c2eefd0: Preparing 15:26:49 44d51867e9fa: Preparing 15:26:49 1aa0b4293fea: Preparing 15:26:49 9fe9a137fd00: Preparing 15:26:49 9fe9a137fd00: Waiting 15:26:49 1aa0b4293fea: Layer already exists 15:26:49 d6d3d799286e: Layer already exists 15:26:49 72ac6c2eefd0: Layer already exists 15:26:49 a29f0715ff2d: Layer already exists 15:26:49 44d51867e9fa: Layer already exists 15:26:49 9fe9a137fd00: Layer already exists 15:26:49 latest: digest: sha256:717d0a8dda297433750cf8f92a53f0d368a1f077d295e92fc901429d55b65ab4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:50 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:50 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.2.0-dev.2 15:26:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:26:50 a29f0715ff2d: Preparing 15:26:50 d6d3d799286e: Preparing 15:26:50 72ac6c2eefd0: Preparing 15:26:50 44d51867e9fa: Preparing 15:26:50 1aa0b4293fea: Preparing 15:26:50 9fe9a137fd00: Preparing 15:26:50 9fe9a137fd00: Waiting 15:26:50 44d51867e9fa: Layer already exists 15:26:50 72ac6c2eefd0: Layer already exists 15:26:50 a29f0715ff2d: Layer already exists 15:26:50 d6d3d799286e: Layer already exists 15:26:50 1aa0b4293fea: Layer already exists 15:26:50 9fe9a137fd00: Layer already exists 15:26:50 3.2.0-dev.2: digest: sha256:717d0a8dda297433750cf8f92a53f0d368a1f077d295e92fc901429d55b65ab4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:51 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:027e49bbb3adb675c2501a9a4fed4a08c937de63-3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp:027e49bbb3adb675c2501a9a4fed4a08c937de63-3.2.0-dev.2 15:26:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:26:51 a29f0715ff2d: Preparing 15:26:51 d6d3d799286e: Preparing 15:26:51 72ac6c2eefd0: Preparing 15:26:51 44d51867e9fa: Preparing 15:26:51 1aa0b4293fea: Preparing 15:26:51 9fe9a137fd00: Preparing 15:26:51 9fe9a137fd00: Waiting 15:26:51 1aa0b4293fea: Layer already exists 15:26:51 72ac6c2eefd0: Layer already exists 15:26:51 d6d3d799286e: Layer already exists 15:26:51 a29f0715ff2d: Layer already exists 15:26:51 9fe9a137fd00: Layer already exists 15:26:51 44d51867e9fa: Layer already exists 15:26:51 027e49bbb3adb675c2501a9a4fed4a08c937de63-3.2.0-dev.2: digest: sha256:717d0a8dda297433750cf8f92a53f0d368a1f077d295e92fc901429d55b65ab4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:51 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:52 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 15:26:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:26:52 a29f0715ff2d: Preparing 15:26:52 d6d3d799286e: Preparing 15:26:52 72ac6c2eefd0: Preparing 15:26:52 44d51867e9fa: Preparing 15:26:52 1aa0b4293fea: Preparing 15:26:52 9fe9a137fd00: Preparing 15:26:52 9fe9a137fd00: Waiting 15:26:52 a29f0715ff2d: Layer already exists 15:26:52 1aa0b4293fea: Layer already exists 15:26:52 72ac6c2eefd0: Layer already exists 15:26:52 44d51867e9fa: Layer already exists 15:26:52 d6d3d799286e: Layer already exists 15:26:52 9fe9a137fd00: Layer already exists 15:26:52 main: digest: sha256:717d0a8dda297433750cf8f92a53f0d368a1f077d295e92fc901429d55b65ab4 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:26:52 ===================================================== [Pipeline] echo 15:26:52 taggedImages: 15:26:52 - nexus3.edgexfoundry.org:10004/device-snmp:027e49bbb3adb675c2501a9a4fed4a08c937de63 15:26:52 - nexus3.edgexfoundry.org:10004/device-snmp:latest 15:26:52 - nexus3.edgexfoundry.org:10004/device-snmp:3.2.0-dev.2 15:26:52 - nexus3.edgexfoundry.org:10004/device-snmp:027e49bbb3adb675c2501a9a4fed4a08c937de63-3.2.0-dev.2 15:26:52 - 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 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:53 15:26:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:53 latest: Pulling from edgex-lftools-log-publisher 15:26:53 5eb5b503b376: Pulling fs layer 15:26:53 5c69ac0246d0: Pulling fs layer 15:26:53 ec43610c2a17: Pulling fs layer 15:26:53 3a2ae6a8a46f: Pulling fs layer 15:26:53 33b1e0a273af: Pulling fs layer 15:26:53 5d3b04190fa2: Pulling fs layer 15:26:53 2f39f015ded8: Pulling fs layer 15:26:53 33b1e0a273af: Waiting 15:26:53 5d3b04190fa2: Waiting 15:26:53 2f39f015ded8: Waiting 15:26:53 3a2ae6a8a46f: Waiting 15:26:53 5c69ac0246d0: Verifying Checksum 15:26:53 5c69ac0246d0: Download complete 15:26:53 3a2ae6a8a46f: Verifying Checksum 15:26:53 3a2ae6a8a46f: Download complete 15:26:53 33b1e0a273af: Verifying Checksum 15:26:53 33b1e0a273af: Download complete 15:26:53 5d3b04190fa2: Verifying Checksum 15:26:53 5d3b04190fa2: Download complete 15:26:53 ec43610c2a17: Verifying Checksum 15:26:53 ec43610c2a17: Download complete 15:26:53 5eb5b503b376: Verifying Checksum 15:26:53 5eb5b503b376: Download complete 15:26:54 2f39f015ded8: Verifying Checksum 15:26:54 2f39f015ded8: Download complete 15:26:54 5eb5b503b376: Pull complete 15:26:55 5c69ac0246d0: Pull complete 15:26:55 ec43610c2a17: Pull complete 15:26:55 3a2ae6a8a46f: Pull complete 15:26:55 33b1e0a273af: Pull complete 15:26:55 5d3b04190fa2: Pull complete 15:27:01 2f39f015ded8: Pull complete 15:27:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:27:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:01 prd-ubuntu20.04-docker-8c-8g-24216 does not seem to be running inside a container 15:27:01 $ 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 15:27:08 $ docker top 65a2df89d87301dd4f0dda747a030a82167f7722bf905e643ec95e7814cb59d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:27:08 ---> job-cost.sh 15:27:08 lf-activate-venv: SKIPPING 15:27:08 INFO: No Stack... 15:27:08 INFO: Retrieving Pricing Info for: v3-standard-8 15:27:09 INFO: Archiving Costs [Pipeline] sh 15:27:09 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 15:27:09 + cut -d, -f6 [Pipeline] lock 15:27:09 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-102-stack-cost] 15:27:09 Resource [jenkins-edgexfoundry-device-snmp-go-main-102-stack-cost] did not exist. Created. 15:27:09 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-102-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:27:09 + echo total: 0.2199999988079071 [Pipeline] stash 15:27:09 Stashed 1 file(s) [Pipeline] } 15:27:09 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-102-stack-cost] [Pipeline] // lock [Pipeline] } 15:27:09 $ docker stop --time=1 65a2df89d87301dd4f0dda747a030a82167f7722bf905e643ec95e7814cb59d3 15:27:11 $ docker rm -f --volumes 65a2df89d87301dd4f0dda747a030a82167f7722bf905e643ec95e7814cb59d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:27:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24224 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 15:27:49 Running in /w/workspace/device-snmp-go/102 [Pipeline] { [Pipeline] checkout 15:27:52 Selected Git installation does not exist. Using Default 15:27:52 The recommended git tool is: NONE 15:27:59 using credential edgex-jenkins-ssh 15:27:59 Cloning the remote Git repository 15:27:59 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:27:59 > git init /w/workspace/device-snmp-go/102 # timeout=10 15:27:59 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:27:59 > git --version # timeout=10 15:27:59 > git --version # 'git version 2.25.1' 15:27:59 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:28:01 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:28:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:28:02 Avoid second fetch 15:28:02 Checking out Revision 027e49bbb3adb675c2501a9a4fed4a08c937de63 (main) 15:28:03 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#335)" 15:28:02 > git config core.sparsecheckout # timeout=10 15:28:02 > git checkout -f 027e49bbb3adb675c2501a9a4fed4a08c937de63 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:28:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:28:04 % Total % Received % Xferd Average Speed Time Time Time Current 15:28:04 Dload Upload Total Spent Left Speed 15:28:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 184k 0 --:--:-- --:--:-- --:--:-- 184k [Pipeline] sh 15:28:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:28:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:28:05 + sudo tee /etc/docker/daemon.new 15:28:05 { 15:28:05 "registry-mirrors": [ 15:28:05 "https://nexus3.edgexfoundry.org:10001" 15:28:05 ], 15:28:05 "bip": "10.250.0.254/24", 15:28:05 "hosts": [ 15:28:05 "tcp://0.0.0.0:5555", 15:28:05 "unix:///var/run/docker.sock" 15:28:05 ], 15:28:05 "mtu": 1458, 15:28:05 "selinux-enabled": true, 15:28:05 "seccomp-profile": "/etc/docker/seccomp.json" 15:28:05 } [Pipeline] sh 15:28:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:28:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:28:24 provisioning config files... 15:28:24 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/102@tmp/config7091942687868641697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:25 ---> ****-login.sh 15:28:25 nexus3.edgexfoundry.org:10001 15:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:25 Configure a credential helper to remove this warning. See 15:28:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:25 15:28:25 Login Succeeded 15:28:25 nexus3.edgexfoundry.org:10002 15:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:26 Configure a credential helper to remove this warning. See 15:28:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:26 15:28:26 Login Succeeded 15:28:26 nexus3.edgexfoundry.org:10003 15:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:26 Configure a credential helper to remove this warning. See 15:28:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:26 15:28:26 Login Succeeded 15:28:26 nexus3.edgexfoundry.org:10004 15:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:27 Configure a credential helper to remove this warning. See 15:28:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:27 15:28:27 Login Succeeded 15:28:27 ****.io 15:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:27 Configure a credential helper to remove this warning. See 15:28:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:27 15:28:27 Login Succeeded 15:28:27 ---> ****-login.sh ends [Pipeline] } 15:28:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:28:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:28:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:28:28 ========================================================= 15:28:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:28:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:28 + 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 . 15:28:30 #0 building with "default" instance using docker driver 15:28:30 15:28:30 #1 [internal] load .dockerignore 15:28:30 #1 transferring context: 46B 0.0s done 15:28:30 #1 DONE 0.3s 15:28:30 15:28:30 #2 [internal] load build definition from Dockerfile 15:28:30 #2 transferring dockerfile: 1.61kB 0.0s done 15:28:30 #2 DONE 0.3s 15:28:30 15:28:30 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:28:30 #3 DONE 0.2s 15:28:30 15:28:30 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 15:28:30 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 15:28:30 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 15:28:30 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 15:28:30 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 15:28:31 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 15:28:31 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0B / 3.33MB 0.2s 15:28:31 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.2s 15:28:31 #4 ... 15:28:31 15:28:31 #5 [internal] load build context 15:28:31 #5 transferring context: 7.02MB 0.3s done 15:28:31 #5 DONE 0.4s 15:28:31 15:28:31 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 15:28:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.3s 15:28:31 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.3s 15:28:31 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 15:28:31 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 15:28:31 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 15:28:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.50MB / 63.99MB 0.5s 15:28:31 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.4s done 15:28:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 3.30MB / 97.63MB 0.5s 15:28:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.5s 15:28:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.19MB / 11.40MB 0.6s 15:28:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.76MB / 63.99MB 0.7s 15:28:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.7s 15:28:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 24.96MB / 63.99MB 0.9s 15:28:31 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 15:28:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11.51MB / 97.63MB 0.9s 15:28:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.9s 15:28:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.9s done 15:28:31 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 15:28:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 30.41MB / 63.99MB 1.1s 15:28:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 17.83MB / 97.63MB 1.1s 15:28:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 1.2s 15:28:32 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 15:28:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.94MB / 63.99MB 1.4s 15:28:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 29.83MB / 97.63MB 1.4s 15:28:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 46.25MB / 63.99MB 1.5s 15:28:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 51.38MB / 63.99MB 1.6s 15:28:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 38.80MB / 97.63MB 1.6s 15:28:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.67MB / 63.99MB 1.8s 15:28:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 46.14MB / 97.63MB 1.8s 15:28:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 2.0s 15:28:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.52MB / 97.63MB 2.0s 15:28:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 64.15MB / 97.63MB 2.2s 15:28:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 74.47MB / 97.63MB 2.4s 15:28:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 79.69MB / 97.63MB 2.5s 15:28:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.93MB / 97.63MB 2.6s 15:28:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.18MB / 97.63MB 2.7s 15:28:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.42MB / 97.63MB 2.8s 15:28:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 4.4s done 15:28:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 4.7s done 15:28:35 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15:28:42 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 15:28:46 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.7s 15:28:54 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.8s done 15:28:54 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 15:28:54 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 15:28:54 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15:29:00 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 15:29:03 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.2s done 15:29:04 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 15:29:06 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 15:29:06 #4 DONE 36.1s 15:29:06 15:29:06 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 15:29:07 #6 0.850 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:29:08 #6 1.543 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:29:09 #6 2.688 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:29:09 #6 2.714 (2/4) Installing libedit (20221030.3.1-r1) 15:29:09 #6 2.726 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:29:09 #6 2.799 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:29:09 #6 2.827 Executing busybox-1.36.1-r5.trigger 15:29:09 #6 2.868 OK: 271 MiB in 56 packages 15:29:12 #6 DONE 5.0s 15:29:12 15:29:12 #7 [builder 3/7] WORKDIR /device-snmp-go 15:29:12 #7 DONE 0.1s 15:29:12 15:29:12 #8 [builder 4/7] COPY go.mod vendor* ./ 15:29:12 #8 DONE 0.2s 15:29:12 15:29:12 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:29:38 #9 DONE 23.4s 15:29:38 15:29:38 #10 [builder 6/7] COPY . . 15:29:38 #10 DONE 0.3s 15:29:38 15:29:38 #11 [builder 7/7] RUN echo noop 15:29:38 #11 0.680 noop 15:29:38 #11 DONE 0.8s 15:29:38 15:29:38 #12 exporting to image 15:29:38 #12 exporting layers 15:30:05 #12 exporting layers 25.6s done 15:30:05 #12 writing image sha256:1c9377bb1b02c1005c0931f3866efec9259277765fe4c22b10b45c4abf8b2d07 0.0s done 15:30:05 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 15:30:05 #12 DONE 25.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:06 + docker inspect -f . ci-base-image-arm64 15:30:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:06 prd-ubuntu20.04-docker-arm64-4c-16g-24224 does not seem to be running inside a container 15:30:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/102 -v /w/workspace/device-snmp-go/102:/w/workspace/device-snmp-go/102:rw,z -v /w/workspace/device-snmp-go/102@tmp:/w/workspace/device-snmp-go/102@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 15:30:07 $ docker top acbdf6cd1c0e51317de163fd67c255681db861f626d7301d6e7e766fa39fb589 -eo pid,comm [Pipeline] { [Pipeline] sh 15:30:08 + go version 15:30:08 go version go1.21.0 linux/arm64 [Pipeline] } 15:30:08 $ docker stop --time=1 acbdf6cd1c0e51317de163fd67c255681db861f626d7301d6e7e766fa39fb589 15:30:10 $ docker rm -f --volumes acbdf6cd1c0e51317de163fd67c255681db861f626d7301d6e7e766fa39fb589 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:11 + docker inspect -f . ci-base-image-arm64 15:30:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:11 prd-ubuntu20.04-docker-arm64-4c-16g-24224 does not seem to be running inside a container 15:30:11 $ 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/102 -v /w/workspace/device-snmp-go/102:/w/workspace/device-snmp-go/102:rw,z -v /w/workspace/device-snmp-go/102@tmp:/w/workspace/device-snmp-go/102@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 15:30:16 $ docker top 6b18f69a09d4a8116b4e78391e97b55ca1f862d7383e466e2028ef03d0448999 -eo pid,comm [Pipeline] { [Pipeline] sh 15:30:16 + git config --global --add safe.directory /w/workspace/device-snmp-go/102 [Pipeline] fileExists [Pipeline] sh 15:30:17 + make test 15:30:17 go test ./... -coverprofile=coverage.out 15:30:23 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:31:31 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:31:31 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.053s coverage: 0.0% of statements 15:31:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:31:31 go vet ./... 15:31:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:31:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:31:49 ./bin/test-attribution-txt.sh [Pipeline] echo 15:31:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:31:49 $ docker stop --time=1 6b18f69a09d4a8116b4e78391e97b55ca1f862d7383e466e2028ef03d0448999 15:31:51 $ docker rm -f --volumes 6b18f69a09d4a8116b4e78391e97b55ca1f862d7383e466e2028ef03d0448999 [Pipeline] // withDockerContainer [Pipeline] sh 15:31:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:31:52 Warning: overwriting stash ‘coverage-report’ 15:31:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:31:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:31:54 + ls -al . 15:31:54 total 168 15:31:54 drwxrwxr-x 7 jenkins jenkins 4096 Dec 6 15:30 . 15:31:54 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:27 .. 15:31:54 -rw-rw-r-- 1 jenkins jenkins 6 Dec 6 15:28 .dockerignore 15:31:54 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:28 .git 15:31:54 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:28 .github 15:31:54 -rw-rw-r-- 1 jenkins jenkins 263 Dec 6 15:28 .gitignore 15:31:54 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 15:28 .golangci.yml 15:31:54 -rw-rw-r-- 1 jenkins jenkins 10025 Dec 6 15:28 Attribution.txt 15:31:54 -rw-rw-r-- 1 jenkins jenkins 11809 Dec 6 15:28 CHANGELOG.md 15:31:54 -rw-rw-r-- 1 jenkins jenkins 1571 Dec 6 15:28 Dockerfile 15:31:54 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 15:28 GOVERNANCE.md 15:31:54 -rw-rw-r-- 1 jenkins jenkins 656 Dec 6 15:28 Jenkinsfile 15:31:54 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 15:28 LICENSE 15:31:54 -rw-rw-r-- 1 jenkins jenkins 2240 Dec 6 15:28 Makefile 15:31:54 -rw-rw-r-- 1 jenkins jenkins 620 Dec 6 15:28 OWNERS.md 15:31:54 -rw-rw-r-- 1 jenkins jenkins 10477 Dec 6 15:28 README.md 15:31:54 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 15:24 VERSION 15:31:54 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:28 bin 15:31:54 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:28 cmd 15:31:54 -rw-r--r-- 1 jenkins jenkins 8837 Dec 6 15:31 coverage.out 15:31:54 -rw-rw-r-- 1 jenkins jenkins 3707 Dec 6 15:28 go.mod 15:31:54 -rw-rw-r-- 1 jenkins jenkins 34812 Dec 6 15:28 go.sum 15:31:54 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:28 internal 15:31:54 -rw-rw-r-- 1 jenkins jenkins 228 Dec 6 15:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:54 + 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=027e49bbb3adb675c2501a9a4fed4a08c937de63 --label arch=arm64 --label version=3.2.0-dev.2 . 15:31:55 #0 building with "default" instance using docker driver 15:31:55 15:31:55 #1 [internal] load .dockerignore 15:31:55 #1 transferring context: 46B 0.0s done 15:31:55 #1 DONE 0.1s 15:31:55 15:31:55 #2 [internal] load build definition from Dockerfile 15:31:55 #2 transferring dockerfile: 1.61kB 0.0s done 15:31:55 #2 DONE 0.1s 15:31:55 15:31:55 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 15:31:55 #3 DONE 0.0s 15:31:55 15:31:55 #4 [internal] load metadata for docker.io/library/alpine:3.18 15:31:56 #4 DONE 0.3s 15:31:56 15:31:56 #5 [internal] load build context 15:31:56 #5 DONE 0.0s 15:31:56 15:31:56 #6 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 15:31:56 #6 DONE 0.0s 15:31:56 15:31:56 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:31:56 #7 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:31:56 #7 ... 15:31:56 15:31:56 #5 [internal] load build context 15:31:56 #5 transferring context: 15.16kB 0.0s done 15:31:56 #5 DONE 0.1s 15:31:56 15:31:56 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:31:56 #7 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 15:31:56 #7 ... 15:31:56 15:31:56 #6 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 15:31:56 #6 DONE 0.2s 15:31:56 15:31:56 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:31:56 #7 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 15:31:56 #7 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 15:31:56 #7 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 15:31:56 #7 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 15:31:56 #7 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 15:31:56 #7 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done 15:31:56 #7 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 15:31:57 #7 DONE 1.1s 15:31:57 15:31:57 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 15:31:57 #8 0.885 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:31:57 #8 1.378 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:31:59 #8 2.835 OK: 271 MiB in 56 packages 15:32:00 #8 DONE 4.4s 15:32:00 15:32:00 #9 [builder 3/7] WORKDIR /device-snmp-go 15:32:00 #9 DONE 0.2s 15:32:00 15:32:00 #10 [builder 4/7] COPY go.mod vendor* ./ 15:32:00 #10 DONE 0.2s 15:32:00 15:32:00 #11 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 15:32:00 #11 0.763 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:32:00 #11 1.138 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:32:00 #11 3.561 (1/1) Installing dumb-init (1.2.5-r2) 15:32:00 #11 3.581 Executing busybox-1.36.1-r5.trigger 15:32:00 #11 3.613 OK: 8 MiB in 16 packages 15:32:00 #11 DONE 4.0s 15:32:00 15:32:00 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:32:02 #12 DONE 1.8s 15:32:02 15:32:02 #13 [builder 6/7] COPY . . 15:32:03 #13 DONE 0.4s 15:32:03 15:32:03 #14 [stage-1 3/6] RUN apk --no-cache upgrade 15:32:03 #14 1.047 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:32:03 #14 1.486 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:32:04 #14 3.005 OK: 8 MiB in 16 packages 15:32:04 #14 DONE 3.5s 15:32:04 15:32:04 #15 [builder 7/7] RUN make build 15:32:04 #15 0.865 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 15:33:41 #15 DONE 90.0s 15:33:41 15:33:41 #16 [stage-1 4/6] COPY --from=builder /device-snmp-go/cmd / 15:33:41 #16 DONE 0.4s 15:33:41 15:33:41 #17 [stage-1 5/6] COPY --from=builder /device-snmp-go/Attribution.txt / 15:33:41 #17 DONE 0.1s 15:33:41 15:33:41 #18 [stage-1 6/6] COPY --from=builder /device-snmp-go/LICENSE / 15:33:41 #18 DONE 0.1s 15:33:41 15:33:41 #19 exporting to image 15:33:41 #19 exporting layers 15:33:41 #19 exporting layers 0.3s done 15:33:41 #19 writing image sha256:0abcc7384a1f32d7cb4a3775084dd5812940e3b1b50fe484a31e89c0270320a2 done 15:33:41 #19 naming to docker.io/library/device-snmp-arm64 done 15:33:41 #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 15:33:41 provisioning config files... 15:33:41 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/102@tmp/config4607497140013307034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:33:42 ---> ****-login.sh 15:33:42 nexus3.edgexfoundry.org:10001 15:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:33:42 Configure a credential helper to remove this warning. See 15:33:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:33:42 15:33:42 Login Succeeded 15:33:42 nexus3.edgexfoundry.org:10002 15:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:33:42 Configure a credential helper to remove this warning. See 15:33:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:33:42 15:33:42 Login Succeeded 15:33:42 nexus3.edgexfoundry.org:10003 15:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:33:43 Configure a credential helper to remove this warning. See 15:33:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:33:43 15:33:43 Login Succeeded 15:33:43 nexus3.edgexfoundry.org:10004 15:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:33:43 Configure a credential helper to remove this warning. See 15:33:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:33:43 15:33:43 Login Succeeded 15:33:43 ****.io 15:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:33:44 Configure a credential helper to remove this warning. See 15:33:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:33:44 15:33:44 Login Succeeded 15:33:44 ---> ****-login.sh ends [Pipeline] } 15:33:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:33:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:33:44 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 15:33:44 027e49bbb3adb675c2501a9a4fed4a08c937de63 15:33:44 latest 15:33:44 3.2.0-dev.2 15:33:44 027e49bbb3adb675c2501a9a4fed4a08c937de63-3.2.0-dev.2 15:33:44 main 15:33:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:44 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:027e49bbb3adb675c2501a9a4fed4a08c937de63 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:027e49bbb3adb675c2501a9a4fed4a08c937de63 15:33:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:33:45 0495ac56c59a: Preparing 15:33:45 20f132077661: Preparing 15:33:45 0d85924fea86: Preparing 15:33:45 d93b52a4cbde: Preparing 15:33:45 a0425d57e1d8: Preparing 15:33:45 0faf9b67be60: Preparing 15:33:45 0faf9b67be60: Waiting 15:33:45 20f132077661: Pushed 15:33:45 d93b52a4cbde: Pushed 15:33:45 0495ac56c59a: Pushed 15:33:45 a0425d57e1d8: Pushed 15:33:45 0faf9b67be60: Layer already exists 15:33:50 0d85924fea86: Pushed 15:33:50 027e49bbb3adb675c2501a9a4fed4a08c937de63: digest: sha256:2c9386e996ea1032f2a34a138729bf2029fc7117597f9efe31a002fc19f6241b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:51 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 15:33:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:33:51 0495ac56c59a: Preparing 15:33:51 20f132077661: Preparing 15:33:51 0d85924fea86: Preparing 15:33:51 d93b52a4cbde: Preparing 15:33:51 a0425d57e1d8: Preparing 15:33:51 0faf9b67be60: Preparing 15:33:51 0faf9b67be60: Waiting 15:33:51 a0425d57e1d8: Layer already exists 15:33:51 d93b52a4cbde: Layer already exists 15:33:51 0d85924fea86: Layer already exists 15:33:51 0495ac56c59a: Layer already exists 15:33:51 20f132077661: Layer already exists 15:33:51 0faf9b67be60: Layer already exists 15:33:52 latest: digest: sha256:2c9386e996ea1032f2a34a138729bf2029fc7117597f9efe31a002fc19f6241b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:52 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.2.0-dev.2 15:33:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:33:53 0495ac56c59a: Preparing 15:33:53 20f132077661: Preparing 15:33:53 0d85924fea86: Preparing 15:33:53 d93b52a4cbde: Preparing 15:33:53 a0425d57e1d8: Preparing 15:33:53 0faf9b67be60: Preparing 15:33:53 0faf9b67be60: Waiting 15:33:53 0d85924fea86: Layer already exists 15:33:53 d93b52a4cbde: Layer already exists 15:33:53 20f132077661: Layer already exists 15:33:53 a0425d57e1d8: Layer already exists 15:33:53 0495ac56c59a: Layer already exists 15:33:53 0faf9b67be60: Layer already exists 15:33:53 3.2.0-dev.2: digest: sha256:2c9386e996ea1032f2a34a138729bf2029fc7117597f9efe31a002fc19f6241b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:53 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:027e49bbb3adb675c2501a9a4fed4a08c937de63-3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:54 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:027e49bbb3adb675c2501a9a4fed4a08c937de63-3.2.0-dev.2 15:33:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:33:54 0495ac56c59a: Preparing 15:33:54 20f132077661: Preparing 15:33:54 0d85924fea86: Preparing 15:33:54 d93b52a4cbde: Preparing 15:33:54 a0425d57e1d8: Preparing 15:33:54 0faf9b67be60: Preparing 15:33:54 0faf9b67be60: Waiting 15:33:54 20f132077661: Layer already exists 15:33:54 0d85924fea86: Layer already exists 15:33:54 0495ac56c59a: Layer already exists 15:33:54 a0425d57e1d8: Layer already exists 15:33:54 d93b52a4cbde: Layer already exists 15:33:54 0faf9b67be60: Layer already exists 15:33:54 027e49bbb3adb675c2501a9a4fed4a08c937de63-3.2.0-dev.2: digest: sha256:2c9386e996ea1032f2a34a138729bf2029fc7117597f9efe31a002fc19f6241b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:55 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:55 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 15:33:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:33:55 0495ac56c59a: Preparing 15:33:55 20f132077661: Preparing 15:33:55 0d85924fea86: Preparing 15:33:55 d93b52a4cbde: Preparing 15:33:55 a0425d57e1d8: Preparing 15:33:55 0faf9b67be60: Preparing 15:33:55 0faf9b67be60: Waiting 15:33:55 a0425d57e1d8: Layer already exists 15:33:55 0d85924fea86: Layer already exists 15:33:55 d93b52a4cbde: Layer already exists 15:33:55 0495ac56c59a: Layer already exists 15:33:55 20f132077661: Layer already exists 15:33:55 0faf9b67be60: Layer already exists 15:33:55 main: digest: sha256:2c9386e996ea1032f2a34a138729bf2029fc7117597f9efe31a002fc19f6241b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:33:56 ===================================================== [Pipeline] echo 15:33:56 taggedImages: 15:33:56 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:027e49bbb3adb675c2501a9a4fed4a08c937de63 15:33:56 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 15:33:56 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.2.0-dev.2 15:33:56 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:027e49bbb3adb675c2501a9a4fed4a08c937de63-3.2.0-dev.2 15:33:56 - 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 15:33:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:33:56 15:33:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:33:57 arm64: Pulling from edgex-lftools-log-publisher 15:33:57 8998bd30e6a1: Pulling fs layer 15:33:57 04944245beec: Pulling fs layer 15:33:57 699f458cf7ca: Pulling fs layer 15:33:57 765212b225bb: Pulling fs layer 15:33:57 f23df028b6ca: Pulling fs layer 15:33:57 d65c8cfc05b1: Pulling fs layer 15:33:57 2437ff75d9bd: Pulling fs layer 15:33:57 765212b225bb: Waiting 15:33:57 f23df028b6ca: Waiting 15:33:57 d65c8cfc05b1: Waiting 15:33:57 2437ff75d9bd: Waiting 15:33:57 04944245beec: Verifying Checksum 15:33:57 04944245beec: Download complete 15:33:57 765212b225bb: Download complete 15:33:57 f23df028b6ca: Verifying Checksum 15:33:57 f23df028b6ca: Download complete 15:33:57 d65c8cfc05b1: Verifying Checksum 15:33:57 d65c8cfc05b1: Download complete 15:33:57 699f458cf7ca: Verifying Checksum 15:33:57 699f458cf7ca: Download complete 15:33:58 8998bd30e6a1: Download complete 15:34:00 2437ff75d9bd: Verifying Checksum 15:34:00 2437ff75d9bd: Download complete 15:34:04 8998bd30e6a1: Pull complete 15:34:04 04944245beec: Pull complete 15:34:06 699f458cf7ca: Pull complete 15:34:06 765212b225bb: Pull complete 15:34:07 f23df028b6ca: Pull complete 15:34:07 d65c8cfc05b1: Pull complete 15:34:29 2437ff75d9bd: Pull complete 15:34:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:34:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:34:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:29 prd-ubuntu20.04-docker-arm64-4c-16g-24224 does not seem to be running inside a container 15:34: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/device-snmp-go/102 -v /w/workspace/device-snmp-go/102:/w/workspace/device-snmp-go/102:rw,z -v /w/workspace/device-snmp-go/102@tmp:/w/workspace/device-snmp-go/102@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 15:34:31 $ docker top ada5b3d3b79e3ee6df6b0bbd6999621d8b9b883c6c26838359755d113a56ba46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:34:32 ---> job-cost.sh 15:34:32 lf-activate-venv: SKIPPING 15:34:32 INFO: No Stack... 15:34:33 INFO: Retrieving Pricing Info for: v3-standard-8 15:34:33 INFO: Archiving Costs [Pipeline] sh 15:34:34 + cat /w/workspace/device-snmp-go/102/archives/cost.csv 15:34:34 + cut -d, -f6 [Pipeline] lock 15:34:34 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-102-stack-cost] 15:34:34 Resource [jenkins-edgexfoundry-device-snmp-go-main-102-stack-cost] did not exist. Created. 15:34:34 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-102-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:34:34 /w/workspace/device-snmp-go/102@tmp/durable-22ddb08a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:34:35 + echo total: 0.2199999988079071 [Pipeline] stash 15:34:35 Warning: overwriting stash ‘stack-cost’ 15:34:35 Stashed 1 file(s) [Pipeline] } 15:34:35 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-102-stack-cost] [Pipeline] // lock [Pipeline] } 15:34:35 $ docker stop --time=1 ada5b3d3b79e3ee6df6b0bbd6999621d8b9b883c6c26838359755d113a56ba46 15:34:36 $ docker rm -f --volumes ada5b3d3b79e3ee6df6b0bbd6999621d8b9b883c6c26838359755d113a56ba46 [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 15:34:37 provisioning config files... 15:34:37 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11962638135299411897tmp [Pipeline] { [Pipeline] sh 15:34:38 + set +x 15:34:38 + + bash -s -- 15:34:38 curl -s https://codecov.io/bash 15:34:38 15:34:38 _____ _ 15:34:38 / ____| | | 15:34:38 | | ___ __| | ___ ___ _____ __ 15:34:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:34:38 | |___| (_) | (_| | __/ (_| (_) \ V / 15:34:38 \_____\___/ \__,_|\___|\___\___/ \_/ 15:34:38 Bash-1.0.6 15:34:38 15:34:38 15:34:38 ==> git version 2.25.1 found 15:34:38 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:34:38 Release-Date: 2020-01-08 15:34:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:34:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:34:38 ==> Jenkins CI detected. 15:34:38 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 15:34:38 project root: . 15:34:38 --> token set from env 15:34:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:34:38 ==> Running gcov in . (disable via -X gcov) 15:34:38 ==> Python coveragepy not found 15:34:38 ==> Searching for coverage reports in: 15:34:38 + . 15:34:38 -> Found 1 reports 15:34:38 ==> Detecting git/mercurial file structure 15:34:38 ==> Reading reports 15:34:38 + ./coverage.out bytes=8837 15:34:38 ==> Appending adjustments 15:34:38 https://docs.codecov.io/docs/fixing-reports 15:34:38 + Found adjustments 15:34:38 ==> Gzipping contents 15:34:38 4.0K /tmp/codecov.n1naKu.gz 15:34:38 ==> Uploading reports 15:34:38 url: https://codecov.io 15:34:38 query: branch=main&commit=027e49bbb3adb675c2501a9a4fed4a08c937de63&build=102&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F102%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:34:38 -> Pinging Codecov 15:34:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=027e49bbb3adb675c2501a9a4fed4a08c937de63&build=102&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F102%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:34:38 -> Uploading to 15:34:38 https://storage.googleapis.com/codecov/v4/raw/2023-12-06/6C56EA5C29638FB4528AC87E60AF5AE0/027e49bbb3adb675c2501a9a4fed4a08c937de63/75759107-937b-4831-8b1f-a60bb5da8d63.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T153438Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b15ff76acad49edcea488bc20cb0e207e089c071ee7444f0c9a586d40925a52 15:34:38 % Total % Received % Xferd Average Speed Time Time Time Current 15:34:38 Dload Upload Total Spent Left Speed 15:34:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 7068 --:--:-- --:--:-- --:--:-- 7034 100 1435 0 0 100 1435 0 5415 --:--:-- --:--:-- --:--:-- 5394 15:34:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/027e49bbb3adb675c2501a9a4fed4a08c937de63 [Pipeline] } 15:34:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:34:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:34:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:34:39 15:34:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:34:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:34:40 df9b9388f04a: Pulling fs layer 15:34:40 52dc419b0ee2: Pulling fs layer 15:34:40 25bc292e5bac: Pulling fs layer 15:34:40 114826534d7a: Pulling fs layer 15:34:40 4657fd5d0bcf: Pulling fs layer 15:34:40 6ad1cebc031e: Pulling fs layer 15:34:40 8a3aa393b2d8: Pulling fs layer 15:34:40 114826534d7a: Waiting 15:34:40 4657fd5d0bcf: Waiting 15:34:40 8a3aa393b2d8: Waiting 15:34:40 6ad1cebc031e: Waiting 15:34:40 25bc292e5bac: Verifying Checksum 15:34:40 25bc292e5bac: Download complete 15:34:40 52dc419b0ee2: Verifying Checksum 15:34:40 52dc419b0ee2: Download complete 15:34:40 4657fd5d0bcf: Download complete 15:34:40 df9b9388f04a: Download complete 15:34:40 6ad1cebc031e: Verifying Checksum 15:34:40 6ad1cebc031e: Download complete 15:34:40 df9b9388f04a: Pull complete 15:34:40 52dc419b0ee2: Pull complete 15:34:40 25bc292e5bac: Pull complete 15:34:41 114826534d7a: Verifying Checksum 15:34:41 114826534d7a: Download complete 15:34:41 8a3aa393b2d8: Verifying Checksum 15:34:41 8a3aa393b2d8: Download complete 15:34:44 114826534d7a: Pull complete 15:34:44 4657fd5d0bcf: Pull complete 15:34:44 6ad1cebc031e: Pull complete 15:34:47 8a3aa393b2d8: Pull complete 15:34:47 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:34:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:34:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:47 prd-ubuntu20.04-docker-8c-8g-24216 does not seem to be running inside a container 15:34:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/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 15:34:55 $ docker top 20ebe16139d5288c18dbd0dbafbc32da56b4e52a17a95c2811809b4a026e87c1 -eo pid,comm [Pipeline] { [Pipeline] echo 15:34:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 15:34:56 + set -o pipefail 15:34:56 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 15:35:01 15:35:01 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 15:35:01 15:35:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/2ed434ba-306f-4fcd-8602-dbf5153b979c 15:35:01 15:35:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:35:01 15:35:01 15:35:01 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:35:01 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:35:01 More details here: https://snyk.co/ue1NS 15:35:01 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 15:35:01 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:35:01 $ docker stop --time=1 20ebe16139d5288c18dbd0dbafbc32da56b4e52a17a95c2811809b4a026e87c1 15:35:06 $ docker rm -f --volumes 20ebe16139d5288c18dbd0dbafbc32da56b4e52a17a95c2811809b4a026e87c1 [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 15:35:08 + git log --format=format:%s -1 027e49bbb3adb675c2501a9a4fed4a08c937de63 [Pipeline] sh 15:35:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:35:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:35:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:08 prd-ubuntu20.04-docker-8c-8g-24216 does not seem to be running inside a container 15:35:08 $ 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 15:35:09 $ docker top 59bc92a7bfe66a7a4531d7f4013d60ce92ad4ea3029a955da95536520f472a8f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:35:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:35:09 [ssh-agent] Looking for ssh-agent implementation... 15:35:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:35:09 $ docker exec 59bc92a7bfe66a7a4531d7f4013d60ce92ad4ea3029a955da95536520f472a8f ssh-agent 15:35:09 SSH_AUTH_SOCK=/tmp/ssh-ZGNzwzKLrq0Y/agent.34 15:35:09 SSH_AGENT_PID=40 15:35:09 Running ssh-add (command line suppressed) 15:35:10 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18220946976380005934.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18220946976380005934.key) 15:35:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:35:10 + git semver tag 15:35:10 2023-12-06 15:35:10,555 [run_tag] DEBUG tag force:False 15:35:10 2023-12-06 15:35:10,555 [check_head_tag] DEBUG check head tag 15:35:10 2023-12-06 15:35:10,556 [execute] INFO git cat-file --batch-check 15:35:10 2023-12-06 15:35:10,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 15:35:10 2023-12-06 15:35:10,560 [execute] INFO git cat-file --batch 15:35:10 2023-12-06 15:35:10,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 15:35:10 2023-12-06 15:35:10,571 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:35:10 2023-12-06 15:35:10,571 [execute] INFO git tag -a v3.2.0-dev.2 -m v3.2.0-dev.2 15:35:10 2023-12-06 15:35:10,572 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.2', '-m', 'v3.2.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 15:35:10 2023-12-06 15:35:10,575 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:35:10 3.2.0-dev.2 [Pipeline] } 15:35:10 $ docker exec --env ******** --env ******** 59bc92a7bfe66a7a4531d7f4013d60ce92ad4ea3029a955da95536520f472a8f ssh-agent -k 15:35:10 unset SSH_AUTH_SOCK; 15:35:10 unset SSH_AGENT_PID; 15:35:10 echo Agent pid 40 killed; 15:35:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:35:12 + git semver [Pipeline] } 15:35:12 $ docker stop --time=1 59bc92a7bfe66a7a4531d7f4013d60ce92ad4ea3029a955da95536520f472a8f 15:35:13 $ docker rm -f --volumes 59bc92a7bfe66a7a4531d7f4013d60ce92ad4ea3029a955da95536520f472a8f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:35:14 15:35:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:35:14 0.23.1-centos7: Pulling from edgex-lftools 15:35:14 ab5ef0e58194: Pulling fs layer 15:35:14 9712f1f96733: Pulling fs layer 15:35:14 63f879dbbcfc: Pulling fs layer 15:35:14 0d9ebad4ef96: Pulling fs layer 15:35:14 e9a5061849ea: Pulling fs layer 15:35:14 d747dcd14b5f: Pulling fs layer 15:35:14 2de7ff778b66: Pulling fs layer 15:35:14 d747dcd14b5f: Waiting 15:35:14 2de7ff778b66: Waiting 15:35:14 e9a5061849ea: Waiting 15:35:14 0d9ebad4ef96: Waiting 15:35:14 63f879dbbcfc: Verifying Checksum 15:35:14 63f879dbbcfc: Download complete 15:35:14 ab5ef0e58194: Download complete 15:35:14 d747dcd14b5f: Verifying Checksum 15:35:14 d747dcd14b5f: Download complete 15:35:14 e9a5061849ea: Verifying Checksum 15:35:14 e9a5061849ea: Download complete 15:35:14 0d9ebad4ef96: Verifying Checksum 15:35:15 2de7ff778b66: Verifying Checksum 15:35:18 ab5ef0e58194: Pull complete 15:35:18 9712f1f96733: Pull complete 15:35:19 63f879dbbcfc: Pull complete 15:35:24 0d9ebad4ef96: Pull complete 15:35:24 e9a5061849ea: Pull complete 15:35:24 d747dcd14b5f: Pull complete 15:35:25 2de7ff778b66: Pull complete 15:35:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:35:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:35:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:25 prd-ubuntu20.04-docker-8c-8g-24216 does not seem to be running inside a container 15:35:25 $ 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 15:35:32 $ docker top a61a7694ead2ed296473a669131a171d8a91f1f6d892788c66bd95bf5b1028e1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:35:32 provisioning config files... 15:35:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6392752402816544157tmp 15:35:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5851128447178332189tmp 15:35:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config839323922849949031tmp [Pipeline] { [Pipeline] echo 15:35:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:35:33 ---> sigul-configuration.sh 15:35:33 gpg: directory `/root/.gnupg' created 15:35:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:35:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:35:33 gpg: keyring `/root/.gnupg/secring.gpg' created 15:35:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:35:33 gpg: CAST5 encrypted data 15:35:33 gpg: encrypted with 1 passphrase 15:35:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:35:33 + mkdir /home/jenkins 15:35:33 + mkdir /home/jenkins/sigul [Pipeline] sh 15:35:33 + 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 15:35:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:35:34 ---> sigul-install.sh 15:35:34 Sigul already installed; skipping installation. [Pipeline] sh 15:35:34 + git tag --list 15:35:34 1.0.0 15:35:34 v0.0.0 15:35:34 v1.1.0 15:35:34 v1.1.1 15:35:34 v1.2.2 15:35:34 v1.3.0 15:35:34 v1.3.1 15:35:34 v2.0.0 15:35:34 v2.1.0 15:35:34 v2.1.1 15:35:34 v2.2.0 15:35:34 v2.3.0 15:35:34 v3.0 15:35:34 v3.0.0 15:35:34 v3.1 15:35:34 v3.1.0 15:35:34 v3.1.0-dev.1 15:35:34 v3.1.0-dev.10 15:35:34 v3.1.0-dev.11 15:35:34 v3.1.0-dev.12 15:35:34 v3.1.0-dev.13 15:35:34 v3.1.0-dev.2 15:35:34 v3.1.0-dev.3 15:35:34 v3.1.0-dev.4 15:35:34 v3.1.0-dev.5 15:35:34 v3.1.0-dev.6 15:35:34 v3.1.0-dev.7 15:35:34 v3.1.0-dev.8 15:35:34 v3.1.0-dev.9 15:35:34 v3.2.0-dev.1 15:35:34 v3.2.0-dev.2 [Pipeline] sh 15:35:34 + lftools sign git-tag v3.2.0-dev.2 15:35:35 Signing Git tag with Sigul... 15:35:35 Signing v3.2.0-dev.2 [Pipeline] echo 15:35:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:35:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:35:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:35:36 $ docker stop --time=1 a61a7694ead2ed296473a669131a171d8a91f1f6d892788c66bd95bf5b1028e1 15:35:37 $ docker rm -f --volumes a61a7694ead2ed296473a669131a171d8a91f1f6d892788c66bd95bf5b1028e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:35:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:35:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:35:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:39 prd-ubuntu20.04-docker-8c-8g-24216 does not seem to be running inside a container 15:35:39 $ 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 15:35:39 $ docker top 9fb9eab047c6c4ef3e5f04b09ee09376f9f2d65af0d1acd88d695f3200774935 -eo pid,comm 15:35:39 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). 15:35:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:35:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:35:39 [ssh-agent] Looking for ssh-agent implementation... 15:35:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:35:40 $ docker exec 9fb9eab047c6c4ef3e5f04b09ee09376f9f2d65af0d1acd88d695f3200774935 ssh-agent 15:35:40 SSH_AUTH_SOCK=/tmp/ssh-iQmyj2KnMCTG/agent.32 15:35:40 SSH_AGENT_PID=38 15:35:40 Running ssh-add (command line suppressed) 15:35:40 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17692171685415939762.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17692171685415939762.key) 15:35:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:35:40 + git semver bump pre 15:35:40 2023-12-06 15:35:40,775 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:35:40 2023-12-06 15:35:40,775 [bump_version] DEBUG bumping version:3.2.0-dev.2 on axis:pre with prefix:dev 15:35:40 2023-12-06 15:35:40,775 [bump_version] DEBUG bumped version:3.2.0-dev.3 15:35:40 2023-12-06 15:35:40,775 [write_version] DEBUG write version:3.2.0-dev.3 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 15:35:40 2023-12-06 15:35:40,775 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:35:40 2023-12-06 15:35:40,775 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:35:40 2023-12-06 15:35:40,777 [execute] INFO git cat-file --batch-check 15:35:40 2023-12-06 15:35:40,777 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:35:40 2023-12-06 15:35:40,782 [execute] INFO git cat-file --batch 15:35:40 2023-12-06 15:35:40,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:35:40 2023-12-06 15:35:40,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:35:40 3.2.0-dev.3 [Pipeline] } 15:35:40 $ docker exec --env ******** --env ******** 9fb9eab047c6c4ef3e5f04b09ee09376f9f2d65af0d1acd88d695f3200774935 ssh-agent -k 15:35:40 unset SSH_AUTH_SOCK; 15:35:40 unset SSH_AGENT_PID; 15:35:40 echo Agent pid 38 killed; 15:35:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:35:41 + git semver [Pipeline] } 15:35:41 $ docker stop --time=1 9fb9eab047c6c4ef3e5f04b09ee09376f9f2d65af0d1acd88d695f3200774935 15:35:43 $ docker rm -f --volumes 9fb9eab047c6c4ef3e5f04b09ee09376f9f2d65af0d1acd88d695f3200774935 [Pipeline] // withDockerContainer [Pipeline] sh 15:35:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:35:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:35:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:44 prd-ubuntu20.04-docker-8c-8g-24216 does not seem to be running inside a container 15:35:44 $ 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 15:35:44 $ docker top e98ab4c0ccf404356ae9e2207886694280f7846ec825c66a4192663894f33e03 -eo pid,comm 15:35:44 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). 15:35:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:35:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:35:44 [ssh-agent] Looking for ssh-agent implementation... 15:35:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:35:44 $ docker exec e98ab4c0ccf404356ae9e2207886694280f7846ec825c66a4192663894f33e03 ssh-agent 15:35:45 SSH_AUTH_SOCK=/tmp/ssh-mDmGqhj0WRqL/agent.32 15:35:45 SSH_AGENT_PID=38 15:35:45 Running ssh-add (command line suppressed) 15:35:45 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1516184023669743503.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1516184023669743503.key) 15:35:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:35:45 + git semver push 15:35:45 2023-12-06 15:35:45,783 [run_push] DEBUG push 15:35:45 2023-12-06 15:35:45,784 [execute] INFO git cat-file --batch-check 15:35:45 2023-12-06 15:35:45,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:35:45 2023-12-06 15:35:45,788 [execute] INFO git rev-list 03b1916cc9b2c0c62b840778c28a73ec49ef5476 -- 15:35:45 2023-12-06 15:35:45,789 [execute] DEBUG Popen(['git', 'rev-list', '03b1916cc9b2c0c62b840778c28a73ec49ef5476', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:35:45 2023-12-06 15:35:45,798 [execute] INFO git fetch -v origin 15:35:45 2023-12-06 15:35:45,798 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:35:46 2023-12-06 15:35:46,335 [run_push] DEBUG no remote changes detected 15:35:46 2023-12-06 15:35:46,335 [execute] INFO git push origin semver 15:35:46 2023-12-06 15:35:46,335 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:35:47 2023-12-06 15:35:47,141 [run_push] DEBUG push all version tags 15:35:47 2023-12-06 15:35:47,142 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:35:47 2023-12-06 15:35:47,142 [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) 15:35:48 2023-12-06 15:35:47,903 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:35:48 3.2.0-dev.3 [Pipeline] } 15:35:48 $ docker exec --env ******** --env ******** e98ab4c0ccf404356ae9e2207886694280f7846ec825c66a4192663894f33e03 ssh-agent -k 15:35:48 unset SSH_AUTH_SOCK; 15:35:48 unset SSH_AGENT_PID; 15:35:48 echo Agent pid 38 killed; 15:35:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:35:48 + git semver [Pipeline] } 15:35:49 $ docker stop --time=1 e98ab4c0ccf404356ae9e2207886694280f7846ec825c66a4192663894f33e03 15:35:50 $ docker rm -f --volumes e98ab4c0ccf404356ae9e2207886694280f7846ec825c66a4192663894f33e03 [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 15:35:51 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 15:35:51 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 15:35:51 total 16 15:35:51 drwxr-xr-x 3 root root 4096 Dec 6 15:27 . 15:35:51 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 15:35 .. 15:35:51 drwxr-xr-x 2 root root 4096 Dec 6 15:27 cost 15:35:51 -rw-r--r-- 1 root root 86 Dec 6 15:27 cost.csv 15:35:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 15:35:51 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 15:35:51 total 16 15:35:51 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 15:27 . 15:35:51 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 15:35 .. 15:35:51 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 15:27 cost 15:35:51 -rw-r--r-- 1 jenkins jenkins 86 Dec 6 15:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:35:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:35:53 ---> package-listing.sh 15:35:53 ++ facter osfamily 15:35:53 ++ tr '[:upper:]' '[:lower:]' 15:35:53 + OS_FAMILY=debian 15:35:53 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 15:35:53 + START_PACKAGES=/tmp/packages_start.txt 15:35:53 + END_PACKAGES=/tmp/packages_end.txt 15:35:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:35:53 + PACKAGES=/tmp/packages_start.txt 15:35:53 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 15:35:53 + PACKAGES=/tmp/packages_end.txt 15:35:53 + case "${OS_FAMILY}" in 15:35:53 + dpkg -l 15:35:53 + grep '^ii' 15:35:53 + '[' -f /tmp/packages_start.txt ']' 15:35:53 + '[' -f /tmp/packages_end.txt ']' 15:35:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:35:53 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 15:35:53 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 15:35:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 15:35:53 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 15:35:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:35:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:54 prd-ubuntu20.04-docker-8c-8g-24216 does not seem to be running inside a container 15:35:54 $ 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 15:35:55 $ docker top cda1694921b170710bdc31d9bbe0200cdd0251fe9b7e430dd653c5eceffc4fa9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:35:55 + touch /tmp/pre-build-complete [Pipeline] sh 15:35:55 + mkdir -p /var/log/sysstat [Pipeline] sh 15:35:56 + ls /var/log/sa-host 15:35:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:35:56 provisioning config files... 15:35:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17070008297775165844tmp [Pipeline] { [Pipeline] echo 15:35:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:35:56 ---> create-netrc.sh [Pipeline] } 15:35:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:35:57 ---> python-tools-install.sh [Pipeline] echo 15:35:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:35:57 ---> sudo-logs.sh 15:35:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:35:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:35:57 ---> job-cost.sh 15:35:57 lf-activate-venv: SKIPPING 15:35:57 DEBUG: total: 0.2199999988079071 15:35:57 INFO: Retrieving Stack Cost... 15:35:58 INFO: Retrieving Pricing Info for: v3-standard-8 15:35:58 INFO: Archiving Costs [Pipeline] echo 15:35:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:35:59 ---> logs-deploy.sh 15:35:59 lf-activate-venv: SKIPPING 15:35:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/102 15:35:59 INFO: archiving workspace using pattern(s): 15:36:00 Archives upload complete. 15:36:00 INFO: archiving logs to Nexus