Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f6828afe08f553138e4b56b0659b8be13fc1cd72 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-ssh1626535367825159321.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13439921209083739106.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh9987888300543200015.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh12891995168994464722.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh14054892737871580928.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20374 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 f6828afe08f553138e4b56b0659b8be13fc1cd72 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 Commit message: "Merge pull request #184 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14" > git rev-list --no-walk d0a0e99d902e45b7e17db09c4331e4d14954addb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:27:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:27:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:27:45 ========================================================= 05:27:45 EdgeX Global Pipelines Version Info 05:27:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:27:46 ------------------- 05:27:46 stable info: 05:27:46 ------------------- 05:27:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:27:46 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 05:27:46 Message: update stable to v1.0.238 05:27:46 ------------------- 05:27:46 experimental info: 05:27:46 ------------------- 05:27:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:27:46 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 05:27:46 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6828afe08f553138e4b56b0659b8be13fc1cd72 [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6828af [Pipeline] echo 05:27:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:27:47 provisioning config files... 05:27:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6761480318750914430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:47 ---> docker-login.sh 05:27:47 nexus3.edgexfoundry.org:10001 05:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:48 Configure a credential helper to remove this warning. See 05:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:48 05:27:48 Login Succeeded 05:27:48 nexus3.edgexfoundry.org:10002 05:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:48 Configure a credential helper to remove this warning. See 05:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:48 05:27:48 Login Succeeded 05:27:48 nexus3.edgexfoundry.org:10003 05:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:48 Configure a credential helper to remove this warning. See 05:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:48 05:27:48 Login Succeeded 05:27:48 nexus3.edgexfoundry.org:10004 05:27:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:49 Configure a credential helper to remove this warning. See 05:27:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:49 05:27:49 Login Succeeded 05:27:49 docker.io 05:27:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:49 Configure a credential helper to remove this warning. See 05:27:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:49 05:27:49 Login Succeeded 05:27:49 ---> docker-login.sh ends [Pipeline] } 05:27:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:27:49 + git rev-list -1 --merges f6828afe08f553138e4b56b0659b8be13fc1cd72~1..f6828afe08f553138e4b56b0659b8be13fc1cd72 [Pipeline] echo 05:27:49 -----------> git rev-list -1 --merges f6828afe08f553138e4b56b0659b8be13fc1cd72~1..f6828afe08f553138e4b56b0659b8be13fc1cd72 f6828afe08f553138e4b56b0659b8be13fc1cd72 05:27:49 f6828afe08f553138e4b56b0659b8be13fc1cd72 [false] [Pipeline] sh 05:27:50 + git log --format=format:%s -1 f6828afe08f553138e4b56b0659b8be13fc1cd72 [Pipeline] echo 05:27:50 ========================================================= 05:27:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:27:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:27:50 + git log --format=format:%s -1 f6828afe08f553138e4b56b0659b8be13fc1cd72 [Pipeline] echo 05:27:50 [semverPrep] GIT_COMMIT: f6828afe08f553138e4b56b0659b8be13fc1cd72, Commit Message: Merge pull request #184 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14 [Pipeline] echo 05:27:50 [semverPrep] This is not a build commit. [Pipeline] sh 05:27:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:27:50 + grep -v github /etc/ssh/ssh_known_hosts 05:27:50 + [ -e /tmp/ssh_known_hosts ] 05:27:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:27:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:27:50 + sudo tee -a /etc/ssh/ssh_known_hosts 05:27:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:51 05:27:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:51 0.1.4: Pulling from edgex-devops/py-git-semver 05:27:51 b85a868b505f: Pulling fs layer 05:27:51 e2be974225ed: Pulling fs layer 05:27:51 339a4e72a1f5: Pulling fs layer 05:27:51 988bab9f4d93: Pulling fs layer 05:27:51 1469e6f7b9e6: Pulling fs layer 05:27:51 eaf3925da568: Pulling fs layer 05:27:51 bab4dde63d76: Pulling fs layer 05:27:51 bde34c3a00c8: Pulling fs layer 05:27:51 b352a97aabf1: Pulling fs layer 05:27:51 4872d77fe225: Pulling fs layer 05:27:51 5851b861e8e6: Pulling fs layer 05:27:51 1469e6f7b9e6: Waiting 05:27:51 eaf3925da568: Waiting 05:27:51 bab4dde63d76: Waiting 05:27:51 bde34c3a00c8: Waiting 05:27:51 b352a97aabf1: Waiting 05:27:51 4872d77fe225: Waiting 05:27:51 5851b861e8e6: Waiting 05:27:51 988bab9f4d93: Waiting 05:27:51 e2be974225ed: Verifying Checksum 05:27:51 e2be974225ed: Download complete 05:27:51 988bab9f4d93: Verifying Checksum 05:27:51 988bab9f4d93: Download complete 05:27:51 1469e6f7b9e6: Verifying Checksum 05:27:51 1469e6f7b9e6: Download complete 05:27:51 eaf3925da568: Download complete 05:27:51 339a4e72a1f5: Verifying Checksum 05:27:51 339a4e72a1f5: Download complete 05:27:51 bde34c3a00c8: Download complete 05:27:51 b352a97aabf1: Verifying Checksum 05:27:51 b352a97aabf1: Download complete 05:27:51 4872d77fe225: Download complete 05:27:51 5851b861e8e6: Download complete 05:27:51 b85a868b505f: Verifying Checksum 05:27:51 b85a868b505f: Download complete 05:27:51 bab4dde63d76: Verifying Checksum 05:27:51 bab4dde63d76: Download complete 05:27:53 b85a868b505f: Pull complete 05:27:53 e2be974225ed: Pull complete 05:27:53 339a4e72a1f5: Pull complete 05:27:53 988bab9f4d93: Pull complete 05:27:54 1469e6f7b9e6: Pull complete 05:27:54 eaf3925da568: Pull complete 05:27:56 bab4dde63d76: Pull complete 05:27:56 bde34c3a00c8: Pull complete 05:27:56 b352a97aabf1: Pull complete 05:27:56 4872d77fe225: Pull complete 05:27:56 5851b861e8e6: Pull complete 05:27:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:27:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:56 prd-ubuntu20.04-docker-8c-8g-20374 does not seem to be running inside a container 05:27:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:27:58 $ docker top 1078063549f87b6288035970f9df6e6f61dbbaf55fd20a1c00e4d71454ea44e6 -eo pid,comm 05:27:58 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). 05:27:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:27:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:27:58 [ssh-agent] Looking for ssh-agent implementation... 05:27:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:27:58 $ docker exec 1078063549f87b6288035970f9df6e6f61dbbaf55fd20a1c00e4d71454ea44e6 ssh-agent 05:27:58 SSH_AUTH_SOCK=/tmp/ssh-dAr6ivT6T1Wx/agent.33 05:27:58 SSH_AGENT_PID=40 05:27:58 Running ssh-add (command line suppressed) 05:27:58 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6112891991198059288.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6112891991198059288.key) 05:27:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:27:59 + git tag --points-at HEAD [Pipeline] } 05:27:59 $ docker exec --env ******** --env ******** 1078063549f87b6288035970f9df6e6f61dbbaf55fd20a1c00e4d71454ea44e6 ssh-agent -k 05:27:59 unset SSH_AUTH_SOCK; 05:27:59 unset SSH_AGENT_PID; 05:27:59 echo Agent pid 40 killed; 05:27:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:27:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:27:59 [ssh-agent] Looking for ssh-agent implementation... 05:27:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:27:59 $ docker exec 1078063549f87b6288035970f9df6e6f61dbbaf55fd20a1c00e4d71454ea44e6 ssh-agent 05:27:59 SSH_AUTH_SOCK=/tmp/ssh-IJ09KelPcEhz/agent.73 05:27:59 SSH_AGENT_PID=79 05:27:59 Running ssh-add (command line suppressed) 05:27:59 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3961019703767494765.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3961019703767494765.key) 05:27:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:27:59 + git semver init 05:28:00 2022-07-18 05:28:00,127 [run_init] DEBUG init version:0.0.0 force:False 05:28:00 2022-07-18 05:28:00,128 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 05:28:00 2022-07-18 05:28:00,128 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 05:28:00 2022-07-18 05:28:00,129 [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) 05:28:01 2022-07-18 05:28:00,824 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 05:28:01 2022-07-18 05:28:00,825 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 05:28:01 2022-07-18 05:28:00,825 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:28:01 2022-07-18 05:28:00,825 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:28:01 2.2.1-dev.7 [Pipeline] } 05:28:01 $ docker exec --env ******** --env ******** 1078063549f87b6288035970f9df6e6f61dbbaf55fd20a1c00e4d71454ea44e6 ssh-agent -k 05:28:01 unset SSH_AUTH_SOCK; 05:28:01 unset SSH_AGENT_PID; 05:28:01 echo Agent pid 79 killed; 05:28:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:01 + git semver [Pipeline] } 05:28:01 $ docker stop --time=1 1078063549f87b6288035970f9df6e6f61dbbaf55fd20a1c00e4d71454ea44e6 05:28:03 $ docker rm -f 1078063549f87b6288035970f9df6e6f61dbbaf55fd20a1c00e4d71454ea44e6 [Pipeline] // withDockerContainer [Pipeline] sh 05:28:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:28:03 Stashed 1 file(s) [Pipeline] echo 05:28:03 [edgeXSemver]: initialized semver on version 2.2.1-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:03 provisioning config files... 05:28:03 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7322470490891169475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:04 ---> docker-login.sh 05:28:04 nexus3.edgexfoundry.org:10001 05:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:04 Configure a credential helper to remove this warning. See 05:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:04 05:28:04 Login Succeeded 05:28:04 nexus3.edgexfoundry.org:10002 05:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:04 Configure a credential helper to remove this warning. See 05:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:04 05:28:04 Login Succeeded 05:28:04 nexus3.edgexfoundry.org:10003 05:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:04 Configure a credential helper to remove this warning. See 05:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:04 05:28:04 Login Succeeded 05:28:04 nexus3.edgexfoundry.org:10004 05:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:04 Configure a credential helper to remove this warning. See 05:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:04 05:28:04 Login Succeeded 05:28:04 docker.io 05:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:05 Configure a credential helper to remove this warning. See 05:28:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:05 05:28:05 Login Succeeded 05:28:05 ---> docker-login.sh ends [Pipeline] } 05:28:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:28:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:28:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:28:05 ========================================================= 05:28:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:28:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:28:05 Sending build context to Docker daemon 5.412MB 05:28:05 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:28:05 Step 2/12 : FROM ${BASE} AS builder 05:28:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:28:05 2408cc74d12b: Pulling fs layer 05:28:05 ea60b727a1ce: Pulling fs layer 05:28:05 30c4a7721957: Pulling fs layer 05:28:05 370296b7ddb6: Pulling fs layer 05:28:05 7c6cee850709: Pulling fs layer 05:28:05 39a5fcdaea64: Pulling fs layer 05:28:05 d94ebbe4e438: Pulling fs layer 05:28:05 bcfd1f05c69d: Pulling fs layer 05:28:05 59ccb84bbe0f: Pulling fs layer 05:28:05 39a5fcdaea64: Waiting 05:28:05 bcfd1f05c69d: Waiting 05:28:05 59ccb84bbe0f: Waiting 05:28:05 d94ebbe4e438: Waiting 05:28:05 7c6cee850709: Waiting 05:28:05 370296b7ddb6: Waiting 05:28:05 30c4a7721957: Download complete 05:28:05 ea60b727a1ce: Verifying Checksum 05:28:05 ea60b727a1ce: Download complete 05:28:05 7c6cee850709: Verifying Checksum 05:28:05 7c6cee850709: Download complete 05:28:05 39a5fcdaea64: Download complete 05:28:05 2408cc74d12b: Verifying Checksum 05:28:05 2408cc74d12b: Download complete 05:28:05 d94ebbe4e438: Verifying Checksum 05:28:05 d94ebbe4e438: Download complete 05:28:05 2408cc74d12b: Pull complete 05:28:06 ea60b727a1ce: Pull complete 05:28:06 30c4a7721957: Pull complete 05:28:06 59ccb84bbe0f: Verifying Checksum 05:28:06 59ccb84bbe0f: Download complete 05:28:06 bcfd1f05c69d: Verifying Checksum 05:28:06 bcfd1f05c69d: Download complete 05:28:06 370296b7ddb6: Verifying Checksum 05:28:06 370296b7ddb6: Download complete 05:28:11 370296b7ddb6: Pull complete 05:28:11 7c6cee850709: Pull complete 05:28:11 39a5fcdaea64: Pull complete 05:28:11 d94ebbe4e438: Pull complete 05:28:13 bcfd1f05c69d: Pull complete 05:28:14 59ccb84bbe0f: Pull complete 05:28:14 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 05:28:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:28:14 ---> a4fb48ad2a94 05:28:14 Step 3/12 : ARG MAKE='make build' 05:28:15 ---> Running in 5ed4225e7785 05:28:15 Removing intermediate container 5ed4225e7785 05:28:15 ---> 32b07f15a42d 05:28:15 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:28:15 ---> Running in 2a0c86d66013 05:28:15 Removing intermediate container 2a0c86d66013 05:28:15 ---> 5dfd70ff8088 05:28:15 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:28:15 ---> Running in 2fa6be7b5605 05:28:15 Removing intermediate container 2fa6be7b5605 05:28:15 ---> 286fc8df2cb9 05:28:15 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:28:15 ---> Running in 7efac398a4d5 05:28:16 Removing intermediate container 7efac398a4d5 05:28:16 ---> f32df58e1ce2 05:28:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:28:16 ---> Running in 885a726d70b7 05:28:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:28:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:28:18 (1/4) Installing openssh-keygen (9.0_p1-r1) 05:28:18 (2/4) Installing libedit (20210910.3.1-r0) 05:28:18 (3/4) Installing openssh-client-common (9.0_p1-r1) 05:28:18 (4/4) Installing openssh-client-default (9.0_p1-r1) 05:28:18 Executing busybox-1.35.0-r13.trigger 05:28:18 OK: 216 MiB in 55 packages 05:28:18 Still waiting to schedule task 05:28:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:28:19 Removing intermediate container 885a726d70b7 05:28:19 ---> 9d249052abd2 05:28:19 Step 8/12 : WORKDIR /device-snmp-go 05:28:19 ---> Running in b459c5aadab4 05:28:19 Removing intermediate container b459c5aadab4 05:28:19 ---> b8d315acfe02 05:28:19 Step 9/12 : COPY go.mod vendor* ./ 05:28:19 ---> 462074ccf792 05:28:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:28:19 ---> Running in 2dc7ff3070d3 05:28:34 Removing intermediate container 2dc7ff3070d3 05:28:34 ---> 1e22d3f73441 05:28:34 Step 11/12 : COPY . . 05:28:34 ---> 65aef5a06c09 05:28:34 Step 12/12 : RUN ${MAKE} 05:28:34 ---> Running in ce6022b09107 05:28:34 noop 05:28:34 Removing intermediate container ce6022b09107 05:28:34 ---> bfccd8454c3f 05:28:34 Successfully built bfccd8454c3f 05:28:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:34 + docker inspect -f . ci-base-image-x86_64 05:28:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:34 prd-ubuntu20.04-docker-8c-8g-20374 does not seem to be running inside a container 05:28:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:28:35 $ docker top 09e1117aaedfbc451b8e80ada22461d0ec4e1d4b56ca74dea792c205ab61386c -eo pid,comm [Pipeline] { [Pipeline] sh 05:28:35 + go version 05:28:35 go version go1.18.3 linux/amd64 [Pipeline] } 05:28:35 $ docker stop --time=1 09e1117aaedfbc451b8e80ada22461d0ec4e1d4b56ca74dea792c205ab61386c 05:28:36 $ docker rm -f 09e1117aaedfbc451b8e80ada22461d0ec4e1d4b56ca74dea792c205ab61386c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:37 + docker inspect -f . ci-base-image-x86_64 05:28:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:37 prd-ubuntu20.04-docker-8c-8g-20374 does not seem to be running inside a container 05:28:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:28:37 $ docker top 284444f07e27afc0ead01d8b03604b579f3cf8190552eea5d5ab4b3a8a775da8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:28:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 05:28:38 + make test 05:28:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:28:38 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:28:48 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:28:48 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.016s coverage: 0.0% of statements 05:28:55 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 05:28:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:28:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:28:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:28:59 ./bin/test-attribution-txt.sh [Pipeline] echo 05:28:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:28:59 $ docker stop --time=1 284444f07e27afc0ead01d8b03604b579f3cf8190552eea5d5ab4b3a8a775da8 05:29:01 $ docker rm -f 284444f07e27afc0ead01d8b03604b579f3cf8190552eea5d5ab4b3a8a775da8 [Pipeline] // withDockerContainer [Pipeline] sh 05:29:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:29:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:29:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:29:02 + ls -al . 05:29:02 total 168 05:29:02 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 05:28 . 05:29:02 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 05:27 .. 05:29:02 -rw-rw-r-- 1 jenkins jenkins 6 Jul 18 05:27 .dockerignore 05:29:02 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 05:28 .git 05:29:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:27 .github 05:29:02 -rw-rw-r-- 1 jenkins jenkins 328 Jul 18 05:27 .gitignore 05:29:02 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 05:27 .golangci.yml 05:29:02 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 05:28 .semver 05:29:02 -rw-rw-r-- 1 jenkins jenkins 8556 Jul 18 05:27 Attribution.txt 05:29:02 -rw-rw-r-- 1 jenkins jenkins 6948 Jul 18 05:27 CHANGELOG.md 05:29:02 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 18 05:27 Dockerfile 05:29:02 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 05:27 GOVERNANCE.md 05:29:02 -rw-rw-r-- 1 jenkins jenkins 656 Jul 18 05:27 Jenkinsfile 05:29:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 05:27 LICENSE 05:29:02 -rw-rw-r-- 1 jenkins jenkins 2334 Jul 18 05:27 Makefile 05:29:02 -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 05:27 OWNERS.md 05:29:02 -rw-rw-r-- 1 jenkins jenkins 9390 Jul 18 05:27 README.md 05:29:02 -rw-rw-r-- 1 jenkins jenkins 11 Jul 18 05:28 VERSION 05:29:02 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 05:27 bin 05:29:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:27 cmd 05:29:02 -rw-r--r-- 1 jenkins jenkins 7631 Jul 18 05:28 coverage.out 05:29:02 -rw-rw-r-- 1 jenkins jenkins 3302 Jul 18 05:27 go.mod 05:29:02 -rw-rw-r-- 1 jenkins jenkins 35534 Jul 18 05:27 go.sum 05:29:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:27 internal 05:29:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:27 snap 05:29:02 -rw-rw-r-- 1 jenkins jenkins 228 Jul 18 05:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:03 + 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=f6828afe08f553138e4b56b0659b8be13fc1cd72 --label arch=amd64 --label version=2.2.1-dev.7 . 05:29:03 Sending build context to Docker daemon 5.42MB 05:29:03 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:29:03 Step 2/24 : FROM ${BASE} AS builder 05:29:03 ---> bfccd8454c3f 05:29:03 Step 3/24 : ARG MAKE='make build' 05:29:03 ---> Running in 0751170bab37 05:29:03 Removing intermediate container 0751170bab37 05:29:03 ---> 59b0e63d9e11 05:29:03 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:29:03 ---> Running in 7b03d45a8b87 05:29:03 Removing intermediate container 7b03d45a8b87 05:29:03 ---> 816b6c660237 05:29:03 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:29:03 ---> Running in 943d48392cee 05:29:03 Removing intermediate container 943d48392cee 05:29:03 ---> d53569504511 05:29:03 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:29:03 ---> Running in 97e657072d01 05:29:04 Removing intermediate container 97e657072d01 05:29:04 ---> 31a4fd696d07 05:29:04 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:29:04 ---> Running in 57562a365640 05:29:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:29:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:29:05 OK: 216 MiB in 55 packages 05:29:06 Removing intermediate container 57562a365640 05:29:06 ---> 69bfdff60eaf 05:29:06 Step 8/24 : WORKDIR /device-snmp-go 05:29:06 ---> Running in c14304fc6852 05:29:06 Removing intermediate container c14304fc6852 05:29:06 ---> a51a5947aaf8 05:29:06 Step 9/24 : COPY go.mod vendor* ./ 05:29:06 ---> c1838273c58e 05:29:06 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:29:06 ---> Running in c18cae7c5ab3 05:29:06 Removing intermediate container c18cae7c5ab3 05:29:06 ---> 107eab0ac8ec 05:29:06 Step 11/24 : COPY . . 05:29:07 ---> 3e0c539ad964 05:29:07 Step 12/24 : RUN ${MAKE} 05:29:07 ---> Running in ab68babdabd6 05:29:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.14 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.1-dev.7" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:29:29 Removing intermediate container ab68babdabd6 05:29:29 ---> 1129404b689d 05:29:29 Step 13/24 : FROM alpine:3.16 05:29:29 3.16: Pulling from library/alpine 05:29:29 2408cc74d12b: Already exists 05:29:29 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 05:29:29 Status: Downloaded newer image for alpine:3.16 05:29:29 ---> e66264b98777 05:29:29 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:29:29 ---> Running in 6eae74c47401 05:29:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:29:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:29:29 (1/6) Installing dumb-init (1.2.5-r1) 05:29:29 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:29:29 (3/6) Installing libsodium (1.0.18-r0) 05:29:29 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:29:29 (5/6) Installing libzmq (4.3.4-r0) 05:29:29 (6/6) Installing zeromq (4.3.4-r0) 05:29:29 Executing busybox-1.35.0-r13.trigger 05:29:29 OK: 8 MiB in 20 packages 05:29:29 Removing intermediate container 6eae74c47401 05:29:29 ---> 278c39d2ddc0 05:29:29 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:29:30 ---> 74a637fe546a 05:29:30 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:29:30 ---> 8582a65103f3 05:29:30 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:29:30 ---> b71817ffb498 05:29:30 Step 18/24 : EXPOSE 59993 05:29:30 ---> Running in ede9e4e72529 05:29:30 Removing intermediate container ede9e4e72529 05:29:30 ---> 98cf4bfe9468 05:29:30 Step 19/24 : EXPOSE 161 05:29:30 ---> Running in d6227bcebe5b 05:29:30 Removing intermediate container d6227bcebe5b 05:29:30 ---> 2436048329a6 05:29:30 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:29:30 ---> Running in 16970f171ec2 05:29:31 Removing intermediate container 16970f171ec2 05:29:31 ---> b437c4dfc137 05:29:31 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:29:31 ---> Running in 9d6b0183eebb 05:29:31 Removing intermediate container 9d6b0183eebb 05:29:31 ---> 0f332a82f5a1 05:29:31 Step 22/24 : LABEL arch=amd64 05:29:31 ---> Running in 3717ce1aaa51 05:29:31 Removing intermediate container 3717ce1aaa51 05:29:31 ---> 8a3c2ce2f4ac 05:29:31 Step 23/24 : LABEL git_sha=f6828afe08f553138e4b56b0659b8be13fc1cd72 05:29:31 ---> Running in e0772cda3606 05:29:31 Removing intermediate container e0772cda3606 05:29:31 ---> 3e4f41c8b7c3 05:29:31 Step 24/24 : LABEL version=2.2.1-dev.7 05:29:31 ---> Running in 0d5ebd10866d 05:29:31 Removing intermediate container 0d5ebd10866d 05:29:31 ---> 7b16bb95908f 05:29:31 [Warning] One or more build-args [ARCH] were not consumed 05:29:31 Successfully built 7b16bb95908f 05:29:31 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:29:31 provisioning config files... 05:29:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9193877397655955753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:31 ---> docker-login.sh 05:29:31 nexus3.edgexfoundry.org:10001 05:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:31 Configure a credential helper to remove this warning. See 05:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:31 05:29:31 Login Succeeded 05:29:31 nexus3.edgexfoundry.org:10002 05:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:32 Configure a credential helper to remove this warning. See 05:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:32 05:29:32 Login Succeeded 05:29:32 nexus3.edgexfoundry.org:10003 05:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:32 Configure a credential helper to remove this warning. See 05:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:32 05:29:32 Login Succeeded 05:29:32 nexus3.edgexfoundry.org:10004 05:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:32 Configure a credential helper to remove this warning. See 05:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:32 05:29:32 Login Succeeded 05:29:32 docker.io 05:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:32 Configure a credential helper to remove this warning. See 05:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:32 05:29:32 Login Succeeded 05:29:32 ---> docker-login.sh ends [Pipeline] } 05:29:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:29:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:29:32 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 05:29:32 f6828afe08f553138e4b56b0659b8be13fc1cd72 05:29:32 latest 05:29:32 2.2.1-dev.7 05:29:32 f6828afe08f553138e4b56b0659b8be13fc1cd72-2.2.1-dev.7 05:29:32 main 05:29:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:32 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:f6828afe08f553138e4b56b0659b8be13fc1cd72 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:33 + docker push nexus3.edgexfoundry.org:10004/device-snmp:f6828afe08f553138e4b56b0659b8be13fc1cd72 05:29:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:29:33 7fb195ae3d4c: Preparing 05:29:33 e49278664ec2: Preparing 05:29:33 7be9f6f84db7: Preparing 05:29:33 da2b02b22a23: Preparing 05:29:33 24302eb7d908: Preparing 05:29:33 24302eb7d908: Layer already exists 05:29:33 e49278664ec2: Pushed 05:29:33 7fb195ae3d4c: Pushed 05:29:33 da2b02b22a23: Pushed 05:29:36 7be9f6f84db7: Pushed 05:29:36 f6828afe08f553138e4b56b0659b8be13fc1cd72: digest: sha256:b6e1bf683af03d6a8a44a47829afd5d2d5f432a50020b07f80d806ca92e3a4fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:36 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:36 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 05:29:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:29:36 7fb195ae3d4c: Preparing 05:29:36 e49278664ec2: Preparing 05:29:36 7be9f6f84db7: Preparing 05:29:36 da2b02b22a23: Preparing 05:29:36 24302eb7d908: Preparing 05:29:36 7fb195ae3d4c: Layer already exists 05:29:36 e49278664ec2: Layer already exists 05:29:36 24302eb7d908: Layer already exists 05:29:36 da2b02b22a23: Layer already exists 05:29:36 7be9f6f84db7: Layer already exists 05:29:36 latest: digest: sha256:b6e1bf683af03d6a8a44a47829afd5d2d5f432a50020b07f80d806ca92e3a4fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:37 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:37 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.7 05:29:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:29:37 7fb195ae3d4c: Preparing 05:29:37 e49278664ec2: Preparing 05:29:37 7be9f6f84db7: Preparing 05:29:37 da2b02b22a23: Preparing 05:29:37 24302eb7d908: Preparing 05:29:37 e49278664ec2: Layer already exists 05:29:37 24302eb7d908: Layer already exists 05:29:37 7be9f6f84db7: Layer already exists 05:29:37 7fb195ae3d4c: Layer already exists 05:29:37 da2b02b22a23: Layer already exists 05:29:37 2.2.1-dev.7: digest: sha256:b6e1bf683af03d6a8a44a47829afd5d2d5f432a50020b07f80d806ca92e3a4fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:37 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:f6828afe08f553138e4b56b0659b8be13fc1cd72-2.2.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:37 + docker push nexus3.edgexfoundry.org:10004/device-snmp:f6828afe08f553138e4b56b0659b8be13fc1cd72-2.2.1-dev.7 05:29:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:29:37 7fb195ae3d4c: Preparing 05:29:37 e49278664ec2: Preparing 05:29:37 7be9f6f84db7: Preparing 05:29:37 da2b02b22a23: Preparing 05:29:37 24302eb7d908: Preparing 05:29:37 da2b02b22a23: Layer already exists 05:29:37 24302eb7d908: Layer already exists 05:29:37 e49278664ec2: Layer already exists 05:29:37 7be9f6f84db7: Layer already exists 05:29:37 7fb195ae3d4c: Layer already exists 05:29:37 f6828afe08f553138e4b56b0659b8be13fc1cd72-2.2.1-dev.7: digest: sha256:b6e1bf683af03d6a8a44a47829afd5d2d5f432a50020b07f80d806ca92e3a4fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:38 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:38 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 05:29:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:29:38 7fb195ae3d4c: Preparing 05:29:38 e49278664ec2: Preparing 05:29:38 7be9f6f84db7: Preparing 05:29:38 da2b02b22a23: Preparing 05:29:38 24302eb7d908: Preparing 05:29:38 da2b02b22a23: Layer already exists 05:29:38 7be9f6f84db7: Layer already exists 05:29:38 e49278664ec2: Layer already exists 05:29:38 7fb195ae3d4c: Layer already exists 05:29:38 24302eb7d908: Layer already exists 05:29:38 main: digest: sha256:b6e1bf683af03d6a8a44a47829afd5d2d5f432a50020b07f80d806ca92e3a4fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:29:38 ===================================================== [Pipeline] echo 05:29:38 taggedImages: 05:29:38 - nexus3.edgexfoundry.org:10004/device-snmp:f6828afe08f553138e4b56b0659b8be13fc1cd72 05:29:38 - nexus3.edgexfoundry.org:10004/device-snmp:latest 05:29:38 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.7 05:29:38 - nexus3.edgexfoundry.org:10004/device-snmp:f6828afe08f553138e4b56b0659b8be13fc1cd72-2.2.1-dev.7 05:29:38 - 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 05:29:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:39 05:29:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:39 latest: Pulling from edgex-lftools-log-publisher 05:29:39 5eb5b503b376: Pulling fs layer 05:29:39 5c69ac0246d0: Pulling fs layer 05:29:39 ec43610c2a17: Pulling fs layer 05:29:39 3a2ae6a8a46f: Pulling fs layer 05:29:39 33b1e0a273af: Pulling fs layer 05:29:39 5d3b04190fa2: Pulling fs layer 05:29:39 2f39f015ded8: Pulling fs layer 05:29:39 5d3b04190fa2: Waiting 05:29:39 2f39f015ded8: Waiting 05:29:39 3a2ae6a8a46f: Waiting 05:29:39 33b1e0a273af: Waiting 05:29:39 5c69ac0246d0: Download complete 05:29:39 3a2ae6a8a46f: Download complete 05:29:39 33b1e0a273af: Download complete 05:29:39 5d3b04190fa2: Download complete 05:29:39 ec43610c2a17: Verifying Checksum 05:29:39 ec43610c2a17: Download complete 05:29:39 5eb5b503b376: Verifying Checksum 05:29:39 5eb5b503b376: Download complete 05:29:40 2f39f015ded8: Download complete 05:29:41 5eb5b503b376: Pull complete 05:29:41 5c69ac0246d0: Pull complete 05:29:41 ec43610c2a17: Pull complete 05:29:41 3a2ae6a8a46f: Pull complete 05:29:41 33b1e0a273af: Pull complete 05:29:41 5d3b04190fa2: Pull complete 05:29:47 2f39f015ded8: Pull complete 05:29:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:29:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:47 prd-ubuntu20.04-docker-8c-8g-20374 does not seem to be running inside a container 05:29:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:29:48 $ docker top 9ed3fcc47f97135eee383e354a58ce24b3febe56eeb08c258779f067ed58be88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:49 ---> job-cost.sh 05:29:49 lf-activate-venv: SKIPPING 05:29:49 INFO: No Stack... 05:29:49 INFO: Retrieving Pricing Info for: v3-standard-8 05:29:50 INFO: Archiving Costs [Pipeline] sh 05:29:50 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv+ 05:29:50 cut -d, -f6 [Pipeline] lock 05:29:50 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-38-stack-cost] 05:29:50 Resource [jenkins-edgexfoundry-device-snmp-go-main-38-stack-cost] did not exist. Created. 05:29:50 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:29:50 + echo total: 0.2199999988079071 [Pipeline] stash 05:29:50 Stashed 1 file(s) [Pipeline] } 05:29:50 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-38-stack-cost] [Pipeline] // lock [Pipeline] } 05:29:50 $ docker stop --time=1 9ed3fcc47f97135eee383e354a58ce24b3febe56eeb08c258779f067ed58be88 05:29:51 $ docker rm -f 9ed3fcc47f97135eee383e354a58ce24b3febe56eeb08c258779f067ed58be88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:30:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20375 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 05:30:01 Running in /w/workspace/device-snmp-go/38 [Pipeline] { [Pipeline] checkout 05:30:01 Selected Git installation does not exist. Using Default 05:30:01 The recommended git tool is: NONE 05:30:06 using credential edgex-jenkins-ssh 05:30:06 Cloning the remote Git repository 05:30:06 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:30:06 > git init /w/workspace/device-snmp-go/38 # timeout=10 05:30:06 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:30:06 > git --version # timeout=10 05:30:06 > git --version # 'git version 2.25.1' 05:30:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:30:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:30:08 Avoid second fetch 05:30:08 Checking out Revision f6828afe08f553138e4b56b0659b8be13fc1cd72 (main) 05:30:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:30:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:30:08 > git config core.sparsecheckout # timeout=10 05:30:08 > git checkout -f f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 05:30:12 Commit message: "Merge pull request #184 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:30:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:30:13 % Total % Received % Xferd Average Speed Time Time Time Current 05:30:13 Dload Upload Total Spent Left Speed 05:30:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 05:30:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:30:14 + sudo tee /etc/docker/daemon.new 05:30:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:30:14 { 05:30:14 "registry-mirrors": [ 05:30:14 "https://nexus3.edgexfoundry.org:10001" 05:30:14 ], 05:30:14 "bip": "10.250.0.254/24", 05:30:14 "hosts": [ 05:30:14 "tcp://0.0.0.0:5555", 05:30:14 "unix:///var/run/docker.sock" 05:30:14 ], 05:30:14 "mtu": 1458, 05:30:14 "selinux-enabled": true, 05:30:14 "seccomp-profile": "/etc/docker/seccomp.json" 05:30:14 } [Pipeline] sh 05:30:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:30:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:30:33 provisioning config files... 05:30:33 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/38@tmp/config4362956262438933757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:33 ---> docker-login.sh 05:30:33 nexus3.edgexfoundry.org:10001 05:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:34 Configure a credential helper to remove this warning. See 05:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:34 05:30:34 Login Succeeded 05:30:34 nexus3.edgexfoundry.org:10002 05:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:34 Configure a credential helper to remove this warning. See 05:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:34 05:30:34 Login Succeeded 05:30:34 nexus3.edgexfoundry.org:10003 05:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:35 Configure a credential helper to remove this warning. See 05:30:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:35 05:30:35 Login Succeeded 05:30:35 nexus3.edgexfoundry.org:10004 05:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:35 Configure a credential helper to remove this warning. See 05:30:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:35 05:30:35 Login Succeeded 05:30:35 docker.io 05:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:36 Configure a credential helper to remove this warning. See 05:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:36 05:30:36 Login Succeeded 05:30:36 ---> docker-login.sh ends [Pipeline] } 05:30:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:30:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:30:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:30:36 ========================================================= 05:30:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:30:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:30:37 Sending build context to Docker daemon 2.789MB 05:30:37 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:30:37 Step 2/12 : FROM ${BASE} AS builder 05:30:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:30:37 b3c136eddcbf: Pulling fs layer 05:30:37 c0a3192eca97: Pulling fs layer 05:30:37 a050256f5b6f: Pulling fs layer 05:30:37 656be50a0ddc: Pulling fs layer 05:30:37 2bbca73fdf42: Pulling fs layer 05:30:37 46d945488cbd: Pulling fs layer 05:30:37 8a5474983e97: Pulling fs layer 05:30:37 329c88fbcd65: Pulling fs layer 05:30:37 656be50a0ddc: Waiting 05:30:37 2bbca73fdf42: Waiting 05:30:37 46d945488cbd: Waiting 05:30:37 8a5474983e97: Waiting 05:30:37 329c88fbcd65: Waiting 05:30:37 a050256f5b6f: Download complete 05:30:37 c0a3192eca97: Verifying Checksum 05:30:37 c0a3192eca97: Download complete 05:30:37 2bbca73fdf42: Verifying Checksum 05:30:37 2bbca73fdf42: Download complete 05:30:37 46d945488cbd: Verifying Checksum 05:30:37 46d945488cbd: Download complete 05:30:37 b3c136eddcbf: Verifying Checksum 05:30:37 b3c136eddcbf: Download complete 05:30:38 b3c136eddcbf: Pull complete 05:30:38 329c88fbcd65: Verifying Checksum 05:30:38 329c88fbcd65: Download complete 05:30:39 c0a3192eca97: Pull complete 05:30:39 a050256f5b6f: Pull complete 05:30:39 8a5474983e97: Verifying Checksum 05:30:39 8a5474983e97: Download complete 05:30:40 656be50a0ddc: Verifying Checksum 05:30:40 656be50a0ddc: Download complete 05:30:52 656be50a0ddc: Pull complete 05:30:53 2bbca73fdf42: Pull complete 05:30:53 46d945488cbd: Pull complete 05:31:00 8a5474983e97: Pull complete 05:31:02 329c88fbcd65: Pull complete 05:31:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 05:31:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:31:02 ---> ff4287adb874 05:31:02 Step 3/12 : ARG MAKE='make build' 05:31:02 ---> Running in 8afc3f0a2958 05:31:03 Removing intermediate container 8afc3f0a2958 05:31:03 ---> 39d55f072223 05:31:03 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:31:03 ---> Running in f470c316370f 05:31:03 Removing intermediate container f470c316370f 05:31:03 ---> 08e646ae8c4b 05:31:03 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:31:03 ---> Running in 69211e7b02e5 05:31:03 Removing intermediate container 69211e7b02e5 05:31:03 ---> fba18ee8ed5a 05:31:03 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:31:03 ---> Running in aa028304a3d9 05:31:06 Removing intermediate container aa028304a3d9 05:31:06 ---> 678eeed9eae5 05:31:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:31:06 ---> Running in 0779172ecb34 05:31:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:31:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:31:09 (1/4) Installing openssh-keygen (9.0_p1-r1) 05:31:09 (2/4) Installing libedit (20210910.3.1-r0) 05:31:09 (3/4) Installing openssh-client-common (9.0_p1-r1) 05:31:09 (4/4) Installing openssh-client-default (9.0_p1-r1) 05:31:09 Executing busybox-1.35.0-r13.trigger 05:31:09 OK: 226 MiB in 55 packages 05:31:10 Removing intermediate container 0779172ecb34 05:31:10 ---> 364341adcae2 05:31:10 Step 8/12 : WORKDIR /device-snmp-go 05:31:10 ---> Running in e6d23cf4a54d 05:31:11 Removing intermediate container e6d23cf4a54d 05:31:11 ---> 55fa963af854 05:31:11 Step 9/12 : COPY go.mod vendor* ./ 05:31:11 ---> a02a25eec984 05:31:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:31:11 ---> Running in ab1f02610245 05:31:58 Removing intermediate container ab1f02610245 05:31:58 ---> 0d37afa1a303 05:31:58 Step 11/12 : COPY . . 05:31:58 ---> 20c632c4f684 05:31:58 Step 12/12 : RUN ${MAKE} 05:31:58 ---> Running in b0b880579e0c 05:31:58 noop 05:31:58 Removing intermediate container b0b880579e0c 05:31:58 ---> a291962ab8d3 05:31:58 Successfully built a291962ab8d3 05:31:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:59 + docker inspect -f . ci-base-image-arm64 05:31:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:59 prd-ubuntu20.04-docker-arm64-4c-16g-20375 does not seem to be running inside a container 05:31:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/38 -v /w/workspace/device-snmp-go/38:/w/workspace/device-snmp-go/38:rw,z -v /w/workspace/device-snmp-go/38@tmp:/w/workspace/device-snmp-go/38@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 05:32:00 $ docker top 5d4914ae84c7715c7fa71e07eb4288adcc9449f58d355ae4b7508fdde1f6ad6e -eo pid,comm [Pipeline] { [Pipeline] sh 05:32:01 + go version 05:32:01 go version go1.18.3 linux/arm64 [Pipeline] } 05:32:01 $ docker stop --time=1 5d4914ae84c7715c7fa71e07eb4288adcc9449f58d355ae4b7508fdde1f6ad6e 05:32:03 $ docker rm -f 5d4914ae84c7715c7fa71e07eb4288adcc9449f58d355ae4b7508fdde1f6ad6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:03 + docker inspect -f . ci-base-image-arm64 05:32:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:04 prd-ubuntu20.04-docker-arm64-4c-16g-20375 does not seem to be running inside a container 05:32:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/38 -v /w/workspace/device-snmp-go/38:/w/workspace/device-snmp-go/38:rw,z -v /w/workspace/device-snmp-go/38@tmp:/w/workspace/device-snmp-go/38@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 05:32:05 $ docker top 72eae9025290c421b5725bc1ef0c2603d4aa0aa37f832952918922f8faf5b31d -eo pid,comm [Pipeline] { [Pipeline] sh 05:32:06 + git config --global --add safe.directory /w/workspace/device-snmp-go/38 [Pipeline] fileExists [Pipeline] sh 05:32:07 + make test 05:32:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:32:09 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:33:30 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:33:30 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.038s coverage: 0.0% of statements 05:33:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:33:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:33:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:33:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:33:43 ./bin/test-attribution-txt.sh [Pipeline] echo 05:33:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:33:43 $ docker stop --time=1 72eae9025290c421b5725bc1ef0c2603d4aa0aa37f832952918922f8faf5b31d 05:33:45 $ docker rm -f 72eae9025290c421b5725bc1ef0c2603d4aa0aa37f832952918922f8faf5b31d [Pipeline] // withDockerContainer [Pipeline] sh 05:33:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:33:46 Warning: overwriting stash ‘coverage-report’ 05:33:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:33:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:33:47 + ls -al . 05:33:47 total 164 05:33:47 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 05:32 . 05:33:47 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 05:30 .. 05:33:47 -rw-rw-r-- 1 jenkins jenkins 6 Jul 18 05:30 .dockerignore 05:33:47 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 05:30 .git 05:33:47 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:30 .github 05:33:47 -rw-rw-r-- 1 jenkins jenkins 328 Jul 18 05:30 .gitignore 05:33:47 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 05:30 .golangci.yml 05:33:47 -rw-rw-r-- 1 jenkins jenkins 8556 Jul 18 05:30 Attribution.txt 05:33:47 -rw-rw-r-- 1 jenkins jenkins 6948 Jul 18 05:30 CHANGELOG.md 05:33:47 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 18 05:30 Dockerfile 05:33:47 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 05:30 GOVERNANCE.md 05:33:47 -rw-rw-r-- 1 jenkins jenkins 656 Jul 18 05:30 Jenkinsfile 05:33:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 05:30 LICENSE 05:33:47 -rw-rw-r-- 1 jenkins jenkins 2334 Jul 18 05:30 Makefile 05:33:47 -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 05:30 OWNERS.md 05:33:47 -rw-rw-r-- 1 jenkins jenkins 9390 Jul 18 05:30 README.md 05:33:47 -rw-rw-r-- 1 jenkins jenkins 11 Jul 18 05:28 VERSION 05:33:47 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 05:30 bin 05:33:47 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:30 cmd 05:33:47 -rw-r--r-- 1 jenkins jenkins 7631 Jul 18 05:33 coverage.out 05:33:47 -rw-rw-r-- 1 jenkins jenkins 3302 Jul 18 05:30 go.mod 05:33:47 -rw-rw-r-- 1 jenkins jenkins 35534 Jul 18 05:30 go.sum 05:33:47 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:30 internal 05:33:47 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:30 snap 05:33:47 -rw-rw-r-- 1 jenkins jenkins 228 Jul 18 05:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:47 + 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=f6828afe08f553138e4b56b0659b8be13fc1cd72 --label arch=arm64 --label version=2.2.1-dev.7 . 05:33:48 Sending build context to Docker daemon 2.797MB 05:33:48 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:33:48 Step 2/24 : FROM ${BASE} AS builder 05:33:48 ---> a291962ab8d3 05:33:48 Step 3/24 : ARG MAKE='make build' 05:33:48 ---> Running in d3cb1114bb55 05:33:48 Removing intermediate container d3cb1114bb55 05:33:48 ---> 0b4bff27fe7a 05:33:48 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:33:48 ---> Running in ec70d2b7d475 05:33:48 Removing intermediate container ec70d2b7d475 05:33:48 ---> de0c31defda3 05:33:48 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:33:49 ---> Running in 779a34cce692 05:33:49 Removing intermediate container 779a34cce692 05:33:49 ---> 0305b93dac50 05:33:49 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:33:49 ---> Running in 16ab271e3dfc 05:33:51 Removing intermediate container 16ab271e3dfc 05:33:51 ---> 1b95cedbc510 05:33:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:33:51 ---> Running in 8ec7762b0a13 05:33:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:33:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:33:54 OK: 226 MiB in 55 packages 05:33:55 Removing intermediate container 8ec7762b0a13 05:33:55 ---> b71026d7faab 05:33:55 Step 8/24 : WORKDIR /device-snmp-go 05:33:55 ---> Running in ada077348b6c 05:33:55 Removing intermediate container ada077348b6c 05:33:55 ---> 5120dc1e4f01 05:33:55 Step 9/24 : COPY go.mod vendor* ./ 05:33:56 ---> 13fd8815b0ec 05:33:56 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:33:56 ---> Running in 0935b892aabc 05:33:58 Removing intermediate container 0935b892aabc 05:33:58 ---> 539f9ac70149 05:33:58 Step 11/24 : COPY . . 05:33:58 ---> 37b45ab1601c 05:33:58 Step 12/24 : RUN ${MAKE} 05:33:58 ---> Running in b6d85bd65480 05:33:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.14 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.1-dev.7" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:36:06 Removing intermediate container b6d85bd65480 05:36:06 ---> a5d0263db2ac 05:36:06 Step 13/24 : FROM alpine:3.16 05:36:06 3.16: Pulling from library/alpine 05:36:06 b3c136eddcbf: Already exists 05:36:06 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 05:36:06 Status: Downloaded newer image for alpine:3.16 05:36:06 ---> 6e30ab57aeee 05:36:06 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:36:06 ---> Running in fb2c8a6abda0 05:36:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:36:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:36:06 (1/6) Installing dumb-init (1.2.5-r1) 05:36:06 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:36:06 (3/6) Installing libsodium (1.0.18-r0) 05:36:06 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:36:06 (5/6) Installing libzmq (4.3.4-r0) 05:36:06 (6/6) Installing zeromq (4.3.4-r0) 05:36:06 Executing busybox-1.35.0-r13.trigger 05:36:06 OK: 8 MiB in 20 packages 05:36:06 Removing intermediate container fb2c8a6abda0 05:36:06 ---> 26c04adb51bb 05:36:06 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:36:06 ---> 5112ef101072 05:36:06 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:36:06 ---> d749ac973715 05:36:06 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:36:06 ---> 4c7bff056257 05:36:06 Step 18/24 : EXPOSE 59993 05:36:06 ---> Running in 9599a9a1c778 05:36:06 Removing intermediate container 9599a9a1c778 05:36:06 ---> 5a37790f0275 05:36:06 Step 19/24 : EXPOSE 161 05:36:06 ---> Running in 95bd01292332 05:36:07 Removing intermediate container 95bd01292332 05:36:07 ---> cf2d2dcc0783 05:36:07 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:36:07 ---> Running in f899082e1d29 05:36:07 Removing intermediate container f899082e1d29 05:36:07 ---> daa9db1607e3 05:36:07 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:36:07 ---> Running in 216e4d566727 05:36:08 Removing intermediate container 216e4d566727 05:36:08 ---> 463c45117f89 05:36:08 Step 22/24 : LABEL arch=arm64 05:36:08 ---> Running in 60f04171c365 05:36:08 Removing intermediate container 60f04171c365 05:36:08 ---> b85dffcb3134 05:36:08 Step 23/24 : LABEL git_sha=f6828afe08f553138e4b56b0659b8be13fc1cd72 05:36:08 ---> Running in 2e9cc8d81da6 05:36:08 Removing intermediate container 2e9cc8d81da6 05:36:08 ---> 09e86f55b42c 05:36:08 Step 24/24 : LABEL version=2.2.1-dev.7 05:36:09 ---> Running in 71a0dc49a47c 05:36:09 Removing intermediate container 71a0dc49a47c 05:36:09 ---> 6666e77200d4 05:36:09 [Warning] One or more build-args [ARCH] were not consumed 05:36:09 Successfully built 6666e77200d4 05:36:09 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 05:36:09 provisioning config files... 05:36:09 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/38@tmp/config8800698437890343069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:09 ---> docker-login.sh 05:36:09 nexus3.edgexfoundry.org:10001 05:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:36:10 Configure a credential helper to remove this warning. See 05:36:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:36:10 05:36:10 Login Succeeded 05:36:10 nexus3.edgexfoundry.org:10002 05:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:36:10 Configure a credential helper to remove this warning. See 05:36:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:36:10 05:36:10 Login Succeeded 05:36:10 nexus3.edgexfoundry.org:10003 05:36:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:36:11 Configure a credential helper to remove this warning. See 05:36:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:36:11 05:36:11 Login Succeeded 05:36:11 nexus3.edgexfoundry.org:10004 05:36:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:36:11 Configure a credential helper to remove this warning. See 05:36:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:36:11 05:36:11 Login Succeeded 05:36:11 docker.io 05:36:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:36:12 Configure a credential helper to remove this warning. See 05:36:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:36:12 05:36:12 Login Succeeded 05:36:12 ---> docker-login.sh ends [Pipeline] } 05:36:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:36:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:36:12 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 05:36:12 f6828afe08f553138e4b56b0659b8be13fc1cd72 05:36:12 latest 05:36:12 2.2.1-dev.7 05:36:12 f6828afe08f553138e4b56b0659b8be13fc1cd72-2.2.1-dev.7 05:36:12 main 05:36:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:12 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:f6828afe08f553138e4b56b0659b8be13fc1cd72 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:f6828afe08f553138e4b56b0659b8be13fc1cd72 05:36:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:36:13 cf89c84f7b7d: Preparing 05:36:13 2938d17cc344: Preparing 05:36:13 a04d144532e6: Preparing 05:36:13 a08b1bb6691c: Preparing 05:36:13 dd565ff850e7: Preparing 05:36:13 dd565ff850e7: Layer already exists 05:36:13 cf89c84f7b7d: Pushed 05:36:13 2938d17cc344: Pushed 05:36:14 a08b1bb6691c: Pushed 05:36:19 a04d144532e6: Pushed 05:36:19 f6828afe08f553138e4b56b0659b8be13fc1cd72: digest: sha256:2d69f71f8d8e2c3eae623710e58a2085059bccebdecd7df762553abd5fdf3108 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:19 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 05:36:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:36:20 cf89c84f7b7d: Preparing 05:36:20 2938d17cc344: Preparing 05:36:20 a04d144532e6: Preparing 05:36:20 a08b1bb6691c: Preparing 05:36:20 dd565ff850e7: Preparing 05:36:20 a04d144532e6: Layer already exists 05:36:20 a08b1bb6691c: Layer already exists 05:36:20 2938d17cc344: Layer already exists 05:36:20 dd565ff850e7: Layer already exists 05:36:20 cf89c84f7b7d: Layer already exists 05:36:20 latest: digest: sha256:2d69f71f8d8e2c3eae623710e58a2085059bccebdecd7df762553abd5fdf3108 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:20 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:21 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.7 05:36:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:36:21 cf89c84f7b7d: Preparing 05:36:21 2938d17cc344: Preparing 05:36:21 a04d144532e6: Preparing 05:36:21 a08b1bb6691c: Preparing 05:36:21 dd565ff850e7: Preparing 05:36:21 a04d144532e6: Layer already exists 05:36:21 2938d17cc344: Layer already exists 05:36:21 a08b1bb6691c: Layer already exists 05:36:21 dd565ff850e7: Layer already exists 05:36:21 cf89c84f7b7d: Layer already exists 05:36:21 2.2.1-dev.7: digest: sha256:2d69f71f8d8e2c3eae623710e58a2085059bccebdecd7df762553abd5fdf3108 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:21 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:f6828afe08f553138e4b56b0659b8be13fc1cd72-2.2.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:22 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:f6828afe08f553138e4b56b0659b8be13fc1cd72-2.2.1-dev.7 05:36:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:36:22 cf89c84f7b7d: Preparing 05:36:22 2938d17cc344: Preparing 05:36:22 a04d144532e6: Preparing 05:36:22 a08b1bb6691c: Preparing 05:36:22 dd565ff850e7: Preparing 05:36:22 2938d17cc344: Layer already exists 05:36:22 a04d144532e6: Layer already exists 05:36:22 a08b1bb6691c: Layer already exists 05:36:22 dd565ff850e7: Layer already exists 05:36:22 cf89c84f7b7d: Layer already exists 05:36:22 f6828afe08f553138e4b56b0659b8be13fc1cd72-2.2.1-dev.7: digest: sha256:2d69f71f8d8e2c3eae623710e58a2085059bccebdecd7df762553abd5fdf3108 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:22 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:23 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 05:36:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:36:23 cf89c84f7b7d: Preparing 05:36:23 2938d17cc344: Preparing 05:36:23 a04d144532e6: Preparing 05:36:23 a08b1bb6691c: Preparing 05:36:23 dd565ff850e7: Preparing 05:36:23 dd565ff850e7: Layer already exists 05:36:23 2938d17cc344: Layer already exists 05:36:23 a08b1bb6691c: Layer already exists 05:36:23 cf89c84f7b7d: Layer already exists 05:36:23 a04d144532e6: Layer already exists 05:36:23 main: digest: sha256:2d69f71f8d8e2c3eae623710e58a2085059bccebdecd7df762553abd5fdf3108 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:36:23 ===================================================== [Pipeline] echo 05:36:23 taggedImages: 05:36:23 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:f6828afe08f553138e4b56b0659b8be13fc1cd72 05:36:23 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 05:36:23 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.7 05:36:23 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:f6828afe08f553138e4b56b0659b8be13fc1cd72-2.2.1-dev.7 05:36:23 - 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 05:36:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:23 05:36:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:24 arm64: Pulling from edgex-lftools-log-publisher 05:36:24 8998bd30e6a1: Pulling fs layer 05:36:24 04944245beec: Pulling fs layer 05:36:24 699f458cf7ca: Pulling fs layer 05:36:24 765212b225bb: Pulling fs layer 05:36:24 f23df028b6ca: Pulling fs layer 05:36:24 d65c8cfc05b1: Pulling fs layer 05:36:24 2437ff75d9bd: Pulling fs layer 05:36:24 f23df028b6ca: Waiting 05:36:24 d65c8cfc05b1: Waiting 05:36:24 2437ff75d9bd: Waiting 05:36:24 765212b225bb: Waiting 05:36:24 04944245beec: Verifying Checksum 05:36:24 04944245beec: Download complete 05:36:24 765212b225bb: Verifying Checksum 05:36:24 765212b225bb: Download complete 05:36:24 f23df028b6ca: Verifying Checksum 05:36:24 f23df028b6ca: Download complete 05:36:24 d65c8cfc05b1: Verifying Checksum 05:36:24 d65c8cfc05b1: Download complete 05:36:24 699f458cf7ca: Verifying Checksum 05:36:24 699f458cf7ca: Download complete 05:36:25 8998bd30e6a1: Verifying Checksum 05:36:25 8998bd30e6a1: Download complete 05:36:27 2437ff75d9bd: Download complete 05:36:29 8998bd30e6a1: Pull complete 05:36:30 04944245beec: Pull complete 05:36:31 699f458cf7ca: Pull complete 05:36:31 765212b225bb: Pull complete 05:36:32 f23df028b6ca: Pull complete 05:36:32 d65c8cfc05b1: Pull complete 05:36:47 2437ff75d9bd: Pull complete 05:36:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:36:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:36:48 prd-ubuntu20.04-docker-arm64-4c-16g-20375 does not seem to be running inside a container 05:36:48 $ 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/38 -v /w/workspace/device-snmp-go/38:/w/workspace/device-snmp-go/38:rw,z -v /w/workspace/device-snmp-go/38@tmp:/w/workspace/device-snmp-go/38@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 05:36:50 $ docker top 4188d797c0f37508bf57061f21a72d2d0d22790d98b779341cb1ca7d02e7335d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:51 ---> job-cost.sh 05:36:51 lf-activate-venv: SKIPPING 05:36:51 INFO: No Stack... 05:36:51 INFO: Retrieving Pricing Info for: v3-standard-4 05:36:52 INFO: Archiving Costs [Pipeline] sh 05:36:53 + cat+ /w/workspace/device-snmp-go/38/archives/cost.csv 05:36:53 cut -d, -f6 [Pipeline] lock 05:36:53 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-38-stack-cost] 05:36:53 Resource [jenkins-edgexfoundry-device-snmp-go-main-38-stack-cost] did not exist. Created. 05:36:53 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:36:54 /w/workspace/device-snmp-go/38@tmp/durable-b8fdb607/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:36:54 + echo total: 0.10999999940395355 [Pipeline] stash 05:36:55 Warning: overwriting stash ‘stack-cost’ 05:36:55 Stashed 1 file(s) [Pipeline] } 05:36:55 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-38-stack-cost] [Pipeline] // lock [Pipeline] } 05:36:55 $ docker stop --time=1 4188d797c0f37508bf57061f21a72d2d0d22790d98b779341cb1ca7d02e7335d 05:36:56 $ docker rm -f 4188d797c0f37508bf57061f21a72d2d0d22790d98b779341cb1ca7d02e7335d [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 05:36:57 provisioning config files... 05:36:57 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3210543884631832283tmp [Pipeline] { [Pipeline] sh 05:36:57 + set +x 05:36:57 + + bash -s -- 05:36:57 curl -s https://codecov.io/bash 05:36:57 05:36:57 _____ _ 05:36:57 / ____| | | 05:36:57 | | ___ __| | ___ ___ _____ __ 05:36:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:36:57 | |___| (_) | (_| | __/ (_| (_) \ V / 05:36:57 \_____\___/ \__,_|\___|\___\___/ \_/ 05:36:57 Bash-1.0.6 05:36:57 05:36:57 05:36:57 ==> git version 2.25.1 found 05:36:57 ==> 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 05:36:57 Release-Date: 2020-01-08 05:36:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:36:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:36:57 ==> Jenkins CI detected. 05:36:57 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 05:36:57 project root: . 05:36:57 --> token set from env 05:36:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:36:57 ==> Running gcov in . (disable via -X gcov) 05:36:57 ==> Python coveragepy not found 05:36:57 ==> Searching for coverage reports in: 05:36:57 + . 05:36:57 -> Found 1 reports 05:36:57 ==> Detecting git/mercurial file structure 05:36:57 ==> Reading reports 05:36:57 + ./coverage.out bytes=7631 05:36:57 ==> Appending adjustments 05:36:57 https://docs.codecov.io/docs/fixing-reports 05:36:57 + Found adjustments 05:36:57 ==> Gzipping contents 05:36:57 4.0K /tmp/codecov.Up7333.gz 05:36:57 ==> Uploading reports 05:36:57 url: https://codecov.io 05:36:57 query: branch=main&commit=f6828afe08f553138e4b56b0659b8be13fc1cd72&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:36:57 -> Pinging Codecov 05:36:57 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=f6828afe08f553138e4b56b0659b8be13fc1cd72&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:36:57 -> Uploading to 05:36:57 https://storage.googleapis.com/codecov/v4/raw/2022-07-18/6C56EA5C29638FB4528AC87E60AF5AE0/f6828afe08f553138e4b56b0659b8be13fc1cd72/91f63e2e-870b-43bc-8373-c3c25262036a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T053657Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=daee2788bf93653e6413d5d77b656445bf08493729f04d5a3c47320a63c4924d 05:36:57 % Total % Received % Xferd Average Speed Time Time Time Current 05:36:57 Dload Upload Total Spent Left Speed 05:36:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 6489 --:--:-- --:--:-- --:--:-- 6489 05:36:58 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/f6828afe08f553138e4b56b0659b8be13fc1cd72 [Pipeline] } 05:36:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:36:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:36:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:36:58 05:36:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:36:58 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:36:58 df9b9388f04a: Pulling fs layer 05:36:58 52dc419b0ee2: Pulling fs layer 05:36:58 25bc292e5bac: Pulling fs layer 05:36:58 114826534d7a: Pulling fs layer 05:36:58 4657fd5d0bcf: Pulling fs layer 05:36:58 6ad1cebc031e: Pulling fs layer 05:36:58 8a3aa393b2d8: Pulling fs layer 05:36:58 114826534d7a: Waiting 05:36:58 4657fd5d0bcf: Waiting 05:36:58 6ad1cebc031e: Waiting 05:36:58 8a3aa393b2d8: Waiting 05:36:58 25bc292e5bac: Verifying Checksum 05:36:58 25bc292e5bac: Download complete 05:36:58 52dc419b0ee2: Verifying Checksum 05:36:58 52dc419b0ee2: Download complete 05:36:58 4657fd5d0bcf: Download complete 05:36:58 df9b9388f04a: Verifying Checksum 05:36:59 df9b9388f04a: Pull complete 05:36:59 6ad1cebc031e: Verifying Checksum 05:36:59 6ad1cebc031e: Download complete 05:36:59 52dc419b0ee2: Pull complete 05:36:59 25bc292e5bac: Pull complete 05:36:59 114826534d7a: Verifying Checksum 05:36:59 114826534d7a: Download complete 05:36:59 8a3aa393b2d8: Verifying Checksum 05:36:59 8a3aa393b2d8: Download complete 05:37:03 114826534d7a: Pull complete 05:37:03 4657fd5d0bcf: Pull complete 05:37:04 6ad1cebc031e: Pull complete 05:37:07 8a3aa393b2d8: Pull complete 05:37:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:37:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:37:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:07 prd-ubuntu20.04-docker-8c-8g-20374 does not seem to be running inside a container 05:37:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:37:08 $ docker top 5048c82277cc723664c75a56f831f84d6b36f37394576f3981e81072baf13737 -eo pid,comm [Pipeline] { [Pipeline] echo 05:37:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 05:37:09 + set -o pipefail 05:37:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 05:37:14 05:37:14 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 05:37:14 05:37:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/8b5f942a-559e-45df-b1ea-89f2d93abde3 05:37:14 05:37:14 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:37:14 05:37:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:37:14 05:37:14 [Pipeline] } 05:37:14 $ docker stop --time=1 5048c82277cc723664c75a56f831f84d6b36f37394576f3981e81072baf13737 05:37:16 $ docker rm -f 5048c82277cc723664c75a56f831f84d6b36f37394576f3981e81072baf13737 [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 05:37:17 + git log --format=format:%s -1 f6828afe08f553138e4b56b0659b8be13fc1cd72 [Pipeline] sh 05:37:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:37:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:37:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:18 prd-ubuntu20.04-docker-8c-8g-20374 does not seem to be running inside a container 05:37:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:37:18 $ docker top 66ed200d5a34bbd5367daa6406e0e47d224734f3df0a34a3a00f5e7a0f7a47e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:37:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:37:18 [ssh-agent] Looking for ssh-agent implementation... 05:37:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:37:18 $ docker exec 66ed200d5a34bbd5367daa6406e0e47d224734f3df0a34a3a00f5e7a0f7a47e6 ssh-agent 05:37:18 SSH_AUTH_SOCK=/tmp/ssh-J6J3dsVcLGjh/agent.33 05:37:18 SSH_AGENT_PID=39 05:37:18 Running ssh-add (command line suppressed) 05:37:19 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3152259668731310725.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3152259668731310725.key) 05:37:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:37:19 + git semver tag 05:37:19 2022-07-18 05:37:19,605 [run_tag] DEBUG tag force:False 05:37:19 2022-07-18 05:37:19,605 [check_head_tag] DEBUG check head tag 05:37:19 2022-07-18 05:37:19,606 [execute] INFO git cat-file --batch-check 05:37:19 2022-07-18 05:37:19,606 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 05:37:19 2022-07-18 05:37:19,610 [execute] INFO git cat-file --batch 05:37:19 2022-07-18 05:37:19,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 05:37:19 2022-07-18 05:37:19,620 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:37:19 2022-07-18 05:37:19,620 [execute] INFO git tag -a v2.2.1-dev.7 -m v2.2.1-dev.7 05:37:19 2022-07-18 05:37:19,621 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.7', '-m', 'v2.2.1-dev.7'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 05:37:19 2022-07-18 05:37:19,623 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:37:19 2.2.1-dev.7 [Pipeline] } 05:37:19 $ docker exec --env ******** --env ******** 66ed200d5a34bbd5367daa6406e0e47d224734f3df0a34a3a00f5e7a0f7a47e6 ssh-agent -k 05:37:19 unset SSH_AUTH_SOCK; 05:37:19 unset SSH_AGENT_PID; 05:37:19 echo Agent pid 39 killed; 05:37:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:37:20 + git semver [Pipeline] } 05:37:20 $ docker stop --time=1 66ed200d5a34bbd5367daa6406e0e47d224734f3df0a34a3a00f5e7a0f7a47e6 05:37:21 $ docker rm -f 66ed200d5a34bbd5367daa6406e0e47d224734f3df0a34a3a00f5e7a0f7a47e6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:37:22 05:37:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:37:22 0.23.1-centos7: Pulling from edgex-lftools 05:37:22 ab5ef0e58194: Pulling fs layer 05:37:22 9712f1f96733: Pulling fs layer 05:37:22 63f879dbbcfc: Pulling fs layer 05:37:22 0d9ebad4ef96: Pulling fs layer 05:37:22 e9a5061849ea: Pulling fs layer 05:37:22 d747dcd14b5f: Pulling fs layer 05:37:22 2de7ff778b66: Pulling fs layer 05:37:22 0d9ebad4ef96: Waiting 05:37:22 e9a5061849ea: Waiting 05:37:22 d747dcd14b5f: Waiting 05:37:22 2de7ff778b66: Waiting 05:37:22 9712f1f96733: Verifying Checksum 05:37:22 9712f1f96733: Download complete 05:37:22 63f879dbbcfc: Verifying Checksum 05:37:22 63f879dbbcfc: Download complete 05:37:23 0d9ebad4ef96: Verifying Checksum 05:37:23 0d9ebad4ef96: Download complete 05:37:23 d747dcd14b5f: Verifying Checksum 05:37:23 d747dcd14b5f: Download complete 05:37:23 e9a5061849ea: Verifying Checksum 05:37:23 e9a5061849ea: Download complete 05:37:23 ab5ef0e58194: Verifying Checksum 05:37:23 ab5ef0e58194: Download complete 05:37:23 2de7ff778b66: Verifying Checksum 05:37:23 2de7ff778b66: Download complete 05:37:26 ab5ef0e58194: Pull complete 05:37:26 9712f1f96733: Pull complete 05:37:26 63f879dbbcfc: Pull complete 05:37:31 0d9ebad4ef96: Pull complete 05:37:31 e9a5061849ea: Pull complete 05:37:31 d747dcd14b5f: Pull complete 05:37:32 2de7ff778b66: Pull complete 05:37:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:37:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:37:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:32 prd-ubuntu20.04-docker-8c-8g-20374 does not seem to be running inside a container 05:37:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:37:34 $ docker top 9795be01352d9ec52af8cab2733154322a41d4ed5099417102d80be7424aa823 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:37:34 provisioning config files... 05:37:34 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6697146443329696240tmp 05:37:34 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2781894222196964564tmp 05:37:34 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7152211192980816521tmp [Pipeline] { [Pipeline] echo 05:37:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:37:35 ---> sigul-configuration.sh 05:37:35 gpg: directory `/root/.gnupg' created 05:37:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:37:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:37:35 gpg: keyring `/root/.gnupg/secring.gpg' created 05:37:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:37:35 gpg: CAST5 encrypted data 05:37:35 gpg: encrypted with 1 passphrase 05:37:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:37:35 + mkdir /home/jenkins 05:37:35 + mkdir /home/jenkins/sigul [Pipeline] sh 05:37:35 + 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 05:37:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:37:35 ---> sigul-install.sh 05:37:35 Sigul already installed; skipping installation. [Pipeline] sh 05:37:36 + git tag --list 05:37:36 1.0.0 05:37:36 v0.0.0 05:37:36 v1.1.0 05:37:36 v1.1.1 05:37:36 v1.2.2 05:37:36 v1.3.0 05:37:36 v1.3.1 05:37:36 v2.0.0 05:37:36 v2.1.0 05:37:36 v2.1.1 05:37:36 v2.1.1-dev.2 05:37:36 v2.1.1-dev.3 05:37:36 v2.2.0 05:37:36 v2.2.1-dev.1 05:37:36 v2.2.1-dev.2 05:37:36 v2.2.1-dev.3 05:37:36 v2.2.1-dev.4 05:37:36 v2.2.1-dev.5 05:37:36 v2.2.1-dev.6 05:37:36 v2.2.1-dev.7 [Pipeline] sh 05:37:36 + lftools sign git-tag v2.2.1-dev.7 05:37:37 Signing Git tag with Sigul... 05:37:37 Signing v2.2.1-dev.7 [Pipeline] echo 05:37:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:37:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:37:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:37:37 $ docker stop --time=1 9795be01352d9ec52af8cab2733154322a41d4ed5099417102d80be7424aa823 05:37:39 $ docker rm -f 9795be01352d9ec52af8cab2733154322a41d4ed5099417102d80be7424aa823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:37:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:37:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:37:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:39 prd-ubuntu20.04-docker-8c-8g-20374 does not seem to be running inside a container 05:37:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:37:40 $ docker top 92b93b992985199ccbb1b9b10561f8a7f127275046c0b8b3e167f510cbb1d182 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:37:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:37:40 [ssh-agent] Looking for ssh-agent implementation... 05:37:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:37:40 $ docker exec 92b93b992985199ccbb1b9b10561f8a7f127275046c0b8b3e167f510cbb1d182 ssh-agent 05:37:40 SSH_AUTH_SOCK=/tmp/ssh-AH2LqYwpPCg9/agent.34 05:37:40 SSH_AGENT_PID=40 05:37:40 Running ssh-add (command line suppressed) 05:37:40 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1266855678441616228.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1266855678441616228.key) 05:37:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:37:41 + git semver bump pre 05:37:41 2022-07-18 05:37:41,366 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:37:41 2022-07-18 05:37:41,366 [bump_version] DEBUG bumping version:2.2.1-dev.7 on axis:pre with prefix:dev 05:37:41 2022-07-18 05:37:41,366 [bump_version] DEBUG bumped version:2.2.1-dev.8 05:37:41 2022-07-18 05:37:41,366 [write_version] DEBUG write version:2.2.1-dev.8 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 05:37:41 2022-07-18 05:37:41,366 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:37:41 2022-07-18 05:37:41,366 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:37:41 2022-07-18 05:37:41,369 [execute] INFO git cat-file --batch-check 05:37:41 2022-07-18 05:37:41,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:37:41 2022-07-18 05:37:41,375 [execute] INFO git cat-file --batch 05:37:41 2022-07-18 05:37:41,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:37:41 2022-07-18 05:37:41,382 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:37:41 2.2.1-dev.8 [Pipeline] } 05:37:41 $ docker exec --env ******** --env ******** 92b93b992985199ccbb1b9b10561f8a7f127275046c0b8b3e167f510cbb1d182 ssh-agent -k 05:37:41 unset SSH_AUTH_SOCK; 05:37:41 unset SSH_AGENT_PID; 05:37:41 echo Agent pid 40 killed; 05:37:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:37:41 + git semver [Pipeline] } 05:37:42 $ docker stop --time=1 92b93b992985199ccbb1b9b10561f8a7f127275046c0b8b3e167f510cbb1d182 05:37:43 $ docker rm -f 92b93b992985199ccbb1b9b10561f8a7f127275046c0b8b3e167f510cbb1d182 [Pipeline] // withDockerContainer [Pipeline] sh 05:37:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:37:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:37:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:44 prd-ubuntu20.04-docker-8c-8g-20374 does not seem to be running inside a container 05:37:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:37:44 $ docker top e771a83dc31b1ca2cbf7a74dcf07fcffcc3602a4be3700f237c8c17af051cc11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:37:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:37:44 [ssh-agent] Looking for ssh-agent implementation... 05:37:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:37:44 $ docker exec e771a83dc31b1ca2cbf7a74dcf07fcffcc3602a4be3700f237c8c17af051cc11 ssh-agent 05:37:44 SSH_AUTH_SOCK=/tmp/ssh-IVvWoBk31Igz/agent.31 05:37:44 SSH_AGENT_PID=37 05:37:44 Running ssh-add (command line suppressed) 05:37:45 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7702211797716860708.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7702211797716860708.key) 05:37:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:37:45 + git semver push 05:37:45 2022-07-18 05:37:45,605 [run_push] DEBUG push 05:37:45 2022-07-18 05:37:45,606 [execute] INFO git cat-file --batch-check 05:37:45 2022-07-18 05:37:45,606 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:37:45 2022-07-18 05:37:45,610 [execute] INFO git rev-list 3c5b6287c4ec3e1e7acc380290cfc0075416bb4c -- 05:37:45 2022-07-18 05:37:45,610 [execute] DEBUG Popen(['git', 'rev-list', '3c5b6287c4ec3e1e7acc380290cfc0075416bb4c', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:37:45 2022-07-18 05:37:45,619 [execute] INFO git fetch -v origin 05:37:45 2022-07-18 05:37:45,619 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:37:46 2022-07-18 05:37:46,093 [run_push] DEBUG no remote changes detected 05:37:46 2022-07-18 05:37:46,093 [execute] INFO git push origin semver 05:37:46 2022-07-18 05:37:46,094 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:37:46 2022-07-18 05:37:46,773 [run_push] DEBUG push all version tags 05:37:46 2022-07-18 05:37:46,774 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:37:46 2022-07-18 05:37:46,774 [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) 05:37:47 2022-07-18 05:37:47,558 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:37:47 2.2.1-dev.8 [Pipeline] } 05:37:47 $ docker exec --env ******** --env ******** e771a83dc31b1ca2cbf7a74dcf07fcffcc3602a4be3700f237c8c17af051cc11 ssh-agent -k 05:37:47 unset SSH_AUTH_SOCK; 05:37:47 unset SSH_AGENT_PID; 05:37:47 echo Agent pid 37 killed; 05:37:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:37:48 + git semver [Pipeline] } 05:37:48 $ docker stop --time=1 e771a83dc31b1ca2cbf7a74dcf07fcffcc3602a4be3700f237c8c17af051cc11 05:37:49 $ docker rm -f e771a83dc31b1ca2cbf7a74dcf07fcffcc3602a4be3700f237c8c17af051cc11 [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 05:37:50 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 05:37:50 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:37:50 total 16 05:37:50 drwxr-xr-x 3 root root 4096 Jul 18 05:29 . 05:37:50 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 05:37 .. 05:37:50 drwxr-xr-x 2 root root 4096 Jul 18 05:29 cost 05:37:50 -rw-r--r-- 1 root root 84 Jul 18 05:29 cost.csv 05:37:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:37:50 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:37:50 total 16 05:37:50 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 05:29 . 05:37:50 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 05:37 .. 05:37:50 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 05:29 cost 05:37:50 -rw-r--r-- 1 jenkins jenkins 84 Jul 18 05:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:37:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:37:52 ---> package-listing.sh 05:37:52 ++ facter osfamily 05:37:52 ++ tr '[:upper:]' '[:lower:]' 05:37:53 + OS_FAMILY=debian 05:37:53 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 05:37:53 + START_PACKAGES=/tmp/packages_start.txt 05:37:53 + END_PACKAGES=/tmp/packages_end.txt 05:37:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:37:53 + PACKAGES=/tmp/packages_start.txt 05:37:53 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 05:37:53 + PACKAGES=/tmp/packages_end.txt 05:37:53 + case "${OS_FAMILY}" in 05:37:53 + dpkg -l 05:37:53 + grep '^ii' 05:37:53 + '[' -f /tmp/packages_start.txt ']' 05:37:53 + '[' -f /tmp/packages_end.txt ']' 05:37:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:37:53 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 05:37:53 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 05:37:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 05:37:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:37:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:37:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:54 prd-ubuntu20.04-docker-8c-8g-20374 does not seem to be running inside a container 05:37:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:37:54 $ docker top e85ed288375af0ffd11b911c290485bb693dcf89ab230fe169a783c4845429be -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:54 + touch /tmp/pre-build-complete [Pipeline] sh 05:37:55 + mkdir -p /var/log/sysstat [Pipeline] sh 05:37:55 + ls /var/log/sa-host 05:37:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:37:55 provisioning config files... 05:37:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7918578550203638117tmp [Pipeline] { [Pipeline] echo 05:37:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:37:55 ---> create-netrc.sh [Pipeline] } 05:37:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:37:56 ---> python-tools-install.sh [Pipeline] echo 05:37:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:37:56 ---> sudo-logs.sh 05:37:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:37:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:37:56 ---> job-cost.sh 05:37:56 lf-activate-venv: SKIPPING 05:37:56 DEBUG: total: 0.2199999988079071 05:37:56 INFO: Retrieving Stack Cost... 05:37:57 INFO: Retrieving Pricing Info for: v3-standard-8 05:37:57 INFO: Archiving Costs [Pipeline] echo 05:37:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:37:57 ---> logs-deploy.sh 05:37:57 lf-activate-venv: SKIPPING 05:37:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/38 05:37:57 INFO: archiving workspace using pattern(s): 05:37:58 Archives upload complete. 05:37:59 INFO: archiving logs to Nexus 05:37:59 ---> uname -a: 05:37:59 Linux prd-ubuntu20-04-docker-8c-8g-20374 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 05:37:59 05:37:59 05:37:59 ---> lscpu: 05:37:59 Architecture: x86_64 05:37:59 CPU op-mode(s): 32-bit, 64-bit 05:37:59 Byte Order: Little Endian 05:37:59 Address sizes: 40 bits physical, 48 bits virtual 05:37:59 CPU(s): 8 05:37:59 On-line CPU(s) list: 0-7 05:37:59 Thread(s) per core: 1 05:37:59 Core(s) per socket: 1 05:37:59 Socket(s): 8 05:37:59 NUMA node(s): 1 05:37:59 Vendor ID: AuthenticAMD 05:37:59 CPU family: 23 05:37:59 Model: 49 05:37:59 Model name: AMD EPYC-Rome Processor 05:37:59 Stepping: 0 05:37:59 CPU MHz: 2799.996 05:37:59 BogoMIPS: 5599.99 05:37:59 Virtualization: AMD-V 05:37:59 Hypervisor vendor: KVM 05:37:59 Virtualization type: full 05:37:59 L1d cache: 256 KiB 05:37:59 L1i cache: 256 KiB 05:37:59 L2 cache: 4 MiB 05:37:59 L3 cache: 128 MiB 05:37:59 NUMA node0 CPU(s): 0-7 05:37:59 Vulnerability Itlb multihit: Not affected 05:37:59 Vulnerability L1tf: Not affected 05:37:59 Vulnerability Mds: Not affected 05:37:59 Vulnerability Meltdown: Not affected 05:37:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:37:59 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:37:59 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:37:59 Vulnerability Srbds: Not affected 05:37:59 Vulnerability Tsx async abort: Not affected 05:37:59 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 05:37:59 05:37:59 05:37:59 ---> nproc: 05:37:59 8 05:37:59 05:37:59 05:37:59 ---> df -h: 05:37:59 Filesystem Size Used Avail Use% Mounted on 05:37:59 overlay 155G 12G 143G 8% / 05:37:59 tmpfs 64M 0 64M 0% /dev 05:37:59 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:37:59 shm 64M 0 64M 0% /dev/shm 05:37:59 /dev/vda1 155G 12G 143G 8% /facter-os 05:37:59 05:37:59 05:37:59 ---> sar -b -r -n DEV: 05:37:59 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20374) 07/18/22 _x86_64_ (8 CPU) 05:37:59 05:37:59 05:26:59 LINUX RESTART (8 CPU) 05:37:59 05:37:59 05:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:37:59 05:28:03 415.71 110.63 305.08 0.00 13272.64 146346.42 0.00 05:37:59 05:29:01 180.77 1.90 178.87 0.00 29.23 121332.92 0.00 05:37:59 05:30:01 173.45 0.07 173.39 0.00 6.00 38568.24 0.00 05:37:59 05:31:01 1.25 0.00 1.25 0.00 0.00 15.61 0.00 05:37:59 05:32:01 1.68 0.00 1.68 0.00 0.00 19.59 0.00 05:37:59 05:33:01 0.85 0.02 0.83 0.00 0.13 10.13 0.00 05:37:59 05:34:01 1.53 0.00 1.53 0.00 0.00 18.26 0.00 05:37:59 05:35:01 0.97 0.00 0.97 0.00 0.00 11.73 0.00 05:37:59 05:36:01 1.42 0.00 1.42 0.00 0.00 16.93 0.00 05:37:59 05:37:01 2.55 0.10 2.45 0.00 10.26 117.56 0.00 05:37:59 Average: 77.67 11.30 66.37 0.00 1336.20 30342.40 0.00 05:37:59 05:37:59 05:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:37:59 05:28:03 29636280 31790788 533376 1.62 105064 2342896 2010092 5.92 1093996 1818676 968 05:37:59 05:29:01 28297584 31745552 545452 1.66 160024 3490224 1992896 5.87 1262860 2865320 111596 05:37:59 05:30:01 27695268 31757964 530096 1.61 171552 4046920 1769616 5.22 1289052 3388840 180 05:37:59 05:31:01 27696072 31758776 529020 1.61 171564 4046920 1769616 5.22 1288976 3388840 12 05:37:59 05:32:01 27708380 31771424 516564 1.57 171608 4046924 1769616 5.22 1276032 3389164 44 05:37:59 05:33:01 27708260 31771328 516612 1.57 171616 4046928 1769616 5.22 1276192 3389176 12 05:37:59 05:34:01 27709472 31772576 515304 1.57 171644 4046936 1769616 5.22 1274780 3389184 16 05:37:59 05:35:01 27715176 31778596 509684 1.55 171672 4046940 1769616 5.22 1269480 3389492 164 05:37:59 05:36:01 27715452 31778932 509388 1.55 171704 4046940 1769616 5.22 1269444 3389496 172 05:37:59 05:37:01 27184692 31720104 568324 1.73 172708 4503008 2218964 6.54 1329376 3845300 456668 05:37:59 Average: 27906664 31764604 527382 1.60 163916 3866464 1860926 5.48 1263019 3225349 56983 05:37:59 05:37:59 05:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:37:59 05:28:03 veth578d6f1 3.53 4.02 41.00 0.44 0.00 0.00 0.00 0.00 05:37:59 05:28:03 vethb32fa19 4.02 3.53 0.44 41.00 0.00 0.00 0.00 0.00 05:37:59 05:28:03 lo 5.86 5.86 0.55 0.55 0.00 0.00 0.00 0.00 05:37:59 05:28:03 ens3 826.72 491.52 4830.93 99.63 0.00 0.00 0.00 0.00 05:37:59 05:28:03 docker0 4.02 3.43 0.38 40.99 0.00 0.00 0.00 0.00 05:37:59 05:29:01 lo 2.90 2.90 0.28 0.28 0.00 0.00 0.00 0.00 05:37:59 05:29:01 ens3 368.77 256.98 5187.89 89.01 0.00 0.00 0.00 0.00 05:37:59 05:29:01 docker0 105.10 127.54 8.54 1082.99 0.00 0.00 0.00 0.00 05:37:59 05:30:01 lo 7.67 7.67 0.75 0.75 0.00 0.00 0.00 0.00 05:37:59 05:30:01 ens3 209.67 157.89 2675.15 283.68 0.00 0.00 0.00 0.00 05:37:59 05:30:01 docker0 8.22 12.55 0.49 98.70 0.00 0.00 0.00 0.00 05:37:59 05:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:59 05:31:01 ens3 0.45 0.23 0.26 0.20 0.00 0.00 0.00 0.00 05:37:59 05:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:59 05:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:37:59 05:32:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 05:37:59 05:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:59 05:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:59 05:33:01 ens3 0.17 0.10 0.08 0.06 0.00 0.00 0.00 0.00 05:37:59 05:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:59 05:34:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:37:59 05:34:01 ens3 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:37:59 05:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:59 05:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:59 05:35:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:59 05:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:59 05:36:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:37:59 05:36:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 05:37:59 05:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:59 05:37:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 05:37:59 05:37:01 ens3 166.44 83.32 3965.97 8.23 0.00 0.00 0.00 0.00 05:37:59 05:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:59 Average: lo 1.81 1.81 0.17 0.17 0.00 0.00 0.00 0.00 05:37:59 Average: ens3 156.55 98.51 1654.24 47.94 0.00 0.00 0.00 0.00 05:37:59 Average: docker0 11.42 13.97 0.92 119.06 0.00 0.00 0.00 0.00 05:37:59 05:37:59 05:37:59 ---> sar -P ALL: 05:37:59 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20374) 07/18/22 _x86_64_ (8 CPU) 05:37:59 05:37:59 05:26:59 LINUX RESTART (8 CPU) 05:37:59 05:37:59 05:27:01 CPU %user %nice %system %iowait %steal %idle 05:37:59 05:28:03 all 9.44 0.00 4.12 7.02 0.05 79.37 05:37:59 05:28:03 0 7.20 0.00 4.70 1.36 0.03 86.71 05:37:59 05:28:03 1 8.83 0.00 3.45 2.56 0.05 85.10 05:37:59 05:28:03 2 10.82 0.02 3.35 0.59 0.05 85.17 05:37:59 05:28:03 3 9.58 0.00 4.75 7.37 0.05 78.26 05:37:59 05:28:03 4 8.55 0.02 4.94 15.14 0.05 71.30 05:37:59 05:28:03 5 8.31 0.00 2.78 10.92 0.05 77.94 05:37:59 05:28:03 6 11.90 0.00 3.66 9.90 0.03 74.51 05:37:59 05:28:03 7 10.35 0.00 5.34 8.34 0.07 75.90 05:37:59 05:29:01 all 30.58 0.00 7.48 1.01 0.07 60.86 05:37:59 05:29:01 0 32.09 0.00 6.97 0.59 0.07 60.28 05:37:59 05:29:01 1 30.87 0.00 7.06 0.10 0.07 61.89 05:37:59 05:29:01 2 30.09 0.00 6.78 0.75 0.07 62.30 05:37:59 05:29:01 3 30.61 0.00 8.07 2.74 0.09 58.50 05:37:59 05:29:01 4 29.80 0.00 8.68 2.64 0.09 58.80 05:37:59 05:29:01 5 30.86 0.00 6.97 0.35 0.07 61.75 05:37:59 05:29:01 6 29.91 0.00 7.02 0.02 0.07 62.97 05:37:59 05:29:01 7 30.40 0.00 8.31 0.88 0.07 60.34 05:37:59 05:30:01 all 23.06 0.00 5.27 0.74 0.07 70.86 05:37:59 05:30:01 0 23.94 0.00 5.02 0.30 0.07 70.67 05:37:59 05:30:01 1 22.51 0.00 5.18 1.54 0.05 70.72 05:37:59 05:30:01 2 23.88 0.00 5.03 1.50 0.07 69.52 05:37:59 05:30:01 3 21.16 0.00 5.38 0.47 0.07 72.91 05:37:59 05:30:01 4 24.14 0.00 5.66 0.57 0.07 69.56 05:37:59 05:30:01 5 23.01 0.00 5.26 1.25 0.07 70.42 05:37:59 05:30:01 6 22.40 0.00 5.02 0.08 0.07 72.43 05:37:59 05:30:01 7 23.45 0.00 5.61 0.22 0.07 70.65 05:37:59 05:31:01 all 0.02 0.00 0.01 0.01 0.01 99.95 05:37:59 05:31:01 0 0.02 0.00 0.02 0.00 0.00 99.97 05:37:59 05:31:01 1 0.02 0.00 0.00 0.02 0.02 99.95 05:37:59 05:31:01 2 0.00 0.00 0.00 0.00 0.00 100.00 05:37:59 05:31:01 3 0.02 0.00 0.03 0.02 0.02 99.92 05:37:59 05:31:01 4 0.00 0.00 0.00 0.02 0.02 99.97 05:37:59 05:31:01 5 0.08 0.00 0.03 0.00 0.00 99.88 05:37:59 05:31:01 6 0.03 0.00 0.02 0.00 0.00 99.95 05:37:59 05:31:01 7 0.02 0.00 0.02 0.00 0.00 99.97 05:37:59 05:32:01 all 0.04 0.00 0.03 0.01 0.00 99.91 05:37:59 05:32:01 0 0.03 0.00 0.03 0.00 0.00 99.93 05:37:59 05:32:01 1 0.08 0.00 0.05 0.00 0.00 99.87 05:37:59 05:32:01 2 0.02 0.00 0.02 0.00 0.00 99.97 05:37:59 05:32:01 3 0.03 0.00 0.03 0.03 0.02 99.88 05:37:59 05:32:01 4 0.05 0.00 0.02 0.02 0.00 99.92 05:37:59 05:32:01 5 0.10 0.00 0.05 0.00 0.00 99.85 05:37:59 05:32:01 6 0.03 0.00 0.05 0.00 0.02 99.90 05:37:59 05:32:01 7 0.00 0.00 0.00 0.00 0.00 100.00 05:37:59 05:33:01 all 0.24 0.00 0.01 0.01 0.00 99.74 05:37:59 05:33:01 0 0.02 0.00 0.02 0.00 0.02 99.95 05:37:59 05:33:01 1 0.02 0.00 0.00 0.00 0.00 99.98 05:37:59 05:33:01 2 0.02 0.00 0.00 0.00 0.00 99.98 05:37:59 05:33:01 3 0.02 0.00 0.02 0.00 0.02 99.95 05:37:59 05:33:01 4 0.02 0.00 0.00 0.05 0.00 99.93 05:37:59 05:33:01 5 1.78 0.00 0.03 0.00 0.00 98.19 05:37:59 05:33:01 6 0.03 0.00 0.03 0.00 0.00 99.93 05:37:59 05:33:01 7 0.00 0.00 0.00 0.00 0.00 100.00 05:37:59 05:34:01 all 0.29 0.00 0.01 0.01 0.01 99.68 05:37:59 05:34:01 0 0.08 0.00 0.02 0.00 0.00 99.90 05:37:59 05:34:01 1 0.03 0.00 0.00 0.02 0.00 99.95 05:37:59 05:34:01 2 0.02 0.00 0.02 0.00 0.02 99.95 05:37:59 05:34:01 3 0.03 0.00 0.03 0.00 0.02 99.92 05:37:59 05:34:01 4 0.02 0.00 0.02 0.03 0.02 99.92 05:37:59 05:34:01 5 2.02 0.00 0.00 0.00 0.02 97.97 05:37:59 05:34:01 6 0.05 0.00 0.03 0.00 0.00 99.92 05:37:59 05:34:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:37:59 05:35:01 all 0.26 0.00 0.02 0.00 0.00 99.71 05:37:59 05:35:01 0 0.02 0.00 0.03 0.02 0.00 99.93 05:37:59 05:35:01 1 0.00 0.00 0.02 0.00 0.00 99.98 05:37:59 05:35:01 2 0.02 0.00 0.02 0.00 0.00 99.97 05:37:59 05:35:01 3 0.02 0.00 0.02 0.00 0.02 99.95 05:37:59 05:35:01 4 0.02 0.00 0.00 0.02 0.00 99.97 05:37:59 05:35:01 5 2.00 0.00 0.02 0.00 0.00 97.98 05:37:59 05:35:01 6 0.00 0.00 0.03 0.00 0.02 99.95 05:37:59 05:35:01 7 0.00 0.00 0.00 0.00 0.00 100.00 05:37:59 05:36:01 all 0.26 0.00 0.01 0.00 0.01 99.72 05:37:59 05:36:01 0 0.02 0.00 0.03 0.02 0.02 99.92 05:37:59 05:36:01 1 0.00 0.00 0.00 0.00 0.00 100.00 05:37:59 05:36:01 2 0.02 0.00 0.00 0.00 0.00 99.98 05:37:59 05:36:01 3 0.03 0.00 0.00 0.00 0.02 99.95 05:37:59 05:36:01 4 0.00 0.00 0.00 0.02 0.02 99.97 05:37:59 05:36:01 5 1.95 0.00 0.02 0.00 0.02 98.01 05:37:59 05:36:01 6 0.02 0.00 0.02 0.00 0.00 99.97 05:37:59 05:36:01 7 0.03 0.00 0.00 0.00 0.00 99.97 05:37:59 05:37:01 all 1.15 0.00 0.52 0.01 0.00 98.31 05:37:59 05:37:01 0 0.95 0.00 0.47 0.02 0.00 98.57 05:37:59 05:37:01 1 1.37 0.00 0.55 0.02 0.00 98.07 05:37:59 05:37:01 2 1.27 0.00 0.33 0.00 0.00 98.40 05:37:59 05:37:01 3 1.09 0.00 0.80 0.00 0.02 98.10 05:37:59 05:37:01 4 1.15 0.00 0.37 0.07 0.00 98.41 05:37:59 05:37:01 5 1.59 0.00 0.32 0.00 0.00 98.10 05:37:59 05:37:01 6 0.87 0.00 0.50 0.00 0.00 98.63 05:37:59 05:37:01 7 0.95 0.00 0.84 0.02 0.02 98.18 05:37:59 Average: all 6.39 0.00 1.71 0.88 0.02 90.99 05:37:59 Average: 0 6.30 0.00 1.70 0.23 0.02 91.75 05:37:59 Average: 1 6.25 0.00 1.60 0.43 0.02 91.70 05:37:59 Average: 2 6.49 0.00 1.53 0.28 0.02 91.69 05:37:59 Average: 3 6.12 0.00 1.88 1.05 0.03 90.92 05:37:59 Average: 4 6.24 0.00 1.93 1.85 0.03 89.96 05:37:59 Average: 5 7.00 0.00 1.51 1.25 0.02 90.23 05:37:59 Average: 6 6.40 0.00 1.61 1.00 0.02 90.98 05:37:59 Average: 7 6.36 0.00 1.97 0.94 0.02 90.71 05:37:59 05:37:59 05:37:59