Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b852d33a75a07d69fbdb63dde5dbae2cfe6da43b 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-ssh15839917698426938065.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh6335726756462417819.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh9043759702399107522.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh3374434092009798440.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-ssh12759345849264204397.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 ‘prd-centos7-blackbox-4c-2g-17248’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17541’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17567 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 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b (main) Commit message: "fix: Address CVE in Alpine base image (#332)" > 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 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b # timeout=10 > git rev-list --no-walk 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:51:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:51:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:51:32 ========================================================= 21:51:32 EdgeX Global Pipelines Version Info 21:51:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:51:32 ------------------- 21:51:32 stable info: 21:51:32 ------------------- 21:51:32 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 21:51:32 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:51:32 Message: update stable to v1.0.257 21:51:33 ------------------- 21:51:33 experimental info: 21:51:33 ------------------- 21:51:33 Commited By: **** collab-it+edgex@linuxfoundation.org 21:51:33 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:51:33 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b852d33a75a07d69fbdb63dde5dbae2cfe6da43b [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b852d33 [Pipeline] echo 21:51:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:33 provisioning config files... 21:51:33 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10318932603867106177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:34 ---> docker-login.sh 21:51:34 nexus3.edgexfoundry.org:10001 21:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:34 Configure a credential helper to remove this warning. See 21:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:34 21:51:34 Login Succeeded 21:51:34 nexus3.edgexfoundry.org:10002 21:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:34 Configure a credential helper to remove this warning. See 21:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:34 21:51:34 Login Succeeded 21:51:34 nexus3.edgexfoundry.org:10003 21:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:34 Configure a credential helper to remove this warning. See 21:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:34 21:51:34 Login Succeeded 21:51:34 nexus3.edgexfoundry.org:10004 21:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:34 Configure a credential helper to remove this warning. See 21:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:34 21:51:34 Login Succeeded 21:51:34 docker.io 21:51:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:35 Configure a credential helper to remove this warning. See 21:51:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:35 21:51:35 Login Succeeded 21:51:35 ---> docker-login.sh ends [Pipeline] } 21:51:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:51:35 + git rev-list -1 --merges b852d33a75a07d69fbdb63dde5dbae2cfe6da43b~1..b852d33a75a07d69fbdb63dde5dbae2cfe6da43b [Pipeline] echo 21:51:36 -----------> git rev-list -1 --merges b852d33a75a07d69fbdb63dde5dbae2cfe6da43b~1..b852d33a75a07d69fbdb63dde5dbae2cfe6da43b b852d33a75a07d69fbdb63dde5dbae2cfe6da43b [false] [Pipeline] sh 21:51:36 + git log --format=format:%s -1 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b [Pipeline] echo 21:51:36 ========================================================= 21:51:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:51:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:36 + git log --format=format:%s -1 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b [Pipeline] echo 21:51:36 [semverPrep] GIT_COMMIT: b852d33a75a07d69fbdb63dde5dbae2cfe6da43b, Commit Message: fix: Address CVE in Alpine base image (#332) [Pipeline] echo 21:51:36 [semverPrep] This is not a build commit. [Pipeline] sh 21:51:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:51:37 + grep -v github /etc/ssh/ssh_known_hosts 21:51:37 + [ -e /tmp/ssh_known_hosts ] 21:51:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:51:37 + sudo tee -a /etc/ssh/ssh_known_hosts 21:51:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:51:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:37 21:51:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:37 0.1.4: Pulling from edgex-devops/py-git-semver 21:51:37 b85a868b505f: Pulling fs layer 21:51:37 e2be974225ed: Pulling fs layer 21:51:37 339a4e72a1f5: Pulling fs layer 21:51:37 988bab9f4d93: Pulling fs layer 21:51:37 1469e6f7b9e6: Pulling fs layer 21:51:37 988bab9f4d93: Waiting 21:51:37 eaf3925da568: Pulling fs layer 21:51:37 1469e6f7b9e6: Waiting 21:51:37 bab4dde63d76: Pulling fs layer 21:51:37 bab4dde63d76: Waiting 21:51:37 bde34c3a00c8: Pulling fs layer 21:51:37 b352a97aabf1: Pulling fs layer 21:51:37 4872d77fe225: Pulling fs layer 21:51:37 5851b861e8e6: Pulling fs layer 21:51:37 4872d77fe225: Waiting 21:51:37 b352a97aabf1: Waiting 21:51:37 bde34c3a00c8: Waiting 21:51:37 5851b861e8e6: Waiting 21:51:37 e2be974225ed: Verifying Checksum 21:51:37 e2be974225ed: Download complete 21:51:37 988bab9f4d93: Verifying Checksum 21:51:37 988bab9f4d93: Download complete 21:51:37 1469e6f7b9e6: Verifying Checksum 21:51:37 1469e6f7b9e6: Download complete 21:51:37 eaf3925da568: Verifying Checksum 21:51:37 eaf3925da568: Download complete 21:51:37 339a4e72a1f5: Verifying Checksum 21:51:37 339a4e72a1f5: Download complete 21:51:37 bde34c3a00c8: Verifying Checksum 21:51:37 bde34c3a00c8: Download complete 21:51:37 b352a97aabf1: Verifying Checksum 21:51:37 b352a97aabf1: Download complete 21:51:37 4872d77fe225: Verifying Checksum 21:51:37 4872d77fe225: Download complete 21:51:37 5851b861e8e6: Verifying Checksum 21:51:37 5851b861e8e6: Download complete 21:51:37 b85a868b505f: Verifying Checksum 21:51:37 b85a868b505f: Download complete 21:51:38 bab4dde63d76: Verifying Checksum 21:51:38 bab4dde63d76: Download complete 21:51:39 b85a868b505f: Pull complete 21:51:39 e2be974225ed: Pull complete 21:51:40 339a4e72a1f5: Pull complete 21:51:40 988bab9f4d93: Pull complete 21:51:40 1469e6f7b9e6: Pull complete 21:51:40 eaf3925da568: Pull complete 21:51:42 bab4dde63d76: Pull complete 21:51:42 bde34c3a00c8: Pull complete 21:51:42 b352a97aabf1: Pull complete 21:51:42 4872d77fe225: Pull complete 21:51:42 5851b861e8e6: Pull complete 21:51:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:51:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:43 prd-ubuntu20.04-docker-8c-8g-17567 does not seem to be running inside a container 21:51:43 $ 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 21:51:52 $ docker top a8b337524d5b99a004e5843bf29c1c72ff35d3ec2208bbfab3678dfdb88ec704 -eo pid,comm 21:51:52 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). 21:51:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:51:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:51:52 [ssh-agent] Looking for ssh-agent implementation... 21:51:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:51:52 $ docker exec a8b337524d5b99a004e5843bf29c1c72ff35d3ec2208bbfab3678dfdb88ec704 ssh-agent 21:51:52 SSH_AUTH_SOCK=/tmp/ssh-wVKHHORsQDjX/agent.14 21:51:52 SSH_AGENT_PID=20 21:51:52 Running ssh-add (command line suppressed) 21:51:52 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3687410498327256495.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3687410498327256495.key) 21:51:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:51:53 + git tag --points-at HEAD [Pipeline] } 21:51:53 $ docker exec --env ******** --env ******** a8b337524d5b99a004e5843bf29c1c72ff35d3ec2208bbfab3678dfdb88ec704 ssh-agent -k 21:51:53 unset SSH_AUTH_SOCK; 21:51:53 unset SSH_AGENT_PID; 21:51:53 echo Agent pid 20 killed; 21:51:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:51:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:51:53 [ssh-agent] Looking for ssh-agent implementation... 21:51:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:51:53 $ docker exec a8b337524d5b99a004e5843bf29c1c72ff35d3ec2208bbfab3678dfdb88ec704 ssh-agent 21:51:53 SSH_AUTH_SOCK=/tmp/ssh-HBWPeD0xHoNa/agent.71 21:51:53 SSH_AGENT_PID=77 21:51:53 Running ssh-add (command line suppressed) 21:51:53 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17984525044101058731.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17984525044101058731.key) 21:51:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:51:54 + git semver init 21:51:54 2023-11-14 21:51:54,245 [run_init] DEBUG init version:0.0.0 force:False 21:51:54 2023-11-14 21:51:54,246 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 21:51:54 2023-11-14 21:51:54,246 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 21:51:54 2023-11-14 21:51:54,246 [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) 21:51:55 2023-11-14 21:51:55,173 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 21:51:55 2023-11-14 21:51:55,174 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 21:51:55 2023-11-14 21:51:55,174 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:51:55 2023-11-14 21:51:55,174 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:51:55 3.1.0-dev.13 [Pipeline] } 21:51:55 $ docker exec --env ******** --env ******** a8b337524d5b99a004e5843bf29c1c72ff35d3ec2208bbfab3678dfdb88ec704 ssh-agent -k 21:51:55 unset SSH_AUTH_SOCK; 21:51:55 unset SSH_AGENT_PID; 21:51:55 echo Agent pid 77 killed; 21:51:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:51:55 + git semver [Pipeline] } 21:51:56 $ docker stop --time=1 a8b337524d5b99a004e5843bf29c1c72ff35d3ec2208bbfab3678dfdb88ec704 21:51:57 $ docker rm -f --volumes a8b337524d5b99a004e5843bf29c1c72ff35d3ec2208bbfab3678dfdb88ec704 [Pipeline] // withDockerContainer [Pipeline] sh 21:51:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:51:58 Stashed 1 file(s) [Pipeline] echo 21:51:58 [edgeXSemver]: initialized semver on version 3.1.0-dev.13 [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 21:51:58 provisioning config files... 21:51:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15877473812033115134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:59 ---> docker-login.sh 21:51:59 nexus3.edgexfoundry.org:10001 21:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:59 Configure a credential helper to remove this warning. See 21:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:59 21:51:59 Login Succeeded 21:51:59 nexus3.edgexfoundry.org:10002 21:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:59 Configure a credential helper to remove this warning. See 21:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:59 21:51:59 Login Succeeded 21:51:59 nexus3.edgexfoundry.org:10003 21:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:59 Configure a credential helper to remove this warning. See 21:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:59 21:51:59 Login Succeeded 21:51:59 nexus3.edgexfoundry.org:10004 21:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:59 Configure a credential helper to remove this warning. See 21:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:59 21:51:59 Login Succeeded 21:51:59 docker.io 21:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:59 Configure a credential helper to remove this warning. See 21:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:59 21:51:59 Login Succeeded 21:51:59 ---> docker-login.sh ends [Pipeline] } 21:51:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:51:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:51:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:51:59 ========================================================= 21:51:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:51:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:00 + 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 . 21:52:00 Sending build context to Docker daemon 5.758MB 21:52:00 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:52:00 Step 2/12 : FROM ${BASE} AS builder 21:52:00 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:52:00 7264a8db6415: Pulling fs layer 21:52:00 c4d48a809fc2: Pulling fs layer 21:52:00 4f1c88b9dad5: Pulling fs layer 21:52:00 ad3a456e5733: Pulling fs layer 21:52:00 69c7f0334f64: Pulling fs layer 21:52:00 1f1c1a5573a3: Pulling fs layer 21:52:00 ce7588e14bc9: Pulling fs layer 21:52:00 b5e4710f87ac: Pulling fs layer 21:52:00 ce7588e14bc9: Waiting 21:52:00 69c7f0334f64: Waiting 21:52:00 b5e4710f87ac: Waiting 21:52:00 1f1c1a5573a3: Waiting 21:52:00 ad3a456e5733: Waiting 21:52:00 ad3a456e5733: Verifying Checksum 21:52:00 ad3a456e5733: Download complete 21:52:00 7264a8db6415: Verifying Checksum 21:52:00 7264a8db6415: Download complete 21:52:00 69c7f0334f64: Verifying Checksum 21:52:00 69c7f0334f64: Download complete 21:52:00 1f1c1a5573a3: Verifying Checksum 21:52:00 1f1c1a5573a3: Download complete 21:52:00 b5e4710f87ac: Verifying Checksum 21:52:00 b5e4710f87ac: Download complete 21:52:00 7264a8db6415: Pull complete 21:52:01 4f1c88b9dad5: Verifying Checksum 21:52:01 4f1c88b9dad5: Download complete 21:52:01 c4d48a809fc2: Pull complete 21:52:01 ce7588e14bc9: Verifying Checksum 21:52:01 ce7588e14bc9: Download complete 21:52:04 4f1c88b9dad5: Pull complete 21:52:05 ad3a456e5733: Pull complete 21:52:05 69c7f0334f64: Pull complete 21:52:05 1f1c1a5573a3: Pull complete 21:52:09 ce7588e14bc9: Pull complete 21:52:10 b5e4710f87ac: Pull complete 21:52:10 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 21:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:52:10 ---> 88b5674ff536 21:52:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:52:13 Still waiting to schedule task 21:52:13 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:52:22 ---> Running in 7675ad78fbae 21:52:22 Removing intermediate container 7675ad78fbae 21:52:22 ---> 532376f27889 21:52:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:52:23 ---> Running in 9c9e5456afea 21:52:23 Removing intermediate container 9c9e5456afea 21:52:23 ---> de184dc24c3a 21:52:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:52:24 ---> Running in 7060d56bbf88 21:52:24 Removing intermediate container 7060d56bbf88 21:52:24 ---> 30c7ce332062 21:52:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:52:24 ---> Running in 12acc2882fda 21:52:25 Removing intermediate container 12acc2882fda 21:52:25 ---> bd1e251c137d 21:52:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:52:25 ---> Running in 0ce25ae77773 21:52:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:52:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:52:26 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:52:26 (2/4) Installing libedit (20221030.3.1-r1) 21:52:26 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:52:26 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:52:26 Executing busybox-1.36.1-r5.trigger 21:52:26 OK: 268 MiB in 56 packages 21:52:27 Removing intermediate container 0ce25ae77773 21:52:27 ---> 16571aaa4f76 21:52:27 Step 8/12 : WORKDIR /device-snmp-go 21:52:27 ---> Running in 9e930f85a22e 21:52:28 Removing intermediate container 9e930f85a22e 21:52:28 ---> 8fea016d9310 21:52:28 Step 9/12 : COPY go.mod vendor* ./ 21:52:29 ---> 5bf4f914f22a 21:52:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:52:29 ---> Running in c4e5458d1897 21:53:25 Removing intermediate container c4e5458d1897 21:53:25 ---> 5a783f45728b 21:53:25 Step 11/12 : COPY . . 21:53:25 ---> faae833cee98 21:53:25 Step 12/12 : RUN ${MAKE} 21:53:26 ---> Running in c5da39e134f5 21:53:26 noop 21:53:26 Removing intermediate container c5da39e134f5 21:53:26 ---> 9790d7530557 21:53:26 Successfully built 9790d7530557 21:53:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:27 + docker inspect -f . ci-base-image-x86_64 21:53:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:27 prd-ubuntu20.04-docker-8c-8g-17567 does not seem to be running inside a container 21:53:27 $ 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 21:53:27 $ docker top 09c5f1613b4662d4e8913481256db5b72dacef67d6a334a2dd3933cdc9cbccb4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:28 + go version 21:53:28 go version go1.21.0 linux/amd64 [Pipeline] } 21:53:28 $ docker stop --time=1 09c5f1613b4662d4e8913481256db5b72dacef67d6a334a2dd3933cdc9cbccb4 21:53:29 $ docker rm -f --volumes 09c5f1613b4662d4e8913481256db5b72dacef67d6a334a2dd3933cdc9cbccb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:30 + docker inspect -f . ci-base-image-x86_64 21:53:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:30 prd-ubuntu20.04-docker-8c-8g-17567 does not seem to be running inside a container 21:53:30 $ 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 21:53:30 $ docker top 1ff8519eee4a169dbf4f29678c424603380a1ce5dae0d3b0cd152084adf9a36f -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:31 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 21:53:31 + make test 21:53:31 go test ./... -coverprofile=coverage.out 21:53:36 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:53:46 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:53:46 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 21:53:53 go vet ./... 21:53:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:53:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:53:57 ./bin/test-attribution-txt.sh [Pipeline] echo 21:53:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:53:57 $ docker stop --time=1 1ff8519eee4a169dbf4f29678c424603380a1ce5dae0d3b0cd152084adf9a36f 21:54:03 $ docker rm -f --volumes 1ff8519eee4a169dbf4f29678c424603380a1ce5dae0d3b0cd152084adf9a36f [Pipeline] // withDockerContainer [Pipeline] sh 21:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:54:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:54:05 + ls -al . 21:54:05 total 172 21:54:05 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:53 . 21:54:05 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:51 .. 21:54:05 -rw-rw-r-- 1 jenkins jenkins 6 Nov 14 21:51 .dockerignore 21:54:05 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:53 .git 21:54:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:51 .github 21:54:05 -rw-rw-r-- 1 jenkins jenkins 263 Nov 14 21:51 .gitignore 21:54:05 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 21:51 .golangci.yml 21:54:05 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:51 .semver 21:54:05 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 14 21:51 Attribution.txt 21:54:05 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 14 21:51 CHANGELOG.md 21:54:05 -rw-rw-r-- 1 jenkins jenkins 1571 Nov 14 21:51 Dockerfile 21:54:05 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 21:51 GOVERNANCE.md 21:54:05 -rw-rw-r-- 1 jenkins jenkins 656 Nov 14 21:51 Jenkinsfile 21:54:05 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 21:51 LICENSE 21:54:05 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 14 21:51 Makefile 21:54:05 -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 21:51 OWNERS.md 21:54:05 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 14 21:51 README.md 21:54:05 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:51 VERSION 21:54:05 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:51 bin 21:54:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:51 cmd 21:54:05 -rw-r--r-- 1 jenkins jenkins 8837 Nov 14 21:53 coverage.out 21:54:05 -rw-rw-r-- 1 jenkins jenkins 3665 Nov 14 21:51 go.mod 21:54:05 -rw-rw-r-- 1 jenkins jenkins 34728 Nov 14 21:51 go.sum 21:54:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:51 internal 21:54:05 -rw-rw-r-- 1 jenkins jenkins 228 Nov 14 21:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:05 + 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=b852d33a75a07d69fbdb63dde5dbae2cfe6da43b --label arch=amd64 --label version=3.1.0-dev.13 . 21:54:05 Sending build context to Docker daemon 5.768MB 21:54:05 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:54:05 Step 2/25 : FROM ${BASE} AS builder 21:54:05 ---> 9790d7530557 21:54:05 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:54:06 ---> Running in 176faa3ee2cb 21:54:06 Removing intermediate container 176faa3ee2cb 21:54:06 ---> 89423d7b8daf 21:54:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:54:06 ---> Running in 73dbb2e4df0f 21:54:06 Removing intermediate container 73dbb2e4df0f 21:54:06 ---> 882955597e4e 21:54:06 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:54:07 ---> Running in 0b6f75af352d 21:54:07 Removing intermediate container 0b6f75af352d 21:54:07 ---> 4826b39a41a4 21:54:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:54:07 ---> Running in 0eed01edeefe 21:54:08 Removing intermediate container 0eed01edeefe 21:54:08 ---> a1c98623f310 21:54:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:54:08 ---> Running in 37403f570de5 21:54:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:54:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:54:08 OK: 268 MiB in 56 packages 21:54:10 Removing intermediate container 37403f570de5 21:54:10 ---> 284ccf76df0f 21:54:10 Step 8/25 : WORKDIR /device-snmp-go 21:54:10 ---> Running in 236881692eae 21:54:11 Removing intermediate container 236881692eae 21:54:11 ---> defe0a51dced 21:54:11 Step 9/25 : COPY go.mod vendor* ./ 21:54:11 ---> 46fd012d02e4 21:54:11 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:54:11 ---> Running in 6c49065a0825 21:54:12 Removing intermediate container 6c49065a0825 21:54:12 ---> ceecf6390676 21:54:12 Step 11/25 : COPY . . 21:54:13 ---> d871d1219821 21:54:13 Step 12/25 : RUN ${MAKE} 21:54:13 ---> Running in 3a8c64a48c16 21:54:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 21:54:35 Removing intermediate container 3a8c64a48c16 21:54:35 ---> c83813dc83c3 21:54:35 Step 13/25 : FROM alpine:3.18 21:54:35 3.18: Pulling from library/alpine 21:54:35 96526aa774ef: Pulling fs layer 21:54:35 96526aa774ef: Verifying Checksum 21:54:35 96526aa774ef: Download complete 21:54:35 96526aa774ef: Pull complete 21:54:35 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:54:35 Status: Downloaded newer image for alpine:3.18 21:54:35 ---> 8ca4688f4f35 21:54:35 Step 14/25 : RUN apk add --update --no-cache dumb-init 21:54:35 ---> Running in ad435a68a29f 21:54:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:54:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:54:35 (1/1) Installing dumb-init (1.2.5-r2) 21:54:35 Executing busybox-1.36.1-r2.trigger 21:54:35 OK: 7 MiB in 16 packages 21:54:35 Removing intermediate container ad435a68a29f 21:54:35 ---> 30fb87531712 21:54:35 Step 15/25 : RUN apk --no-cache upgrade 21:54:35 ---> Running in 96ea3ca47430 21:54:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:54:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:54:36 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 21:54:36 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 21:54:36 Executing busybox-1.36.1-r5.post-upgrade 21:54:36 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 21:54:36 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 21:54:36 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 21:54:36 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 21:54:36 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 21:54:36 Executing busybox-1.36.1-r5.trigger 21:54:36 OK: 7 MiB in 16 packages 21:54:37 Removing intermediate container 96ea3ca47430 21:54:37 ---> acda84f6c580 21:54:37 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 21:54:38 ---> 7ec22d2c0808 21:54:38 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:54:38 ---> fbe69f67c8d3 21:54:38 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 21:54:38 ---> bfd6de85a779 21:54:38 Step 19/25 : EXPOSE 59993 21:54:38 ---> Running in 724349f0e452 21:54:38 Removing intermediate container 724349f0e452 21:54:38 ---> 972065e203bf 21:54:38 Step 20/25 : EXPOSE 161 21:54:38 ---> Running in 78da53337470 21:54:38 Removing intermediate container 78da53337470 21:54:38 ---> ca140f4c3179 21:54:38 Step 21/25 : ENTRYPOINT ["/device-snmp"] 21:54:38 ---> Running in 72ddfe97d1bd 21:54:38 Removing intermediate container 72ddfe97d1bd 21:54:38 ---> 6c2032973c85 21:54:38 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:54:38 ---> Running in 84ceb52535db 21:54:38 Removing intermediate container 84ceb52535db 21:54:38 ---> 984578317b3c 21:54:38 Step 23/25 : LABEL arch=amd64 21:54:38 ---> Running in d3333a45f44e 21:54:38 Removing intermediate container d3333a45f44e 21:54:38 ---> bcd86f24917e 21:54:38 Step 24/25 : LABEL git_sha=b852d33a75a07d69fbdb63dde5dbae2cfe6da43b 21:54:38 ---> Running in 64653a6beed8 21:54:38 Removing intermediate container 64653a6beed8 21:54:38 ---> 7d7c3f367a9b 21:54:38 Step 25/25 : LABEL version=3.1.0-dev.13 21:54:38 ---> Running in a6b0e8cf84b9 21:54:38 Removing intermediate container a6b0e8cf84b9 21:54:38 ---> abb0b6339bf6 21:54:38 [Warning] One or more build-args [ARCH] were not consumed 21:54:38 Successfully built abb0b6339bf6 21:54:38 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:54:39 provisioning config files... 21:54:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7098454126388954262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:39 ---> docker-login.sh 21:54:39 nexus3.edgexfoundry.org:10001 21:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:39 Configure a credential helper to remove this warning. See 21:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:39 21:54:39 Login Succeeded 21:54:39 nexus3.edgexfoundry.org:10002 21:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:39 Configure a credential helper to remove this warning. See 21:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:39 21:54:39 Login Succeeded 21:54:39 nexus3.edgexfoundry.org:10003 21:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:39 Configure a credential helper to remove this warning. See 21:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:39 21:54:39 Login Succeeded 21:54:39 nexus3.edgexfoundry.org:10004 21:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:39 Configure a credential helper to remove this warning. See 21:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:39 21:54:39 Login Succeeded 21:54:39 docker.io 21:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:40 Configure a credential helper to remove this warning. See 21:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:40 21:54:40 Login Succeeded 21:54:40 ---> docker-login.sh ends [Pipeline] } 21:54:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:54:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:54:40 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 21:54:40 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b 21:54:40 latest 21:54:40 3.1.0-dev.13 21:54:40 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b-3.1.0-dev.13 21:54:40 main 21:54:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:40 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:b852d33a75a07d69fbdb63dde5dbae2cfe6da43b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:40 + docker push nexus3.edgexfoundry.org:10004/device-snmp:b852d33a75a07d69fbdb63dde5dbae2cfe6da43b 21:54:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:54:40 701e36902ce8: Preparing 21:54:40 650865f5fe31: Preparing 21:54:40 e272d8ff4d8c: Preparing 21:54:40 cece755dd253: Preparing 21:54:40 926eebce3d03: Preparing 21:54:40 cc2447e1835a: Preparing 21:54:40 926eebce3d03: Pushed 21:54:40 701e36902ce8: Pushed 21:54:40 650865f5fe31: Pushed 21:54:40 cc2447e1835a: Layer already exists 21:54:41 cece755dd253: Pushed 21:54:43 e272d8ff4d8c: Pushed 21:54:43 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b: digest: sha256:0b2b3803c01c84d2930edf2af3c8642a1dd0942935d41d472fe0b8642fb2cb55 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:44 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:44 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 21:54:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:54:44 701e36902ce8: Preparing 21:54:44 650865f5fe31: Preparing 21:54:44 e272d8ff4d8c: Preparing 21:54:44 cece755dd253: Preparing 21:54:44 926eebce3d03: Preparing 21:54:44 cc2447e1835a: Preparing 21:54:44 cc2447e1835a: Waiting 21:54:44 650865f5fe31: Layer already exists 21:54:44 cece755dd253: Layer already exists 21:54:44 926eebce3d03: Layer already exists 21:54:44 e272d8ff4d8c: Layer already exists 21:54:44 701e36902ce8: Layer already exists 21:54:44 cc2447e1835a: Layer already exists 21:54:44 latest: digest: sha256:0b2b3803c01c84d2930edf2af3c8642a1dd0942935d41d472fe0b8642fb2cb55 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:44 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.13 21:54:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:54:45 701e36902ce8: Preparing 21:54:45 650865f5fe31: Preparing 21:54:45 e272d8ff4d8c: Preparing 21:54:45 cece755dd253: Preparing 21:54:45 926eebce3d03: Preparing 21:54:45 cc2447e1835a: Preparing 21:54:45 cc2447e1835a: Waiting 21:54:45 e272d8ff4d8c: Layer already exists 21:54:45 cece755dd253: Layer already exists 21:54:45 650865f5fe31: Layer already exists 21:54:45 701e36902ce8: Layer already exists 21:54:45 926eebce3d03: Layer already exists 21:54:45 cc2447e1835a: Layer already exists 21:54:45 3.1.0-dev.13: digest: sha256:0b2b3803c01c84d2930edf2af3c8642a1dd0942935d41d472fe0b8642fb2cb55 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:45 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:b852d33a75a07d69fbdb63dde5dbae2cfe6da43b-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp:b852d33a75a07d69fbdb63dde5dbae2cfe6da43b-3.1.0-dev.13 21:54:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:54:45 701e36902ce8: Preparing 21:54:45 650865f5fe31: Preparing 21:54:45 e272d8ff4d8c: Preparing 21:54:45 cece755dd253: Preparing 21:54:45 926eebce3d03: Preparing 21:54:45 cc2447e1835a: Preparing 21:54:45 cc2447e1835a: Waiting 21:54:45 cece755dd253: Layer already exists 21:54:45 e272d8ff4d8c: Layer already exists 21:54:45 650865f5fe31: Layer already exists 21:54:45 926eebce3d03: Layer already exists 21:54:45 701e36902ce8: Layer already exists 21:54:45 cc2447e1835a: Layer already exists 21:54:45 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b-3.1.0-dev.13: digest: sha256:0b2b3803c01c84d2930edf2af3c8642a1dd0942935d41d472fe0b8642fb2cb55 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:46 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:46 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 21:54:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 21:54:46 701e36902ce8: Preparing 21:54:46 650865f5fe31: Preparing 21:54:46 e272d8ff4d8c: Preparing 21:54:46 cece755dd253: Preparing 21:54:46 926eebce3d03: Preparing 21:54:46 cc2447e1835a: Preparing 21:54:46 cc2447e1835a: Waiting 21:54:46 e272d8ff4d8c: Layer already exists 21:54:46 701e36902ce8: Layer already exists 21:54:46 650865f5fe31: Layer already exists 21:54:46 926eebce3d03: Layer already exists 21:54:46 cece755dd253: Layer already exists 21:54:46 cc2447e1835a: Layer already exists 21:54:46 main: digest: sha256:0b2b3803c01c84d2930edf2af3c8642a1dd0942935d41d472fe0b8642fb2cb55 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:54:46 ===================================================== [Pipeline] echo 21:54:46 taggedImages: 21:54:46 - nexus3.edgexfoundry.org:10004/device-snmp:b852d33a75a07d69fbdb63dde5dbae2cfe6da43b 21:54:46 - nexus3.edgexfoundry.org:10004/device-snmp:latest 21:54:46 - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.13 21:54:46 - nexus3.edgexfoundry.org:10004/device-snmp:b852d33a75a07d69fbdb63dde5dbae2cfe6da43b-3.1.0-dev.13 21:54:46 - 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 21:54:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:46 21:54:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:47 latest: Pulling from edgex-lftools-log-publisher 21:54:47 5eb5b503b376: Pulling fs layer 21:54:47 5c69ac0246d0: Pulling fs layer 21:54:47 ec43610c2a17: Pulling fs layer 21:54:47 3a2ae6a8a46f: Pulling fs layer 21:54:47 33b1e0a273af: Pulling fs layer 21:54:47 5d3b04190fa2: Pulling fs layer 21:54:47 2f39f015ded8: Pulling fs layer 21:54:47 3a2ae6a8a46f: Waiting 21:54:47 33b1e0a273af: Waiting 21:54:47 5d3b04190fa2: Waiting 21:54:47 2f39f015ded8: Waiting 21:54:47 5c69ac0246d0: Download complete 21:54:47 3a2ae6a8a46f: Verifying Checksum 21:54:47 3a2ae6a8a46f: Download complete 21:54:47 33b1e0a273af: Verifying Checksum 21:54:47 33b1e0a273af: Download complete 21:54:47 5d3b04190fa2: Verifying Checksum 21:54:47 5d3b04190fa2: Download complete 21:54:47 ec43610c2a17: Verifying Checksum 21:54:47 ec43610c2a17: Download complete 21:54:47 5eb5b503b376: Verifying Checksum 21:54:47 5eb5b503b376: Download complete 21:54:48 2f39f015ded8: Verifying Checksum 21:54:48 2f39f015ded8: Download complete 21:54:48 5eb5b503b376: Pull complete 21:54:48 5c69ac0246d0: Pull complete 21:54:49 ec43610c2a17: Pull complete 21:54:49 3a2ae6a8a46f: Pull complete 21:54:49 33b1e0a273af: Pull complete 21:54:49 5d3b04190fa2: Pull complete 21:54:53 2f39f015ded8: Pull complete 21:54:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:54:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:53 prd-ubuntu20.04-docker-8c-8g-17567 does not seem to be running inside a container 21:54:53 $ 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 21:54:57 $ docker top e4581f1ea1ebacc2562c0c1f798b7c012e8b3d102644ba003854429986a931e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:58 ---> job-cost.sh 21:54:58 lf-activate-venv: SKIPPING 21:54:58 INFO: No Stack... 21:54:58 INFO: Retrieving Pricing Info for: v3-standard-8 21:54:59 INFO: Archiving Costs [Pipeline] sh 21:54:59 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 21:54:59 + cut -d, -f6 [Pipeline] lock 21:54:59 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-100-stack-cost] 21:54:59 Resource [jenkins-edgexfoundry-device-snmp-go-main-100-stack-cost] did not exist. Created. 21:54:59 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:54:59 + echo total: 0.2199999988079071 [Pipeline] stash 21:54:59 Stashed 1 file(s) [Pipeline] } 21:54:59 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-100-stack-cost] [Pipeline] // lock [Pipeline] } 21:54:59 $ docker stop --time=1 e4581f1ea1ebacc2562c0c1f798b7c012e8b3d102644ba003854429986a931e0 21:55:01 $ docker rm -f --volumes e4581f1ea1ebacc2562c0c1f798b7c012e8b3d102644ba003854429986a931e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:08:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18004 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 22:08:16 Running in /w/workspace/device-snmp-go/100 [Pipeline] { [Pipeline] checkout 22:08:16 Selected Git installation does not exist. Using Default 22:08:16 The recommended git tool is: NONE 22:08:24 using credential edgex-jenkins-ssh 22:08:24 Cloning the remote Git repository 22:08:24 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 22:08:24 > git init /w/workspace/device-snmp-go/100 # timeout=10 22:08:24 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 22:08:24 > git --version # timeout=10 22:08:24 > git --version # 'git version 2.25.1' 22:08:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:26 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 22:08:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:27 Avoid second fetch 22:08:27 Checking out Revision b852d33a75a07d69fbdb63dde5dbae2cfe6da43b (main) 22:08:28 Commit message: "fix: Address CVE in Alpine base image (#332)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:08:27 > git config core.sparsecheckout # timeout=10 22:08:27 > git checkout -f b852d33a75a07d69fbdb63dde5dbae2cfe6da43b # timeout=10 22:08:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:08:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:08:29 Dload Upload Total Spent Left Speed 22:08:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 22:08:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:08:30 + sudo tee /etc/docker/daemon.new 22:08:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:08:30 { 22:08:30 "registry-mirrors": [ 22:08:30 "https://nexus3.edgexfoundry.org:10001" 22:08:30 ], 22:08:30 "bip": "10.250.0.254/24", 22:08:30 "hosts": [ 22:08:30 "tcp://0.0.0.0:5555", 22:08:30 "unix:///var/run/docker.sock" 22:08:30 ], 22:08:30 "mtu": 1458, 22:08:30 "selinux-enabled": true, 22:08:30 "seccomp-profile": "/etc/docker/seccomp.json" 22:08:30 } [Pipeline] sh 22:08:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:08:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:08:49 provisioning config files... 22:08:49 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/100@tmp/config2098839724553936445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:08:49 ---> docker-login.sh 22:08:49 nexus3.edgexfoundry.org:10001 22:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:50 Configure a credential helper to remove this warning. See 22:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:50 22:08:50 Login Succeeded 22:08:50 nexus3.edgexfoundry.org:10002 22:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:50 Configure a credential helper to remove this warning. See 22:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:50 22:08:50 Login Succeeded 22:08:50 nexus3.edgexfoundry.org:10003 22:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:51 Configure a credential helper to remove this warning. See 22:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:51 22:08:51 Login Succeeded 22:08:51 nexus3.edgexfoundry.org:10004 22:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:51 Configure a credential helper to remove this warning. See 22:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:51 22:08:51 Login Succeeded 22:08:51 docker.io 22:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:52 Configure a credential helper to remove this warning. See 22:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:52 22:08:52 Login Succeeded 22:08:52 ---> docker-login.sh ends [Pipeline] } 22:08:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:08:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:08:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:08:52 ========================================================= 22:08:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:08:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:53 + 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 . 22:08:55 Sending build context to Docker daemon 2.959MB 22:08:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:08:55 Step 2/12 : FROM ${BASE} AS builder 22:08:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:08:55 9fda8d8052c6: Pulling fs layer 22:08:55 5d54e960e981: Pulling fs layer 22:08:55 c4a7e357bf2a: Pulling fs layer 22:08:55 f0e02332f6b5: Pulling fs layer 22:08:55 872ee5b61b7b: Pulling fs layer 22:08:55 0c6a40ed1a82: Pulling fs layer 22:08:55 94ae7d8d031c: Pulling fs layer 22:08:55 f0e02332f6b5: Waiting 22:08:55 872ee5b61b7b: Waiting 22:08:55 0c6a40ed1a82: Waiting 22:08:55 94ae7d8d031c: Waiting 22:08:55 5d54e960e981: Verifying Checksum 22:08:55 5d54e960e981: Download complete 22:08:55 f0e02332f6b5: Verifying Checksum 22:08:55 f0e02332f6b5: Download complete 22:08:56 872ee5b61b7b: Verifying Checksum 22:08:56 872ee5b61b7b: Download complete 22:08:56 9fda8d8052c6: Download complete 22:08:57 94ae7d8d031c: Verifying Checksum 22:08:57 94ae7d8d031c: Download complete 22:08:57 9fda8d8052c6: Pull complete 22:08:57 5d54e960e981: Pull complete 22:08:59 c4a7e357bf2a: Verifying Checksum 22:08:59 c4a7e357bf2a: Download complete 22:09:00 0c6a40ed1a82: Verifying Checksum 22:09:00 0c6a40ed1a82: Download complete 22:09:15 c4a7e357bf2a: Pull complete 22:09:15 f0e02332f6b5: Pull complete 22:09:15 872ee5b61b7b: Pull complete 22:09:26 0c6a40ed1a82: Pull complete 22:09:28 94ae7d8d031c: Pull complete 22:09:28 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 22:09:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:09:28 ---> 86de565de09d 22:09:28 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:09:30 ---> Running in 5d117588dd14 22:09:30 Removing intermediate container 5d117588dd14 22:09:30 ---> 40905cae19eb 22:09:30 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:09:30 ---> Running in 64a866208a87 22:09:31 Removing intermediate container 64a866208a87 22:09:31 ---> 13cfb2289c95 22:09:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:09:31 ---> Running in dd0b3fc1cb96 22:09:31 Removing intermediate container dd0b3fc1cb96 22:09:31 ---> fea76e204c03 22:09:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:09:31 ---> Running in b1690a447fbe 22:09:32 Removing intermediate container b1690a447fbe 22:09:32 ---> 4635087a183e 22:09:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:09:32 ---> Running in e61efec529d2 22:09:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:09:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:09:35 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:09:35 (2/4) Installing libedit (20221030.3.1-r1) 22:09:35 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:09:35 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:09:35 Executing busybox-1.36.1-r5.trigger 22:09:35 OK: 271 MiB in 56 packages 22:09:36 Removing intermediate container e61efec529d2 22:09:36 ---> 9693961ba756 22:09:36 Step 8/12 : WORKDIR /device-snmp-go 22:09:36 ---> Running in 4512c83cf3b5 22:09:37 Removing intermediate container 4512c83cf3b5 22:09:37 ---> e9c91c883fed 22:09:37 Step 9/12 : COPY go.mod vendor* ./ 22:09:37 ---> b9de4f62f6ed 22:09:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:09:37 ---> Running in e104661e3d50 22:11:14 Removing intermediate container e104661e3d50 22:11:14 ---> 25682c3276c8 22:11:14 Step 11/12 : COPY . . 22:11:14 ---> 077df94592d0 22:11:14 Step 12/12 : RUN ${MAKE} 22:11:14 ---> Running in a6039957471a 22:11:14 noop 22:11:14 Removing intermediate container a6039957471a 22:11:14 ---> 7a2bdeab5bf2 22:11:14 Successfully built 7a2bdeab5bf2 22:11:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:14 + docker inspect -f . ci-base-image-arm64 22:11:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:15 prd-ubuntu20.04-docker-arm64-4c-16g-18004 does not seem to be running inside a container 22:11:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/100 -v /w/workspace/device-snmp-go/100:/w/workspace/device-snmp-go/100:rw,z -v /w/workspace/device-snmp-go/100@tmp:/w/workspace/device-snmp-go/100@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 22:11:16 $ docker top ffeba59046dffb4ea424a71a2f72b8fd396f78bf95a57afcd177f777f2c3e456 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:17 + go version 22:11:17 go version go1.21.0 linux/arm64 [Pipeline] } 22:11:17 $ docker stop --time=1 ffeba59046dffb4ea424a71a2f72b8fd396f78bf95a57afcd177f777f2c3e456 22:11:19 $ docker rm -f --volumes ffeba59046dffb4ea424a71a2f72b8fd396f78bf95a57afcd177f777f2c3e456 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:19 + docker inspect -f . ci-base-image-arm64 22:11:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:20 prd-ubuntu20.04-docker-arm64-4c-16g-18004 does not seem to be running inside a container 22:11:20 $ 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/100 -v /w/workspace/device-snmp-go/100:/w/workspace/device-snmp-go/100:rw,z -v /w/workspace/device-snmp-go/100@tmp:/w/workspace/device-snmp-go/100@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 22:11:21 $ docker top 4f794052524243e6a6e4b7de273b325e932015241c6d2d6dbd99e9578cd3f2cc -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:22 + git config --global --add safe.directory /w/workspace/device-snmp-go/100 [Pipeline] fileExists [Pipeline] sh 22:11:23 + make test 22:11:23 go test ./... -coverprofile=coverage.out 22:11:28 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:13:50 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:13:50 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements 22:13:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:13:50 go vet ./... 22:14:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:14:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:14:17 ./bin/test-attribution-txt.sh [Pipeline] echo 22:14:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:14:17 $ docker stop --time=1 4f794052524243e6a6e4b7de273b325e932015241c6d2d6dbd99e9578cd3f2cc 22:14:19 $ docker rm -f --volumes 4f794052524243e6a6e4b7de273b325e932015241c6d2d6dbd99e9578cd3f2cc [Pipeline] // withDockerContainer [Pipeline] sh 22:14:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:14:20 Warning: overwriting stash ‘coverage-report’ 22:14:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:14:21 + ls -al . 22:14:21 total 168 22:14:21 drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 22:11 . 22:14:21 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 22:08 .. 22:14:21 -rw-rw-r-- 1 jenkins jenkins 6 Nov 14 22:08 .dockerignore 22:14:21 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 22:08 .git 22:14:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:08 .github 22:14:21 -rw-rw-r-- 1 jenkins jenkins 263 Nov 14 22:08 .gitignore 22:14:21 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 22:08 .golangci.yml 22:14:21 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 14 22:08 Attribution.txt 22:14:21 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 14 22:08 CHANGELOG.md 22:14:21 -rw-rw-r-- 1 jenkins jenkins 1571 Nov 14 22:08 Dockerfile 22:14:21 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 22:08 GOVERNANCE.md 22:14:21 -rw-rw-r-- 1 jenkins jenkins 656 Nov 14 22:08 Jenkinsfile 22:14:21 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 22:08 LICENSE 22:14:21 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 14 22:08 Makefile 22:14:21 -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 22:08 OWNERS.md 22:14:21 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 14 22:08 README.md 22:14:21 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:51 VERSION 22:14:21 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 22:08 bin 22:14:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:08 cmd 22:14:21 -rw-r--r-- 1 jenkins jenkins 8837 Nov 14 22:13 coverage.out 22:14:21 -rw-rw-r-- 1 jenkins jenkins 3665 Nov 14 22:08 go.mod 22:14:21 -rw-rw-r-- 1 jenkins jenkins 34728 Nov 14 22:08 go.sum 22:14:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:08 internal 22:14:21 -rw-rw-r-- 1 jenkins jenkins 228 Nov 14 22:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:22 + 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=b852d33a75a07d69fbdb63dde5dbae2cfe6da43b --label arch=arm64 --label version=3.1.0-dev.13 . 22:14:22 Sending build context to Docker daemon 2.969MB 22:14:22 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 22:14:22 Step 2/25 : FROM ${BASE} AS builder 22:14:22 ---> 7a2bdeab5bf2 22:14:22 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:14:22 ---> Running in 555cec98491b 22:14:23 Removing intermediate container 555cec98491b 22:14:23 ---> 4289c372982e 22:14:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:23 ---> Running in 05c4acae3160 22:14:23 Removing intermediate container 05c4acae3160 22:14:23 ---> ac8255da7903 22:14:23 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:14:23 ---> Running in 93e80c3efcfe 22:14:23 Removing intermediate container 93e80c3efcfe 22:14:23 ---> d6bd51dd7583 22:14:23 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:14:23 ---> Running in aa9b8b029d7b 22:14:24 Removing intermediate container aa9b8b029d7b 22:14:24 ---> 9182e5ef5364 22:14:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:24 ---> Running in 67d257053876 22:14:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:14:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:14:27 OK: 271 MiB in 56 packages 22:14:30 Removing intermediate container 67d257053876 22:14:30 ---> ae9fa8b89a38 22:14:30 Step 8/25 : WORKDIR /device-snmp-go 22:14:30 ---> Running in 6c1ea1a1661f 22:14:30 Removing intermediate container 6c1ea1a1661f 22:14:30 ---> e17cba50e709 22:14:30 Step 9/25 : COPY go.mod vendor* ./ 22:14:30 ---> 7a6be73c66e9 22:14:30 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:30 ---> Running in c0b57a7b9225 22:14:32 Removing intermediate container c0b57a7b9225 22:14:32 ---> 7117edc01a77 22:14:32 Step 11/25 : COPY . . 22:14:33 ---> 5a36a30e234c 22:14:33 Step 12/25 : RUN ${MAKE} 22:14:33 ---> Running in a80fd026a5b6 22:14:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 22:16:56 Removing intermediate container a80fd026a5b6 22:16:56 ---> 120753a6c9dc 22:16:56 Step 13/25 : FROM alpine:3.18 22:16:56 3.18: Pulling from library/alpine 22:16:56 579b34f0a95b: Pulling fs layer 22:16:56 579b34f0a95b: Verifying Checksum 22:16:56 579b34f0a95b: Download complete 22:16:56 579b34f0a95b: Pull complete 22:16:56 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:16:56 Status: Downloaded newer image for alpine:3.18 22:16:56 ---> 3cc203321400 22:16:56 Step 14/25 : RUN apk add --update --no-cache dumb-init 22:16:56 ---> Running in 9fbf372dd65a 22:16:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:16:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:16:56 (1/1) Installing dumb-init (1.2.5-r2) 22:16:56 Executing busybox-1.36.1-r2.trigger 22:16:56 OK: 8 MiB in 16 packages 22:16:56 Removing intermediate container 9fbf372dd65a 22:16:56 ---> 024b53867d7d 22:16:56 Step 15/25 : RUN apk --no-cache upgrade 22:16:56 ---> Running in 2ae3ecba08d8 22:16:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:16:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:16:58 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:16:58 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:16:58 Executing busybox-1.36.1-r5.post-upgrade 22:16:58 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:16:58 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:16:58 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:16:58 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:16:58 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:16:58 Executing busybox-1.36.1-r5.trigger 22:16:58 OK: 8 MiB in 16 packages 22:17:00 Removing intermediate container 2ae3ecba08d8 22:17:00 ---> f4b3261631fc 22:17:00 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 22:17:02 ---> 6bfaa5dcd0e1 22:17:02 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:17:02 ---> 8c5db89fdd4e 22:17:02 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 22:17:03 ---> 4fdfb4aadb31 22:17:03 Step 19/25 : EXPOSE 59993 22:17:03 ---> Running in 70457caffdaa 22:17:03 Removing intermediate container 70457caffdaa 22:17:03 ---> caeb3bfcae93 22:17:03 Step 20/25 : EXPOSE 161 22:17:03 ---> Running in e2b1020740ce 22:17:03 Removing intermediate container e2b1020740ce 22:17:03 ---> 177e47cd87ad 22:17:03 Step 21/25 : ENTRYPOINT ["/device-snmp"] 22:17:04 ---> Running in d9975ccd96f1 22:17:04 Removing intermediate container d9975ccd96f1 22:17:04 ---> 3e6d8a86de18 22:17:04 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:17:04 ---> Running in 776c6566c780 22:17:04 Removing intermediate container 776c6566c780 22:17:04 ---> 81427896232b 22:17:04 Step 23/25 : LABEL arch=arm64 22:17:04 ---> Running in c9f4bce625cc 22:17:05 Removing intermediate container c9f4bce625cc 22:17:05 ---> 8c58a31e9f5f 22:17:05 Step 24/25 : LABEL git_sha=b852d33a75a07d69fbdb63dde5dbae2cfe6da43b 22:17:05 ---> Running in cabfd0f6a8ed 22:17:05 Removing intermediate container cabfd0f6a8ed 22:17:05 ---> 8e5247c7ea15 22:17:05 Step 25/25 : LABEL version=3.1.0-dev.13 22:17:05 ---> Running in e50986e82e1f 22:17:06 Removing intermediate container e50986e82e1f 22:17:06 ---> f3de2af53060 22:17:06 [Warning] One or more build-args [ARCH] were not consumed 22:17:06 Successfully built f3de2af53060 22:17:06 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:17:06 provisioning config files... 22:17:06 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/100@tmp/config2880912896398905363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:17:06 ---> docker-login.sh 22:17:06 nexus3.edgexfoundry.org:10001 22:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:07 Configure a credential helper to remove this warning. See 22:17:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:07 22:17:07 Login Succeeded 22:17:07 nexus3.edgexfoundry.org:10002 22:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:07 Configure a credential helper to remove this warning. See 22:17:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:07 22:17:07 Login Succeeded 22:17:07 nexus3.edgexfoundry.org:10003 22:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:07 Configure a credential helper to remove this warning. See 22:17:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:07 22:17:07 Login Succeeded 22:17:07 nexus3.edgexfoundry.org:10004 22:17:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:08 Configure a credential helper to remove this warning. See 22:17:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:08 22:17:08 Login Succeeded 22:17:08 docker.io 22:17:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:09 Configure a credential helper to remove this warning. See 22:17:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:09 22:17:09 Login Succeeded 22:17:09 ---> docker-login.sh ends [Pipeline] } 22:17:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:17:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:17:09 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 22:17:09 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b 22:17:09 latest 22:17:09 3.1.0-dev.13 22:17:09 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b-3.1.0-dev.13 22:17:09 main 22:17:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:09 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:b852d33a75a07d69fbdb63dde5dbae2cfe6da43b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:b852d33a75a07d69fbdb63dde5dbae2cfe6da43b 22:17:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:17:09 c88b6f4bc69a: Preparing 22:17:09 5e2bf0fe72b6: Preparing 22:17:09 de480f4b1361: Preparing 22:17:09 992179742b61: Preparing 22:17:09 c09101295184: Preparing 22:17:09 5f4d9fc4d98d: Preparing 22:17:09 5f4d9fc4d98d: Waiting 22:17:11 c88b6f4bc69a: Pushed 22:17:11 c09101295184: Pushed 22:17:11 5e2bf0fe72b6: Pushed 22:17:11 5f4d9fc4d98d: Layer already exists 22:17:11 992179742b61: Pushed 22:17:17 de480f4b1361: Pushed 22:17:17 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b: digest: sha256:66023c8fc4b7d05486717c53bad1fa3e836a0f719d0cff20529a9d2e4f61ca1b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:17 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 22:17:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:17:17 c88b6f4bc69a: Preparing 22:17:17 5e2bf0fe72b6: Preparing 22:17:17 de480f4b1361: Preparing 22:17:17 992179742b61: Preparing 22:17:17 c09101295184: Preparing 22:17:17 5f4d9fc4d98d: Preparing 22:17:17 5f4d9fc4d98d: Waiting 22:17:17 c88b6f4bc69a: Layer already exists 22:17:17 992179742b61: Layer already exists 22:17:17 5e2bf0fe72b6: Layer already exists 22:17:17 c09101295184: Layer already exists 22:17:17 de480f4b1361: Layer already exists 22:17:17 5f4d9fc4d98d: Layer already exists 22:17:18 latest: digest: sha256:66023c8fc4b7d05486717c53bad1fa3e836a0f719d0cff20529a9d2e4f61ca1b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:18 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:18 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.13 22:17:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:17:18 c88b6f4bc69a: Preparing 22:17:18 5e2bf0fe72b6: Preparing 22:17:18 de480f4b1361: Preparing 22:17:18 992179742b61: Preparing 22:17:18 c09101295184: Preparing 22:17:18 5f4d9fc4d98d: Preparing 22:17:18 5f4d9fc4d98d: Waiting 22:17:18 c88b6f4bc69a: Layer already exists 22:17:18 c09101295184: Layer already exists 22:17:18 5e2bf0fe72b6: Layer already exists 22:17:18 de480f4b1361: Layer already exists 22:17:18 992179742b61: Layer already exists 22:17:18 5f4d9fc4d98d: Layer already exists 22:17:19 3.1.0-dev.13: digest: sha256:66023c8fc4b7d05486717c53bad1fa3e836a0f719d0cff20529a9d2e4f61ca1b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:19 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:b852d33a75a07d69fbdb63dde5dbae2cfe6da43b-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:19 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:b852d33a75a07d69fbdb63dde5dbae2cfe6da43b-3.1.0-dev.13 22:17:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:17:19 c88b6f4bc69a: Preparing 22:17:19 5e2bf0fe72b6: Preparing 22:17:19 de480f4b1361: Preparing 22:17:19 992179742b61: Preparing 22:17:19 c09101295184: Preparing 22:17:19 5f4d9fc4d98d: Preparing 22:17:19 5f4d9fc4d98d: Waiting 22:17:19 c09101295184: Layer already exists 22:17:19 c88b6f4bc69a: Layer already exists 22:17:19 992179742b61: Layer already exists 22:17:19 5e2bf0fe72b6: Layer already exists 22:17:19 de480f4b1361: Layer already exists 22:17:19 5f4d9fc4d98d: Layer already exists 22:17:20 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b-3.1.0-dev.13: digest: sha256:66023c8fc4b7d05486717c53bad1fa3e836a0f719d0cff20529a9d2e4f61ca1b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:20 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 22:17:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:17:20 c88b6f4bc69a: Preparing 22:17:20 5e2bf0fe72b6: Preparing 22:17:20 de480f4b1361: Preparing 22:17:20 992179742b61: Preparing 22:17:20 c09101295184: Preparing 22:17:20 5f4d9fc4d98d: Preparing 22:17:20 5f4d9fc4d98d: Waiting 22:17:20 de480f4b1361: Layer already exists 22:17:20 c09101295184: Layer already exists 22:17:20 5e2bf0fe72b6: Layer already exists 22:17:20 c88b6f4bc69a: Layer already exists 22:17:20 992179742b61: Layer already exists 22:17:20 5f4d9fc4d98d: Layer already exists 22:17:21 main: digest: sha256:66023c8fc4b7d05486717c53bad1fa3e836a0f719d0cff20529a9d2e4f61ca1b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:17:21 ===================================================== [Pipeline] echo 22:17:21 taggedImages: 22:17:21 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:b852d33a75a07d69fbdb63dde5dbae2cfe6da43b 22:17:21 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 22:17:21 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.13 22:17:21 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:b852d33a75a07d69fbdb63dde5dbae2cfe6da43b-3.1.0-dev.13 22:17:21 - 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 22:17:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:17:21 22:17:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:17:21 arm64: Pulling from edgex-lftools-log-publisher 22:17:21 8998bd30e6a1: Pulling fs layer 22:17:21 04944245beec: Pulling fs layer 22:17:21 699f458cf7ca: Pulling fs layer 22:17:21 765212b225bb: Pulling fs layer 22:17:21 f23df028b6ca: Pulling fs layer 22:17:21 d65c8cfc05b1: Pulling fs layer 22:17:21 2437ff75d9bd: Pulling fs layer 22:17:21 f23df028b6ca: Waiting 22:17:21 d65c8cfc05b1: Waiting 22:17:21 2437ff75d9bd: Waiting 22:17:21 765212b225bb: Waiting 22:17:22 04944245beec: Verifying Checksum 22:17:22 04944245beec: Download complete 22:17:22 765212b225bb: Verifying Checksum 22:17:22 765212b225bb: Download complete 22:17:22 f23df028b6ca: Verifying Checksum 22:17:22 f23df028b6ca: Download complete 22:17:22 d65c8cfc05b1: Verifying Checksum 22:17:22 d65c8cfc05b1: Download complete 22:17:22 699f458cf7ca: Verifying Checksum 22:17:22 699f458cf7ca: Download complete 22:17:22 8998bd30e6a1: Verifying Checksum 22:17:22 8998bd30e6a1: Download complete 22:17:25 2437ff75d9bd: Verifying Checksum 22:17:25 2437ff75d9bd: Download complete 22:17:28 8998bd30e6a1: Pull complete 22:17:28 04944245beec: Pull complete 22:17:30 699f458cf7ca: Pull complete 22:17:30 765212b225bb: Pull complete 22:17:31 f23df028b6ca: Pull complete 22:17:31 d65c8cfc05b1: Pull complete 22:17:49 2437ff75d9bd: Pull complete 22:17:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:17:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:17:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:49 prd-ubuntu20.04-docker-arm64-4c-16g-18004 does not seem to be running inside a container 22:17:49 $ 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/100 -v /w/workspace/device-snmp-go/100:/w/workspace/device-snmp-go/100:rw,z -v /w/workspace/device-snmp-go/100@tmp:/w/workspace/device-snmp-go/100@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 22:17:53 $ docker top 92fadc59d5b30b1560fc4262eb6a5b687c28e9bddb48484b488f70ad46700030 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:17:54 ---> job-cost.sh 22:17:54 lf-activate-venv: SKIPPING 22:17:54 INFO: No Stack... 22:17:55 INFO: Retrieving Pricing Info for: v3-standard-4 22:17:55 INFO: Archiving Costs [Pipeline] sh 22:17:56 + cat /w/workspace/device-snmp-go/100/archives/cost.csv 22:17:56 + cut -d, -f6 [Pipeline] lock 22:17:56 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-100-stack-cost] 22:17:56 Resource [jenkins-edgexfoundry-device-snmp-go-main-100-stack-cost] did not exist. Created. 22:17:56 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:17:57 /w/workspace/device-snmp-go/100@tmp/durable-e5eda381/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:17:57 + echo total: 0.10999999940395355 [Pipeline] stash 22:17:57 Warning: overwriting stash ‘stack-cost’ 22:17:58 Stashed 1 file(s) [Pipeline] } 22:17:58 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-100-stack-cost] [Pipeline] // lock [Pipeline] } 22:17:58 $ docker stop --time=1 92fadc59d5b30b1560fc4262eb6a5b687c28e9bddb48484b488f70ad46700030 22:17:59 $ docker rm -f --volumes 92fadc59d5b30b1560fc4262eb6a5b687c28e9bddb48484b488f70ad46700030 [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 22:17:59 provisioning config files... 22:17:59 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14936832870485620744tmp [Pipeline] { [Pipeline] sh 22:18:00 + set +x 22:18:00 + + curlbash -s -s https://codecov.io/bash -- 22:18:00 22:18:00 22:18:00 _____ _ 22:18:00 / ____| | | 22:18:00 | | ___ __| | ___ ___ _____ __ 22:18:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:18:00 | |___| (_) | (_| | __/ (_| (_) \ V / 22:18:00 \_____\___/ \__,_|\___|\___\___/ \_/ 22:18:00 Bash-1.0.6 22:18:00 22:18:00 22:18:00 ==> git version 2.25.1 found 22:18:00 ==> 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 22:18:00 Release-Date: 2020-01-08 22:18:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:18:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:18:00 ==> Jenkins CI detected. 22:18:00 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 22:18:00 project root: . 22:18:00 --> token set from env 22:18:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:18:00 ==> Running gcov in . (disable via -X gcov) 22:18:00 ==> Python coveragepy not found 22:18:00 ==> Searching for coverage reports in: 22:18:00 + . 22:18:00 -> Found 1 reports 22:18:00 ==> Detecting git/mercurial file structure 22:18:00 ==> Reading reports 22:18:00 + ./coverage.out bytes=8837 22:18:00 ==> Appending adjustments 22:18:00 https://docs.codecov.io/docs/fixing-reports 22:18:00 + Found adjustments 22:18:00 ==> Gzipping contents 22:18:00 4.0K /tmp/codecov.fq9H2X.gz 22:18:00 ==> Uploading reports 22:18:00 url: https://codecov.io 22:18:00 query: branch=main&commit=b852d33a75a07d69fbdb63dde5dbae2cfe6da43b&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:18:00 -> Pinging Codecov 22:18:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=b852d33a75a07d69fbdb63dde5dbae2cfe6da43b&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:18:00 -> Uploading to 22:18:00 https://storage.googleapis.com/codecov/v4/raw/2023-11-14/6C56EA5C29638FB4528AC87E60AF5AE0/b852d33a75a07d69fbdb63dde5dbae2cfe6da43b/6c89d106-57ce-4733-8c23-87e7f4944eba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T221800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=46c2d2711d974380b60142882981d47fe243ec2f1df00c5e72ffb2322a7bb5d5 22:18:00 % Total % Received % Xferd Average Speed Time Time Time Current 22:18:00 Dload Upload Total Spent Left Speed 22:18:00 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 6321 --:--:-- --:--:-- --:--:-- 6293 22:18:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/b852d33a75a07d69fbdb63dde5dbae2cfe6da43b [Pipeline] } 22:18:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:18:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:18:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:18:01 22:18:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:18:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:18:01 df9b9388f04a: Pulling fs layer 22:18:01 52dc419b0ee2: Pulling fs layer 22:18:01 25bc292e5bac: Pulling fs layer 22:18:01 114826534d7a: Pulling fs layer 22:18:01 4657fd5d0bcf: Pulling fs layer 22:18:01 6ad1cebc031e: Pulling fs layer 22:18:01 8a3aa393b2d8: Pulling fs layer 22:18:01 4657fd5d0bcf: Waiting 22:18:01 6ad1cebc031e: Waiting 22:18:01 8a3aa393b2d8: Waiting 22:18:01 114826534d7a: Waiting 22:18:01 25bc292e5bac: Verifying Checksum 22:18:01 52dc419b0ee2: Verifying Checksum 22:18:01 52dc419b0ee2: Download complete 22:18:01 4657fd5d0bcf: Verifying Checksum 22:18:01 4657fd5d0bcf: Download complete 22:18:01 df9b9388f04a: Verifying Checksum 22:18:01 df9b9388f04a: Download complete 22:18:01 df9b9388f04a: Pull complete 22:18:01 6ad1cebc031e: Verifying Checksum 22:18:01 6ad1cebc031e: Download complete 22:18:01 52dc419b0ee2: Pull complete 22:18:01 25bc292e5bac: Pull complete 22:18:02 114826534d7a: Verifying Checksum 22:18:02 114826534d7a: Download complete 22:18:02 8a3aa393b2d8: Verifying Checksum 22:18:02 8a3aa393b2d8: Download complete 22:18:05 114826534d7a: Pull complete 22:18:05 4657fd5d0bcf: Pull complete 22:18:05 6ad1cebc031e: Pull complete 22:18:08 8a3aa393b2d8: Pull complete 22:18:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:18:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:18:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:08 prd-ubuntu20.04-docker-8c-8g-17567 does not seem to be running inside a container 22:18:08 $ 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 22:18:12 $ docker top 35e2663765b3f72d2abbfc21ef324cddd165c30428efd06fbad2bd7f29ff86c9 -eo pid,comm [Pipeline] { [Pipeline] echo 22:18:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 22:18:13 + set -o pipefail 22:18:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 22:18:18 22:18:18 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 22:18:18 22:18:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/a9acf293-3f99-4731-b2a5-6d5d25975434 22:18:18 22:18:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:18:18 22:18:18 22:18:18 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:18:18 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:18:18 More details here: https://snyk.co/ue1NS 22:18:18 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:18:18 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:18:18 $ docker stop --time=1 35e2663765b3f72d2abbfc21ef324cddd165c30428efd06fbad2bd7f29ff86c9 22:18:22 $ docker rm -f --volumes 35e2663765b3f72d2abbfc21ef324cddd165c30428efd06fbad2bd7f29ff86c9 [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 22:18:22 + git log --format=format:%s -1 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b [Pipeline] sh 22:18:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:18:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:18:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:23 prd-ubuntu20.04-docker-8c-8g-17567 does not seem to be running inside a container 22:18:23 $ 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 22:18:23 $ docker top 2973cb32a8b983494d56cf7ae56ff96fccd3196c2e967a814499e74d94b98dd3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:18:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:18:23 [ssh-agent] Looking for ssh-agent implementation... 22:18:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:18:24 $ docker exec 2973cb32a8b983494d56cf7ae56ff96fccd3196c2e967a814499e74d94b98dd3 ssh-agent 22:18:24 SSH_AUTH_SOCK=/tmp/ssh-Um1kSdMqmalD/agent.32 22:18:24 SSH_AGENT_PID=38 22:18:24 Running ssh-add (command line suppressed) 22:18:24 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8680338402621614435.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8680338402621614435.key) 22:18:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:18:24 + git semver tag 22:18:24 2023-11-14 22:18:24,757 [run_tag] DEBUG tag force:False 22:18:24 2023-11-14 22:18:24,757 [check_head_tag] DEBUG check head tag 22:18:24 2023-11-14 22:18:24,758 [execute] INFO git cat-file --batch-check 22:18:24 2023-11-14 22:18:24,758 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 22:18:24 2023-11-14 22:18:24,761 [execute] INFO git cat-file --batch 22:18:24 2023-11-14 22:18:24,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 22:18:24 2023-11-14 22:18:24,771 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:18:24 2023-11-14 22:18:24,771 [execute] INFO git tag -a v3.1.0-dev.13 -m v3.1.0-dev.13 22:18:24 2023-11-14 22:18:24,772 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.13', '-m', 'v3.1.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 22:18:24 2023-11-14 22:18:24,777 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:18:24 3.1.0-dev.13 [Pipeline] } 22:18:24 $ docker exec --env ******** --env ******** 2973cb32a8b983494d56cf7ae56ff96fccd3196c2e967a814499e74d94b98dd3 ssh-agent -k 22:18:24 unset SSH_AUTH_SOCK; 22:18:24 unset SSH_AGENT_PID; 22:18:24 echo Agent pid 38 killed; 22:18:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:18:25 + git semver [Pipeline] } 22:18:25 $ docker stop --time=1 2973cb32a8b983494d56cf7ae56ff96fccd3196c2e967a814499e74d94b98dd3 22:18:26 $ docker rm -f --volumes 2973cb32a8b983494d56cf7ae56ff96fccd3196c2e967a814499e74d94b98dd3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:18:27 22:18:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:18:27 0.23.1-centos7: Pulling from edgex-lftools 22:18:27 ab5ef0e58194: Pulling fs layer 22:18:27 9712f1f96733: Pulling fs layer 22:18:27 63f879dbbcfc: Pulling fs layer 22:18:27 0d9ebad4ef96: Pulling fs layer 22:18:27 e9a5061849ea: Pulling fs layer 22:18:27 d747dcd14b5f: Pulling fs layer 22:18:27 2de7ff778b66: Pulling fs layer 22:18:27 0d9ebad4ef96: Waiting 22:18:27 e9a5061849ea: Waiting 22:18:27 d747dcd14b5f: Waiting 22:18:27 2de7ff778b66: Waiting 22:18:27 9712f1f96733: Verifying Checksum 22:18:27 9712f1f96733: Download complete 22:18:27 63f879dbbcfc: Verifying Checksum 22:18:27 63f879dbbcfc: Download complete 22:18:28 e9a5061849ea: Verifying Checksum 22:18:28 e9a5061849ea: Download complete 22:18:28 d747dcd14b5f: Download complete 22:18:28 2de7ff778b66: Verifying Checksum 22:18:28 2de7ff778b66: Download complete 22:18:28 0d9ebad4ef96: Verifying Checksum 22:18:28 0d9ebad4ef96: Download complete 22:18:28 ab5ef0e58194: Verifying Checksum 22:18:28 ab5ef0e58194: Download complete 22:18:30 ab5ef0e58194: Pull complete 22:18:31 9712f1f96733: Pull complete 22:18:31 63f879dbbcfc: Pull complete 22:18:35 0d9ebad4ef96: Pull complete 22:18:35 e9a5061849ea: Pull complete 22:18:35 d747dcd14b5f: Pull complete 22:18:36 2de7ff778b66: Pull complete 22:18:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:18:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:18:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:36 prd-ubuntu20.04-docker-8c-8g-17567 does not seem to be running inside a container 22:18:36 $ 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 22:18:41 $ docker top de8c0b1fe4360cc5090758538b305b7250860abb11a6ead9961498ccbeff161a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:18:41 provisioning config files... 22:18:41 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18159249656860965906tmp 22:18:41 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2838459574208008258tmp 22:18:41 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16199941392548618014tmp [Pipeline] { [Pipeline] echo 22:18:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:18:41 ---> sigul-configuration.sh 22:18:41 gpg: directory `/root/.gnupg' created 22:18:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:18:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:18:41 gpg: keyring `/root/.gnupg/secring.gpg' created 22:18:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:18:41 gpg: CAST5 encrypted data 22:18:41 gpg: encrypted with 1 passphrase 22:18:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:18:41 + mkdir /home/jenkins 22:18:41 + mkdir /home/jenkins/sigul [Pipeline] sh 22:18:42 + 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 22:18:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:18:42 ---> sigul-install.sh 22:18:42 Sigul already installed; skipping installation. [Pipeline] sh 22:18:42 + git tag --list 22:18:42 1.0.0 22:18:42 v0.0.0 22:18:42 v1.1.0 22:18:42 v1.1.1 22:18:42 v1.2.2 22:18:42 v1.3.0 22:18:42 v1.3.1 22:18:42 v2.0.0 22:18:42 v2.1.0 22:18:42 v2.1.1 22:18:42 v2.2.0 22:18:42 v2.3.0 22:18:42 v3.0 22:18:42 v3.0.0 22:18:42 v3.1.0-dev.1 22:18:42 v3.1.0-dev.10 22:18:42 v3.1.0-dev.11 22:18:42 v3.1.0-dev.12 22:18:42 v3.1.0-dev.13 22:18:42 v3.1.0-dev.2 22:18:42 v3.1.0-dev.3 22:18:42 v3.1.0-dev.4 22:18:42 v3.1.0-dev.5 22:18:42 v3.1.0-dev.6 22:18:42 v3.1.0-dev.7 22:18:42 v3.1.0-dev.8 22:18:42 v3.1.0-dev.9 [Pipeline] sh 22:18:43 + lftools sign git-tag v3.1.0-dev.13 22:18:43 Signing Git tag with Sigul... 22:18:43 Signing v3.1.0-dev.13 [Pipeline] echo 22:18:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:18:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:18:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:18:44 $ docker stop --time=1 de8c0b1fe4360cc5090758538b305b7250860abb11a6ead9961498ccbeff161a 22:18:45 $ docker rm -f --volumes de8c0b1fe4360cc5090758538b305b7250860abb11a6ead9961498ccbeff161a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:18:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:18:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:18:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:46 prd-ubuntu20.04-docker-8c-8g-17567 does not seem to be running inside a container 22:18:46 $ 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 22:18:46 $ docker top 06be8afa61b0d5a3f4de8c08c9b9a14b0edc4b64d9f0e901cb27e046823dbae7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:18:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:18:46 [ssh-agent] Looking for ssh-agent implementation... 22:18:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:18:46 $ docker exec 06be8afa61b0d5a3f4de8c08c9b9a14b0edc4b64d9f0e901cb27e046823dbae7 ssh-agent 22:18:47 SSH_AUTH_SOCK=/tmp/ssh-DXlawVnlIrJR/agent.32 22:18:47 SSH_AGENT_PID=38 22:18:47 Running ssh-add (command line suppressed) 22:18:47 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2235332369626937657.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2235332369626937657.key) 22:18:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:18:47 + git semver bump pre 22:18:47 2023-11-14 22:18:47,604 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:18:47 2023-11-14 22:18:47,604 [bump_version] DEBUG bumping version:3.1.0-dev.13 on axis:pre with prefix:dev 22:18:47 2023-11-14 22:18:47,604 [bump_version] DEBUG bumped version:3.1.0-dev.14 22:18:47 2023-11-14 22:18:47,604 [write_version] DEBUG write version:3.1.0-dev.14 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 22:18:47 2023-11-14 22:18:47,604 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:18:47 2023-11-14 22:18:47,604 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:18:47 2023-11-14 22:18:47,606 [execute] INFO git cat-file --batch-check 22:18:47 2023-11-14 22:18:47,606 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:18:47 2023-11-14 22:18:47,612 [execute] INFO git cat-file --batch 22:18:47 2023-11-14 22:18:47,612 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:18:47 2023-11-14 22:18:47,618 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:18:47 3.1.0-dev.14 [Pipeline] } 22:18:47 $ docker exec --env ******** --env ******** 06be8afa61b0d5a3f4de8c08c9b9a14b0edc4b64d9f0e901cb27e046823dbae7 ssh-agent -k 22:18:47 unset SSH_AUTH_SOCK; 22:18:47 unset SSH_AGENT_PID; 22:18:47 echo Agent pid 38 killed; 22:18:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:18:48 + git semver [Pipeline] } 22:18:48 $ docker stop --time=1 06be8afa61b0d5a3f4de8c08c9b9a14b0edc4b64d9f0e901cb27e046823dbae7 22:18:49 $ docker rm -f --volumes 06be8afa61b0d5a3f4de8c08c9b9a14b0edc4b64d9f0e901cb27e046823dbae7 [Pipeline] // withDockerContainer [Pipeline] sh 22:18:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:18:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:18:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:50 prd-ubuntu20.04-docker-8c-8g-17567 does not seem to be running inside a container 22:18:50 $ 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 22:18:50 $ docker top 5a2b73244dde06a348ad965af29483f494489f09998caafca5093b7101803c0b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:18:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:18:50 [ssh-agent] Looking for ssh-agent implementation... 22:18:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:18:50 $ docker exec 5a2b73244dde06a348ad965af29483f494489f09998caafca5093b7101803c0b ssh-agent 22:18:51 SSH_AUTH_SOCK=/tmp/ssh-1El8wadBIZdQ/agent.32 22:18:51 SSH_AGENT_PID=38 22:18:51 Running ssh-add (command line suppressed) 22:18:51 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14661651404181285442.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14661651404181285442.key) 22:18:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:18:51 + git semver push 22:18:51 2023-11-14 22:18:51,692 [run_push] DEBUG push 22:18:51 2023-11-14 22:18:51,693 [execute] INFO git cat-file --batch-check 22:18:51 2023-11-14 22:18:51,693 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:18:51 2023-11-14 22:18:51,697 [execute] INFO git rev-list 387689461112ad95be535b13f5c82407f711ab63 -- 22:18:51 2023-11-14 22:18:51,697 [execute] DEBUG Popen(['git', 'rev-list', '387689461112ad95be535b13f5c82407f711ab63', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:18:51 2023-11-14 22:18:51,703 [execute] INFO git fetch -v origin 22:18:51 2023-11-14 22:18:51,703 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:18:52 2023-11-14 22:18:52,248 [run_push] DEBUG no remote changes detected 22:18:52 2023-11-14 22:18:52,248 [execute] INFO git push origin semver 22:18:52 2023-11-14 22:18:52,249 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:18:53 2023-11-14 22:18:52,994 [run_push] DEBUG push all version tags 22:18:53 2023-11-14 22:18:52,995 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:18:53 2023-11-14 22:18:52,995 [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) 22:18:54 2023-11-14 22:18:53,767 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:18:54 3.1.0-dev.14 [Pipeline] } 22:18:54 $ docker exec --env ******** --env ******** 5a2b73244dde06a348ad965af29483f494489f09998caafca5093b7101803c0b ssh-agent -k 22:18:54 unset SSH_AUTH_SOCK; 22:18:54 unset SSH_AGENT_PID; 22:18:54 echo Agent pid 38 killed; 22:18:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:18:54 + git semver [Pipeline] } 22:18:54 $ docker stop --time=1 5a2b73244dde06a348ad965af29483f494489f09998caafca5093b7101803c0b 22:18:56 $ docker rm -f --volumes 5a2b73244dde06a348ad965af29483f494489f09998caafca5093b7101803c0b [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 22:18:56 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 22:18:56 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:18:56 total 16 22:18:56 drwxr-xr-x 3 root root 4096 Nov 14 21:54 . 22:18:56 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 22:18 .. 22:18:56 drwxr-xr-x 2 root root 4096 Nov 14 21:54 cost 22:18:56 -rw-r--r-- 1 root root 86 Nov 14 21:54 cost.csv 22:18:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:18:56 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:18:56 total 16 22:18:56 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:54 . 22:18:56 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 22:18 .. 22:18:56 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 21:54 cost 22:18:56 -rw-r--r-- 1 jenkins jenkins 86 Nov 14 21:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:18:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:18:57 ---> package-listing.sh 22:18:57 ++ tr '[:upper:]' '[:lower:]' 22:18:57 ++ facter osfamily 22:18:58 + OS_FAMILY=debian 22:18:58 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 22:18:58 + START_PACKAGES=/tmp/packages_start.txt 22:18:58 + END_PACKAGES=/tmp/packages_end.txt 22:18:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:18:58 + PACKAGES=/tmp/packages_start.txt 22:18:58 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 22:18:58 + PACKAGES=/tmp/packages_end.txt 22:18:58 + case "${OS_FAMILY}" in 22:18:58 + dpkg -l 22:18:58 + grep '^ii' 22:18:58 + '[' -f /tmp/packages_start.txt ']' 22:18:58 + '[' -f /tmp/packages_end.txt ']' 22:18:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:18:58 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 22:18:58 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 22:18:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 22:18:58 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 22:18:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:18:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:58 prd-ubuntu20.04-docker-8c-8g-17567 does not seem to be running inside a container 22:18:59 $ 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 22:18:59 $ docker top fedd847f410c9e44e039e17411e43834bc4936b57a60116ad9e329fd83b459f9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:59 + touch /tmp/pre-build-complete [Pipeline] sh 22:18:59 + mkdir -p /var/log/sysstat [Pipeline] sh 22:19:00 + ls /var/log/sa-host 22:19:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:00 provisioning config files... 22:19:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17952554929168703740tmp [Pipeline] { [Pipeline] echo 22:19:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:19:00 ---> create-netrc.sh [Pipeline] } 22:19:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:19:00 ---> python-tools-install.sh [Pipeline] echo 22:19:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:19:01 ---> sudo-logs.sh 22:19:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:19:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:19:01 ---> job-cost.sh 22:19:01 lf-activate-venv: SKIPPING 22:19:01 DEBUG: total: 0.2199999988079071 22:19:01 INFO: Retrieving Stack Cost... 22:19:01 INFO: Retrieving Pricing Info for: v3-standard-8 22:19:02 INFO: Archiving Costs [Pipeline] echo 22:19:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:19:02 ---> logs-deploy.sh 22:19:02 lf-activate-venv: SKIPPING 22:19:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/100 22:19:02 INFO: archiving workspace using pattern(s): 22:19:03 Archives upload complete. 22:19:03 INFO: archiving logs to Nexus