Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 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-ssh8258360800079525205.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6200007120150399273.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10014898934726963257.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12987141383383787582.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-ssh13736938733243711784.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-ubuntu20.04-docker-8c-8g-5427’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5432 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 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 (main) Commit message: "Merge pull request #343 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10" > 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 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 # timeout=10 > git rev-list --no-walk bf06fbc5d59e17dbd9bd9bfb78a812e5d4ef91be # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:11:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:11:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:11:23 ========================================================= 07:11:23 EdgeX Global Pipelines Version Info 07:11:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:11:24 ------------------- 07:11:24 stable info: 07:11:24 ------------------- 07:11:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:11:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 07:11:24 Message: update stable to v1.0.258 07:11:24 ------------------- 07:11:24 experimental info: 07:11:24 ------------------- 07:11:24 Commited By: **** collab-it+edgex@linuxfoundation.org 07:11:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 07:11:24 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:11:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d897dc4 [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:11:26 provisioning config files... 07:11:26 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9334516533061564849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:26 ---> ****-login.sh 07:11:26 nexus3.edgexfoundry.org:10001 07:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:26 Configure a credential helper to remove this warning. See 07:11:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:26 07:11:26 Login Succeeded 07:11:26 nexus3.edgexfoundry.org:10002 07:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:27 Configure a credential helper to remove this warning. See 07:11:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:27 07:11:27 Login Succeeded 07:11:27 nexus3.edgexfoundry.org:10003 07:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:27 Configure a credential helper to remove this warning. See 07:11:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:27 07:11:27 Login Succeeded 07:11:27 nexus3.edgexfoundry.org:10004 07:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:27 Configure a credential helper to remove this warning. See 07:11:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:27 07:11:27 Login Succeeded 07:11:27 ****.io 07:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:27 Configure a credential helper to remove this warning. See 07:11:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:27 07:11:27 Login Succeeded 07:11:27 ---> ****-login.sh ends [Pipeline] } 07:11:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:11:28 + git rev-list -1 --merges d897dc44ab7b6c3fb8a5af91365bcd11242d3d23~1..d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 [Pipeline] echo 07:11:28 -----------> git rev-list -1 --merges d897dc44ab7b6c3fb8a5af91365bcd11242d3d23~1..d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 07:11:28 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 [false] [Pipeline] sh 07:11:28 + git log --format=format:%s -1 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 [Pipeline] echo 07:11:28 ========================================================= 07:11:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:11:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:11:28 + git log --format=format:%s -1 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 [Pipeline] echo 07:11:28 [semverPrep] GIT_COMMIT: d897dc44ab7b6c3fb8a5af91365bcd11242d3d23, Commit Message: Merge pull request #343 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10 [Pipeline] echo 07:11:28 [semverPrep] This is not a build commit. [Pipeline] sh 07:11:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:11:29 + grep -v github /etc/ssh/ssh_known_hosts 07:11:29 + [ -e /tmp/ssh_known_hosts ] 07:11:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:11:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:11:29 + sudo tee -a /etc/ssh/ssh_known_hosts 07:11:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:11:29 07:11:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:11:29 0.1.4: Pulling from edgex-devops/py-git-semver 07:11:29 b85a868b505f: Pulling fs layer 07:11:29 e2be974225ed: Pulling fs layer 07:11:29 339a4e72a1f5: Pulling fs layer 07:11:29 988bab9f4d93: Pulling fs layer 07:11:29 1469e6f7b9e6: Pulling fs layer 07:11:29 eaf3925da568: Pulling fs layer 07:11:29 bab4dde63d76: Pulling fs layer 07:11:29 1469e6f7b9e6: Waiting 07:11:29 eaf3925da568: Waiting 07:11:29 988bab9f4d93: Waiting 07:11:29 bde34c3a00c8: Pulling fs layer 07:11:29 b352a97aabf1: Pulling fs layer 07:11:29 bab4dde63d76: Waiting 07:11:29 bde34c3a00c8: Waiting 07:11:29 4872d77fe225: Pulling fs layer 07:11:29 5851b861e8e6: Pulling fs layer 07:11:29 b352a97aabf1: Waiting 07:11:29 4872d77fe225: Waiting 07:11:29 5851b861e8e6: Waiting 07:11:29 e2be974225ed: Download complete 07:11:29 988bab9f4d93: Verifying Checksum 07:11:29 988bab9f4d93: Download complete 07:11:29 1469e6f7b9e6: Verifying Checksum 07:11:29 1469e6f7b9e6: Download complete 07:11:30 339a4e72a1f5: Verifying Checksum 07:11:30 339a4e72a1f5: Download complete 07:11:30 eaf3925da568: Verifying Checksum 07:11:30 eaf3925da568: Download complete 07:11:30 bde34c3a00c8: Download complete 07:11:30 b352a97aabf1: Verifying Checksum 07:11:30 b352a97aabf1: Download complete 07:11:30 4872d77fe225: Download complete 07:11:30 5851b861e8e6: Verifying Checksum 07:11:30 5851b861e8e6: Download complete 07:11:30 b85a868b505f: Verifying Checksum 07:11:30 b85a868b505f: Download complete 07:11:30 bab4dde63d76: Verifying Checksum 07:11:30 bab4dde63d76: Download complete 07:11:31 b85a868b505f: Pull complete 07:11:31 e2be974225ed: Pull complete 07:11:32 339a4e72a1f5: Pull complete 07:11:32 988bab9f4d93: Pull complete 07:11:32 1469e6f7b9e6: Pull complete 07:11:32 eaf3925da568: Pull complete 07:11:34 bab4dde63d76: Pull complete 07:11:34 bde34c3a00c8: Pull complete 07:11:34 b352a97aabf1: Pull complete 07:11:34 4872d77fe225: Pull complete 07:11:34 5851b861e8e6: Pull complete 07:11:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:11:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:11:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:34 prd-ubuntu20.04-docker-8c-8g-5432 does not seem to be running inside a container 07:11:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:11:42 $ docker top ee08f6d41f2abaf29f958875d87e4d6dd4d560c181e65a43b626feb57d7e4eb0 -eo pid,comm 07:11:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:11:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:11:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:11:42 [ssh-agent] Looking for ssh-agent implementation... 07:11:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:11:42 $ docker exec ee08f6d41f2abaf29f958875d87e4d6dd4d560c181e65a43b626feb57d7e4eb0 ssh-agent 07:11:43 SSH_AUTH_SOCK=/tmp/ssh-kTsNwoXcBifU/agent.14 07:11:43 SSH_AGENT_PID=20 07:11:43 Running ssh-add (command line suppressed) 07:11:43 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10200010565023768926.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10200010565023768926.key) 07:11:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:11:43 + git tag --points-at HEAD [Pipeline] } 07:11:43 $ docker exec --env ******** --env ******** ee08f6d41f2abaf29f958875d87e4d6dd4d560c181e65a43b626feb57d7e4eb0 ssh-agent -k 07:11:43 unset SSH_AUTH_SOCK; 07:11:43 unset SSH_AGENT_PID; 07:11:43 echo Agent pid 20 killed; 07:11:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:11:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:11:43 [ssh-agent] Looking for ssh-agent implementation... 07:11:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:11:43 $ docker exec ee08f6d41f2abaf29f958875d87e4d6dd4d560c181e65a43b626feb57d7e4eb0 ssh-agent 07:11:43 SSH_AUTH_SOCK=/tmp/ssh-qmpDA2Kn7Fr8/agent.70 07:11:43 SSH_AGENT_PID=76 07:11:43 Running ssh-add (command line suppressed) 07:11:43 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8005300762348677777.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8005300762348677777.key) 07:11:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:11:44 + git semver init 07:11:44 2024-03-11 07:11:44,473 [run_init] DEBUG init version:0.0.0 force:False 07:11:44 2024-03-11 07:11:44,475 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 07:11:44 2024-03-11 07:11:44,476 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 07:11:44 2024-03-11 07:11:44,476 [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) 07:11:45 2024-03-11 07:11:45,579 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 07:11:45 2024-03-11 07:11:45,579 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 07:11:45 2024-03-11 07:11:45,580 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:11:45 2024-03-11 07:11:45,580 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:11:45 3.2.0-dev.7 [Pipeline] } 07:11:45 $ docker exec --env ******** --env ******** ee08f6d41f2abaf29f958875d87e4d6dd4d560c181e65a43b626feb57d7e4eb0 ssh-agent -k 07:11:46 unset SSH_AUTH_SOCK; 07:11:46 unset SSH_AGENT_PID; 07:11:46 echo Agent pid 76 killed; 07:11:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:11:46 + git semver [Pipeline] } 07:11:46 $ docker stop --time=1 ee08f6d41f2abaf29f958875d87e4d6dd4d560c181e65a43b626feb57d7e4eb0 07:11:47 $ docker rm -f --volumes ee08f6d41f2abaf29f958875d87e4d6dd4d560c181e65a43b626feb57d7e4eb0 [Pipeline] // withDockerContainer [Pipeline] sh 07:11:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:11:48 Stashed 1 file(s) [Pipeline] echo 07:11:48 [edgeXSemver]: initialized semver on version 3.2.0-dev.7 [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 07:11:49 provisioning config files... 07:11:49 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2044595530973864239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:49 ---> ****-login.sh 07:11:49 nexus3.edgexfoundry.org:10001 07:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:49 Configure a credential helper to remove this warning. See 07:11:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:49 07:11:49 Login Succeeded 07:11:49 nexus3.edgexfoundry.org:10002 07:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:49 Configure a credential helper to remove this warning. See 07:11:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:49 07:11:49 Login Succeeded 07:11:49 nexus3.edgexfoundry.org:10003 07:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:49 Configure a credential helper to remove this warning. See 07:11:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:49 07:11:49 Login Succeeded 07:11:49 nexus3.edgexfoundry.org:10004 07:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:49 Configure a credential helper to remove this warning. See 07:11:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:49 07:11:49 Login Succeeded 07:11:49 ****.io 07:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:50 Configure a credential helper to remove this warning. See 07:11:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:50 07:11:50 Login Succeeded 07:11:50 ---> ****-login.sh ends [Pipeline] } 07:11:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:11:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:11:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:11:50 ========================================================= 07:11:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:11:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:50 + 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 . 07:11:50 Sending build context to Docker daemon 14.13MB 07:11:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 07:11:50 Step 2/12 : FROM ${BASE} AS builder 07:11:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:11:50 7264a8db6415: Pulling fs layer 07:11:50 c4d48a809fc2: Pulling fs layer 07:11:50 4f1c88b9dad5: Pulling fs layer 07:11:50 ad3a456e5733: Pulling fs layer 07:11:50 69c7f0334f64: Pulling fs layer 07:11:50 1f1c1a5573a3: Pulling fs layer 07:11:50 ce7588e14bc9: Pulling fs layer 07:11:50 b5e4710f87ac: Pulling fs layer 07:11:50 69c7f0334f64: Waiting 07:11:50 1f1c1a5573a3: Waiting 07:11:50 ce7588e14bc9: Waiting 07:11:50 b5e4710f87ac: Waiting 07:11:50 ad3a456e5733: Waiting 07:11:50 c4d48a809fc2: Verifying Checksum 07:11:50 c4d48a809fc2: Download complete 07:11:50 ad3a456e5733: Verifying Checksum 07:11:50 ad3a456e5733: Download complete 07:11:50 69c7f0334f64: Verifying Checksum 07:11:50 69c7f0334f64: Download complete 07:11:50 7264a8db6415: Verifying Checksum 07:11:50 7264a8db6415: Download complete 07:11:50 1f1c1a5573a3: Download complete 07:11:50 7264a8db6415: Pull complete 07:11:51 c4d48a809fc2: Pull complete 07:11:51 b5e4710f87ac: Download complete 07:11:51 4f1c88b9dad5: Verifying Checksum 07:11:51 4f1c88b9dad5: Download complete 07:11:51 ce7588e14bc9: Verifying Checksum 07:11:51 ce7588e14bc9: Download complete 07:11:54 4f1c88b9dad5: Pull complete 07:11:54 ad3a456e5733: Pull complete 07:11:54 69c7f0334f64: Pull complete 07:11:54 1f1c1a5573a3: Pull complete 07:11:57 ce7588e14bc9: Pull complete 07:11:57 b5e4710f87ac: Pull complete 07:11:57 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 07:11:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:11:57 ---> 88b5674ff536 07:11:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:12:03 ---> Running in 38ce2a754799 07:12:03 Removing intermediate container 38ce2a754799 07:12:03 ---> c6399315b459 07:12:03 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:12:03 ---> Running in 985ad13d8dc4 07:12:03 Removing intermediate container 985ad13d8dc4 07:12:03 ---> d8d41d2588e4 07:12:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:12:03 ---> Running in f6d7e9496856 07:12:03 Removing intermediate container f6d7e9496856 07:12:03 ---> 505c63a1b815 07:12:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:12:03 ---> Running in 87732ac286d5 07:12:03 Removing intermediate container 87732ac286d5 07:12:03 ---> d6947cedcd15 07:12:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:12:03 ---> Running in 656ee314979d 07:12:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:12:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:12:03 (1/4) Installing openssh-keygen (9.3_p2-r1) 07:12:03 (2/4) Installing libedit (20221030.3.1-r1) 07:12:03 (3/4) Installing openssh-client-common (9.3_p2-r1) 07:12:03 (4/4) Installing openssh-client-default (9.3_p2-r1) 07:12:03 Executing busybox-1.36.1-r5.trigger 07:12:03 OK: 268 MiB in 56 packages 07:12:04 Still waiting to schedule task 07:12:04 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5433’ is offline 07:12:04 Removing intermediate container 656ee314979d 07:12:04 ---> 6ca87481f4a6 07:12:04 Step 8/12 : WORKDIR /device-snmp-go 07:12:04 ---> Running in a8e98c132bff 07:12:04 Removing intermediate container a8e98c132bff 07:12:04 ---> 476e969d79b8 07:12:04 Step 9/12 : COPY go.mod vendor* ./ 07:12:04 ---> 186f3ebf1cdc 07:12:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:12:04 ---> Running in 49910f136d3c 07:12:36 Removing intermediate container 49910f136d3c 07:12:36 ---> c075060655d1 07:12:36 Step 11/12 : COPY . . 07:12:36 ---> 5aa2aa7d6e16 07:12:36 Step 12/12 : RUN ${MAKE} 07:12:36 ---> Running in 39ec39dc4ea1 07:12:36 noop 07:12:36 Removing intermediate container 39ec39dc4ea1 07:12:36 ---> 98c2814cf296 07:12:36 Successfully built 98c2814cf296 07:12:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:37 + docker inspect -f . ci-base-image-x86_64 07:12:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:37 prd-ubuntu20.04-docker-8c-8g-5432 does not seem to be running inside a container 07:12:37 $ 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 ******** -e ******** ci-base-image-x86_64 cat 07:12:37 $ docker top 032eae48d5e0901e2c4b64a3c95ff500b55122505a3795e39c0de5ca9d2137b1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:38 + go version 07:12:38 go version go1.21.0 linux/amd64 [Pipeline] } 07:12:38 $ docker stop --time=1 032eae48d5e0901e2c4b64a3c95ff500b55122505a3795e39c0de5ca9d2137b1 07:12:39 $ docker rm -f --volumes 032eae48d5e0901e2c4b64a3c95ff500b55122505a3795e39c0de5ca9d2137b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:40 + docker inspect -f . ci-base-image-x86_64 07:12:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:40 prd-ubuntu20.04-docker-8c-8g-5432 does not seem to be running inside a container 07:12:40 $ 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 ******** -e ******** ci-base-image-x86_64 cat 07:12:40 $ docker top a3afac4f69bb8cf27f663b3cd719eec9f39f41fab0d9dd28f6399024cd741942 -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:40 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 07:12:41 + make test 07:12:41 go test ./... -coverprofile=coverage.out 07:12:42 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:12:54 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:12:54 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 07:13:01 go vet ./... 07:13:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:13:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:13:05 ./bin/test-attribution-txt.sh 07:13:05 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 07:13:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:13:05 $ docker stop --time=1 a3afac4f69bb8cf27f663b3cd719eec9f39f41fab0d9dd28f6399024cd741942 07:13:09 $ docker rm -f --volumes a3afac4f69bb8cf27f663b3cd719eec9f39f41fab0d9dd28f6399024cd741942 [Pipeline] // withDockerContainer [Pipeline] sh 07:13:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:13:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:13:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:13:11 + ls -al . 07:13:11 total 172 07:13:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 07:12 . 07:13:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 07:11 .. 07:13:11 -rw-rw-r-- 1 jenkins jenkins 6 Mar 11 07:11 .dockerignore 07:13:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 07:12 .git 07:13:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 07:11 .github 07:13:11 -rw-rw-r-- 1 jenkins jenkins 263 Mar 11 07:11 .gitignore 07:13:11 -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 07:11 .golangci.yml 07:13:11 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 07:11 .semver 07:13:11 -rw-rw-r-- 1 jenkins jenkins 10025 Mar 11 07:11 Attribution.txt 07:13:11 -rw-rw-r-- 1 jenkins jenkins 11809 Mar 11 07:11 CHANGELOG.md 07:13:11 -rw-rw-r-- 1 jenkins jenkins 1571 Mar 11 07:11 Dockerfile 07:13:11 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 07:11 GOVERNANCE.md 07:13:11 -rw-rw-r-- 1 jenkins jenkins 656 Mar 11 07:11 Jenkinsfile 07:13:11 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 07:11 LICENSE 07:13:11 -rw-rw-r-- 1 jenkins jenkins 2240 Mar 11 07:11 Makefile 07:13:11 -rw-rw-r-- 1 jenkins jenkins 620 Mar 11 07:11 OWNERS.md 07:13:11 -rw-rw-r-- 1 jenkins jenkins 10477 Mar 11 07:11 README.md 07:13:11 -rw-rw-r-- 1 jenkins jenkins 11 Mar 11 07:11 VERSION 07:13:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 07:11 bin 07:13:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 07:11 cmd 07:13:11 -rw-r--r-- 1 jenkins jenkins 8837 Mar 11 07:12 coverage.out 07:13:11 -rw-rw-r-- 1 jenkins jenkins 3757 Mar 11 07:11 go.mod 07:13:11 -rw-rw-r-- 1 jenkins jenkins 35944 Mar 11 07:11 go.sum 07:13:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 07:11 internal 07:13:11 -rw-rw-r-- 1 jenkins jenkins 228 Mar 11 07:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:11 + 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=d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 --label arch=amd64 --label version=3.2.0-dev.7 . 07:13:11 Sending build context to Docker daemon 14.14MB 07:13:11 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 07:13:11 Step 2/25 : FROM ${BASE} AS builder 07:13:11 ---> 98c2814cf296 07:13:11 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:13:11 ---> Running in 368d7dd31222 07:13:12 Removing intermediate container 368d7dd31222 07:13:12 ---> 3cb73987231d 07:13:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:13:12 ---> Running in 1a733d88188c 07:13:12 Removing intermediate container 1a733d88188c 07:13:12 ---> 2dae3925b46a 07:13:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:13:12 ---> Running in aee792364cd1 07:13:12 Removing intermediate container aee792364cd1 07:13:12 ---> 6070c0024df3 07:13:12 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:13:12 ---> Running in 8210a1a85078 07:13:12 Removing intermediate container 8210a1a85078 07:13:12 ---> f7590330a3a4 07:13:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:13:12 ---> Running in 09a65ec02d47 07:13:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:13:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:13:13 OK: 268 MiB in 56 packages 07:13:13 Removing intermediate container 09a65ec02d47 07:13:13 ---> 8c951f9c51cc 07:13:13 Step 8/25 : WORKDIR /device-snmp-go 07:13:13 ---> Running in e6d8f5b8cede 07:13:13 Removing intermediate container e6d8f5b8cede 07:13:13 ---> 9a0bdd062a34 07:13:13 Step 9/25 : COPY go.mod vendor* ./ 07:13:13 ---> 9a6fbacfc0be 07:13:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:13:13 ---> Running in 4adebb19756a 07:13:14 Removing intermediate container 4adebb19756a 07:13:14 ---> 97fbc41527be 07:13:14 Step 11/25 : COPY . . 07:13:15 ---> 0aeb0ef2809c 07:13:15 Step 12/25 : RUN ${MAKE} 07:13:15 ---> Running in 7566fb392f45 07:13:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.2.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 07:13:42 Removing intermediate container 7566fb392f45 07:13:42 ---> 9b6fe903aa5c 07:13:42 Step 13/25 : FROM alpine:3.18 07:13:42 3.18: Pulling from library/alpine 07:13:42 619be1103602: Pulling fs layer 07:13:42 619be1103602: Download complete 07:13:42 619be1103602: Pull complete 07:13:42 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 07:13:42 Status: Downloaded newer image for alpine:3.18 07:13:42 ---> d3782b16ccc9 07:13:42 Step 14/25 : RUN apk add --update --no-cache dumb-init 07:13:42 ---> Running in dff784ceb37b 07:13:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:13:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:13:42 (1/1) Installing dumb-init (1.2.5-r2) 07:13:42 Executing busybox-1.36.1-r5.trigger 07:13:42 OK: 7 MiB in 16 packages 07:13:42 Removing intermediate container dff784ceb37b 07:13:42 ---> d23e9a5495cc 07:13:42 Step 15/25 : RUN apk --no-cache upgrade 07:13:42 ---> Running in 2f0fd4c20f9a 07:13:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:13:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:13:42 OK: 7 MiB in 16 packages 07:13:42 Removing intermediate container 2f0fd4c20f9a 07:13:42 ---> b38fd2523edd 07:13:42 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 07:13:42 ---> 0c795465e1ed 07:13:42 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:13:42 ---> 5ada17ef5a64 07:13:42 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 07:13:43 ---> 08678472ffd1 07:13:43 Step 19/25 : EXPOSE 59993 07:13:43 ---> Running in 4feaf06059e4 07:13:43 Removing intermediate container 4feaf06059e4 07:13:43 ---> d87129706a4f 07:13:43 Step 20/25 : EXPOSE 161 07:13:43 ---> Running in 81105278e7a4 07:13:43 Removing intermediate container 81105278e7a4 07:13:43 ---> 1453da682cd0 07:13:43 Step 21/25 : ENTRYPOINT ["/device-snmp"] 07:13:43 ---> Running in 87e886914ba8 07:13:43 Removing intermediate container 87e886914ba8 07:13:43 ---> 892dde51e0f3 07:13:43 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:13:43 ---> Running in 2ed47e9990e7 07:13:43 Removing intermediate container 2ed47e9990e7 07:13:43 ---> 1ac034c84cf3 07:13:43 Step 23/25 : LABEL arch=amd64 07:13:43 ---> Running in 89b88b49fc32 07:13:43 Removing intermediate container 89b88b49fc32 07:13:43 ---> a113c611585a 07:13:43 Step 24/25 : LABEL git_sha=d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 07:13:43 ---> Running in 18fd972aa71c 07:13:43 Removing intermediate container 18fd972aa71c 07:13:43 ---> b8741b9203dd 07:13:43 Step 25/25 : LABEL version=3.2.0-dev.7 07:13:43 ---> Running in 344754faaed7 07:13:43 Removing intermediate container 344754faaed7 07:13:43 ---> 75840d4df7f7 07:13:43 [Warning] One or more build-args [ARCH] were not consumed 07:13:43 Successfully built 75840d4df7f7 07:13:43 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:13:43 provisioning config files... 07:13:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4820129414086735414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:13:44 ---> ****-login.sh 07:13:44 nexus3.edgexfoundry.org:10001 07:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:13:44 Configure a credential helper to remove this warning. See 07:13:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:13:44 07:13:44 Login Succeeded 07:13:44 nexus3.edgexfoundry.org:10002 07:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:13:44 Configure a credential helper to remove this warning. See 07:13:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:13:44 07:13:44 Login Succeeded 07:13:44 nexus3.edgexfoundry.org:10003 07:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:13:44 Configure a credential helper to remove this warning. See 07:13:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:13:44 07:13:44 Login Succeeded 07:13:44 nexus3.edgexfoundry.org:10004 07:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:13:44 Configure a credential helper to remove this warning. See 07:13:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:13:44 07:13:44 Login Succeeded 07:13:44 ****.io 07:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:13:45 Configure a credential helper to remove this warning. See 07:13:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:13:45 07:13:45 Login Succeeded 07:13:45 ---> ****-login.sh ends [Pipeline] } 07:13:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:13:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:13:45 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 07:13:45 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 07:13:45 latest 07:13:45 3.2.0-dev.7 07:13:45 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23-3.2.0-dev.7 07:13:45 main 07:13:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:45 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:46 + docker push nexus3.edgexfoundry.org:10004/device-snmp:d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 07:13:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:13:46 40c43229fb52: Preparing 07:13:46 6587dc0b4110: Preparing 07:13:46 f61d7f5234b3: Preparing 07:13:46 804bf2ddd2fd: Preparing 07:13:46 982a94be4375: Preparing 07:13:46 aedc3bda2944: Preparing 07:13:46 aedc3bda2944: Waiting 07:13:46 40c43229fb52: Pushed 07:13:46 6587dc0b4110: Pushed 07:13:46 804bf2ddd2fd: Pushed 07:13:46 982a94be4375: Pushed 07:13:46 aedc3bda2944: Layer already exists 07:13:49 f61d7f5234b3: Pushed 07:13:49 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23: digest: sha256:f574fc80a09682209645ede480f2ec23b51635f7145b1d753f742e97bef028a7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:49 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:50 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 07:13:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:13:50 40c43229fb52: Preparing 07:13:50 6587dc0b4110: Preparing 07:13:50 f61d7f5234b3: Preparing 07:13:50 804bf2ddd2fd: Preparing 07:13:50 982a94be4375: Preparing 07:13:50 aedc3bda2944: Preparing 07:13:50 aedc3bda2944: Waiting 07:13:50 f61d7f5234b3: Layer already exists 07:13:50 6587dc0b4110: Layer already exists 07:13:50 804bf2ddd2fd: Layer already exists 07:13:50 40c43229fb52: Layer already exists 07:13:50 982a94be4375: Layer already exists 07:13:50 aedc3bda2944: Layer already exists 07:13:50 latest: digest: sha256:f574fc80a09682209645ede480f2ec23b51635f7145b1d753f742e97bef028a7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:50 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:50 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.2.0-dev.7 07:13:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:13:50 40c43229fb52: Preparing 07:13:50 6587dc0b4110: Preparing 07:13:50 f61d7f5234b3: Preparing 07:13:50 804bf2ddd2fd: Preparing 07:13:50 982a94be4375: Preparing 07:13:50 aedc3bda2944: Preparing 07:13:50 aedc3bda2944: Waiting 07:13:50 6587dc0b4110: Layer already exists 07:13:50 f61d7f5234b3: Layer already exists 07:13:50 982a94be4375: Layer already exists 07:13:50 40c43229fb52: Layer already exists 07:13:50 804bf2ddd2fd: Layer already exists 07:13:50 aedc3bda2944: Layer already exists 07:13:50 3.2.0-dev.7: digest: sha256:f574fc80a09682209645ede480f2ec23b51635f7145b1d753f742e97bef028a7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:51 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d897dc44ab7b6c3fb8a5af91365bcd11242d3d23-3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp:d897dc44ab7b6c3fb8a5af91365bcd11242d3d23-3.2.0-dev.7 07:13:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:13:51 40c43229fb52: Preparing 07:13:51 6587dc0b4110: Preparing 07:13:51 f61d7f5234b3: Preparing 07:13:51 804bf2ddd2fd: Preparing 07:13:51 982a94be4375: Preparing 07:13:51 aedc3bda2944: Preparing 07:13:51 aedc3bda2944: Waiting 07:13:51 f61d7f5234b3: Layer already exists 07:13:51 804bf2ddd2fd: Layer already exists 07:13:51 6587dc0b4110: Layer already exists 07:13:51 982a94be4375: Layer already exists 07:13:51 40c43229fb52: Layer already exists 07:13:51 aedc3bda2944: Layer already exists 07:13:51 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23-3.2.0-dev.7: digest: sha256:f574fc80a09682209645ede480f2ec23b51635f7145b1d753f742e97bef028a7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:52 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:52 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 07:13:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:13:52 40c43229fb52: Preparing 07:13:52 6587dc0b4110: Preparing 07:13:52 f61d7f5234b3: Preparing 07:13:52 804bf2ddd2fd: Preparing 07:13:52 982a94be4375: Preparing 07:13:52 aedc3bda2944: Preparing 07:13:52 aedc3bda2944: Waiting 07:13:52 982a94be4375: Layer already exists 07:13:52 f61d7f5234b3: Layer already exists 07:13:52 40c43229fb52: Layer already exists 07:13:52 804bf2ddd2fd: Layer already exists 07:13:52 6587dc0b4110: Layer already exists 07:13:52 aedc3bda2944: Layer already exists 07:13:52 main: digest: sha256:f574fc80a09682209645ede480f2ec23b51635f7145b1d753f742e97bef028a7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:13:52 ===================================================== [Pipeline] echo 07:13:52 taggedImages: 07:13:52 - nexus3.edgexfoundry.org:10004/device-snmp:d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 07:13:52 - nexus3.edgexfoundry.org:10004/device-snmp:latest 07:13:52 - nexus3.edgexfoundry.org:10004/device-snmp:3.2.0-dev.7 07:13:52 - nexus3.edgexfoundry.org:10004/device-snmp:d897dc44ab7b6c3fb8a5af91365bcd11242d3d23-3.2.0-dev.7 07:13:52 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:13:53 07:13:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:13:53 latest: Pulling from edgex-lftools-log-publisher 07:13:53 5eb5b503b376: Pulling fs layer 07:13:53 5c69ac0246d0: Pulling fs layer 07:13:53 ec43610c2a17: Pulling fs layer 07:13:53 3a2ae6a8a46f: Pulling fs layer 07:13:53 33b1e0a273af: Pulling fs layer 07:13:53 5d3b04190fa2: Pulling fs layer 07:13:53 2f39f015ded8: Pulling fs layer 07:13:53 5d3b04190fa2: Waiting 07:13:53 33b1e0a273af: Waiting 07:13:53 3a2ae6a8a46f: Waiting 07:13:53 2f39f015ded8: Waiting 07:13:53 5c69ac0246d0: Verifying Checksum 07:13:53 5c69ac0246d0: Download complete 07:13:53 3a2ae6a8a46f: Verifying Checksum 07:13:53 3a2ae6a8a46f: Download complete 07:13:53 33b1e0a273af: Verifying Checksum 07:13:53 33b1e0a273af: Download complete 07:13:53 5d3b04190fa2: Verifying Checksum 07:13:53 5d3b04190fa2: Download complete 07:13:53 ec43610c2a17: Verifying Checksum 07:13:53 ec43610c2a17: Download complete 07:13:54 5eb5b503b376: Verifying Checksum 07:13:54 5eb5b503b376: Download complete 07:13:54 2f39f015ded8: Download complete 07:13:55 5eb5b503b376: Pull complete 07:13:55 5c69ac0246d0: Pull complete 07:13:56 ec43610c2a17: Pull complete 07:13:56 3a2ae6a8a46f: Pull complete 07:13:56 33b1e0a273af: Pull complete 07:13:56 5d3b04190fa2: Pull complete 07:14:01 2f39f015ded8: Pull complete 07:14:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:14:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:14:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:02 prd-ubuntu20.04-docker-8c-8g-5432 does not seem to be running inside a container 07:14:02 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:14:06 $ docker top 5eb76195ce7fc1c959905336f5f1dbf7359a9c84bf0388ff7b07d6acff96d484 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:06 ---> job-cost.sh 07:14:06 lf-activate-venv: SKIPPING 07:14:06 INFO: No Stack... 07:14:07 INFO: Retrieving Pricing Info for: v3-standard-8 07:14:07 INFO: Archiving Costs [Pipeline] sh 07:14:07 + + cut -d, -f6cat 07:14:07 /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [Pipeline] lock 07:14:07 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-107-stack-cost] 07:14:07 Resource [jenkins-edgexfoundry-device-snmp-go-main-107-stack-cost] did not exist. Created. 07:14:07 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:14:08 + echo total: 0.2199999988079071 [Pipeline] stash 07:14:08 Stashed 1 file(s) [Pipeline] } 07:14:08 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 07:14:08 $ docker stop --time=1 5eb76195ce7fc1c959905336f5f1dbf7359a9c84bf0388ff7b07d6acff96d484 07:14:09 $ docker rm -f --volumes 5eb76195ce7fc1c959905336f5f1dbf7359a9c84bf0388ff7b07d6acff96d484 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:14:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5435 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 07:14:26 Running in /w/workspace/device-snmp-go/107 [Pipeline] { [Pipeline] checkout 07:14:29 Selected Git installation does not exist. Using Default 07:14:29 The recommended git tool is: NONE 07:14:34 using credential edgex-jenkins-ssh 07:14:34 Cloning the remote Git repository 07:14:34 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:14:35 > git init /w/workspace/device-snmp-go/107 # timeout=10 07:14:35 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:14:35 > git --version # timeout=10 07:14:35 > git --version # 'git version 2.25.1' 07:14:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:14:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:14:37 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:14:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:14:37 Avoid second fetch 07:14:37 Checking out Revision d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 (main) 07:14:38 Commit message: "Merge pull request #343 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10" 07:14:37 > git config core.sparsecheckout # timeout=10 07:14:38 > git checkout -f d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:14:39 % Total % Received % Xferd Average Speed Time Time Time Current 07:14:39 Dload Upload Total Spent Left Speed 07:14:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 266k 0 --:--:-- --:--:-- --:--:-- 266k [Pipeline] sh 07:14:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:14:40 + sudo tee /etc/docker/daemon.new 07:14:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:14:40 { 07:14:40 "registry-mirrors": [ 07:14:40 "https://nexus3.edgexfoundry.org:10001" 07:14:40 ], 07:14:40 "bip": "10.250.0.254/24", 07:14:40 "hosts": [ 07:14:40 "tcp://0.0.0.0:5555", 07:14:40 "unix:///var/run/docker.sock" 07:14:40 ], 07:14:40 "mtu": 1458, 07:14:40 "selinux-enabled": true, 07:14:40 "seccomp-profile": "/etc/docker/seccomp.json" 07:14:40 } [Pipeline] sh 07:14:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:14:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:14:59 provisioning config files... 07:14:59 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/107@tmp/config332480378464515051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:59 ---> ****-login.sh 07:14:59 nexus3.edgexfoundry.org:10001 07:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:00 Configure a credential helper to remove this warning. See 07:15:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:00 07:15:00 Login Succeeded 07:15:00 nexus3.edgexfoundry.org:10002 07:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:01 Configure a credential helper to remove this warning. See 07:15:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:01 07:15:01 Login Succeeded 07:15:01 nexus3.edgexfoundry.org:10003 07:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:01 Configure a credential helper to remove this warning. See 07:15:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:01 07:15:01 Login Succeeded 07:15:01 nexus3.edgexfoundry.org:10004 07:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:01 Configure a credential helper to remove this warning. See 07:15:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:01 07:15:01 Login Succeeded 07:15:01 ****.io 07:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:02 Configure a credential helper to remove this warning. See 07:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:02 07:15:02 Login Succeeded 07:15:02 ---> ****-login.sh ends [Pipeline] } 07:15:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:15:03 ========================================================= 07:15:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:15:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:03 + 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 . 07:15:04 Sending build context to Docker daemon 7.149MB 07:15:04 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 07:15:04 Step 2/12 : FROM ${BASE} AS builder 07:15:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:15:04 9fda8d8052c6: Pulling fs layer 07:15:04 5d54e960e981: Pulling fs layer 07:15:04 c4a7e357bf2a: Pulling fs layer 07:15:04 f0e02332f6b5: Pulling fs layer 07:15:04 872ee5b61b7b: Pulling fs layer 07:15:04 0c6a40ed1a82: Pulling fs layer 07:15:04 94ae7d8d031c: Pulling fs layer 07:15:04 872ee5b61b7b: Waiting 07:15:04 0c6a40ed1a82: Waiting 07:15:04 94ae7d8d031c: Waiting 07:15:04 f0e02332f6b5: Waiting 07:15:04 5d54e960e981: Download complete 07:15:04 f0e02332f6b5: Verifying Checksum 07:15:04 f0e02332f6b5: Download complete 07:15:06 872ee5b61b7b: Verifying Checksum 07:15:06 872ee5b61b7b: Download complete 07:15:06 9fda8d8052c6: Verifying Checksum 07:15:06 9fda8d8052c6: Download complete 07:15:06 9fda8d8052c6: Pull complete 07:15:06 5d54e960e981: Pull complete 07:15:07 94ae7d8d031c: Verifying Checksum 07:15:07 94ae7d8d031c: Download complete 07:15:08 c4a7e357bf2a: Download complete 07:15:09 0c6a40ed1a82: Verifying Checksum 07:15:21 c4a7e357bf2a: Pull complete 07:15:22 f0e02332f6b5: Pull complete 07:15:22 872ee5b61b7b: Pull complete 07:15:32 0c6a40ed1a82: Pull complete 07:15:32 94ae7d8d031c: Pull complete 07:15:32 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 07:15:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:15:32 ---> 86de565de09d 07:15:32 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:15:34 ---> Running in 8e7748d6eea1 07:15:34 Removing intermediate container 8e7748d6eea1 07:15:34 ---> 9b7890aacd6f 07:15:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:15:34 ---> Running in 948f48a6aae4 07:15:35 Removing intermediate container 948f48a6aae4 07:15:35 ---> 60919ed47fa9 07:15:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:15:35 ---> Running in 3c145fcd984a 07:15:35 Removing intermediate container 3c145fcd984a 07:15:35 ---> fc2b16fc77ee 07:15:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:15:35 ---> Running in 7ee1ba2d37bb 07:15:35 Removing intermediate container 7ee1ba2d37bb 07:15:35 ---> f87b3170cd82 07:15:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:15:36 ---> Running in 925d35aedfa9 07:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:15:38 (1/4) Installing openssh-keygen (9.3_p2-r1) 07:15:38 (2/4) Installing libedit (20221030.3.1-r1) 07:15:38 (3/4) Installing openssh-client-common (9.3_p2-r1) 07:15:38 (4/4) Installing openssh-client-default (9.3_p2-r1) 07:15:38 Executing busybox-1.36.1-r5.trigger 07:15:38 OK: 271 MiB in 56 packages 07:15:40 Removing intermediate container 925d35aedfa9 07:15:40 ---> f58a6570d123 07:15:40 Step 8/12 : WORKDIR /device-snmp-go 07:15:40 ---> Running in 02f306015841 07:15:40 Removing intermediate container 02f306015841 07:15:40 ---> e76ea829e7af 07:15:40 Step 9/12 : COPY go.mod vendor* ./ 07:15:40 ---> be9bfa484c7b 07:15:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:15:40 ---> Running in e725f1cc334f 07:16:48 Removing intermediate container e725f1cc334f 07:16:48 ---> ae4096da1559 07:16:48 Step 11/12 : COPY . . 07:16:48 ---> 14daa1cf0452 07:16:48 Step 12/12 : RUN ${MAKE} 07:16:48 ---> Running in 0353310803d1 07:16:48 noop 07:16:48 Removing intermediate container 0353310803d1 07:16:48 ---> 901d70fdeacf 07:16:48 Successfully built 901d70fdeacf 07:16:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:49 + docker inspect -f . ci-base-image-arm64 07:16:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:49 prd-ubuntu20.04-docker-arm64-4c-16g-5435 does not seem to be running inside a container 07:16:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/107 -v /w/workspace/device-snmp-go/107:/w/workspace/device-snmp-go/107:rw,z -v /w/workspace/device-snmp-go/107@tmp:/w/workspace/device-snmp-go/107@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 07:16:51 $ docker top 20565c0d60a7bfd5223da63898d6890ccd6abe80e01c91a46922d237ff0d6bca -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:52 + go version 07:16:52 go version go1.21.0 linux/arm64 [Pipeline] } 07:16:52 $ docker stop --time=1 20565c0d60a7bfd5223da63898d6890ccd6abe80e01c91a46922d237ff0d6bca 07:16:54 $ docker rm -f --volumes 20565c0d60a7bfd5223da63898d6890ccd6abe80e01c91a46922d237ff0d6bca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:55 + docker inspect -f . ci-base-image-arm64 07:16:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:55 prd-ubuntu20.04-docker-arm64-4c-16g-5435 does not seem to be running inside a container 07:16:55 $ 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/107 -v /w/workspace/device-snmp-go/107:/w/workspace/device-snmp-go/107:rw,z -v /w/workspace/device-snmp-go/107@tmp:/w/workspace/device-snmp-go/107@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 07:16:56 $ docker top cc6b1e242ba674db35234c2472149ebbc14b839d57e3b15759394fdcae553a2c -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:57 + git config --global --add safe.directory /w/workspace/device-snmp-go/107 [Pipeline] fileExists [Pipeline] sh 07:16:58 + make test 07:16:58 go test ./... -coverprofile=coverage.out 07:17:01 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:18:38 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:18:38 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.038s coverage: 0.0% of statements 07:18:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:18:38 go vet ./... 07:19:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:19:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:19:00 ./bin/test-attribution-txt.sh 07:19:00 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 07:19:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:19:00 $ docker stop --time=1 cc6b1e242ba674db35234c2472149ebbc14b839d57e3b15759394fdcae553a2c 07:19:02 $ docker rm -f --volumes cc6b1e242ba674db35234c2472149ebbc14b839d57e3b15759394fdcae553a2c [Pipeline] // withDockerContainer [Pipeline] sh 07:19:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:19:03 Warning: overwriting stash ‘coverage-report’ 07:19:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:19:05 + ls -al . 07:19:05 total 168 07:19:05 drwxrwxr-x 7 jenkins jenkins 4096 Mar 11 07:17 . 07:19:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 07:14 .. 07:19:05 -rw-rw-r-- 1 jenkins jenkins 6 Mar 11 07:14 .dockerignore 07:19:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 07:14 .git 07:19:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 07:14 .github 07:19:05 -rw-rw-r-- 1 jenkins jenkins 263 Mar 11 07:14 .gitignore 07:19:05 -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 07:14 .golangci.yml 07:19:05 -rw-rw-r-- 1 jenkins jenkins 10025 Mar 11 07:14 Attribution.txt 07:19:05 -rw-rw-r-- 1 jenkins jenkins 11809 Mar 11 07:14 CHANGELOG.md 07:19:05 -rw-rw-r-- 1 jenkins jenkins 1571 Mar 11 07:14 Dockerfile 07:19:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 07:14 GOVERNANCE.md 07:19:05 -rw-rw-r-- 1 jenkins jenkins 656 Mar 11 07:14 Jenkinsfile 07:19:05 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 07:14 LICENSE 07:19:05 -rw-rw-r-- 1 jenkins jenkins 2240 Mar 11 07:14 Makefile 07:19:05 -rw-rw-r-- 1 jenkins jenkins 620 Mar 11 07:14 OWNERS.md 07:19:05 -rw-rw-r-- 1 jenkins jenkins 10477 Mar 11 07:14 README.md 07:19:05 -rw-rw-r-- 1 jenkins jenkins 11 Mar 11 07:11 VERSION 07:19:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 07:14 bin 07:19:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 07:14 cmd 07:19:05 -rw-r--r-- 1 jenkins jenkins 8837 Mar 11 07:18 coverage.out 07:19:05 -rw-rw-r-- 1 jenkins jenkins 3757 Mar 11 07:14 go.mod 07:19:05 -rw-rw-r-- 1 jenkins jenkins 35944 Mar 11 07:14 go.sum 07:19:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 07:14 internal 07:19:05 -rw-rw-r-- 1 jenkins jenkins 228 Mar 11 07:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:05 + 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=d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 --label arch=arm64 --label version=3.2.0-dev.7 . 07:19:05 Sending build context to Docker daemon 7.158MB 07:19:05 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 07:19:05 Step 2/25 : FROM ${BASE} AS builder 07:19:05 ---> 901d70fdeacf 07:19:05 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:19:06 ---> Running in f725ca20af4f 07:19:06 Removing intermediate container f725ca20af4f 07:19:06 ---> 8d98734c07c5 07:19:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:19:06 ---> Running in 0fa2b31e18b4 07:19:07 Removing intermediate container 0fa2b31e18b4 07:19:07 ---> 47e1df97bfd9 07:19:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:19:07 ---> Running in 398fa01b136a 07:19:07 Removing intermediate container 398fa01b136a 07:19:07 ---> ca49a3e84679 07:19:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:19:07 ---> Running in e303543a273d 07:19:07 Removing intermediate container e303543a273d 07:19:07 ---> 73974ea698ae 07:19:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:19:07 ---> Running in 8aca03c0947c 07:19:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:19:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:19:10 OK: 271 MiB in 56 packages 07:19:11 Removing intermediate container 8aca03c0947c 07:19:11 ---> 31576116d778 07:19:11 Step 8/25 : WORKDIR /device-snmp-go 07:19:11 ---> Running in 5935f05b1137 07:19:11 Removing intermediate container 5935f05b1137 07:19:11 ---> 7e97ccb365d1 07:19:11 Step 9/25 : COPY go.mod vendor* ./ 07:19:12 ---> b805bb94ea5a 07:19:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:19:12 ---> Running in 04130467b308 07:19:14 Removing intermediate container 04130467b308 07:19:14 ---> 9d94e7befac2 07:19:14 Step 11/25 : COPY . . 07:19:15 ---> 2c8e2a8ee9e7 07:19:15 Step 12/25 : RUN ${MAKE} 07:19:15 ---> Running in 0ef08a39ce31 07:19:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.2.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 07:21:23 Removing intermediate container 0ef08a39ce31 07:21:23 ---> bfab6ed98eb3 07:21:23 Step 13/25 : FROM alpine:3.18 07:21:23 3.18: Pulling from library/alpine 07:21:23 c6b39de5b339: Pulling fs layer 07:21:23 c6b39de5b339: Verifying Checksum 07:21:23 c6b39de5b339: Download complete 07:21:23 c6b39de5b339: Pull complete 07:21:23 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 07:21:23 Status: Downloaded newer image for alpine:3.18 07:21:23 ---> 33abbf032149 07:21:23 Step 14/25 : RUN apk add --update --no-cache dumb-init 07:21:23 ---> Running in f9897eb1d516 07:21:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:21:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:21:23 (1/1) Installing dumb-init (1.2.5-r2) 07:21:23 Executing busybox-1.36.1-r5.trigger 07:21:23 OK: 8 MiB in 16 packages 07:21:23 Removing intermediate container f9897eb1d516 07:21:23 ---> f2efdbc7625a 07:21:23 Step 15/25 : RUN apk --no-cache upgrade 07:21:23 ---> Running in da8eeb3f8259 07:21:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:21:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:21:23 OK: 8 MiB in 16 packages 07:21:23 Removing intermediate container da8eeb3f8259 07:21:23 ---> b5c75934f64b 07:21:23 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 07:21:23 ---> e7643fe1ebbc 07:21:23 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:21:23 ---> 40c3d149a5a9 07:21:23 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 07:21:23 ---> 73886100d3fb 07:21:23 Step 19/25 : EXPOSE 59993 07:21:23 ---> Running in 54513b7daefe 07:21:23 Removing intermediate container 54513b7daefe 07:21:23 ---> 21a40f97c04e 07:21:23 Step 20/25 : EXPOSE 161 07:21:23 ---> Running in 1dfe527f2f01 07:21:23 Removing intermediate container 1dfe527f2f01 07:21:23 ---> e65ac173f769 07:21:23 Step 21/25 : ENTRYPOINT ["/device-snmp"] 07:21:23 ---> Running in c85dbbf77aba 07:21:23 Removing intermediate container c85dbbf77aba 07:21:23 ---> c2670899e314 07:21:23 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:21:23 ---> Running in f549cb72e270 07:21:23 Removing intermediate container f549cb72e270 07:21:23 ---> 39003bec952b 07:21:23 Step 23/25 : LABEL arch=arm64 07:21:23 ---> Running in 4b8eea9bbbf9 07:21:23 Removing intermediate container 4b8eea9bbbf9 07:21:23 ---> 3b51ebe58517 07:21:23 Step 24/25 : LABEL git_sha=d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 07:21:23 ---> Running in d18728d5c693 07:21:23 Removing intermediate container d18728d5c693 07:21:23 ---> 8dac9ad7fcbe 07:21:23 Step 25/25 : LABEL version=3.2.0-dev.7 07:21:23 ---> Running in edafeab91641 07:21:23 Removing intermediate container edafeab91641 07:21:23 ---> 96a860fe3c9c 07:21:23 [Warning] One or more build-args [ARCH] were not consumed 07:21:23 Successfully built 96a860fe3c9c 07:21:23 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 07:21:23 provisioning config files... 07:21:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/107@tmp/config4060583080272046226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:21:24 ---> ****-login.sh 07:21:24 nexus3.edgexfoundry.org:10001 07:21:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:21:24 Configure a credential helper to remove this warning. See 07:21:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:21:24 07:21:24 Login Succeeded 07:21:24 nexus3.edgexfoundry.org:10002 07:21:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:21:24 Configure a credential helper to remove this warning. See 07:21:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:21:24 07:21:24 Login Succeeded 07:21:24 nexus3.edgexfoundry.org:10003 07:21:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:21:25 Configure a credential helper to remove this warning. See 07:21:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:21:25 07:21:25 Login Succeeded 07:21:25 nexus3.edgexfoundry.org:10004 07:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:21:25 Configure a credential helper to remove this warning. See 07:21:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:21:25 07:21:25 Login Succeeded 07:21:25 ****.io 07:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:21:26 Configure a credential helper to remove this warning. See 07:21:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:21:26 07:21:26 Login Succeeded 07:21:26 ---> ****-login.sh ends [Pipeline] } 07:21:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:21:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:21:26 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 07:21:26 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 07:21:26 latest 07:21:26 3.2.0-dev.7 07:21:26 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23-3.2.0-dev.7 07:21:26 main 07:21:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:26 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:27 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 07:21:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:21:27 c9f8ffa76e13: Preparing 07:21:27 77602cbd43c5: Preparing 07:21:27 d3f40cb28125: Preparing 07:21:27 040aff7e9ab0: Preparing 07:21:27 a055080e07a7: Preparing 07:21:27 7c504f21be85: Preparing 07:21:27 7c504f21be85: Waiting 07:21:27 77602cbd43c5: Pushed 07:21:27 040aff7e9ab0: Pushed 07:21:27 7c504f21be85: Layer already exists 07:21:27 c9f8ffa76e13: Pushed 07:21:27 a055080e07a7: Pushed 07:21:32 d3f40cb28125: Pushed 07:21:32 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23: digest: sha256:a306b8f662b23b4b843c6a72ffb75dde5ebf44189d01dd6d3f448926afbdc1ea size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:33 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:33 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 07:21:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:21:33 c9f8ffa76e13: Preparing 07:21:33 77602cbd43c5: Preparing 07:21:33 d3f40cb28125: Preparing 07:21:33 040aff7e9ab0: Preparing 07:21:33 a055080e07a7: Preparing 07:21:33 7c504f21be85: Preparing 07:21:33 7c504f21be85: Waiting 07:21:33 c9f8ffa76e13: Layer already exists 07:21:33 040aff7e9ab0: Layer already exists 07:21:33 d3f40cb28125: Layer already exists 07:21:33 a055080e07a7: Layer already exists 07:21:33 77602cbd43c5: Layer already exists 07:21:33 7c504f21be85: Layer already exists 07:21:34 latest: digest: sha256:a306b8f662b23b4b843c6a72ffb75dde5ebf44189d01dd6d3f448926afbdc1ea size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:34 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:35 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.2.0-dev.7 07:21:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:21:35 c9f8ffa76e13: Preparing 07:21:35 77602cbd43c5: Preparing 07:21:35 d3f40cb28125: Preparing 07:21:35 040aff7e9ab0: Preparing 07:21:35 a055080e07a7: Preparing 07:21:35 7c504f21be85: Preparing 07:21:35 7c504f21be85: Waiting 07:21:35 d3f40cb28125: Layer already exists 07:21:35 040aff7e9ab0: Layer already exists 07:21:35 c9f8ffa76e13: Layer already exists 07:21:35 a055080e07a7: Layer already exists 07:21:35 77602cbd43c5: Layer already exists 07:21:35 7c504f21be85: Layer already exists 07:21:35 3.2.0-dev.7: digest: sha256:a306b8f662b23b4b843c6a72ffb75dde5ebf44189d01dd6d3f448926afbdc1ea size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:35 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d897dc44ab7b6c3fb8a5af91365bcd11242d3d23-3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:36 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d897dc44ab7b6c3fb8a5af91365bcd11242d3d23-3.2.0-dev.7 07:21:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:21:36 c9f8ffa76e13: Preparing 07:21:36 77602cbd43c5: Preparing 07:21:36 d3f40cb28125: Preparing 07:21:36 040aff7e9ab0: Preparing 07:21:36 a055080e07a7: Preparing 07:21:36 7c504f21be85: Preparing 07:21:36 7c504f21be85: Waiting 07:21:36 040aff7e9ab0: Layer already exists 07:21:36 d3f40cb28125: Layer already exists 07:21:36 a055080e07a7: Layer already exists 07:21:36 c9f8ffa76e13: Layer already exists 07:21:36 77602cbd43c5: Layer already exists 07:21:36 7c504f21be85: Layer already exists 07:21:36 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23-3.2.0-dev.7: digest: sha256:a306b8f662b23b4b843c6a72ffb75dde5ebf44189d01dd6d3f448926afbdc1ea size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:37 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:37 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 07:21:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:21:37 c9f8ffa76e13: Preparing 07:21:37 77602cbd43c5: Preparing 07:21:37 d3f40cb28125: Preparing 07:21:37 040aff7e9ab0: Preparing 07:21:37 a055080e07a7: Preparing 07:21:37 7c504f21be85: Preparing 07:21:37 7c504f21be85: Waiting 07:21:37 77602cbd43c5: Layer already exists 07:21:37 a055080e07a7: Layer already exists 07:21:37 040aff7e9ab0: Layer already exists 07:21:37 c9f8ffa76e13: Layer already exists 07:21:37 d3f40cb28125: Layer already exists 07:21:37 7c504f21be85: Layer already exists 07:21:37 main: digest: sha256:a306b8f662b23b4b843c6a72ffb75dde5ebf44189d01dd6d3f448926afbdc1ea size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:21:38 ===================================================== [Pipeline] echo 07:21:38 taggedImages: 07:21:38 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 07:21:38 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 07:21:38 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.2.0-dev.7 07:21:38 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d897dc44ab7b6c3fb8a5af91365bcd11242d3d23-3.2.0-dev.7 07:21:38 - 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 07:21:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:21:39 07:21:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:21:39 arm64: Pulling from edgex-lftools-log-publisher 07:21:39 8998bd30e6a1: Pulling fs layer 07:21:39 04944245beec: Pulling fs layer 07:21:39 699f458cf7ca: Pulling fs layer 07:21:39 765212b225bb: Pulling fs layer 07:21:39 f23df028b6ca: Pulling fs layer 07:21:39 d65c8cfc05b1: Pulling fs layer 07:21:39 2437ff75d9bd: Pulling fs layer 07:21:39 765212b225bb: Waiting 07:21:39 f23df028b6ca: Waiting 07:21:39 d65c8cfc05b1: Waiting 07:21:39 2437ff75d9bd: Waiting 07:21:39 04944245beec: Verifying Checksum 07:21:39 04944245beec: Download complete 07:21:39 765212b225bb: Verifying Checksum 07:21:39 765212b225bb: Download complete 07:21:39 f23df028b6ca: Verifying Checksum 07:21:39 f23df028b6ca: Download complete 07:21:39 d65c8cfc05b1: Verifying Checksum 07:21:39 d65c8cfc05b1: Download complete 07:21:40 699f458cf7ca: Verifying Checksum 07:21:40 699f458cf7ca: Download complete 07:21:40 8998bd30e6a1: Verifying Checksum 07:21:40 8998bd30e6a1: Download complete 07:21:43 2437ff75d9bd: Verifying Checksum 07:21:43 2437ff75d9bd: Download complete 07:21:45 8998bd30e6a1: Pull complete 07:21:45 04944245beec: Pull complete 07:21:47 699f458cf7ca: Pull complete 07:21:47 765212b225bb: Pull complete 07:21:48 f23df028b6ca: Pull complete 07:21:48 d65c8cfc05b1: Pull complete 07:22:06 2437ff75d9bd: Pull complete 07:22:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:22:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:15 prd-ubuntu20.04-docker-arm64-4c-16g-5435 does not seem to be running inside a container 07:22:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/107 -v /w/workspace/device-snmp-go/107:/w/workspace/device-snmp-go/107:rw,z -v /w/workspace/device-snmp-go/107@tmp:/w/workspace/device-snmp-go/107@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 07:22:17 $ docker top 4a86c775dbedda177c69ba280a6cd71ae7c8ab71d6b171e136b48452f2183154 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:18 ---> job-cost.sh 07:22:18 lf-activate-venv: SKIPPING 07:22:18 INFO: No Stack... 07:22:18 INFO: Retrieving Pricing Info for: v3-standard-4 07:22:19 INFO: Archiving Costs [Pipeline] sh 07:22:20 + cat /w/workspace/device-snmp-go/107/archives/cost.csv 07:22:20 + cut -d, -f6 [Pipeline] lock 07:22:20 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-107-stack-cost] 07:22:20 Resource [jenkins-edgexfoundry-device-snmp-go-main-107-stack-cost] did not exist. Created. 07:22:20 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:22:20 /w/workspace/device-snmp-go/107@tmp/durable-6710be2c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:22:21 + echo total: 0.10999999940395355 [Pipeline] stash 07:22:21 Warning: overwriting stash ‘stack-cost’ 07:22:21 Stashed 1 file(s) [Pipeline] } 07:22:21 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 07:22:21 $ docker stop --time=1 4a86c775dbedda177c69ba280a6cd71ae7c8ab71d6b171e136b48452f2183154 07:22:22 $ docker rm -f --volumes 4a86c775dbedda177c69ba280a6cd71ae7c8ab71d6b171e136b48452f2183154 [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 07:22:24 provisioning config files... 07:22:24 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16670159725823090497tmp [Pipeline] { [Pipeline] sh 07:22:24 + set +x 07:22:24 + curl -s https://codecov.io/bash 07:22:24 + bash -s -- 07:22:24 07:22:24 _____ _ 07:22:24 / ____| | | 07:22:24 | | ___ __| | ___ ___ _____ __ 07:22:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:22:24 | |___| (_) | (_| | __/ (_| (_) \ V / 07:22:24 \_____\___/ \__,_|\___|\___\___/ \_/ 07:22:24 Bash-1.0.6 07:22:24 07:22:24 07:22:24 ==> git version 2.25.1 found 07:22:24 ==> 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 07:22:24 Release-Date: 2020-01-08 07:22:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:22:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:22:24 ==> Jenkins CI detected. 07:22:24 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 07:22:24 project root: . 07:22:24 --> token set from env 07:22:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:22:24 ==> Running gcov in . (disable via -X gcov) 07:22:24 ==> Python coveragepy not found 07:22:24 ==> Searching for coverage reports in: 07:22:24 + . 07:22:24 -> Found 1 reports 07:22:24 ==> Detecting git/mercurial file structure 07:22:24 ==> Reading reports 07:22:24 + ./coverage.out bytes=8837 07:22:24 ==> Appending adjustments 07:22:24 https://docs.codecov.io/docs/fixing-reports 07:22:24 + Found adjustments 07:22:24 ==> Gzipping contents 07:22:24 4.0K /tmp/codecov.8bcQSu.gz 07:22:24 ==> Uploading reports 07:22:24 url: https://codecov.io 07:22:24 query: branch=main&commit=d897dc44ab7b6c3fb8a5af91365bcd11242d3d23&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:22:24 -> Pinging Codecov 07:22:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=d897dc44ab7b6c3fb8a5af91365bcd11242d3d23&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:22:25 -> Uploading to 07:22:25 https://storage.googleapis.com/codecov/v4/raw/2024-03-11/6C56EA5C29638FB4528AC87E60AF5AE0/d897dc44ab7b6c3fb8a5af91365bcd11242d3d23/c63f1b8e-adb2-42b1-b63a-01c95704deb2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240311%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240311T072224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5bdd2c16880b81c517b83f388d0ea378eb8d0c0cd977b5e4f05dc6d05a408cb6 07:22:25 % Total % Received % Xferd Average Speed Time Time Time Current 07:22:25 Dload Upload Total Spent Left Speed 07:22:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5605 --:--:-- --:--:-- --:--:-- 5605 07:22:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 [Pipeline] } 07:22:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:22:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:22:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:22:26 07:22:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:22:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:22:26 df9b9388f04a: Pulling fs layer 07:22:26 52dc419b0ee2: Pulling fs layer 07:22:26 25bc292e5bac: Pulling fs layer 07:22:26 114826534d7a: Pulling fs layer 07:22:26 4657fd5d0bcf: Pulling fs layer 07:22:26 6ad1cebc031e: Pulling fs layer 07:22:26 8a3aa393b2d8: Pulling fs layer 07:22:26 114826534d7a: Waiting 07:22:26 4657fd5d0bcf: Waiting 07:22:26 6ad1cebc031e: Waiting 07:22:26 8a3aa393b2d8: Waiting 07:22:26 25bc292e5bac: Verifying Checksum 07:22:26 25bc292e5bac: Download complete 07:22:26 52dc419b0ee2: Verifying Checksum 07:22:26 52dc419b0ee2: Download complete 07:22:26 4657fd5d0bcf: Verifying Checksum 07:22:26 4657fd5d0bcf: Download complete 07:22:26 df9b9388f04a: Download complete 07:22:26 6ad1cebc031e: Verifying Checksum 07:22:26 6ad1cebc031e: Download complete 07:22:26 df9b9388f04a: Pull complete 07:22:26 52dc419b0ee2: Pull complete 07:22:26 25bc292e5bac: Pull complete 07:22:27 114826534d7a: Verifying Checksum 07:22:27 114826534d7a: Download complete 07:22:27 8a3aa393b2d8: Verifying Checksum 07:22:27 8a3aa393b2d8: Download complete 07:22:30 114826534d7a: Pull complete 07:22:31 4657fd5d0bcf: Pull complete 07:22:31 6ad1cebc031e: Pull complete 07:22:35 8a3aa393b2d8: Pull complete 07:22:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:22:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:22:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:35 prd-ubuntu20.04-docker-8c-8g-5432 does not seem to be running inside a container 07:22:35 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:22:39 $ docker top 791001edcc061bb460112fe727e5efabfc68472788ad66afa3942d5aa23a3f9c -eo pid,comm [Pipeline] { [Pipeline] echo 07:22:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 07:22:40 + set -o pipefail 07:22:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 07:22:45 07:22:45 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 07:22:45 07:22:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/e1297568-9a4a-464f-97c9-0de2fa5863c4 07:22:45 07:22:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:22:45 07:22:46 07:22:46 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:22:46 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:22:46 More details here: https://snyk.co/ue1NS [Pipeline] } 07:22:46 $ docker stop --time=1 791001edcc061bb460112fe727e5efabfc68472788ad66afa3942d5aa23a3f9c 07:22:49 $ docker rm -f --volumes 791001edcc061bb460112fe727e5efabfc68472788ad66afa3942d5aa23a3f9c [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 07:23:17 + git log --format=format:%s -1 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 [Pipeline] sh 07:23:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:23:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:23:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:29 prd-ubuntu20.04-docker-8c-8g-5432 does not seem to be running inside a container 07:23:29 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:23:29 $ docker top f47ac5001d9717bf74879afc8ecdcc9f90f420a64eb89b234da539d139572e5a -eo pid,comm 07:23:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:23:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:23:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:52 [ssh-agent] Looking for ssh-agent implementation... 07:23:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:52 $ docker exec f47ac5001d9717bf74879afc8ecdcc9f90f420a64eb89b234da539d139572e5a ssh-agent 07:23:52 SSH_AUTH_SOCK=/tmp/ssh-ECHz1Fj2dKzb/agent.31 07:23:52 SSH_AGENT_PID=37 07:23:52 Running ssh-add (command line suppressed) 07:23:52 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1744197973458191734.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1744197973458191734.key) 07:23:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:53 + git semver tag 07:23:53 2024-03-11 07:23:53,459 [run_tag] DEBUG tag force:False 07:23:53 2024-03-11 07:23:53,459 [check_head_tag] DEBUG check head tag 07:23:53 2024-03-11 07:23:53,460 [execute] INFO git cat-file --batch-check 07:23:53 2024-03-11 07:23:53,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 07:23:53 2024-03-11 07:23:53,464 [execute] INFO git cat-file --batch 07:23:53 2024-03-11 07:23:53,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 07:23:53 2024-03-11 07:23:53,477 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:23:53 2024-03-11 07:23:53,478 [execute] INFO git tag -a v3.2.0-dev.7 -m v3.2.0-dev.7 07:23:53 2024-03-11 07:23:53,478 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.7', '-m', 'v3.2.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 07:23:53 2024-03-11 07:23:53,483 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:23:53 3.2.0-dev.7 [Pipeline] } 07:23:53 $ docker exec --env ******** --env ******** f47ac5001d9717bf74879afc8ecdcc9f90f420a64eb89b234da539d139572e5a ssh-agent -k 07:23:53 unset SSH_AUTH_SOCK; 07:23:53 unset SSH_AGENT_PID; 07:23:53 echo Agent pid 37 killed; 07:23:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:23:54 + git semver [Pipeline] } 07:23:54 $ docker stop --time=1 f47ac5001d9717bf74879afc8ecdcc9f90f420a64eb89b234da539d139572e5a 07:23:55 $ docker rm -f --volumes f47ac5001d9717bf74879afc8ecdcc9f90f420a64eb89b234da539d139572e5a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:23:56 07:23:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:23:56 0.23.1-centos7: Pulling from edgex-lftools 07:23:56 ab5ef0e58194: Pulling fs layer 07:23:56 9712f1f96733: Pulling fs layer 07:23:56 63f879dbbcfc: Pulling fs layer 07:23:56 0d9ebad4ef96: Pulling fs layer 07:23:56 e9a5061849ea: Pulling fs layer 07:23:56 d747dcd14b5f: Pulling fs layer 07:23:56 2de7ff778b66: Pulling fs layer 07:23:56 0d9ebad4ef96: Waiting 07:23:56 e9a5061849ea: Waiting 07:23:56 d747dcd14b5f: Waiting 07:23:56 2de7ff778b66: Waiting 07:23:57 9712f1f96733: Verifying Checksum 07:23:57 9712f1f96733: Download complete 07:23:57 63f879dbbcfc: Verifying Checksum 07:23:57 63f879dbbcfc: Download complete 07:23:57 e9a5061849ea: Verifying Checksum 07:23:57 e9a5061849ea: Download complete 07:23:57 ab5ef0e58194: Verifying Checksum 07:23:57 ab5ef0e58194: Download complete 07:23:57 0d9ebad4ef96: Verifying Checksum 07:23:57 0d9ebad4ef96: Download complete 07:23:57 2de7ff778b66: Verifying Checksum 07:23:57 2de7ff778b66: Download complete 07:24:01 ab5ef0e58194: Pull complete 07:24:01 9712f1f96733: Pull complete 07:24:01 63f879dbbcfc: Pull complete 07:24:05 0d9ebad4ef96: Pull complete 07:24:05 e9a5061849ea: Pull complete 07:24:05 d747dcd14b5f: Pull complete 07:24:07 2de7ff778b66: Pull complete 07:24:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:24:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:24:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:24:07 prd-ubuntu20.04-docker-8c-8g-5432 does not seem to be running inside a container 07:24:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:24:15 $ docker top 6169b11f43153f74230c4711a14a7a23c098adea703eb408c4ed5ed1f911ce4f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:24:17 provisioning config files... 07:24:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8417952831119005228tmp 07:24:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1874456570579982259tmp 07:24:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3418337526153728828tmp [Pipeline] { [Pipeline] echo 07:24:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:24:18 ---> sigul-configuration.sh 07:24:18 gpg: directory `/root/.gnupg' created 07:24:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:24:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:24:18 gpg: keyring `/root/.gnupg/secring.gpg' created 07:24:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:24:18 gpg: CAST5 encrypted data 07:24:18 gpg: encrypted with 1 passphrase 07:24:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:24:18 + mkdir /home/jenkins 07:24:18 + mkdir /home/jenkins/sigul [Pipeline] sh 07:24:18 + 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 07:24:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:24:18 ---> sigul-install.sh 07:24:18 Sigul already installed; skipping installation. [Pipeline] sh 07:24:19 + git tag --list 07:24:19 1.0.0 07:24:19 v0.0.0 07:24:19 v1.1.0 07:24:19 v1.1.1 07:24:19 v1.2.2 07:24:19 v1.3.0 07:24:19 v1.3.1 07:24:19 v2.0.0 07:24:19 v2.1.0 07:24:19 v2.1.1 07:24:19 v2.2.0 07:24:19 v2.3.0 07:24:19 v3.0 07:24:19 v3.0.0 07:24:19 v3.1 07:24:19 v3.1.0 07:24:19 v3.1.0-dev.1 07:24:19 v3.1.0-dev.10 07:24:19 v3.1.0-dev.11 07:24:19 v3.1.0-dev.12 07:24:19 v3.1.0-dev.13 07:24:19 v3.1.0-dev.2 07:24:19 v3.1.0-dev.3 07:24:19 v3.1.0-dev.4 07:24:19 v3.1.0-dev.5 07:24:19 v3.1.0-dev.6 07:24:19 v3.1.0-dev.7 07:24:19 v3.1.0-dev.8 07:24:19 v3.1.0-dev.9 07:24:19 v3.2.0-dev.1 07:24:19 v3.2.0-dev.2 07:24:19 v3.2.0-dev.3 07:24:19 v3.2.0-dev.4 07:24:19 v3.2.0-dev.5 07:24:19 v3.2.0-dev.6 07:24:19 v3.2.0-dev.7 [Pipeline] sh 07:24:19 + lftools sign git-tag v3.2.0-dev.7 07:24:20 Signing Git tag with Sigul... 07:24:20 Signing v3.2.0-dev.7 [Pipeline] echo 07:24:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:24:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:24:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:24:20 $ docker stop --time=1 6169b11f43153f74230c4711a14a7a23c098adea703eb408c4ed5ed1f911ce4f 07:24:22 $ docker rm -f --volumes 6169b11f43153f74230c4711a14a7a23c098adea703eb408c4ed5ed1f911ce4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:24:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:24:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:24:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:24:24 prd-ubuntu20.04-docker-8c-8g-5432 does not seem to be running inside a container 07:24:24 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:24:24 $ docker top 0c6fb9e6dae42074f7a281b9b287e5414df966e830451e353b09204e917fc56a -eo pid,comm 07:24:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:24:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:24:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:24:25 [ssh-agent] Looking for ssh-agent implementation... 07:24:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:24:25 $ docker exec 0c6fb9e6dae42074f7a281b9b287e5414df966e830451e353b09204e917fc56a ssh-agent 07:24:25 SSH_AUTH_SOCK=/tmp/ssh-1IjzQ6iD2yBv/agent.31 07:24:25 SSH_AGENT_PID=37 07:24:25 Running ssh-add (command line suppressed) 07:24:25 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9053912246198856674.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9053912246198856674.key) 07:24:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:24:25 + git semver bump pre 07:24:26 2024-03-11 07:24:26,057 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:24:26 2024-03-11 07:24:26,057 [bump_version] DEBUG bumping version:3.2.0-dev.7 on axis:pre with prefix:dev 07:24:26 2024-03-11 07:24:26,057 [bump_version] DEBUG bumped version:3.2.0-dev.8 07:24:26 2024-03-11 07:24:26,057 [write_version] DEBUG write version:3.2.0-dev.8 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 07:24:26 2024-03-11 07:24:26,057 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:24:26 2024-03-11 07:24:26,057 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:24:26 2024-03-11 07:24:26,059 [execute] INFO git cat-file --batch-check 07:24:26 2024-03-11 07:24:26,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:24:26 2024-03-11 07:24:26,065 [execute] INFO git cat-file --batch 07:24:26 2024-03-11 07:24:26,065 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:24:26 2024-03-11 07:24:26,072 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:24:26 3.2.0-dev.8 [Pipeline] } 07:24:26 $ docker exec --env ******** --env ******** 0c6fb9e6dae42074f7a281b9b287e5414df966e830451e353b09204e917fc56a ssh-agent -k 07:24:26 unset SSH_AUTH_SOCK; 07:24:26 unset SSH_AGENT_PID; 07:24:26 echo Agent pid 37 killed; 07:24:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:24:27 + git semver [Pipeline] } 07:24:27 $ docker stop --time=1 0c6fb9e6dae42074f7a281b9b287e5414df966e830451e353b09204e917fc56a 07:24:28 $ docker rm -f --volumes 0c6fb9e6dae42074f7a281b9b287e5414df966e830451e353b09204e917fc56a [Pipeline] // withDockerContainer [Pipeline] sh 07:24:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:24:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:24:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:24:29 prd-ubuntu20.04-docker-8c-8g-5432 does not seem to be running inside a container 07:24:29 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:24:30 $ docker top 9268b49c052871094aac61946422060ae943413bd22807789f928598205227e0 -eo pid,comm 07:24:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:24:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:24:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:24:31 [ssh-agent] Looking for ssh-agent implementation... 07:24:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:24:31 $ docker exec 9268b49c052871094aac61946422060ae943413bd22807789f928598205227e0 ssh-agent 07:24:31 SSH_AUTH_SOCK=/tmp/ssh-YXCQ8qKU8zWN/agent.21 07:24:31 SSH_AGENT_PID=27 07:24:31 Running ssh-add (command line suppressed) 07:24:31 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11122248428722452717.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11122248428722452717.key) 07:24:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:24:31 + git semver push 07:24:32 2024-03-11 07:24:32,098 [run_push] DEBUG push 07:24:32 2024-03-11 07:24:32,098 [execute] INFO git cat-file --batch-check 07:24:32 2024-03-11 07:24:32,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:24:32 2024-03-11 07:24:32,103 [execute] INFO git rev-list 839075995ad228943020a2ff5468547a7a808099 -- 07:24:32 2024-03-11 07:24:32,104 [execute] DEBUG Popen(['git', 'rev-list', '839075995ad228943020a2ff5468547a7a808099', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:24:32 2024-03-11 07:24:32,112 [execute] INFO git fetch -v origin 07:24:32 2024-03-11 07:24:32,112 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:24:32 2024-03-11 07:24:32,611 [run_push] DEBUG no remote changes detected 07:24:32 2024-03-11 07:24:32,611 [execute] INFO git push origin semver 07:24:32 2024-03-11 07:24:32,612 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:24:33 2024-03-11 07:24:33,273 [run_push] DEBUG push all version tags 07:24:33 2024-03-11 07:24:33,274 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:24:33 2024-03-11 07:24:33,274 [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) 07:24:34 2024-03-11 07:24:33,951 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:24:34 3.2.0-dev.8 [Pipeline] } 07:24:34 $ docker exec --env ******** --env ******** 9268b49c052871094aac61946422060ae943413bd22807789f928598205227e0 ssh-agent -k 07:24:34 unset SSH_AUTH_SOCK; 07:24:34 unset SSH_AGENT_PID; 07:24:34 echo Agent pid 27 killed; 07:24:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:24:34 + git semver [Pipeline] } 07:24:35 $ docker stop --time=1 9268b49c052871094aac61946422060ae943413bd22807789f928598205227e0 07:24:36 $ docker rm -f --volumes 9268b49c052871094aac61946422060ae943413bd22807789f928598205227e0 [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 07:24:38 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 07:24:38 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 07:24:38 total 16 07:24:38 drwxr-xr-x 3 root root 4096 Mar 11 07:14 . 07:24:38 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 07:24 .. 07:24:38 drwxr-xr-x 2 root root 4096 Mar 11 07:14 cost 07:24:38 -rw-r--r-- 1 root root 86 Mar 11 07:14 cost.csv 07:24:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 07:24:38 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 07:24:38 total 16 07:24:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 07:14 . 07:24:38 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 07:24 .. 07:24:38 drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 07:14 cost 07:24:38 -rw-r--r-- 1 jenkins jenkins 86 Mar 11 07:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:24:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:24:39 ---> package-listing.sh 07:24:39 ++ facter osfamily 07:24:39 ++ tr '[:upper:]' '[:lower:]' 07:24:40 + OS_FAMILY=debian 07:24:40 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 07:24:40 + START_PACKAGES=/tmp/packages_start.txt 07:24:40 + END_PACKAGES=/tmp/packages_end.txt 07:24:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:24:40 + PACKAGES=/tmp/packages_start.txt 07:24:40 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 07:24:40 + PACKAGES=/tmp/packages_end.txt 07:24:40 + case "${OS_FAMILY}" in 07:24:40 + dpkg -l 07:24:40 + grep '^ii' 07:24:40 + '[' -f /tmp/packages_start.txt ']' 07:24:40 + '[' -f /tmp/packages_end.txt ']' 07:24:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:24:40 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 07:24:40 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 07:24:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 07:24:40 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 07:24:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:24:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:24:41 prd-ubuntu20.04-docker-8c-8g-5432 does not seem to be running inside a container 07:24:41 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:24:41 $ docker top 8041469a08677d91f51c08c1a44f05727d824bf621096082c5eae20369e39821 -eo pid,comm [Pipeline] { [Pipeline] sh 07:24:42 + touch /tmp/pre-build-complete [Pipeline] sh 07:24:42 + mkdir -p /var/log/sysstat [Pipeline] sh 07:24:42 + ls /var/log/sa-host 07:24:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:24:42 provisioning config files... 07:24:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12689729438774602707tmp [Pipeline] { [Pipeline] echo 07:24:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:24:43 ---> create-netrc.sh [Pipeline] } 07:24:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:24:43 ---> python-tools-install.sh [Pipeline] echo 07:24:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:24:43 ---> sudo-logs.sh 07:24:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:24:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:24:44 ---> job-cost.sh 07:24:44 lf-activate-venv: SKIPPING 07:24:44 DEBUG: total: 0.2199999988079071 07:24:44 INFO: Retrieving Stack Cost... 07:24:44 INFO: Retrieving Pricing Info for: v3-standard-8 07:24:45 INFO: Archiving Costs [Pipeline] echo 07:24:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:24:45 ---> logs-deploy.sh 07:24:45 lf-activate-venv: SKIPPING 07:24:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/107 07:24:45 INFO: archiving workspace using pattern(s): 07:24:46 Archives upload complete. 07:24:46 INFO: archiving logs to Nexus