Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 224900f6885e44699053c83c13a1a421d11bcb33 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-ssh17022414644507375442.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3690461631577135621.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh1564973221293233890.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh1430517775194679221.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-ssh10982403180969580454.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4971 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 224900f6885e44699053c83c13a1a421d11bcb33 (main) Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#270)" > 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 224900f6885e44699053c83c13a1a421d11bcb33 # timeout=10 > git rev-list --no-walk 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:25:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:25:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:25:52 ========================================================= 22:25:52 EdgeX Global Pipelines Version Info 22:25:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:25:53 ------------------- 22:25:53 stable info: 22:25:53 ------------------- 22:25:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:25:53 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:25:53 Message: update stable to v1.0.245 22:25:53 ------------------- 22:25:53 experimental info: 22:25:53 ------------------- 22:25:53 Commited By: **** collab-it+edgex@linuxfoundation.org 22:25:53 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 22:25:53 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:25:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 22:25:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 22:25:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:25:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:25:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:25:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 224900f6885e44699053c83c13a1a421d11bcb33 [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 224900f [Pipeline] echo 22:25:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:54 provisioning config files... 22:25:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13408442093829494414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:54 ---> docker-login.sh 22:25:54 nexus3.edgexfoundry.org:10001 22:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:54 Configure a credential helper to remove this warning. See 22:25:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:54 22:25:54 Login Succeeded 22:25:54 nexus3.edgexfoundry.org:10002 22:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:55 Configure a credential helper to remove this warning. See 22:25:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:55 22:25:55 Login Succeeded 22:25:55 nexus3.edgexfoundry.org:10003 22:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:55 Configure a credential helper to remove this warning. See 22:25:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:55 22:25:55 Login Succeeded 22:25:55 nexus3.edgexfoundry.org:10004 22:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:55 Configure a credential helper to remove this warning. See 22:25:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:55 22:25:55 Login Succeeded 22:25:55 docker.io 22:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:55 Configure a credential helper to remove this warning. See 22:25:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:55 22:25:55 Login Succeeded 22:25:55 ---> docker-login.sh ends [Pipeline] } 22:25:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:25:56 + git rev-list -1 --merges 224900f6885e44699053c83c13a1a421d11bcb33~1..224900f6885e44699053c83c13a1a421d11bcb33 [Pipeline] echo 22:25:56 -----------> git rev-list -1 --merges 224900f6885e44699053c83c13a1a421d11bcb33~1..224900f6885e44699053c83c13a1a421d11bcb33 224900f6885e44699053c83c13a1a421d11bcb33 [false] [Pipeline] sh 22:25:56 + git log --format=format:%s -1 224900f6885e44699053c83c13a1a421d11bcb33 [Pipeline] echo 22:25:56 ========================================================= 22:25:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:25:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:25:56 + git log --format=format:%s -1 224900f6885e44699053c83c13a1a421d11bcb33 [Pipeline] echo 22:25:56 [semverPrep] GIT_COMMIT: 224900f6885e44699053c83c13a1a421d11bcb33, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory (#270) [Pipeline] echo 22:25:56 [semverPrep] This is not a build commit. [Pipeline] sh 22:25:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:25:57 + grep -v github /etc/ssh/ssh_known_hosts 22:25:57 + [ -e /tmp/ssh_known_hosts ] 22:25:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:25:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:25:57 + sudo tee -a /etc/ssh/ssh_known_hosts 22:25:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:25:57 22:25:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:25:57 0.1.4: Pulling from edgex-devops/py-git-semver 22:25:57 b85a868b505f: Pulling fs layer 22:25:57 e2be974225ed: Pulling fs layer 22:25:57 339a4e72a1f5: Pulling fs layer 22:25:57 988bab9f4d93: Pulling fs layer 22:25:57 1469e6f7b9e6: Pulling fs layer 22:25:57 eaf3925da568: Pulling fs layer 22:25:57 bab4dde63d76: Pulling fs layer 22:25:57 bde34c3a00c8: Pulling fs layer 22:25:57 b352a97aabf1: Pulling fs layer 22:25:57 4872d77fe225: Pulling fs layer 22:25:57 5851b861e8e6: Pulling fs layer 22:25:57 988bab9f4d93: Waiting 22:25:57 1469e6f7b9e6: Waiting 22:25:57 eaf3925da568: Waiting 22:25:57 bab4dde63d76: Waiting 22:25:57 bde34c3a00c8: Waiting 22:25:57 b352a97aabf1: Waiting 22:25:57 5851b861e8e6: Waiting 22:25:57 4872d77fe225: Waiting 22:25:57 e2be974225ed: Verifying Checksum 22:25:57 e2be974225ed: Download complete 22:25:57 988bab9f4d93: Verifying Checksum 22:25:57 988bab9f4d93: Download complete 22:25:58 339a4e72a1f5: Verifying Checksum 22:25:58 339a4e72a1f5: Download complete 22:25:58 eaf3925da568: Verifying Checksum 22:25:58 eaf3925da568: Download complete 22:25:58 1469e6f7b9e6: Verifying Checksum 22:25:58 1469e6f7b9e6: Download complete 22:25:58 bde34c3a00c8: Download complete 22:25:58 b352a97aabf1: Download complete 22:25:58 4872d77fe225: Verifying Checksum 22:25:58 4872d77fe225: Download complete 22:25:58 5851b861e8e6: Verifying Checksum 22:25:58 5851b861e8e6: Download complete 22:25:58 b85a868b505f: Verifying Checksum 22:25:58 b85a868b505f: Download complete 22:25:58 bab4dde63d76: Verifying Checksum 22:25:58 bab4dde63d76: Download complete 22:25:59 b85a868b505f: Pull complete 22:25:59 e2be974225ed: Pull complete 22:26:00 339a4e72a1f5: Pull complete 22:26:00 988bab9f4d93: Pull complete 22:26:00 1469e6f7b9e6: Pull complete 22:26:00 eaf3925da568: Pull complete 22:26:02 bab4dde63d76: Pull complete 22:26:02 bde34c3a00c8: Pull complete 22:26:02 b352a97aabf1: Pull complete 22:26:02 4872d77fe225: Pull complete 22:26:03 5851b861e8e6: Pull complete 22:26:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:26:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:03 prd-ubuntu20.04-docker-8c-8g-4971 does not seem to be running inside a container 22:26:03 $ 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 22:26:05 $ docker top cce9314775dda53ec3e036a8ac41db618479c49ad71061f4beb6821636251dcb -eo pid,comm 22:26:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:26:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:26:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:26:05 [ssh-agent] Looking for ssh-agent implementation... 22:26:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:26:05 $ docker exec cce9314775dda53ec3e036a8ac41db618479c49ad71061f4beb6821636251dcb ssh-agent 22:26:06 SSH_AUTH_SOCK=/tmp/ssh-RXvujs4Lbzuq/agent.31 22:26:06 SSH_AGENT_PID=37 22:26:06 Running ssh-add (command line suppressed) 22:26:06 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10691830573370313051.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10691830573370313051.key) 22:26:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:26:06 + git tag --points-at HEAD [Pipeline] } 22:26:06 $ docker exec --env ******** --env ******** cce9314775dda53ec3e036a8ac41db618479c49ad71061f4beb6821636251dcb ssh-agent -k 22:26:06 unset SSH_AUTH_SOCK; 22:26:06 unset SSH_AGENT_PID; 22:26:06 echo Agent pid 37 killed; 22:26:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:26:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:26:06 [ssh-agent] Looking for ssh-agent implementation... 22:26:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:26:06 $ docker exec cce9314775dda53ec3e036a8ac41db618479c49ad71061f4beb6821636251dcb ssh-agent 22:26:06 SSH_AUTH_SOCK=/tmp/ssh-9FDmOwqrRVYp/agent.69 22:26:06 SSH_AGENT_PID=75 22:26:06 Running ssh-add (command line suppressed) 22:26:06 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8687123889001423677.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8687123889001423677.key) 22:26:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:26:07 + git semver init 22:26:07 2023-03-21 22:26:07,368 [run_init] DEBUG init version:0.0.0 force:False 22:26:07 2023-03-21 22:26:07,369 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 22:26:07 2023-03-21 22:26:07,369 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 22:26:07 2023-03-21 22:26:07,369 [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) 22:26:08 2023-03-21 22:26:08,140 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 22:26:08 2023-03-21 22:26:08,140 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 22:26:08 2023-03-21 22:26:08,141 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:26:08 2023-03-21 22:26:08,141 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:26:08 3.0.0-dev.9 [Pipeline] } 22:26:08 $ docker exec --env ******** --env ******** cce9314775dda53ec3e036a8ac41db618479c49ad71061f4beb6821636251dcb ssh-agent -k 22:26:08 unset SSH_AUTH_SOCK; 22:26:08 unset SSH_AGENT_PID; 22:26:08 echo Agent pid 75 killed; 22:26:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:26:08 + git semver [Pipeline] } 22:26:09 $ docker stop --time=1 cce9314775dda53ec3e036a8ac41db618479c49ad71061f4beb6821636251dcb 22:26:10 $ docker rm -f --volumes cce9314775dda53ec3e036a8ac41db618479c49ad71061f4beb6821636251dcb [Pipeline] // withDockerContainer [Pipeline] sh 22:26:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:26:10 Stashed 1 file(s) [Pipeline] echo 22:26:10 [edgeXSemver]: initialized semver on version 3.0.0-dev.9 [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 22:26:11 provisioning config files... 22:26:11 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11308487451916955648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:26:11 ---> docker-login.sh 22:26:11 nexus3.edgexfoundry.org:10001 22:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:11 Configure a credential helper to remove this warning. See 22:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:11 22:26:11 Login Succeeded 22:26:11 nexus3.edgexfoundry.org:10002 22:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:11 Configure a credential helper to remove this warning. See 22:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:11 22:26:11 Login Succeeded 22:26:11 nexus3.edgexfoundry.org:10003 22:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:11 Configure a credential helper to remove this warning. See 22:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:11 22:26:11 Login Succeeded 22:26:11 nexus3.edgexfoundry.org:10004 22:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:11 Configure a credential helper to remove this warning. See 22:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:11 22:26:11 Login Succeeded 22:26:11 docker.io 22:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:11 Configure a credential helper to remove this warning. See 22:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:11 22:26:11 Login Succeeded 22:26:11 ---> docker-login.sh ends [Pipeline] } 22:26:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:26:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:26:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:26:12 ========================================================= 22:26:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:26:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:26:12 Sending build context to Docker daemon 5.725MB 22:26:12 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:26:12 Step 2/12 : FROM ${BASE} AS builder 22:26:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:26:12 63b65145d645: Pulling fs layer 22:26:12 a2d21d5440eb: Pulling fs layer 22:26:12 935e6c44a52c: Pulling fs layer 22:26:12 94cc34f8dd06: Pulling fs layer 22:26:12 30dea6a524f1: Pulling fs layer 22:26:12 a2aff8979fd8: Pulling fs layer 22:26:12 6808be2612f2: Pulling fs layer 22:26:12 f25807f1079a: Pulling fs layer 22:26:12 30dea6a524f1: Waiting 22:26:12 a2aff8979fd8: Waiting 22:26:12 6808be2612f2: Waiting 22:26:12 94cc34f8dd06: Waiting 22:26:12 a2d21d5440eb: Verifying Checksum 22:26:12 a2d21d5440eb: Download complete 22:26:12 94cc34f8dd06: Verifying Checksum 22:26:12 94cc34f8dd06: Download complete 22:26:12 30dea6a524f1: Verifying Checksum 22:26:12 30dea6a524f1: Download complete 22:26:12 63b65145d645: Verifying Checksum 22:26:12 63b65145d645: Download complete 22:26:12 a2aff8979fd8: Verifying Checksum 22:26:12 a2aff8979fd8: Download complete 22:26:12 63b65145d645: Pull complete 22:26:12 a2d21d5440eb: Pull complete 22:26:13 935e6c44a52c: Verifying Checksum 22:26:13 935e6c44a52c: Download complete 22:26:13 f25807f1079a: Verifying Checksum 22:26:13 6808be2612f2: Download complete 22:26:17 935e6c44a52c: Pull complete 22:26:17 94cc34f8dd06: Pull complete 22:26:17 30dea6a524f1: Pull complete 22:26:17 a2aff8979fd8: Pull complete 22:26:19 6808be2612f2: Pull complete 22:26:19 f25807f1079a: Pull complete 22:26:20 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 22:26:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:26:20 ---> 3b553350e43f 22:26:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:26:21 ---> Running in 1d2d6fffc5b8 22:26:22 Removing intermediate container 1d2d6fffc5b8 22:26:22 ---> 98f0efc63daa 22:26:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:26:22 ---> Running in 036057d8b9ab 22:26:22 Removing intermediate container 036057d8b9ab 22:26:22 ---> 2b79bee62db7 22:26:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:26:22 ---> Running in 2a684067b935 22:26:22 Removing intermediate container 2a684067b935 22:26:22 ---> 3ea35b2322ab 22:26:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:26:22 ---> Running in 17da5cca83a5 22:26:22 Removing intermediate container 17da5cca83a5 22:26:22 ---> 6037e41ec9c4 22:26:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:26:22 ---> Running in afaaf04ee4d4 22:26:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:26:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:26:23 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:26:23 (2/4) Installing libedit (20221030.3.1-r0) 22:26:23 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:26:23 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:26:23 Executing busybox-1.35.0-r29.trigger 22:26:23 OK: 269 MiB in 57 packages 22:26:23 Removing intermediate container afaaf04ee4d4 22:26:23 ---> bfe876dab9ef 22:26:23 Step 8/12 : WORKDIR /device-snmp-go 22:26:23 ---> Running in 4cbab28c4e35 22:26:23 Removing intermediate container 4cbab28c4e35 22:26:23 ---> 40ea04e55931 22:26:23 Step 9/12 : COPY go.mod vendor* ./ 22:26:23 ---> c1b6ed634d6e 22:26:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:26:24 ---> Running in a36fca3d36d0 22:26:26 Still waiting to schedule task 22:26:26 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4969’ is offline 22:26:56 Removing intermediate container a36fca3d36d0 22:26:56 ---> f436641d6437 22:26:56 Step 11/12 : COPY . . 22:26:56 ---> c6e5654ddc03 22:26:56 Step 12/12 : RUN ${MAKE} 22:26:56 ---> Running in 755e3ba5ac5b 22:26:56 noop 22:26:56 Removing intermediate container 755e3ba5ac5b 22:26:56 ---> c0726fe8e7c9 22:26:56 Successfully built c0726fe8e7c9 22:26:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:56 + docker inspect -f . ci-base-image-x86_64 22:26:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:56 prd-ubuntu20.04-docker-8c-8g-4971 does not seem to be running inside a container 22:26:56 $ 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 22:26:56 $ docker top 3ef1f6b7a56f2aa2e978e1bf1dc86375ff25d6f84950ab6904e497c58705d1d1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:57 + go version 22:26:57 go version go1.20.2 linux/amd64 [Pipeline] } 22:26:57 $ docker stop --time=1 3ef1f6b7a56f2aa2e978e1bf1dc86375ff25d6f84950ab6904e497c58705d1d1 22:26:58 $ docker rm -f --volumes 3ef1f6b7a56f2aa2e978e1bf1dc86375ff25d6f84950ab6904e497c58705d1d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:59 + docker inspect -f . ci-base-image-x86_64 22:26:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:59 prd-ubuntu20.04-docker-8c-8g-4971 does not seem to be running inside a container 22:26:59 $ 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 22:26:59 $ docker top c64af37c2a0643bf9fa974a026a3f2897f25b816662f61ff5bbcdbd91a049b38 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 22:27:00 + make test 22:27:00 go test ./... -coverprofile=coverage.out 22:27:05 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:27:17 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:27:17 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 22:27:22 go vet ./... 22:27:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:27:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:27:27 ./bin/test-attribution-txt.sh [Pipeline] echo 22:27:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:27:27 $ docker stop --time=1 c64af37c2a0643bf9fa974a026a3f2897f25b816662f61ff5bbcdbd91a049b38 22:27:29 $ docker rm -f --volumes c64af37c2a0643bf9fa974a026a3f2897f25b816662f61ff5bbcdbd91a049b38 [Pipeline] // withDockerContainer [Pipeline] sh 22:27:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:27:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:27:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:27:30 + ls -al . 22:27:30 total 172 22:27:30 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 22:27 . 22:27:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:25 .. 22:27:30 -rw-rw-r-- 1 jenkins jenkins 6 Mar 21 22:25 .dockerignore 22:27:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 22:26 .git 22:27:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:25 .github 22:27:30 -rw-rw-r-- 1 jenkins jenkins 328 Mar 21 22:25 .gitignore 22:27:30 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 22:25 .golangci.yml 22:27:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 22:26 .semver 22:27:30 -rw-rw-r-- 1 jenkins jenkins 9045 Mar 21 22:25 Attribution.txt 22:27:30 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 21 22:25 CHANGELOG.md 22:27:30 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 21 22:25 Dockerfile 22:27:30 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 22:25 GOVERNANCE.md 22:27:30 -rw-rw-r-- 1 jenkins jenkins 656 Mar 21 22:25 Jenkinsfile 22:27:30 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 22:25 LICENSE 22:27:30 -rw-rw-r-- 1 jenkins jenkins 2114 Mar 21 22:25 Makefile 22:27:30 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 22:25 OWNERS.md 22:27:30 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 21 22:25 README.md 22:27:30 -rw-rw-r-- 1 jenkins jenkins 11 Mar 21 22:26 VERSION 22:27:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 22:25 bin 22:27:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:25 cmd 22:27:30 -rw-r--r-- 1 jenkins jenkins 7631 Mar 21 22:27 coverage.out 22:27:30 -rw-rw-r-- 1 jenkins jenkins 3326 Mar 21 22:25 go.mod 22:27:30 -rw-rw-r-- 1 jenkins jenkins 32920 Mar 21 22:25 go.sum 22:27:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:25 internal 22:27:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:25 snap 22:27:30 -rw-rw-r-- 1 jenkins jenkins 228 Mar 21 22:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:31 + 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=224900f6885e44699053c83c13a1a421d11bcb33 --label arch=amd64 --label version=3.0.0-dev.9 . 22:27:31 Sending build context to Docker daemon 5.733MB 22:27:31 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 22:27:31 Step 2/24 : FROM ${BASE} AS builder 22:27:31 ---> c0726fe8e7c9 22:27:31 Step 3/24 : ARG ADD_BUILD_TAGS="" 22:27:31 ---> Running in 816ee313774f 22:27:31 Removing intermediate container 816ee313774f 22:27:31 ---> 4946a99871bd 22:27:31 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:27:31 ---> Running in bce32db582b7 22:27:31 Removing intermediate container bce32db582b7 22:27:31 ---> 2a56a309281c 22:27:31 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:27:31 ---> Running in c5868aaa0f43 22:27:31 Removing intermediate container c5868aaa0f43 22:27:31 ---> 016a7081b1c0 22:27:31 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 22:27:31 ---> Running in e59ddd899d99 22:27:31 Removing intermediate container e59ddd899d99 22:27:31 ---> ee28b5747a17 22:27:31 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:27:31 ---> Running in 76308d16c7a5 22:27:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:27:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:27:32 OK: 269 MiB in 57 packages 22:27:32 Removing intermediate container 76308d16c7a5 22:27:32 ---> 741222ea01cf 22:27:32 Step 8/24 : WORKDIR /device-snmp-go 22:27:32 ---> Running in a492206f4982 22:27:32 Removing intermediate container a492206f4982 22:27:32 ---> 92c6c3c11a08 22:27:32 Step 9/24 : COPY go.mod vendor* ./ 22:27:32 ---> 9fbdfe85bb59 22:27:32 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:27:32 ---> Running in fa045084766a 22:27:33 Removing intermediate container fa045084766a 22:27:33 ---> 730836aedd60 22:27:33 Step 11/24 : COPY . . 22:27:33 ---> e02f63bf7b1f 22:27:33 Step 12/24 : RUN ${MAKE} 22:27:33 ---> Running in 36dd91924d52 22:27:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 22:27:56 Removing intermediate container 36dd91924d52 22:27:56 ---> b85b3fd54527 22:27:56 Step 13/24 : FROM alpine:3.17 22:27:56 3.17: Pulling from library/alpine 22:27:56 63b65145d645: Already exists 22:27:56 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:27:56 Status: Downloaded newer image for alpine:3.17 22:27:56 ---> b2aa39c304c2 22:27:56 Step 14/24 : RUN apk add --update --no-cache dumb-init 22:27:56 ---> Running in 898e7bcf5a57 22:27:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:27:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:27:56 (1/1) Installing dumb-init (1.2.5-r2) 22:27:56 Executing busybox-1.35.0-r29.trigger 22:27:56 OK: 7 MiB in 16 packages 22:27:56 Removing intermediate container 898e7bcf5a57 22:27:56 ---> 0781e38ac789 22:27:56 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 22:27:56 ---> 3b84e9ad9c36 22:27:56 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:27:56 ---> 8d1b58cc9f2a 22:27:56 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 22:27:56 ---> 6fb3ae5d376a 22:27:56 Step 18/24 : EXPOSE 59993 22:27:56 ---> Running in 21a88e5fb2b5 22:27:56 Removing intermediate container 21a88e5fb2b5 22:27:56 ---> ed6f22bfc089 22:27:56 Step 19/24 : EXPOSE 161 22:27:56 ---> Running in 26fcba2b8780 22:27:56 Removing intermediate container 26fcba2b8780 22:27:56 ---> 55c2ef13bc00 22:27:56 Step 20/24 : ENTRYPOINT ["/device-snmp"] 22:27:56 ---> Running in 7bfb8cff252e 22:27:56 Removing intermediate container 7bfb8cff252e 22:27:56 ---> 31c37bd30926 22:27:56 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:27:56 ---> Running in d8df962708e9 22:27:56 Removing intermediate container d8df962708e9 22:27:56 ---> c16a1d27d4d7 22:27:56 Step 22/24 : LABEL arch=amd64 22:27:56 ---> Running in 42e12c5473d5 22:27:56 Removing intermediate container 42e12c5473d5 22:27:56 ---> d7a668b93125 22:27:56 Step 23/24 : LABEL git_sha=224900f6885e44699053c83c13a1a421d11bcb33 22:27:56 ---> Running in 49abba4865cd 22:27:56 Removing intermediate container 49abba4865cd 22:27:56 ---> e0649377c4e6 22:27:56 Step 24/24 : LABEL version=3.0.0-dev.9 22:27:56 ---> Running in dbe083b61c4c 22:27:56 Removing intermediate container dbe083b61c4c 22:27:56 ---> 3ebd30a8c671 22:27:56 [Warning] One or more build-args [ARCH] were not consumed 22:27:56 Successfully built 3ebd30a8c671 22:27:56 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:27:56 provisioning config files... 22:27:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5547316700101320120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:27:57 ---> docker-login.sh 22:27:57 nexus3.edgexfoundry.org:10001 22:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:57 Configure a credential helper to remove this warning. See 22:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:57 22:27:57 Login Succeeded 22:27:57 nexus3.edgexfoundry.org:10002 22:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:57 Configure a credential helper to remove this warning. See 22:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:57 22:27:57 Login Succeeded 22:27:57 nexus3.edgexfoundry.org:10003 22:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:57 Configure a credential helper to remove this warning. See 22:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:57 22:27:57 Login Succeeded 22:27:57 nexus3.edgexfoundry.org:10004 22:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:57 Configure a credential helper to remove this warning. See 22:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:57 22:27:57 Login Succeeded 22:27:57 docker.io 22:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:57 Configure a credential helper to remove this warning. See 22:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:57 22:27:57 Login Succeeded 22:27:57 ---> docker-login.sh ends [Pipeline] } 22:27:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:27:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:27:57 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 22:27:57 224900f6885e44699053c83c13a1a421d11bcb33 22:27:57 latest 22:27:57 3.0.0-dev.9 22:27:57 224900f6885e44699053c83c13a1a421d11bcb33-3.0.0-dev.9 22:27:57 main 22:27:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:57 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:224900f6885e44699053c83c13a1a421d11bcb33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:58 + docker push nexus3.edgexfoundry.org:10004/device-snmp:224900f6885e44699053c83c13a1a421d11bcb33 22:27:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:27:58 631faf85c84d: Preparing 22:27:58 29b3343c15a9: Preparing 22:27:58 21f354e10f90: Preparing 22:27:58 d54eb4407524: Preparing 22:27:58 7cd52847ad77: Preparing 22:27:58 7cd52847ad77: Layer already exists 22:27:58 d54eb4407524: Pushed 22:27:58 29b3343c15a9: Pushed 22:27:58 631faf85c84d: Pushed 22:28:01 21f354e10f90: Pushed 22:28:01 224900f6885e44699053c83c13a1a421d11bcb33: digest: sha256:a720a8cbf5e9ba30b9ef368a6efc2a03b8aedbff02c1aa85590a967eac968a9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:01 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:02 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 22:28:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:28:02 631faf85c84d: Preparing 22:28:02 29b3343c15a9: Preparing 22:28:02 21f354e10f90: Preparing 22:28:02 d54eb4407524: Preparing 22:28:02 7cd52847ad77: Preparing 22:28:02 29b3343c15a9: Layer already exists 22:28:02 631faf85c84d: Layer already exists 22:28:02 7cd52847ad77: Layer already exists 22:28:02 21f354e10f90: Layer already exists 22:28:02 d54eb4407524: Layer already exists 22:28:02 latest: digest: sha256:a720a8cbf5e9ba30b9ef368a6efc2a03b8aedbff02c1aa85590a967eac968a9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:02 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:02 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.9 22:28:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:28:02 631faf85c84d: Preparing 22:28:02 29b3343c15a9: Preparing 22:28:02 21f354e10f90: Preparing 22:28:02 d54eb4407524: Preparing 22:28:02 7cd52847ad77: Preparing 22:28:02 21f354e10f90: Layer already exists 22:28:02 29b3343c15a9: Layer already exists 22:28:02 631faf85c84d: Layer already exists 22:28:02 7cd52847ad77: Layer already exists 22:28:02 d54eb4407524: Layer already exists 22:28:02 3.0.0-dev.9: digest: sha256:a720a8cbf5e9ba30b9ef368a6efc2a03b8aedbff02c1aa85590a967eac968a9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:03 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:224900f6885e44699053c83c13a1a421d11bcb33-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:03 + docker push nexus3.edgexfoundry.org:10004/device-snmp:224900f6885e44699053c83c13a1a421d11bcb33-3.0.0-dev.9 22:28:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:28:03 631faf85c84d: Preparing 22:28:03 29b3343c15a9: Preparing 22:28:03 21f354e10f90: Preparing 22:28:03 d54eb4407524: Preparing 22:28:03 7cd52847ad77: Preparing 22:28:03 7cd52847ad77: Layer already exists 22:28:03 d54eb4407524: Layer already exists 22:28:03 21f354e10f90: Layer already exists 22:28:03 631faf85c84d: Layer already exists 22:28:03 29b3343c15a9: Layer already exists 22:28:03 224900f6885e44699053c83c13a1a421d11bcb33-3.0.0-dev.9: digest: sha256:a720a8cbf5e9ba30b9ef368a6efc2a03b8aedbff02c1aa85590a967eac968a9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:03 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:04 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 22:28:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:28:04 631faf85c84d: Preparing 22:28:04 29b3343c15a9: Preparing 22:28:04 21f354e10f90: Preparing 22:28:04 d54eb4407524: Preparing 22:28:04 7cd52847ad77: Preparing 22:28:04 29b3343c15a9: Layer already exists 22:28:04 631faf85c84d: Layer already exists 22:28:04 d54eb4407524: Layer already exists 22:28:04 21f354e10f90: Layer already exists 22:28:04 7cd52847ad77: Layer already exists 22:28:04 main: digest: sha256:a720a8cbf5e9ba30b9ef368a6efc2a03b8aedbff02c1aa85590a967eac968a9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:28:04 ===================================================== [Pipeline] echo 22:28:04 taggedImages: 22:28:04 - nexus3.edgexfoundry.org:10004/device-snmp:224900f6885e44699053c83c13a1a421d11bcb33 22:28:04 - nexus3.edgexfoundry.org:10004/device-snmp:latest 22:28:04 - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.9 22:28:04 - nexus3.edgexfoundry.org:10004/device-snmp:224900f6885e44699053c83c13a1a421d11bcb33-3.0.0-dev.9 22:28:04 - 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 22:28:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:04 22:28:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:04 latest: Pulling from edgex-lftools-log-publisher 22:28:04 5eb5b503b376: Pulling fs layer 22:28:04 5c69ac0246d0: Pulling fs layer 22:28:04 ec43610c2a17: Pulling fs layer 22:28:04 3a2ae6a8a46f: Pulling fs layer 22:28:04 33b1e0a273af: Pulling fs layer 22:28:04 5d3b04190fa2: Pulling fs layer 22:28:04 2f39f015ded8: Pulling fs layer 22:28:04 3a2ae6a8a46f: Waiting 22:28:04 33b1e0a273af: Waiting 22:28:04 5d3b04190fa2: Waiting 22:28:04 2f39f015ded8: Waiting 22:28:04 5c69ac0246d0: Verifying Checksum 22:28:04 5c69ac0246d0: Download complete 22:28:05 3a2ae6a8a46f: Download complete 22:28:05 33b1e0a273af: Verifying Checksum 22:28:05 33b1e0a273af: Download complete 22:28:05 5d3b04190fa2: Verifying Checksum 22:28:05 5d3b04190fa2: Download complete 22:28:05 ec43610c2a17: Verifying Checksum 22:28:05 ec43610c2a17: Download complete 22:28:05 5eb5b503b376: Verifying Checksum 22:28:05 5eb5b503b376: Download complete 22:28:05 2f39f015ded8: Verifying Checksum 22:28:05 2f39f015ded8: Download complete 22:28:06 5eb5b503b376: Pull complete 22:28:06 5c69ac0246d0: Pull complete 22:28:06 ec43610c2a17: Pull complete 22:28:07 3a2ae6a8a46f: Pull complete 22:28:07 33b1e0a273af: Pull complete 22:28:07 5d3b04190fa2: Pull complete 22:28:11 2f39f015ded8: Pull complete 22:28:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:28:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:28:11 prd-ubuntu20.04-docker-8c-8g-4971 does not seem to be running inside a container 22:28:11 $ 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 22:28:15 $ docker top 46acc450d372219921e9fc31d80189b9a968326709e3890bc69a273ffdea7d02 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:15 ---> job-cost.sh 22:28:15 lf-activate-venv: SKIPPING 22:28:15 INFO: No Stack... 22:28:16 INFO: Retrieving Pricing Info for: v3-standard-8 22:28:16 INFO: Archiving Costs [Pipeline] sh 22:28:16 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 22:28:16 + cut -d, -f6 [Pipeline] lock 22:28:16 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-66-stack-cost] 22:28:16 Resource [jenkins-edgexfoundry-device-snmp-go-main-66-stack-cost] did not exist. Created. 22:28:16 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-66-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:28:16 + echo total: 0.2199999988079071 [Pipeline] stash 22:28:16 Stashed 1 file(s) [Pipeline] } 22:28:16 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-66-stack-cost] [Pipeline] // lock [Pipeline] } 22:28:17 $ docker stop --time=1 46acc450d372219921e9fc31d80189b9a968326709e3890bc69a273ffdea7d02 22:28:18 $ docker rm -f --volumes 46acc450d372219921e9fc31d80189b9a968326709e3890bc69a273ffdea7d02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:28:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4974 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 22:28:41 Running in /w/workspace/device-snmp-go/66 [Pipeline] { [Pipeline] checkout 22:28:42 Selected Git installation does not exist. Using Default 22:28:42 The recommended git tool is: NONE 22:28:46 using credential edgex-jenkins-ssh 22:28:46 Cloning the remote Git repository 22:28:46 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 22:28:47 > git init /w/workspace/device-snmp-go/66 # timeout=10 22:28:47 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 22:28:47 > git --version # timeout=10 22:28:47 > git --version # 'git version 2.25.1' 22:28:47 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:28:50 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 22:28:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:28:50 Avoid second fetch 22:28:50 Checking out Revision 224900f6885e44699053c83c13a1a421d11bcb33 (main) 22:28:51 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#270)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:50 > git config core.sparsecheckout # timeout=10 22:28:51 > git checkout -f 224900f6885e44699053c83c13a1a421d11bcb33 # timeout=10 22:28:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:28:52 % Total % Received % Xferd Average Speed Time Time Time Current 22:28:52 Dload Upload Total Spent Left Speed 22:28:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh 22:28:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:28:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:28:53 + sudo tee /etc/docker/daemon.new 22:28:53 { 22:28:53 "registry-mirrors": [ 22:28:53 "https://nexus3.edgexfoundry.org:10001" 22:28:53 ], 22:28:53 "bip": "10.250.0.254/24", 22:28:53 "hosts": [ 22:28:53 "tcp://0.0.0.0:5555", 22:28:53 "unix:///var/run/docker.sock" 22:28:53 ], 22:28:53 "mtu": 1458, 22:28:53 "selinux-enabled": true, 22:28:53 "seccomp-profile": "/etc/docker/seccomp.json" 22:28:53 } [Pipeline] sh 22:28:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:28:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:29:12 provisioning config files... 22:29:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/66@tmp/config12790087844128083003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:12 ---> docker-login.sh 22:29:12 nexus3.edgexfoundry.org:10001 22:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:13 Configure a credential helper to remove this warning. See 22:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:13 22:29:13 Login Succeeded 22:29:13 nexus3.edgexfoundry.org:10002 22:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:13 Configure a credential helper to remove this warning. See 22:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:13 22:29:13 Login Succeeded 22:29:13 nexus3.edgexfoundry.org:10003 22:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:13 Configure a credential helper to remove this warning. See 22:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:13 22:29:13 Login Succeeded 22:29:13 nexus3.edgexfoundry.org:10004 22:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:14 Configure a credential helper to remove this warning. See 22:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:14 22:29:14 Login Succeeded 22:29:14 docker.io 22:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:14 Configure a credential helper to remove this warning. See 22:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:14 22:29:14 Login Succeeded 22:29:14 ---> docker-login.sh ends [Pipeline] } 22:29:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:29:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:15 ========================================================= 22:29:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:29:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:29:15 Sending build context to Docker daemon 2.964MB 22:29:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:29:15 Step 2/12 : FROM ${BASE} AS builder 22:29:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:29:16 af6eaf76a39c: Pulling fs layer 22:29:16 55522c791124: Pulling fs layer 22:29:16 ce5c4a1c91eb: Pulling fs layer 22:29:16 169dfbe0d373: Pulling fs layer 22:29:16 e1ff8fa3b103: Pulling fs layer 22:29:16 52ebb69f0ebf: Pulling fs layer 22:29:16 5abe8eddf0d5: Pulling fs layer 22:29:16 e1ff8fa3b103: Waiting 22:29:16 169dfbe0d373: Waiting 22:29:16 52ebb69f0ebf: Waiting 22:29:16 5abe8eddf0d5: Waiting 22:29:16 55522c791124: Download complete 22:29:16 169dfbe0d373: Verifying Checksum 22:29:16 169dfbe0d373: Download complete 22:29:16 e1ff8fa3b103: Verifying Checksum 22:29:16 e1ff8fa3b103: Download complete 22:29:16 af6eaf76a39c: Verifying Checksum 22:29:16 af6eaf76a39c: Download complete 22:29:17 af6eaf76a39c: Pull complete 22:29:17 5abe8eddf0d5: Verifying Checksum 22:29:17 5abe8eddf0d5: Download complete 22:29:18 55522c791124: Pull complete 22:29:19 ce5c4a1c91eb: Verifying Checksum 22:29:19 ce5c4a1c91eb: Download complete 22:29:19 52ebb69f0ebf: Download complete 22:29:29 ce5c4a1c91eb: Pull complete 22:29:29 169dfbe0d373: Pull complete 22:29:29 e1ff8fa3b103: Pull complete 22:29:36 52ebb69f0ebf: Pull complete 22:29:38 5abe8eddf0d5: Pull complete 22:29:38 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 22:29:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:29:38 ---> 6cb57ee374ae 22:29:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:29:40 ---> Running in e7b3bc2e5933 22:29:40 Removing intermediate container e7b3bc2e5933 22:29:40 ---> d072e59a60a1 22:29:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:29:40 ---> Running in 5df8251611a9 22:29:41 Removing intermediate container 5df8251611a9 22:29:41 ---> 55d94207b046 22:29:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:29:41 ---> Running in f04d09da1248 22:29:41 Removing intermediate container f04d09da1248 22:29:41 ---> 19b0bc8d9272 22:29:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:29:41 ---> Running in 124894ffebb2 22:29:41 Removing intermediate container 124894ffebb2 22:29:41 ---> 4892ecb84d36 22:29:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:29:41 ---> Running in 2f9caebdb994 22:29:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:29:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:29:45 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:29:45 (2/4) Installing libedit (20221030.3.1-r0) 22:29:45 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:29:45 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:29:45 Executing busybox-1.35.0-r29.trigger 22:29:45 OK: 268 MiB in 57 packages 22:29:46 Removing intermediate container 2f9caebdb994 22:29:46 ---> 8f246251b240 22:29:46 Step 8/12 : WORKDIR /device-snmp-go 22:29:46 ---> Running in 3c50b0a69b1d 22:29:46 Removing intermediate container 3c50b0a69b1d 22:29:46 ---> e30e5d64cea8 22:29:46 Step 9/12 : COPY go.mod vendor* ./ 22:29:46 ---> ae1ca1b44d9e 22:29:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:46 ---> Running in 9697f7e137ec 22:31:08 Removing intermediate container 9697f7e137ec 22:31:08 ---> d805417ea36a 22:31:08 Step 11/12 : COPY . . 22:31:08 ---> 9acf17b5659a 22:31:08 Step 12/12 : RUN ${MAKE} 22:31:08 ---> Running in 7255bfbefddd 22:31:08 noop 22:31:08 Removing intermediate container 7255bfbefddd 22:31:08 ---> 81d1563b9343 22:31:08 Successfully built 81d1563b9343 22:31:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:08 + docker inspect -f . ci-base-image-arm64 22:31:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:09 prd-ubuntu20.04-docker-arm64-4c-16g-4974 does not seem to be running inside a container 22:31:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/66 -v /w/workspace/device-snmp-go/66:/w/workspace/device-snmp-go/66:rw,z -v /w/workspace/device-snmp-go/66@tmp:/w/workspace/device-snmp-go/66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:31:10 $ docker top 3d9a358a8960a06c2909e4b742d7d8f427642303074da43eec972d6207c3af5b -eo pid,comm [Pipeline] { [Pipeline] sh 22:31:11 + go version 22:31:11 go version go1.20.2 linux/arm64 [Pipeline] } 22:31:11 $ docker stop --time=1 3d9a358a8960a06c2909e4b742d7d8f427642303074da43eec972d6207c3af5b 22:31:13 $ docker rm -f --volumes 3d9a358a8960a06c2909e4b742d7d8f427642303074da43eec972d6207c3af5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:14 + docker inspect -f . ci-base-image-arm64 22:31:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:14 prd-ubuntu20.04-docker-arm64-4c-16g-4974 does not seem to be running inside a container 22:31:14 $ 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/66 -v /w/workspace/device-snmp-go/66:/w/workspace/device-snmp-go/66:rw,z -v /w/workspace/device-snmp-go/66@tmp:/w/workspace/device-snmp-go/66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:31:15 $ docker top bc06fd8b14ced9392b476aed42582cd40c77455b3bcf1ec886d03c8fb1b3ba48 -eo pid,comm [Pipeline] { [Pipeline] sh 22:31:16 + git config --global --add safe.directory /w/workspace/device-snmp-go/66 [Pipeline] fileExists [Pipeline] sh 22:31:16 + make test 22:31:16 go test ./... -coverprofile=coverage.out 22:31:49 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:34:10 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:34:10 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements 22:34:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:34:10 go vet ./... 22:34:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:34:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:34:37 ./bin/test-attribution-txt.sh [Pipeline] echo 22:34:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:34:37 $ docker stop --time=1 bc06fd8b14ced9392b476aed42582cd40c77455b3bcf1ec886d03c8fb1b3ba48 22:34:39 $ docker rm -f --volumes bc06fd8b14ced9392b476aed42582cd40c77455b3bcf1ec886d03c8fb1b3ba48 [Pipeline] // withDockerContainer [Pipeline] sh 22:34:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:34:40 Warning: overwriting stash ‘coverage-report’ 22:34:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:34:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:34:41 + ls -al . 22:34:41 total 168 22:34:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 22:31 . 22:34:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:28 .. 22:34:41 -rw-rw-r-- 1 jenkins jenkins 6 Mar 21 22:28 .dockerignore 22:34:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 22:28 .git 22:34:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:28 .github 22:34:41 -rw-rw-r-- 1 jenkins jenkins 328 Mar 21 22:28 .gitignore 22:34:41 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 22:28 .golangci.yml 22:34:41 -rw-rw-r-- 1 jenkins jenkins 9045 Mar 21 22:28 Attribution.txt 22:34:41 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 21 22:28 CHANGELOG.md 22:34:41 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 21 22:28 Dockerfile 22:34:41 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 22:28 GOVERNANCE.md 22:34:41 -rw-rw-r-- 1 jenkins jenkins 656 Mar 21 22:28 Jenkinsfile 22:34:41 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 22:28 LICENSE 22:34:41 -rw-rw-r-- 1 jenkins jenkins 2114 Mar 21 22:28 Makefile 22:34:41 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 22:28 OWNERS.md 22:34:41 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 21 22:28 README.md 22:34:41 -rw-rw-r-- 1 jenkins jenkins 11 Mar 21 22:26 VERSION 22:34:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 22:28 bin 22:34:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:28 cmd 22:34:41 -rw-r--r-- 1 jenkins jenkins 7631 Mar 21 22:34 coverage.out 22:34:41 -rw-rw-r-- 1 jenkins jenkins 3326 Mar 21 22:28 go.mod 22:34:41 -rw-rw-r-- 1 jenkins jenkins 32920 Mar 21 22:28 go.sum 22:34:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:28 internal 22:34:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:28 snap 22:34:41 -rw-rw-r-- 1 jenkins jenkins 228 Mar 21 22:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:42 + 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=224900f6885e44699053c83c13a1a421d11bcb33 --label arch=arm64 --label version=3.0.0-dev.9 . 22:34:42 Sending build context to Docker daemon 2.973MB 22:34:42 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 22:34:42 Step 2/24 : FROM ${BASE} AS builder 22:34:42 ---> 81d1563b9343 22:34:42 Step 3/24 : ARG ADD_BUILD_TAGS="" 22:34:42 ---> Running in 591be488110c 22:34:43 Removing intermediate container 591be488110c 22:34:43 ---> 66c69669daec 22:34:43 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:34:43 ---> Running in 1e8ad5b00ce1 22:34:46 Removing intermediate container 1e8ad5b00ce1 22:34:46 ---> 23a19f60aab9 22:34:46 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:34:46 ---> Running in d368d201bf47 22:34:46 Removing intermediate container d368d201bf47 22:34:46 ---> ffaaa4bd4237 22:34:46 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 22:34:46 ---> Running in 6ffa0d89a509 22:34:47 Removing intermediate container 6ffa0d89a509 22:34:47 ---> a5838bd8f757 22:34:47 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:34:47 ---> Running in 9456fdd7d6ca 22:34:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:34:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:34:50 OK: 268 MiB in 57 packages 22:34:51 Removing intermediate container 9456fdd7d6ca 22:34:51 ---> e7a845362f4c 22:34:51 Step 8/24 : WORKDIR /device-snmp-go 22:34:51 ---> Running in 6f8e70055ef1 22:34:51 Removing intermediate container 6f8e70055ef1 22:34:51 ---> c373fc4d846d 22:34:51 Step 9/24 : COPY go.mod vendor* ./ 22:34:52 ---> fdf8383ab879 22:34:52 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:34:52 ---> Running in 4e4bfb9f617d 22:34:55 Removing intermediate container 4e4bfb9f617d 22:34:55 ---> f89079932bc6 22:34:55 Step 11/24 : COPY . . 22:34:55 ---> 59c75b131874 22:34:55 Step 12/24 : RUN ${MAKE} 22:34:56 ---> Running in 8f60923cf131 22:34:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 22:37:34 Removing intermediate container 8f60923cf131 22:37:34 ---> eb29db4c3e75 22:37:34 Step 13/24 : FROM alpine:3.17 22:37:34 3.17: Pulling from library/alpine 22:37:34 af6eaf76a39c: Already exists 22:37:34 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:37:34 Status: Downloaded newer image for alpine:3.17 22:37:34 ---> d74e625d9115 22:37:34 Step 14/24 : RUN apk add --update --no-cache dumb-init 22:37:34 ---> Running in ac42fee8a6d2 22:37:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:37:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:37:34 (1/1) Installing dumb-init (1.2.5-r2) 22:37:34 Executing busybox-1.35.0-r29.trigger 22:37:34 OK: 8 MiB in 16 packages 22:37:34 Removing intermediate container ac42fee8a6d2 22:37:34 ---> 9749b6190bdf 22:37:34 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 22:37:34 ---> a1ec4f68256b 22:37:34 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:37:34 ---> 668022d14c84 22:37:34 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 22:37:35 ---> 81068d95eecd 22:37:35 Step 18/24 : EXPOSE 59993 22:37:35 ---> Running in c34d4b9b5670 22:37:35 Removing intermediate container c34d4b9b5670 22:37:35 ---> af703078da1d 22:37:35 Step 19/24 : EXPOSE 161 22:37:35 ---> Running in c916f4b2c351 22:37:36 Removing intermediate container c916f4b2c351 22:37:36 ---> 282f8d1e2a33 22:37:36 Step 20/24 : ENTRYPOINT ["/device-snmp"] 22:37:36 ---> Running in 3024b4932f22 22:37:36 Removing intermediate container 3024b4932f22 22:37:36 ---> 87f675a53f60 22:37:36 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:37:36 ---> Running in 37f400af3499 22:37:37 Removing intermediate container 37f400af3499 22:37:37 ---> a203cfee27ca 22:37:37 Step 22/24 : LABEL arch=arm64 22:37:37 ---> Running in 1c2e939e0a87 22:37:37 Removing intermediate container 1c2e939e0a87 22:37:37 ---> 819cc9e253d1 22:37:37 Step 23/24 : LABEL git_sha=224900f6885e44699053c83c13a1a421d11bcb33 22:37:37 ---> Running in 5dbaf88cf448 22:37:37 Removing intermediate container 5dbaf88cf448 22:37:37 ---> b7d172f43a0e 22:37:37 Step 24/24 : LABEL version=3.0.0-dev.9 22:37:37 ---> Running in ddad48201f3f 22:37:38 Removing intermediate container ddad48201f3f 22:37:38 ---> 0117450d0681 22:37:38 [Warning] One or more build-args [ARCH] were not consumed 22:37:38 Successfully built 0117450d0681 22:37:38 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:37:38 provisioning config files... 22:37:38 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/66@tmp/config1850650790623093730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:38 ---> docker-login.sh 22:37:38 nexus3.edgexfoundry.org:10001 22:37:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:38 Configure a credential helper to remove this warning. See 22:37:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:38 22:37:38 Login Succeeded 22:37:38 nexus3.edgexfoundry.org:10002 22:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:39 Configure a credential helper to remove this warning. See 22:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:39 22:37:39 Login Succeeded 22:37:39 nexus3.edgexfoundry.org:10003 22:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:39 Configure a credential helper to remove this warning. See 22:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:39 22:37:39 Login Succeeded 22:37:39 nexus3.edgexfoundry.org:10004 22:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:40 Configure a credential helper to remove this warning. See 22:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:40 22:37:40 Login Succeeded 22:37:40 docker.io 22:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:40 Configure a credential helper to remove this warning. See 22:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:40 22:37:40 Login Succeeded 22:37:40 ---> docker-login.sh ends [Pipeline] } 22:37:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:37:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:37:40 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 22:37:40 224900f6885e44699053c83c13a1a421d11bcb33 22:37:40 latest 22:37:40 3.0.0-dev.9 22:37:40 224900f6885e44699053c83c13a1a421d11bcb33-3.0.0-dev.9 22:37:40 main 22:37:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:41 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:224900f6885e44699053c83c13a1a421d11bcb33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:41 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:224900f6885e44699053c83c13a1a421d11bcb33 22:37:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:37:41 8083f00f5380: Preparing 22:37:41 576adb48d82b: Preparing 22:37:41 0f8bffbb7e64: Preparing 22:37:41 fe2419bbe6f8: Preparing 22:37:41 edf70074bd40: Preparing 22:37:41 edf70074bd40: Layer already exists 22:37:41 8083f00f5380: Pushed 22:37:41 576adb48d82b: Pushed 22:37:41 fe2419bbe6f8: Pushed 22:37:47 0f8bffbb7e64: Pushed 22:37:47 224900f6885e44699053c83c13a1a421d11bcb33: digest: sha256:781f52ef2833c0a3a8ceb419a25ac821f1bf19d86ce1f800522d3d35d62bfedd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:47 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:47 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 22:37:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:37:47 8083f00f5380: Preparing 22:37:47 576adb48d82b: Preparing 22:37:47 0f8bffbb7e64: Preparing 22:37:47 fe2419bbe6f8: Preparing 22:37:47 edf70074bd40: Preparing 22:37:47 576adb48d82b: Layer already exists 22:37:47 edf70074bd40: Layer already exists 22:37:47 0f8bffbb7e64: Layer already exists 22:37:47 fe2419bbe6f8: Layer already exists 22:37:47 8083f00f5380: Layer already exists 22:37:48 latest: digest: sha256:781f52ef2833c0a3a8ceb419a25ac821f1bf19d86ce1f800522d3d35d62bfedd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:48 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:48 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.9 22:37:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:37:48 8083f00f5380: Preparing 22:37:48 576adb48d82b: Preparing 22:37:48 0f8bffbb7e64: Preparing 22:37:48 fe2419bbe6f8: Preparing 22:37:48 edf70074bd40: Preparing 22:37:48 8083f00f5380: Layer already exists 22:37:48 fe2419bbe6f8: Layer already exists 22:37:48 0f8bffbb7e64: Layer already exists 22:37:48 edf70074bd40: Layer already exists 22:37:48 576adb48d82b: Layer already exists 22:37:48 3.0.0-dev.9: digest: sha256:781f52ef2833c0a3a8ceb419a25ac821f1bf19d86ce1f800522d3d35d62bfedd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:49 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:224900f6885e44699053c83c13a1a421d11bcb33-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:49 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:224900f6885e44699053c83c13a1a421d11bcb33-3.0.0-dev.9 22:37:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:37:49 8083f00f5380: Preparing 22:37:49 576adb48d82b: Preparing 22:37:49 0f8bffbb7e64: Preparing 22:37:49 fe2419bbe6f8: Preparing 22:37:49 edf70074bd40: Preparing 22:37:49 edf70074bd40: Layer already exists 22:37:49 576adb48d82b: Layer already exists 22:37:49 0f8bffbb7e64: Layer already exists 22:37:49 fe2419bbe6f8: Layer already exists 22:37:49 8083f00f5380: Layer already exists 22:37:50 224900f6885e44699053c83c13a1a421d11bcb33-3.0.0-dev.9: digest: sha256:781f52ef2833c0a3a8ceb419a25ac821f1bf19d86ce1f800522d3d35d62bfedd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:50 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 22:37:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:37:51 8083f00f5380: Preparing 22:37:51 576adb48d82b: Preparing 22:37:51 0f8bffbb7e64: Preparing 22:37:51 fe2419bbe6f8: Preparing 22:37:51 edf70074bd40: Preparing 22:37:51 576adb48d82b: Layer already exists 22:37:51 8083f00f5380: Layer already exists 22:37:51 edf70074bd40: Layer already exists 22:37:51 0f8bffbb7e64: Layer already exists 22:37:51 fe2419bbe6f8: Layer already exists 22:37:51 main: digest: sha256:781f52ef2833c0a3a8ceb419a25ac821f1bf19d86ce1f800522d3d35d62bfedd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:37:52 ===================================================== [Pipeline] echo 22:37:52 taggedImages: 22:37:52 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:224900f6885e44699053c83c13a1a421d11bcb33 22:37:52 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 22:37:52 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.9 22:37:52 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:224900f6885e44699053c83c13a1a421d11bcb33-3.0.0-dev.9 22:37:52 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:37:52 22:37:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:37:52 arm64: Pulling from edgex-lftools-log-publisher 22:37:52 8998bd30e6a1: Pulling fs layer 22:37:52 04944245beec: Pulling fs layer 22:37:52 699f458cf7ca: Pulling fs layer 22:37:53 765212b225bb: Pulling fs layer 22:37:53 f23df028b6ca: Pulling fs layer 22:37:53 d65c8cfc05b1: Pulling fs layer 22:37:53 2437ff75d9bd: Pulling fs layer 22:37:53 f23df028b6ca: Waiting 22:37:53 d65c8cfc05b1: Waiting 22:37:53 2437ff75d9bd: Waiting 22:37:53 765212b225bb: Waiting 22:37:53 04944245beec: Verifying Checksum 22:37:53 04944245beec: Download complete 22:37:53 765212b225bb: Verifying Checksum 22:37:53 765212b225bb: Download complete 22:37:53 f23df028b6ca: Verifying Checksum 22:37:53 f23df028b6ca: Download complete 22:37:53 d65c8cfc05b1: Verifying Checksum 22:37:53 d65c8cfc05b1: Download complete 22:37:53 699f458cf7ca: Verifying Checksum 22:37:53 699f458cf7ca: Download complete 22:37:53 8998bd30e6a1: Download complete 22:37:56 2437ff75d9bd: Verifying Checksum 22:37:56 2437ff75d9bd: Download complete 22:37:57 8998bd30e6a1: Pull complete 22:37:58 04944245beec: Pull complete 22:37:59 699f458cf7ca: Pull complete 22:37:59 765212b225bb: Pull complete 22:38:00 f23df028b6ca: Pull complete 22:38:00 d65c8cfc05b1: Pull complete 22:38:15 2437ff75d9bd: Pull complete 22:38:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:38:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:38:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:15 prd-ubuntu20.04-docker-arm64-4c-16g-4974 does not seem to be running inside a container 22:38: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/66 -v /w/workspace/device-snmp-go/66:/w/workspace/device-snmp-go/66:rw,z -v /w/workspace/device-snmp-go/66@tmp:/w/workspace/device-snmp-go/66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:38:18 $ docker top 708fed6b6ad364160eb8770efc9bb401a0db4fd84bb2289131d72707aec4b6d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:38:19 ---> job-cost.sh 22:38:19 lf-activate-venv: SKIPPING 22:38:19 INFO: No Stack... 22:38:20 INFO: Retrieving Pricing Info for: v3-standard-4 22:38:21 INFO: Archiving Costs [Pipeline] sh 22:38:21 + + catcut /w/workspace/device-snmp-go/66/archives/cost.csv -d, 22:38:21 -f6 [Pipeline] lock 22:38:22 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-66-stack-cost] 22:38:22 Resource [jenkins-edgexfoundry-device-snmp-go-main-66-stack-cost] did not exist. Created. 22:38:22 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-66-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:38:22 /w/workspace/device-snmp-go/66@tmp/durable-f9b3b596/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:38:23 + echo total: 0.10999999940395355 [Pipeline] stash 22:38:23 Warning: overwriting stash ‘stack-cost’ 22:38:23 Stashed 1 file(s) [Pipeline] } 22:38:23 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-66-stack-cost] [Pipeline] // lock [Pipeline] } 22:38:23 $ docker stop --time=1 708fed6b6ad364160eb8770efc9bb401a0db4fd84bb2289131d72707aec4b6d2 22:38:25 $ docker rm -f --volumes 708fed6b6ad364160eb8770efc9bb401a0db4fd84bb2289131d72707aec4b6d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:38:25 provisioning config files... 22:38:25 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18105624109807461849tmp [Pipeline] { [Pipeline] sh 22:38:25 + set +x 22:38:25 + curl -s+ https://codecov.io/bash 22:38:25 bash -s -- 22:38:25 22:38:25 _____ _ 22:38:25 / ____| | | 22:38:25 | | ___ __| | ___ ___ _____ __ 22:38:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:38:25 | |___| (_) | (_| | __/ (_| (_) \ V / 22:38:25 \_____\___/ \__,_|\___|\___\___/ \_/ 22:38:25 Bash-1.0.6 22:38:25 22:38:25 22:38:25 ==> git version 2.25.1 found 22:38:25 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:38:25 Release-Date: 2020-01-08 22:38:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:38:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:38:25 ==> Jenkins CI detected. 22:38:25 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 22:38:25 project root: . 22:38:25 --> token set from env 22:38:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:38:25 ==> Running gcov in . (disable via -X gcov) 22:38:25 ==> Python coveragepy not found 22:38:25 ==> Searching for coverage reports in: 22:38:25 + . 22:38:25 -> Found 1 reports 22:38:25 ==> Detecting git/mercurial file structure 22:38:25 ==> Reading reports 22:38:25 + ./coverage.out bytes=7631 22:38:25 ==> Appending adjustments 22:38:25 https://docs.codecov.io/docs/fixing-reports 22:38:26 + Found adjustments 22:38:26 ==> Gzipping contents 22:38:26 4.0K /tmp/codecov.DqPmyJ.gz 22:38:26 ==> Uploading reports 22:38:26 url: https://codecov.io 22:38:26 query: branch=main&commit=224900f6885e44699053c83c13a1a421d11bcb33&build=66&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F66%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:38:26 -> Pinging Codecov 22:38:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=224900f6885e44699053c83c13a1a421d11bcb33&build=66&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F66%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:38:26 -> Uploading to 22:38:26 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/6C56EA5C29638FB4528AC87E60AF5AE0/224900f6885e44699053c83c13a1a421d11bcb33/9615c717-9244-491a-babc-fc89ed9109f4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T223825Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3014b5b4a0861258ed0e5976564edaf53c335a156adf9a42876323ef7179f20 22:38:26 % Total % Received % Xferd Average Speed Time Time Time Current 22:38:26 Dload Upload Total Spent Left Speed 22:38:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1507 0 0 100 1507 0 5269 --:--:-- --:--:-- --:--:-- 5269 22:38:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/224900f6885e44699053c83c13a1a421d11bcb33 [Pipeline] } 22:38:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:38:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:38:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:38:27 22:38:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:38:27 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:38:27 df9b9388f04a: Pulling fs layer 22:38:27 52dc419b0ee2: Pulling fs layer 22:38:27 25bc292e5bac: Pulling fs layer 22:38:27 114826534d7a: Pulling fs layer 22:38:27 4657fd5d0bcf: Pulling fs layer 22:38:27 6ad1cebc031e: Pulling fs layer 22:38:27 8a3aa393b2d8: Pulling fs layer 22:38:27 4657fd5d0bcf: Waiting 22:38:27 6ad1cebc031e: Waiting 22:38:27 8a3aa393b2d8: Waiting 22:38:27 114826534d7a: Waiting 22:38:27 25bc292e5bac: Verifying Checksum 22:38:27 25bc292e5bac: Download complete 22:38:27 52dc419b0ee2: Verifying Checksum 22:38:27 52dc419b0ee2: Download complete 22:38:27 4657fd5d0bcf: Verifying Checksum 22:38:27 4657fd5d0bcf: Download complete 22:38:27 df9b9388f04a: Download complete 22:38:27 df9b9388f04a: Pull complete 22:38:27 52dc419b0ee2: Pull complete 22:38:27 6ad1cebc031e: Verifying Checksum 22:38:27 6ad1cebc031e: Download complete 22:38:27 25bc292e5bac: Pull complete 22:38:28 114826534d7a: Verifying Checksum 22:38:28 114826534d7a: Download complete 22:38:28 8a3aa393b2d8: Verifying Checksum 22:38:28 8a3aa393b2d8: Download complete 22:38:32 114826534d7a: Pull complete 22:38:32 4657fd5d0bcf: Pull complete 22:38:32 6ad1cebc031e: Pull complete 22:38:35 8a3aa393b2d8: Pull complete 22:38:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:38:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:38:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:36 prd-ubuntu20.04-docker-8c-8g-4971 does not seem to be running inside a container 22:38:36 $ 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 22:38:38 $ docker top 59a95bf6786f06ccc7c5737188a502800f7656b611381b63770183c94606c78a -eo pid,comm [Pipeline] { [Pipeline] echo 22:38:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 22:38:39 + set -o pipefail 22:38:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 22:38:44 22:38:44 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 22:38:44 22:38:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/e34e8d16-b7c2-4f8a-8f84-896fb84a0abf 22:38:44 22:38:44 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:38:44 22:38:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:38:44 22:38:44 22:38:44 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:38:44 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:38:44 More details here: https://snyk.co/ue1NS [Pipeline] } 22:38:44 $ docker stop --time=1 59a95bf6786f06ccc7c5737188a502800f7656b611381b63770183c94606c78a 22:38:46 $ docker rm -f --volumes 59a95bf6786f06ccc7c5737188a502800f7656b611381b63770183c94606c78a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:38:47 + git log --format=format:%s -1 224900f6885e44699053c83c13a1a421d11bcb33 [Pipeline] sh 22:38:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:38:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:38:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:48 prd-ubuntu20.04-docker-8c-8g-4971 does not seem to be running inside a container 22:38:48 $ 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 22:38:48 $ docker top 7e0373e860246f0f6843c743feb193bf4601b2fc5243066a9ac9a66af15012cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:38:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:38:48 [ssh-agent] Looking for ssh-agent implementation... 22:38:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:38:48 $ docker exec 7e0373e860246f0f6843c743feb193bf4601b2fc5243066a9ac9a66af15012cc ssh-agent 22:38:48 SSH_AUTH_SOCK=/tmp/ssh-E7MOTdrq0oJN/agent.32 22:38:48 SSH_AGENT_PID=38 22:38:48 Running ssh-add (command line suppressed) 22:38:48 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1067237739191987863.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1067237739191987863.key) 22:38:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:38:49 + git semver tag 22:38:49 2023-03-21 22:38:49,498 [run_tag] DEBUG tag force:False 22:38:49 2023-03-21 22:38:49,498 [check_head_tag] DEBUG check head tag 22:38:49 2023-03-21 22:38:49,499 [execute] INFO git cat-file --batch-check 22:38:49 2023-03-21 22:38:49,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 22:38:49 2023-03-21 22:38:49,504 [execute] INFO git cat-file --batch 22:38:49 2023-03-21 22:38:49,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 22:38:49 2023-03-21 22:38:49,522 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:38:49 2023-03-21 22:38:49,522 [execute] INFO git tag -a v3.0.0-dev.9 -m v3.0.0-dev.9 22:38:49 2023-03-21 22:38:49,522 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.9', '-m', 'v3.0.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 22:38:49 2023-03-21 22:38:49,528 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:38:49 3.0.0-dev.9 [Pipeline] } 22:38:49 $ docker exec --env ******** --env ******** 7e0373e860246f0f6843c743feb193bf4601b2fc5243066a9ac9a66af15012cc ssh-agent -k 22:38:49 unset SSH_AUTH_SOCK; 22:38:49 unset SSH_AGENT_PID; 22:38:49 echo Agent pid 38 killed; 22:38:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:38:49 + git semver [Pipeline] } 22:38:50 $ docker stop --time=1 7e0373e860246f0f6843c743feb193bf4601b2fc5243066a9ac9a66af15012cc 22:38:51 $ docker rm -f --volumes 7e0373e860246f0f6843c743feb193bf4601b2fc5243066a9ac9a66af15012cc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:38:51 22:38:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:38:52 0.23.1-centos7: Pulling from edgex-lftools 22:38:52 ab5ef0e58194: Pulling fs layer 22:38:52 9712f1f96733: Pulling fs layer 22:38:52 63f879dbbcfc: Pulling fs layer 22:38:52 0d9ebad4ef96: Pulling fs layer 22:38:52 e9a5061849ea: Pulling fs layer 22:38:52 d747dcd14b5f: Pulling fs layer 22:38:52 2de7ff778b66: Pulling fs layer 22:38:52 0d9ebad4ef96: Waiting 22:38:52 e9a5061849ea: Waiting 22:38:52 2de7ff778b66: Waiting 22:38:52 d747dcd14b5f: Waiting 22:38:52 9712f1f96733: Download complete 22:38:52 63f879dbbcfc: Verifying Checksum 22:38:52 63f879dbbcfc: Download complete 22:38:53 e9a5061849ea: Verifying Checksum 22:38:53 e9a5061849ea: Download complete 22:38:53 d747dcd14b5f: Download complete 22:38:53 0d9ebad4ef96: Verifying Checksum 22:38:53 0d9ebad4ef96: Download complete 22:38:53 ab5ef0e58194: Verifying Checksum 22:38:53 ab5ef0e58194: Download complete 22:38:53 2de7ff778b66: Verifying Checksum 22:38:53 2de7ff778b66: Download complete 22:38:56 ab5ef0e58194: Pull complete 22:38:56 9712f1f96733: Pull complete 22:38:56 63f879dbbcfc: Pull complete 22:39:01 0d9ebad4ef96: Pull complete 22:39:01 e9a5061849ea: Pull complete 22:39:01 d747dcd14b5f: Pull complete 22:39:02 2de7ff778b66: Pull complete 22:39:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:39:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:39:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:02 prd-ubuntu20.04-docker-8c-8g-4971 does not seem to be running inside a container 22:39:02 $ 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 22:39:06 $ docker top e3d34939070fcdd6049c09356282a5dc8db7f0c86231efdf90a8ebacebb81348 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:39:06 provisioning config files... 22:39:06 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14077329819776095341tmp 22:39:06 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12860052000834110122tmp 22:39:06 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7615264709994945240tmp [Pipeline] { [Pipeline] echo 22:39:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:39:06 ---> sigul-configuration.sh 22:39:06 gpg: directory `/root/.gnupg' created 22:39:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:39:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:39:06 gpg: keyring `/root/.gnupg/secring.gpg' created 22:39:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:39:06 gpg: CAST5 encrypted data 22:39:06 gpg: encrypted with 1 passphrase 22:39:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:39:06 + mkdir /home/jenkins 22:39:06 + mkdir /home/jenkins/sigul [Pipeline] sh 22:39:06 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:39:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:39:07 ---> sigul-install.sh 22:39:07 Sigul already installed; skipping installation. [Pipeline] sh 22:39:07 + git tag --list 22:39:07 1.0.0 22:39:07 v0.0.0 22:39:07 v1.1.0 22:39:07 v1.1.1 22:39:07 v1.2.2 22:39:07 v1.3.0 22:39:07 v1.3.1 22:39:07 v2.0.0 22:39:07 v2.1.0 22:39:07 v2.1.1 22:39:07 v2.1.1-dev.2 22:39:07 v2.1.1-dev.3 22:39:07 v2.2.0 22:39:07 v2.2.1-dev.1 22:39:07 v2.2.1-dev.2 22:39:07 v2.2.1-dev.3 22:39:07 v2.2.1-dev.4 22:39:07 v2.2.1-dev.5 22:39:07 v2.2.1-dev.6 22:39:07 v2.2.1-dev.7 22:39:07 v2.3.0 22:39:07 v2.3.0-dev.10 22:39:07 v2.3.0-dev.11 22:39:07 v2.3.0-dev.12 22:39:07 v2.3.0-dev.13 22:39:07 v2.3.0-dev.14 22:39:07 v2.3.0-dev.15 22:39:07 v2.3.0-dev.16 22:39:07 v2.3.0-dev.17 22:39:07 v2.3.0-dev.18 22:39:07 v2.3.0-dev.19 22:39:07 v2.3.0-dev.20 22:39:07 v2.3.0-dev.21 22:39:07 v2.3.0-dev.22 22:39:07 v2.3.0-dev.23 22:39:07 v2.3.0-dev.24 22:39:07 v2.3.0-dev.7 22:39:07 v2.3.0-dev.8 22:39:07 v2.3.0-dev.9 22:39:07 v3.0.0-dev.1 22:39:07 v3.0.0-dev.2 22:39:07 v3.0.0-dev.3 22:39:07 v3.0.0-dev.4 22:39:07 v3.0.0-dev.5 22:39:07 v3.0.0-dev.6 22:39:07 v3.0.0-dev.7 22:39:07 v3.0.0-dev.8 22:39:07 v3.0.0-dev.9 [Pipeline] sh 22:39:07 + lftools sign git-tag v3.0.0-dev.9 22:39:08 Signing Git tag with Sigul... 22:39:08 Signing v3.0.0-dev.9 [Pipeline] echo 22:39:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:39:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:39:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:39:09 $ docker stop --time=1 e3d34939070fcdd6049c09356282a5dc8db7f0c86231efdf90a8ebacebb81348 22:39:10 $ docker rm -f --volumes e3d34939070fcdd6049c09356282a5dc8db7f0c86231efdf90a8ebacebb81348 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:39:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:39:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:11 prd-ubuntu20.04-docker-8c-8g-4971 does not seem to be running inside a container 22:39:11 $ 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 22:39:11 $ docker top 354d2f4eabd27673d60ee276b44bd3b7f6fafc47cd68165f6d56deac71f6bd08 -eo pid,comm 22:39:11 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). 22:39:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:11 [ssh-agent] Looking for ssh-agent implementation... 22:39:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:11 $ docker exec 354d2f4eabd27673d60ee276b44bd3b7f6fafc47cd68165f6d56deac71f6bd08 ssh-agent 22:39:12 SSH_AUTH_SOCK=/tmp/ssh-1wjf5OC9wLjU/agent.33 22:39:12 SSH_AGENT_PID=39 22:39:12 Running ssh-add (command line suppressed) 22:39:12 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9608243760216490286.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9608243760216490286.key) 22:39:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:12 + git semver bump pre 22:39:12 2023-03-21 22:39:12,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:39:12 2023-03-21 22:39:12,628 [bump_version] DEBUG bumping version:3.0.0-dev.9 on axis:pre with prefix:dev 22:39:12 2023-03-21 22:39:12,628 [bump_version] DEBUG bumped version:3.0.0-dev.10 22:39:12 2023-03-21 22:39:12,628 [write_version] DEBUG write version:3.0.0-dev.10 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 22:39:12 2023-03-21 22:39:12,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:39:12 2023-03-21 22:39:12,628 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:39:12 2023-03-21 22:39:12,630 [execute] INFO git cat-file --batch-check 22:39:12 2023-03-21 22:39:12,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:39:12 2023-03-21 22:39:12,636 [execute] INFO git cat-file --batch 22:39:12 2023-03-21 22:39:12,636 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:39:12 2023-03-21 22:39:12,642 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:39:12 3.0.0-dev.10 [Pipeline] } 22:39:12 $ docker exec --env ******** --env ******** 354d2f4eabd27673d60ee276b44bd3b7f6fafc47cd68165f6d56deac71f6bd08 ssh-agent -k 22:39:12 unset SSH_AUTH_SOCK; 22:39:12 unset SSH_AGENT_PID; 22:39:12 echo Agent pid 39 killed; 22:39:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:13 + git semver [Pipeline] } 22:39:13 $ docker stop --time=1 354d2f4eabd27673d60ee276b44bd3b7f6fafc47cd68165f6d56deac71f6bd08 22:39:14 $ docker rm -f --volumes 354d2f4eabd27673d60ee276b44bd3b7f6fafc47cd68165f6d56deac71f6bd08 [Pipeline] // withDockerContainer [Pipeline] sh 22:39:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:39:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:15 prd-ubuntu20.04-docker-8c-8g-4971 does not seem to be running inside a container 22:39:15 $ 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 22:39:15 $ docker top ff2ffda6f75fe6b1e87677d42a8667e3f4a960992254635d7c76d59ca56c6342 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:15 [ssh-agent] Looking for ssh-agent implementation... 22:39:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:15 $ docker exec ff2ffda6f75fe6b1e87677d42a8667e3f4a960992254635d7c76d59ca56c6342 ssh-agent 22:39:16 SSH_AUTH_SOCK=/tmp/ssh-Bfcwk2jcte4U/agent.31 22:39:16 SSH_AGENT_PID=37 22:39:16 Running ssh-add (command line suppressed) 22:39:16 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14560349819396896208.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14560349819396896208.key) 22:39:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:16 + git semver push 22:39:16 2023-03-21 22:39:16,665 [run_push] DEBUG push 22:39:16 2023-03-21 22:39:16,665 [execute] INFO git cat-file --batch-check 22:39:16 2023-03-21 22:39:16,666 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:39:16 2023-03-21 22:39:16,669 [execute] INFO git rev-list 14447dfb650d028b0937c782153cf0cec025a223 -- 22:39:16 2023-03-21 22:39:16,669 [execute] DEBUG Popen(['git', 'rev-list', '14447dfb650d028b0937c782153cf0cec025a223', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:39:16 2023-03-21 22:39:16,676 [execute] INFO git fetch -v origin 22:39:16 2023-03-21 22:39:16,676 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:39:17 2023-03-21 22:39:17,195 [run_push] DEBUG no remote changes detected 22:39:17 2023-03-21 22:39:17,196 [execute] INFO git push origin semver 22:39:17 2023-03-21 22:39:17,196 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:39:18 2023-03-21 22:39:18,186 [run_push] DEBUG push all version tags 22:39:18 2023-03-21 22:39:18,186 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:39:18 2023-03-21 22:39:18,187 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 22:39:19 2023-03-21 22:39:19,059 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 22:39:19 3.0.0-dev.10 [Pipeline] } 22:39:19 $ docker exec --env ******** --env ******** ff2ffda6f75fe6b1e87677d42a8667e3f4a960992254635d7c76d59ca56c6342 ssh-agent -k 22:39:19 unset SSH_AUTH_SOCK; 22:39:19 unset SSH_AGENT_PID; 22:39:19 echo Agent pid 37 killed; 22:39:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:19 + git semver [Pipeline] } 22:39:20 $ docker stop --time=1 ff2ffda6f75fe6b1e87677d42a8667e3f4a960992254635d7c76d59ca56c6342 22:39:21 $ docker rm -f --volumes ff2ffda6f75fe6b1e87677d42a8667e3f4a960992254635d7c76d59ca56c6342 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:39:21 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 22:39:21 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:39:21 total 16 22:39:21 drwxr-xr-x 3 root root 4096 Mar 21 22:28 . 22:39:21 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 22:39 .. 22:39:21 drwxr-xr-x 2 root root 4096 Mar 21 22:28 cost 22:39:21 -rw-r--r-- 1 root root 85 Mar 21 22:28 cost.csv 22:39:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:39:21 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 22:39:21 total 16 22:39:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 22:28 . 22:39:21 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 22:39 .. 22:39:21 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 22:28 cost 22:39:21 -rw-r--r-- 1 jenkins jenkins 85 Mar 21 22:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:39:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:39:23 ---> package-listing.sh 22:39:23 ++ facter osfamily 22:39:23 ++ tr '[:upper:]' '[:lower:]' 22:39:23 + OS_FAMILY=debian 22:39:23 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 22:39:23 + START_PACKAGES=/tmp/packages_start.txt 22:39:23 + END_PACKAGES=/tmp/packages_end.txt 22:39:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:39:23 + PACKAGES=/tmp/packages_start.txt 22:39:23 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 22:39:23 + PACKAGES=/tmp/packages_end.txt 22:39:23 + case "${OS_FAMILY}" in 22:39:23 + dpkg -l 22:39:23 + grep '^ii' 22:39:23 + '[' -f /tmp/packages_start.txt ']' 22:39:23 + '[' -f /tmp/packages_end.txt ']' 22:39:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:39:23 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 22:39:23 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 22:39:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 22:39:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:39:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:39:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:24 prd-ubuntu20.04-docker-8c-8g-4971 does not seem to be running inside a container 22:39:24 $ 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 22:39:24 $ docker top 2f21a31bcaa5d118a6982f1737d454742d463b94b51229cfdade03cef5ac791c -eo pid,comm [Pipeline] { [Pipeline] sh 22:39:24 + touch /tmp/pre-build-complete [Pipeline] sh 22:39:25 + mkdir -p /var/log/sysstat [Pipeline] sh 22:39:25 + ls /var/log/sa-host 22:39:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:39:25 provisioning config files... 22:39:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18046106306132888487tmp [Pipeline] { [Pipeline] echo 22:39:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:39:25 ---> create-netrc.sh [Pipeline] } 22:39:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:39:26 ---> python-tools-install.sh [Pipeline] echo 22:39:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:39:26 ---> sudo-logs.sh 22:39:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:39:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:39:26 ---> job-cost.sh 22:39:26 lf-activate-venv: SKIPPING 22:39:26 DEBUG: total: 0.2199999988079071 22:39:26 INFO: Retrieving Stack Cost... 22:39:27 INFO: Retrieving Pricing Info for: v3-standard-8 22:39:27 INFO: Archiving Costs [Pipeline] echo 22:39:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:39:27 ---> logs-deploy.sh 22:39:27 lf-activate-venv: SKIPPING 22:39:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/66 22:39:27 INFO: archiving workspace using pattern(s): 22:39:28 Archives upload complete. 22:39:28 INFO: archiving logs to Nexus 22:39:29 ---> uname -a: 22:39:29 Linux prd-ubuntu20-04-docker-8c-8g-4971 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:39:29 22:39:29 22:39:29 ---> lscpu: 22:39:29 Architecture: x86_64 22:39:29 CPU op-mode(s): 32-bit, 64-bit 22:39:29 Byte Order: Little Endian 22:39:29 Address sizes: 40 bits physical, 48 bits virtual 22:39:29 CPU(s): 8 22:39:29 On-line CPU(s) list: 0-7 22:39:29 Thread(s) per core: 1 22:39:29 Core(s) per socket: 1 22:39:29 Socket(s): 8 22:39:29 NUMA node(s): 1 22:39:29 Vendor ID: AuthenticAMD 22:39:29 CPU family: 23 22:39:29 Model: 49 22:39:29 Model name: AMD EPYC-Rome Processor 22:39:29 Stepping: 0 22:39:29 CPU MHz: 2800.002 22:39:29 BogoMIPS: 5600.00 22:39:29 Virtualization: AMD-V 22:39:29 Hypervisor vendor: KVM 22:39:29 Virtualization type: full 22:39:29 L1d cache: 256 KiB 22:39:29 L1i cache: 256 KiB 22:39:29 L2 cache: 4 MiB 22:39:29 L3 cache: 128 MiB 22:39:29 NUMA node0 CPU(s): 0-7 22:39:29 Vulnerability Itlb multihit: Not affected 22:39:29 Vulnerability L1tf: Not affected 22:39:29 Vulnerability Mds: Not affected 22:39:29 Vulnerability Meltdown: Not affected 22:39:29 Vulnerability Mmio stale data: Not affected 22:39:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:39:29 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:39:29 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:39:29 Vulnerability Srbds: Not affected 22:39:29 Vulnerability Tsx async abort: Not affected 22:39:29 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 22:39:29 22:39:29 22:39:29 ---> nproc: 22:39:29 8 22:39:29 22:39:29