Pull request #184 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c45d64c38cdfbf96c825fa1e95389ef6003e4fb3+d0a0e99d902e45b7e17db09c4331e4d14954addb (3fdb621e3c97a61819f1f7f1a61da80fa3d2216f) 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-ssh16125734264511976508.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-ssh1401798266680319437.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1052734430803395105.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11826984067116936844.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8564402243528309701.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7100813859760755783.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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-20369 in /w/workspace/gexfoundry_device-snmp-go_PR-184 [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/gexfoundry_device-snmp-go_PR-184 # 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 Merging remotes/origin/main commit d0a0e99d902e45b7e17db09c4331e4d14954addb into PR head commit c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 Merge succeeded, producing c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 Checking out Revision c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 (PR-184) > 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 remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d0a0e99d902e45b7e17db09c4331e4d14954addb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:03:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:03:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:03:57 ========================================================= 05:03:57 EdgeX Global Pipelines Version Info 05:03:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:03:58 ------------------- 05:03:58 stable info: 05:03:58 ------------------- 05:03:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:03:58 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 05:03:58 Message: update stable to v1.0.238 05:03:59 ------------------- 05:03:59 experimental info: 05:03:59 ------------------- 05:03:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:03:59 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 05:03:59 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:03:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:03:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:03:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:03:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:03:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:03:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:03:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:03:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c45d64c [Pipeline] echo 05:04:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:01 provisioning config files... 05:04:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/config2106876098437216846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:01 ---> docker-login.sh 05:04:01 nexus3.edgexfoundry.org:10001 05:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:01 Configure a credential helper to remove this warning. See 05:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:01 05:04:01 Login Succeeded 05:04:01 nexus3.edgexfoundry.org:10002 05:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:01 Configure a credential helper to remove this warning. See 05:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:01 05:04:01 Login Succeeded 05:04:01 nexus3.edgexfoundry.org:10003 05:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:02 Configure a credential helper to remove this warning. See 05:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:02 05:04:02 Login Succeeded 05:04:02 nexus3.edgexfoundry.org:10004 05:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:02 Configure a credential helper to remove this warning. See 05:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:02 05:04:02 Login Succeeded 05:04:02 docker.io 05:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:02 Configure a credential helper to remove this warning. See 05:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:02 05:04:02 Login Succeeded 05:04:02 ---> docker-login.sh ends [Pipeline] } 05:04:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:03 + git rev-list -1 --merges c45d64c38cdfbf96c825fa1e95389ef6003e4fb3~1..c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [Pipeline] echo 05:04:03 -----------> git rev-list -1 --merges c45d64c38cdfbf96c825fa1e95389ef6003e4fb3~1..c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [false] [Pipeline] sh 05:04:03 + git log --format=format:%s -1 c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [Pipeline] echo 05:04:03 ========================================================= 05:04:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:04 + git log --format=format:%s -1 c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [Pipeline] echo 05:04:04 [semverPrep] GIT_COMMIT: c45d64c38cdfbf96c825fa1e95389ef6003e4fb3, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:04:04 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:04 + grep -v github /etc/ssh/ssh_known_hosts 05:04:04 + [ -e /tmp/ssh_known_hosts ] 05:04:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:04 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:05 05:04:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:05 0.1.4: Pulling from edgex-devops/py-git-semver 05:04:05 b85a868b505f: Pulling fs layer 05:04:05 e2be974225ed: Pulling fs layer 05:04:05 339a4e72a1f5: Pulling fs layer 05:04:05 988bab9f4d93: Pulling fs layer 05:04:05 1469e6f7b9e6: Pulling fs layer 05:04:05 eaf3925da568: Pulling fs layer 05:04:05 bab4dde63d76: Pulling fs layer 05:04:05 bde34c3a00c8: Pulling fs layer 05:04:05 b352a97aabf1: Pulling fs layer 05:04:05 4872d77fe225: Pulling fs layer 05:04:05 5851b861e8e6: Pulling fs layer 05:04:05 bab4dde63d76: Waiting 05:04:05 bde34c3a00c8: Waiting 05:04:05 b352a97aabf1: Waiting 05:04:05 988bab9f4d93: Waiting 05:04:05 1469e6f7b9e6: Waiting 05:04:05 eaf3925da568: Waiting 05:04:05 4872d77fe225: Waiting 05:04:05 e2be974225ed: Download complete 05:04:05 988bab9f4d93: Download complete 05:04:05 1469e6f7b9e6: Verifying Checksum 05:04:05 1469e6f7b9e6: Download complete 05:04:05 eaf3925da568: Verifying Checksum 05:04:05 eaf3925da568: Download complete 05:04:05 339a4e72a1f5: Verifying Checksum 05:04:05 339a4e72a1f5: Download complete 05:04:05 bde34c3a00c8: Verifying Checksum 05:04:05 bde34c3a00c8: Download complete 05:04:05 b352a97aabf1: Verifying Checksum 05:04:05 b352a97aabf1: Download complete 05:04:05 4872d77fe225: Download complete 05:04:05 5851b861e8e6: Verifying Checksum 05:04:05 5851b861e8e6: Download complete 05:04:05 b85a868b505f: Verifying Checksum 05:04:05 b85a868b505f: Download complete 05:04:06 bab4dde63d76: Verifying Checksum 05:04:06 bab4dde63d76: Download complete 05:04:07 b85a868b505f: Pull complete 05:04:07 e2be974225ed: Pull complete 05:04:08 339a4e72a1f5: Pull complete 05:04:08 988bab9f4d93: Pull complete 05:04:08 1469e6f7b9e6: Pull complete 05:04:08 eaf3925da568: Pull complete 05:04:10 bab4dde63d76: Pull complete 05:04:10 bde34c3a00c8: Pull complete 05:04:10 b352a97aabf1: Pull complete 05:04:10 4872d77fe225: Pull complete 05:04:11 5851b861e8e6: Pull complete 05:04:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:04:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:11 prd-ubuntu20.04-docker-8c-8g-20369 does not seem to be running inside a container 05:04:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-184 -v /w/workspace/gexfoundry_device-snmp-go_PR-184:/w/workspace/gexfoundry_device-snmp-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:04:12 $ docker top 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:13 [ssh-agent] Looking for ssh-agent implementation... 05:04:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:13 $ docker exec 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 ssh-agent 05:04:13 SSH_AUTH_SOCK=/tmp/ssh-jHCqWn6AhQp9/agent.33 05:04:13 SSH_AGENT_PID=39 05:04:13 Running ssh-add (command line suppressed) 05:04:13 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/private_key_6470658967209127403.key (/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/private_key_6470658967209127403.key) 05:04:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:13 + git tag --points-at HEAD [Pipeline] } 05:04:13 $ docker exec --env ******** --env ******** 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 ssh-agent -k 05:04:14 unset SSH_AUTH_SOCK; 05:04:14 unset SSH_AGENT_PID; 05:04:14 echo Agent pid 39 killed; 05:04:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:14 [ssh-agent] Looking for ssh-agent implementation... 05:04:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:14 $ docker exec 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 ssh-agent 05:04:14 SSH_AUTH_SOCK=/tmp/ssh-aisoMQn2BItW/agent.72 05:04:14 SSH_AGENT_PID=79 05:04:14 Running ssh-add (command line suppressed) 05:04:14 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/private_key_3277969953279479712.key (/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/private_key_3277969953279479712.key) 05:04:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:14 + git semver init 05:04:15 2022-07-18 05:04:15,140 [run_init] DEBUG init version:0.0.0 force:False 05:04:15 2022-07-18 05:04:15,141 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-184/.semver 05:04:15 2022-07-18 05:04:15,142 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-184/.semver 05:04:15 2022-07-18 05:04:15,142 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-184/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-184, universal_newlines=False, shell=None, istream=None) 05:04:16 2022-07-18 05:04:15,930 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-184/.git/info/exclude 05:04:16 2022-07-18 05:04:15,931 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-184/.semver/PR-184 with force:False 05:04:16 2022-07-18 05:04:15,931 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-184/.semver/PR-184 05:04:16 2022-07-18 05:04:15,934 [execute] INFO git cat-file --batch-check 05:04:16 2022-07-18 05:04:15,935 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-184/.semver, universal_newlines=False, shell=None, istream=) 05:04:16 2022-07-18 05:04:15,940 [execute] INFO git cat-file --batch 05:04:16 2022-07-18 05:04:15,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-184/.semver, universal_newlines=False, shell=None, istream=) 05:04:16 2022-07-18 05:04:15,945 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-184/.semver/PR-184 05:04:16 0.0.0 [Pipeline] } 05:04:16 $ docker exec --env ******** --env ******** 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 ssh-agent -k 05:04:16 unset SSH_AUTH_SOCK; 05:04:16 unset SSH_AGENT_PID; 05:04:16 echo Agent pid 79 killed; 05:04:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:16 + git semver [Pipeline] } 05:04:17 $ docker stop --time=1 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 05:04:18 $ docker rm -f 7a73f18a08a596933b47d20f0ca3c2e7a06e2c8e95100f1968c090049cd79ea5 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:19 Stashed 1 file(s) [Pipeline] echo 05:04:19 [edgeXSemver]: initialized semver on version 0.0.0 [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:04:19 provisioning config files... 05:04:19 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/config1838997563855630812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:20 ---> docker-login.sh 05:04:20 nexus3.edgexfoundry.org:10001 05:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:20 Configure a credential helper to remove this warning. See 05:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:20 05:04:20 Login Succeeded 05:04:20 nexus3.edgexfoundry.org:10002 05:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:20 Configure a credential helper to remove this warning. See 05:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:20 05:04:20 Login Succeeded 05:04:20 nexus3.edgexfoundry.org:10003 05:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:20 Configure a credential helper to remove this warning. See 05:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:20 05:04:20 Login Succeeded 05:04:20 nexus3.edgexfoundry.org:10004 05:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:20 Configure a credential helper to remove this warning. See 05:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:20 05:04:20 Login Succeeded 05:04:20 docker.io 05:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:20 Configure a credential helper to remove this warning. See 05:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:20 05:04:20 Login Succeeded 05:04:20 ---> docker-login.sh ends [Pipeline] } 05:04:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:21 ========================================================= 05:04:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:04:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:21 + 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:04:21 Sending build context to Docker daemon 5.425MB 05:04:21 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:04:21 Step 2/12 : FROM ${BASE} AS builder 05:04:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:21 2408cc74d12b: Pulling fs layer 05:04:21 ea60b727a1ce: Pulling fs layer 05:04:21 30c4a7721957: Pulling fs layer 05:04:21 370296b7ddb6: Pulling fs layer 05:04:21 7c6cee850709: Pulling fs layer 05:04:21 39a5fcdaea64: Pulling fs layer 05:04:21 d94ebbe4e438: Pulling fs layer 05:04:21 bcfd1f05c69d: Pulling fs layer 05:04:21 59ccb84bbe0f: Pulling fs layer 05:04:21 370296b7ddb6: Waiting 05:04:21 d94ebbe4e438: Waiting 05:04:21 39a5fcdaea64: Waiting 05:04:21 59ccb84bbe0f: Waiting 05:04:21 bcfd1f05c69d: Waiting 05:04:21 30c4a7721957: Verifying Checksum 05:04:21 30c4a7721957: Download complete 05:04:21 ea60b727a1ce: Download complete 05:04:21 39a5fcdaea64: Verifying Checksum 05:04:21 39a5fcdaea64: Download complete 05:04:21 2408cc74d12b: Verifying Checksum 05:04:21 2408cc74d12b: Download complete 05:04:21 d94ebbe4e438: Verifying Checksum 05:04:21 d94ebbe4e438: Download complete 05:04:21 2408cc74d12b: Pull complete 05:04:22 ea60b727a1ce: Pull complete 05:04:22 30c4a7721957: Pull complete 05:04:22 59ccb84bbe0f: Verifying Checksum 05:04:22 59ccb84bbe0f: Download complete 05:04:22 bcfd1f05c69d: Verifying Checksum 05:04:22 bcfd1f05c69d: Download complete 05:04:22 370296b7ddb6: Verifying Checksum 05:04:22 370296b7ddb6: Download complete 05:04:27 370296b7ddb6: Pull complete 05:04:27 7c6cee850709: Pull complete 05:04:27 39a5fcdaea64: Pull complete 05:04:27 d94ebbe4e438: Pull complete 05:04:29 bcfd1f05c69d: Pull complete 05:04:30 59ccb84bbe0f: Pull complete 05:04:30 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 05:04:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:04:30 ---> a4fb48ad2a94 05:04:30 Step 3/12 : ARG MAKE='make build' 05:04:32 ---> Running in 790ca9cb0f22 05:04:32 Removing intermediate container 790ca9cb0f22 05:04:32 ---> a5e665084d3a 05:04:32 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:04:32 ---> Running in bf6eb4a35c04 05:04:32 Removing intermediate container bf6eb4a35c04 05:04:32 ---> 2fa11f1620ef 05:04:32 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:04:32 ---> Running in 8b866686df41 05:04:32 Removing intermediate container 8b866686df41 05:04:32 ---> 00e922001fcf 05:04:32 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:32 ---> Running in 3c53fc52ee10 05:04:33 Removing intermediate container 3c53fc52ee10 05:04:33 ---> 3b71075db17c 05:04:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:33 ---> Running in 9c6b9610543d 05:04:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:04:34 Still waiting to schedule task 05:04:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:04:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:04:35 (1/4) Installing openssh-keygen (9.0_p1-r1) 05:04:35 (2/4) Installing libedit (20210910.3.1-r0) 05:04:35 (3/4) Installing openssh-client-common (9.0_p1-r1) 05:04:35 (4/4) Installing openssh-client-default (9.0_p1-r1) 05:04:35 Executing busybox-1.35.0-r13.trigger 05:04:35 OK: 216 MiB in 55 packages 05:04:36 Removing intermediate container 9c6b9610543d 05:04:36 ---> 8b8add1f1830 05:04:36 Step 8/12 : WORKDIR /device-snmp-go 05:04:36 ---> Running in 449fd1fa826e 05:04:36 Removing intermediate container 449fd1fa826e 05:04:36 ---> 5ef1bebbbf7f 05:04:36 Step 9/12 : COPY go.mod vendor* ./ 05:04:36 ---> ba11c3591a18 05:04:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:36 ---> Running in 0a6a0529303e 05:04:58 Removing intermediate container 0a6a0529303e 05:04:58 ---> 2b16316f8ffe 05:04:58 Step 11/12 : COPY . . 05:04:58 ---> 7b52e5c78f88 05:04:58 Step 12/12 : RUN ${MAKE} 05:04:58 ---> Running in 5e4c8af6ed57 05:04:58 noop 05:04:58 Removing intermediate container 5e4c8af6ed57 05:04:58 ---> 228a143c3c4a 05:04:58 Successfully built 228a143c3c4a 05:04:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:59 + docker inspect -f . ci-base-image-x86_64 05:04:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:59 prd-ubuntu20.04-docker-8c-8g-20369 does not seem to be running inside a container 05:04:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-184 -v /w/workspace/gexfoundry_device-snmp-go_PR-184:/w/workspace/gexfoundry_device-snmp-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-184@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:04:59 $ docker top 7bd8d1727a4c875d8ad14c995e3c7dfb87b5cefd740d1c552874dd79dfa9892f -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:00 + go version 05:05:00 go version go1.18.3 linux/amd64 [Pipeline] } 05:05:00 $ docker stop --time=1 7bd8d1727a4c875d8ad14c995e3c7dfb87b5cefd740d1c552874dd79dfa9892f 05:05:01 $ docker rm -f 7bd8d1727a4c875d8ad14c995e3c7dfb87b5cefd740d1c552874dd79dfa9892f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:02 + docker inspect -f . ci-base-image-x86_64 05:05:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:02 prd-ubuntu20.04-docker-8c-8g-20369 does not seem to be running inside a container 05:05:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-snmp-go_PR-184 -v /w/workspace/gexfoundry_device-snmp-go_PR-184:/w/workspace/gexfoundry_device-snmp-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-184@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:02 $ docker top 09d8211b61c1ef436eb70fae4dc500630be00b577ae13694585bf18ee9bd8482 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-184 [Pipeline] fileExists [Pipeline] sh 05:05:03 + make test 05:05:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:03 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:05:13 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:05:13 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.026s coverage: 0.0% of statements 05:05:19 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:05:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:22 ./bin/test-attribution-txt.sh [Pipeline] echo 05:05:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:22 $ docker stop --time=1 09d8211b61c1ef436eb70fae4dc500630be00b577ae13694585bf18ee9bd8482 05:05:24 $ docker rm -f 09d8211b61c1ef436eb70fae4dc500630be00b577ae13694585bf18ee9bd8482 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:25 + ls -al . 05:05:25 total 168 05:05:25 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 05:05 . 05:05:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 05:03 .. 05:05:25 -rw-rw-r-- 1 jenkins jenkins 6 Jul 18 05:03 .dockerignore 05:05:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 05:05 .git 05:05:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:03 .github 05:05:25 -rw-rw-r-- 1 jenkins jenkins 328 Jul 18 05:03 .gitignore 05:05:25 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 05:03 .golangci.yml 05:05:25 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 05:04 .semver 05:05:25 -rw-rw-r-- 1 jenkins jenkins 8556 Jul 18 05:03 Attribution.txt 05:05:25 -rw-rw-r-- 1 jenkins jenkins 6948 Jul 18 05:03 CHANGELOG.md 05:05:25 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 18 05:03 Dockerfile 05:05:25 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 05:03 GOVERNANCE.md 05:05:25 -rw-rw-r-- 1 jenkins jenkins 656 Jul 18 05:03 Jenkinsfile 05:05:25 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 05:03 LICENSE 05:05:25 -rw-rw-r-- 1 jenkins jenkins 2334 Jul 18 05:03 Makefile 05:05:25 -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 05:03 OWNERS.md 05:05:25 -rw-rw-r-- 1 jenkins jenkins 9390 Jul 18 05:03 README.md 05:05:25 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 05:04 VERSION 05:05:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 05:03 bin 05:05:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:03 cmd 05:05:25 -rw-r--r-- 1 jenkins jenkins 7631 Jul 18 05:05 coverage.out 05:05:25 -rw-rw-r-- 1 jenkins jenkins 3302 Jul 18 05:03 go.mod 05:05:25 -rw-rw-r-- 1 jenkins jenkins 35534 Jul 18 05:03 go.sum 05:05:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:03 internal 05:05:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:03 snap 05:05:25 -rw-rw-r-- 1 jenkins jenkins 228 Jul 18 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:26 + 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=c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 --label arch=amd64 --label version=0.0.0 . 05:05:26 Sending build context to Docker daemon 5.433MB 05:05:26 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:05:26 Step 2/24 : FROM ${BASE} AS builder 05:05:26 ---> 228a143c3c4a 05:05:26 Step 3/24 : ARG MAKE='make build' 05:05:26 ---> Running in 4674176899af 05:05:26 Removing intermediate container 4674176899af 05:05:26 ---> c314411a044c 05:05:26 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:26 ---> Running in 0fee5cc5c43f 05:05:26 Removing intermediate container 0fee5cc5c43f 05:05:26 ---> f49b064bac86 05:05:26 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:05:26 ---> Running in 781c785fe502 05:05:26 Removing intermediate container 781c785fe502 05:05:26 ---> 0bf7cca3377c 05:05:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:26 ---> Running in 2055a94e3602 05:05:27 Removing intermediate container 2055a94e3602 05:05:27 ---> c636ef407cef 05:05:27 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:27 ---> Running in 8d0c3aedf318 05:05:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:29 OK: 216 MiB in 55 packages 05:05:29 Removing intermediate container 8d0c3aedf318 05:05:29 ---> 454545e5b7c9 05:05:29 Step 8/24 : WORKDIR /device-snmp-go 05:05:29 ---> Running in ce94ae902246 05:05:29 Removing intermediate container ce94ae902246 05:05:29 ---> 4bed6489e194 05:05:29 Step 9/24 : COPY go.mod vendor* ./ 05:05:29 ---> 67a48feb796b 05:05:29 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:29 ---> Running in 127fdeb03acf 05:05:30 Removing intermediate container 127fdeb03acf 05:05:30 ---> b31f1a0b35a5 05:05:30 Step 11/24 : COPY . . 05:05:30 ---> 4a7df5cf6123 05:05:30 Step 12/24 : RUN ${MAKE} 05:05:30 ---> Running in 850e85a7b24a 05:05:30 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=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:05:52 Removing intermediate container 850e85a7b24a 05:05:52 ---> 3ce2b32a5c5a 05:05:52 Step 13/24 : FROM alpine:3.16 05:05:52 3.16: Pulling from library/alpine 05:05:52 2408cc74d12b: Already exists 05:05:52 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 05:05:52 Status: Downloaded newer image for alpine:3.16 05:05:52 ---> e66264b98777 05:05:52 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:05:52 ---> Running in 1caa65f66b10 05:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:52 (1/6) Installing dumb-init (1.2.5-r1) 05:05:52 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:05:52 (3/6) Installing libsodium (1.0.18-r0) 05:05:52 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:05:52 (5/6) Installing libzmq (4.3.4-r0) 05:05:52 (6/6) Installing zeromq (4.3.4-r0) 05:05:52 Executing busybox-1.35.0-r13.trigger 05:05:52 OK: 8 MiB in 20 packages 05:05:52 Removing intermediate container 1caa65f66b10 05:05:52 ---> 5b768a526328 05:05:52 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:05:53 ---> a3b87c7fb1c2 05:05:53 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:05:53 ---> ffee06f5c7fa 05:05:53 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:05:53 ---> 558bf21a67be 05:05:53 Step 18/24 : EXPOSE 59993 05:05:53 ---> Running in 31f147e242b2 05:05:53 Removing intermediate container 31f147e242b2 05:05:53 ---> bf08119f2cbe 05:05:53 Step 19/24 : EXPOSE 161 05:05:53 ---> Running in 5493894ba73f 05:05:53 Removing intermediate container 5493894ba73f 05:05:53 ---> 5d941968603a 05:05:53 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:05:53 ---> Running in daa11dbd4b90 05:05:53 Removing intermediate container daa11dbd4b90 05:05:53 ---> 34203f19f682 05:05:53 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:05:53 ---> Running in 3cd043facb05 05:05:53 Removing intermediate container 3cd043facb05 05:05:53 ---> 63cc79b0f3da 05:05:53 Step 22/24 : LABEL arch=amd64 05:05:54 ---> Running in d1abbaa0b12d 05:05:54 Removing intermediate container d1abbaa0b12d 05:05:54 ---> 21d148d6cf80 05:05:54 Step 23/24 : LABEL git_sha=c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 05:05:54 ---> Running in 2518d92c7183 05:05:54 Removing intermediate container 2518d92c7183 05:05:54 ---> 628bcca2aa42 05:05:54 Step 24/24 : LABEL version=0.0.0 05:05:54 ---> Running in daa9b0a7f17b 05:05:54 Removing intermediate container daa9b0a7f17b 05:05:54 ---> 91a903d0589f 05:05:54 [Warning] One or more build-args [ARCH] were not consumed 05:05:54 Successfully built 91a903d0589f 05:05:54 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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:05:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:55 05:05:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:55 latest: Pulling from edgex-lftools-log-publisher 05:05:55 5eb5b503b376: Pulling fs layer 05:05:55 5c69ac0246d0: Pulling fs layer 05:05:55 ec43610c2a17: Pulling fs layer 05:05:55 3a2ae6a8a46f: Pulling fs layer 05:05:55 33b1e0a273af: Pulling fs layer 05:05:55 5d3b04190fa2: Pulling fs layer 05:05:55 2f39f015ded8: Pulling fs layer 05:05:55 2f39f015ded8: Waiting 05:05:55 5d3b04190fa2: Waiting 05:05:55 3a2ae6a8a46f: Waiting 05:05:55 5c69ac0246d0: Verifying Checksum 05:05:55 5c69ac0246d0: Download complete 05:05:55 3a2ae6a8a46f: Verifying Checksum 05:05:55 3a2ae6a8a46f: Download complete 05:05:55 33b1e0a273af: Verifying Checksum 05:05:55 33b1e0a273af: Download complete 05:05:55 5d3b04190fa2: Verifying Checksum 05:05:55 5d3b04190fa2: Download complete 05:05:55 ec43610c2a17: Verifying Checksum 05:05:55 ec43610c2a17: Download complete 05:05:55 5eb5b503b376: Verifying Checksum 05:05:55 5eb5b503b376: Download complete 05:05:56 2f39f015ded8: Download complete 05:05:56 5eb5b503b376: Pull complete 05:05:57 5c69ac0246d0: Pull complete 05:05:57 ec43610c2a17: Pull complete 05:05:57 3a2ae6a8a46f: Pull complete 05:05:58 33b1e0a273af: Pull complete 05:05:58 5d3b04190fa2: Pull complete 05:06:02 2f39f015ded8: Pull complete 05:06:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:02 prd-ubuntu20.04-docker-8c-8g-20369 does not seem to be running inside a container 05:06:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-184 -v /w/workspace/gexfoundry_device-snmp-go_PR-184:/w/workspace/gexfoundry_device-snmp-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-184@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:06:04 $ docker top 809757313f245678fe5b06c3db46df73089a5d218796b0e788839ece33b64a91 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:04 ---> job-cost.sh 05:06:04 lf-activate-venv: SKIPPING 05:06:04 INFO: No Stack... 05:06:05 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:05 INFO: Archiving Costs [Pipeline] sh 05:06:06 + cat /w/workspace/gexfoundry_device-snmp-go_PR-184/archives/cost.csv 05:06:06 + cut -d, -f6 [Pipeline] lock 05:06:06 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] 05:06:06 Resource [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] did not exist. Created. 05:06:06 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] [Pipeline] { [Pipeline] unstash 05:06:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20372 in /w/workspace/gexfoundry_device-snmp-go_PR-184 [Pipeline] { [Pipeline] sh [Pipeline] ws 05:06:06 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:06:06 Selected Git installation does not exist. Using Default 05:06:06 The recommended git tool is: NONE 05:06:06 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:06 Stashed 1 file(s) [Pipeline] } 05:06:06 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:06 $ docker stop --time=1 809757313f245678fe5b06c3db46df73089a5d218796b0e788839ece33b64a91 05:06:07 $ docker rm -f 809757313f245678fe5b06c3db46df73089a5d218796b0e788839ece33b64a91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:12 using credential edgex-jenkins-ssh 05:06:12 Cloning the remote Git repository 05:06:12 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:06:12 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:06:12 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:06:12 > git --version # timeout=10 05:06:12 > git --version # 'git version 2.25.1' 05:06:12 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:13 Merging remotes/origin/main commit d0a0e99d902e45b7e17db09c4331e4d14954addb into PR head commit c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 05:06:14 Merge succeeded, producing c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 05:06:14 Checking out Revision c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 (PR-184) 05:06:13 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:06:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:13 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:06:13 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:06:13 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:06:13 > git config core.sparsecheckout # timeout=10 05:06:13 > git checkout -f c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 # timeout=10 05:06:14 > git remote # timeout=10 05:06:14 > git config --get remote.origin.url # timeout=10 05:06:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:14 > git merge d0a0e99d902e45b7e17db09c4331e4d14954addb # timeout=10 05:06:14 > git rev-parse HEAD^{commit} # timeout=10 05:06:14 > git config core.sparsecheckout # timeout=10 05:06:14 > git checkout -f c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 # timeout=10 05:06:18 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:06:18 > git --version # timeout=10 05:06:18 > git --version # 'git version 2.25.1' 05:06:18 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:06:19 % Total % Received % Xferd Average Speed Time Time Time Current 05:06:19 Dload Upload Total Spent Left Speed 05:06:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 05:06:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:06:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:06:20 + sudo tee /etc/docker/daemon.new 05:06:20 { 05:06:20 "registry-mirrors": [ 05:06:20 "https://nexus3.edgexfoundry.org:10001" 05:06:20 ], 05:06:20 "bip": "10.250.0.254/24", 05:06:20 "hosts": [ 05:06:20 "tcp://0.0.0.0:5555", 05:06:20 "unix:///var/run/docker.sock" 05:06:20 ], 05:06:20 "mtu": 1458, 05:06:20 "selinux-enabled": true, 05:06:20 "seccomp-profile": "/etc/docker/seccomp.json" 05:06:20 } [Pipeline] sh 05:06:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:06:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:39 provisioning config files... 05:06:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3461046394222061671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:40 ---> docker-login.sh 05:06:40 nexus3.edgexfoundry.org:10001 05:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:41 Configure a credential helper to remove this warning. See 05:06:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:41 05:06:41 Login Succeeded 05:06:41 nexus3.edgexfoundry.org:10002 05:06:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:41 Configure a credential helper to remove this warning. See 05:06:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:41 05:06:41 Login Succeeded 05:06:41 nexus3.edgexfoundry.org:10003 05:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:42 Configure a credential helper to remove this warning. See 05:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:42 05:06:42 Login Succeeded 05:06:42 nexus3.edgexfoundry.org:10004 05:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:42 Configure a credential helper to remove this warning. See 05:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:42 05:06:42 Login Succeeded 05:06:42 docker.io 05:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:43 Configure a credential helper to remove this warning. See 05:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:43 05:06:43 Login Succeeded 05:06:43 ---> docker-login.sh ends [Pipeline] } 05:06:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:06:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:43 ========================================================= 05:06:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:06:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:44 + 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:06:44 Sending build context to Docker daemon 2.798MB 05:06:44 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:06:44 Step 2/12 : FROM ${BASE} AS builder 05:06:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:06:44 b3c136eddcbf: Pulling fs layer 05:06:44 c0a3192eca97: Pulling fs layer 05:06:44 a050256f5b6f: Pulling fs layer 05:06:44 656be50a0ddc: Pulling fs layer 05:06:44 2bbca73fdf42: Pulling fs layer 05:06:44 46d945488cbd: Pulling fs layer 05:06:44 8a5474983e97: Pulling fs layer 05:06:44 329c88fbcd65: Pulling fs layer 05:06:44 46d945488cbd: Waiting 05:06:44 8a5474983e97: Waiting 05:06:44 329c88fbcd65: Waiting 05:06:44 656be50a0ddc: Waiting 05:06:44 2bbca73fdf42: Waiting 05:06:44 a050256f5b6f: Verifying Checksum 05:06:44 a050256f5b6f: Download complete 05:06:44 c0a3192eca97: Verifying Checksum 05:06:44 c0a3192eca97: Download complete 05:06:44 2bbca73fdf42: Verifying Checksum 05:06:44 2bbca73fdf42: Download complete 05:06:44 46d945488cbd: Verifying Checksum 05:06:44 46d945488cbd: Download complete 05:06:44 b3c136eddcbf: Verifying Checksum 05:06:44 b3c136eddcbf: Download complete 05:06:45 b3c136eddcbf: Pull complete 05:06:46 329c88fbcd65: Verifying Checksum 05:06:46 329c88fbcd65: Download complete 05:06:46 c0a3192eca97: Pull complete 05:06:46 a050256f5b6f: Pull complete 05:06:47 8a5474983e97: Verifying Checksum 05:06:47 8a5474983e97: Download complete 05:06:47 656be50a0ddc: Verifying Checksum 05:06:47 656be50a0ddc: Download complete 05:07:03 656be50a0ddc: Pull complete 05:07:03 2bbca73fdf42: Pull complete 05:07:03 46d945488cbd: Pull complete 05:07:08 8a5474983e97: Pull complete 05:07:09 329c88fbcd65: Pull complete 05:07:09 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 05:07:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:07:09 ---> ff4287adb874 05:07:09 Step 3/12 : ARG MAKE='make build' 05:07:10 ---> Running in 6861fac3f5f6 05:07:11 Removing intermediate container 6861fac3f5f6 05:07:11 ---> 1beff40868ab 05:07:11 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:07:11 ---> Running in 85b782f6e3ac 05:07:11 Removing intermediate container 85b782f6e3ac 05:07:11 ---> 35774959aa33 05:07:11 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:07:11 ---> Running in 5716b81cc250 05:07:12 Removing intermediate container 5716b81cc250 05:07:12 ---> c86ac652edd3 05:07:12 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:12 ---> Running in ab777fbf46fa 05:07:14 Removing intermediate container ab777fbf46fa 05:07:14 ---> e3aac89f56c1 05:07:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:14 ---> Running in 623aefd22651 05:07:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:07:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:07:17 (1/4) Installing openssh-keygen (9.0_p1-r1) 05:07:17 (2/4) Installing libedit (20210910.3.1-r0) 05:07:18 (3/4) Installing openssh-client-common (9.0_p1-r1) 05:07:18 (4/4) Installing openssh-client-default (9.0_p1-r1) 05:07:18 Executing busybox-1.35.0-r13.trigger 05:07:18 OK: 226 MiB in 55 packages 05:07:19 Removing intermediate container 623aefd22651 05:07:19 ---> 5c0be3d9fe25 05:07:19 Step 8/12 : WORKDIR /device-snmp-go 05:07:19 ---> Running in deff9a26f8f9 05:07:19 Removing intermediate container deff9a26f8f9 05:07:19 ---> 935b4c8fa993 05:07:19 Step 9/12 : COPY go.mod vendor* ./ 05:07:20 ---> 8e3a3044ab33 05:07:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:20 ---> Running in 336f7a2c5c8e 05:08:07 Removing intermediate container 336f7a2c5c8e 05:08:07 ---> ee0988278d0f 05:08:07 Step 11/12 : COPY . . 05:08:07 ---> a6b5e517a4de 05:08:07 Step 12/12 : RUN ${MAKE} 05:08:07 ---> Running in 6464e3b3e486 05:08:07 noop 05:08:07 Removing intermediate container 6464e3b3e486 05:08:07 ---> ff4c4d381473 05:08:07 Successfully built ff4c4d381473 05:08:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:07 + docker inspect -f . ci-base-image-arm64 05:08:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:08 prd-ubuntu20.04-docker-arm64-4c-16g-20372 does not seem to be running inside a container 05:08:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 05:08:09 $ docker top ddc323f8c539c82d1a0431011e9204ce9c1e13a733191fb853e547e05e23ea1c -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:10 + go version 05:08:10 go version go1.18.3 linux/arm64 [Pipeline] } 05:08:10 $ docker stop --time=1 ddc323f8c539c82d1a0431011e9204ce9c1e13a733191fb853e547e05e23ea1c 05:08:12 $ docker rm -f ddc323f8c539c82d1a0431011e9204ce9c1e13a733191fb853e547e05e23ea1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:13 + docker inspect -f . ci-base-image-arm64 05:08:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:13 prd-ubuntu20.04-docker-arm64-4c-16g-20372 does not seem to be running inside a container 05:08:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 05:08:15 $ docker top aa52cdec544cfcf49522967b0b454736dc00e062030188363abd366fdfe3e0d8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:15 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:08:16 + make test 05:08:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:08:18 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:09:40 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:09:40 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements 05:09:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:09:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:09:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:09:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:09:58 ./bin/test-attribution-txt.sh [Pipeline] echo 05:09:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:09:58 $ docker stop --time=1 aa52cdec544cfcf49522967b0b454736dc00e062030188363abd366fdfe3e0d8 05:10:00 $ docker rm -f aa52cdec544cfcf49522967b0b454736dc00e062030188363abd366fdfe3e0d8 [Pipeline] // withDockerContainer [Pipeline] sh 05:10:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:10:01 Warning: overwriting stash ‘coverage-report’ 05:10:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:10:03 + ls -al . 05:10:03 total 164 05:10:03 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 05:08 . 05:10:03 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 05:06 .. 05:10:03 -rw-rw-r-- 1 jenkins jenkins 6 Jul 18 05:06 .dockerignore 05:10:03 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 05:06 .git 05:10:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:06 .github 05:10:03 -rw-rw-r-- 1 jenkins jenkins 328 Jul 18 05:06 .gitignore 05:10:03 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 05:06 .golangci.yml 05:10:03 -rw-rw-r-- 1 jenkins jenkins 8556 Jul 18 05:06 Attribution.txt 05:10:03 -rw-rw-r-- 1 jenkins jenkins 6948 Jul 18 05:06 CHANGELOG.md 05:10:03 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 18 05:06 Dockerfile 05:10:03 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 05:06 GOVERNANCE.md 05:10:03 -rw-rw-r-- 1 jenkins jenkins 656 Jul 18 05:06 Jenkinsfile 05:10:03 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 05:06 LICENSE 05:10:03 -rw-rw-r-- 1 jenkins jenkins 2334 Jul 18 05:06 Makefile 05:10:03 -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 05:06 OWNERS.md 05:10:03 -rw-rw-r-- 1 jenkins jenkins 9390 Jul 18 05:06 README.md 05:10:03 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 05:04 VERSION 05:10:03 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 05:06 bin 05:10:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:06 cmd 05:10:03 -rw-r--r-- 1 jenkins jenkins 7631 Jul 18 05:09 coverage.out 05:10:03 -rw-rw-r-- 1 jenkins jenkins 3302 Jul 18 05:06 go.mod 05:10:03 -rw-rw-r-- 1 jenkins jenkins 35534 Jul 18 05:06 go.sum 05:10:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:06 internal 05:10:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 05:06 snap 05:10:03 -rw-rw-r-- 1 jenkins jenkins 228 Jul 18 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:03 + 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=c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 --label arch=arm64 --label version=0.0.0 . 05:10:04 Sending build context to Docker daemon 2.806MB 05:10:04 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:10:04 Step 2/24 : FROM ${BASE} AS builder 05:10:04 ---> ff4c4d381473 05:10:04 Step 3/24 : ARG MAKE='make build' 05:10:04 ---> Running in 9bb30c3dec69 05:10:04 Removing intermediate container 9bb30c3dec69 05:10:04 ---> 8ca1ff58d4ed 05:10:04 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:10:04 ---> Running in bfd0ebf8fb52 05:10:04 Removing intermediate container bfd0ebf8fb52 05:10:04 ---> f6a651c57ded 05:10:04 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:10:05 ---> Running in 89d60cf197e6 05:10:05 Removing intermediate container 89d60cf197e6 05:10:05 ---> 3a9119e184f9 05:10:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:05 ---> Running in 357ca43e8545 05:10:07 Removing intermediate container 357ca43e8545 05:10:07 ---> 488c4849e885 05:10:07 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:10:07 ---> Running in 7753751ac67f 05:10:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:10:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:10:10 OK: 226 MiB in 55 packages 05:10:11 Removing intermediate container 7753751ac67f 05:10:11 ---> 681572d3312f 05:10:11 Step 8/24 : WORKDIR /device-snmp-go 05:10:11 ---> Running in 95f8c23e08ef 05:10:11 Removing intermediate container 95f8c23e08ef 05:10:11 ---> 1d2120daf27f 05:10:11 Step 9/24 : COPY go.mod vendor* ./ 05:10:11 ---> ad89d2c36752 05:10:11 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:11 ---> Running in 333e48b36e6f 05:10:13 Removing intermediate container 333e48b36e6f 05:10:13 ---> 532610692b60 05:10:13 Step 11/24 : COPY . . 05:10:14 ---> 7a634285d8b5 05:10:14 Step 12/24 : RUN ${MAKE} 05:10:14 ---> Running in e822372c2ba3 05:10:15 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=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:12:37 Removing intermediate container e822372c2ba3 05:12:37 ---> ad5100ed9ea2 05:12:37 Step 13/24 : FROM alpine:3.16 05:12:37 3.16: Pulling from library/alpine 05:12:37 b3c136eddcbf: Already exists 05:12:37 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 05:12:37 Status: Downloaded newer image for alpine:3.16 05:12:37 ---> 6e30ab57aeee 05:12:37 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:12:37 ---> Running in 20d3c0c4c0d6 05:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:12:37 (1/6) Installing dumb-init (1.2.5-r1) 05:12:37 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:12:37 (3/6) Installing libsodium (1.0.18-r0) 05:12:37 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:12:37 (5/6) Installing libzmq (4.3.4-r0) 05:12:37 (6/6) Installing zeromq (4.3.4-r0) 05:12:37 Executing busybox-1.35.0-r13.trigger 05:12:37 OK: 8 MiB in 20 packages 05:12:37 Removing intermediate container 20d3c0c4c0d6 05:12:37 ---> 875e076a9c74 05:12:37 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:12:37 ---> bd7b41a546cf 05:12:37 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:12:37 ---> 0d57fbcb5642 05:12:37 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:12:37 ---> 787d662fb201 05:12:37 Step 18/24 : EXPOSE 59993 05:12:37 ---> Running in d8291ed25f30 05:12:37 Removing intermediate container d8291ed25f30 05:12:37 ---> f294719a751b 05:12:37 Step 19/24 : EXPOSE 161 05:12:37 ---> Running in dca67715b734 05:12:37 Removing intermediate container dca67715b734 05:12:37 ---> 9f4642b7ab85 05:12:37 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:12:37 ---> Running in 38e273333528 05:12:37 Removing intermediate container 38e273333528 05:12:37 ---> a3ffb6338039 05:12:37 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:12:37 ---> Running in 8e198e0c67d4 05:12:37 Removing intermediate container 8e198e0c67d4 05:12:37 ---> 8e7bed8225c4 05:12:37 Step 22/24 : LABEL arch=arm64 05:12:37 ---> Running in 97e68ad03934 05:12:37 Removing intermediate container 97e68ad03934 05:12:37 ---> a19ed272d7ee 05:12:37 Step 23/24 : LABEL git_sha=c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 05:12:37 ---> Running in e3fe45333f83 05:12:37 Removing intermediate container e3fe45333f83 05:12:37 ---> 6532a19f664b 05:12:37 Step 24/24 : LABEL version=0.0.0 05:12:37 ---> Running in bec012936579 05:12:37 Removing intermediate container bec012936579 05:12:37 ---> 66741db851c9 05:12:37 [Warning] One or more build-args [ARCH] were not consumed 05:12:37 Successfully built 66741db851c9 05:12:37 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:38 05:12:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:39 arm64: Pulling from edgex-lftools-log-publisher 05:12:39 8998bd30e6a1: Pulling fs layer 05:12:39 04944245beec: Pulling fs layer 05:12:39 699f458cf7ca: Pulling fs layer 05:12:39 765212b225bb: Pulling fs layer 05:12:39 f23df028b6ca: Pulling fs layer 05:12:39 d65c8cfc05b1: Pulling fs layer 05:12:39 2437ff75d9bd: Pulling fs layer 05:12:39 765212b225bb: Waiting 05:12:39 f23df028b6ca: Waiting 05:12:39 d65c8cfc05b1: Waiting 05:12:39 2437ff75d9bd: Waiting 05:12:39 04944245beec: Verifying Checksum 05:12:39 04944245beec: Download complete 05:12:39 765212b225bb: Verifying Checksum 05:12:39 765212b225bb: Download complete 05:12:39 f23df028b6ca: Verifying Checksum 05:12:39 f23df028b6ca: Download complete 05:12:39 d65c8cfc05b1: Verifying Checksum 05:12:39 d65c8cfc05b1: Download complete 05:12:39 699f458cf7ca: Download complete 05:12:39 8998bd30e6a1: Verifying Checksum 05:12:39 8998bd30e6a1: Download complete 05:12:42 2437ff75d9bd: Verifying Checksum 05:12:42 2437ff75d9bd: Download complete 05:12:44 8998bd30e6a1: Pull complete 05:12:44 04944245beec: Pull complete 05:12:46 699f458cf7ca: Pull complete 05:12:46 765212b225bb: Pull complete 05:12:47 f23df028b6ca: Pull complete 05:12:47 d65c8cfc05b1: Pull complete 05:13:02 2437ff75d9bd: Pull complete 05:13:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:13:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:03 prd-ubuntu20.04-docker-arm64-4c-16g-20372 does not seem to be running inside a container 05:13:03 $ 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/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:13:06 $ docker top eb291f8f1763a1c9e4ced29134ccc0e521a317395864bc7be3094fd71cbcc7e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:07 ---> job-cost.sh 05:13:07 lf-activate-venv: SKIPPING 05:13:07 INFO: No Stack... 05:13:07 INFO: Retrieving Pricing Info for: v3-standard-4 05:13:08 INFO: Archiving Costs [Pipeline] sh 05:13:08 + + cutcat -d, /w/workspace/device-snmp-go/1/archives/cost.csv -f6 05:13:08 [Pipeline] lock 05:13:09 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] 05:13:09 Resource [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] did not exist. Created. 05:13:09 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:09 /w/workspace/device-snmp-go/1@tmp/durable-ac9c2432/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:13:10 + echo total: 0.10999999940395355 [Pipeline] stash 05:13:10 Warning: overwriting stash ‘stack-cost’ 05:13:10 Stashed 1 file(s) [Pipeline] } 05:13:10 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-184-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:10 $ docker stop --time=1 eb291f8f1763a1c9e4ced29134ccc0e521a317395864bc7be3094fd71cbcc7e0 05:13:12 $ docker rm -f eb291f8f1763a1c9e4ced29134ccc0e521a317395864bc7be3094fd71cbcc7e0 [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:13:13 provisioning config files... 05:13:13 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/config3657178988408567317tmp [Pipeline] { [Pipeline] sh 05:13:13 + set +x 05:13:13 + curl -s https://codecov.io/bash 05:13:13 + bash -s -- 05:13:13 05:13:13 _____ _ 05:13:13 / ____| | | 05:13:13 | | ___ __| | ___ ___ _____ __ 05:13:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:13:13 | |___| (_) | (_| | __/ (_| (_) \ V / 05:13:13 \_____\___/ \__,_|\___|\___\___/ \_/ 05:13:13 Bash-1.0.6 05:13:13 05:13:13 05:13:13 ==> git version 2.25.1 found 05:13:13 ==> 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:13:13 Release-Date: 2020-01-08 05:13:13 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:13:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:13:13 ==> Jenkins CI detected. 05:13:13 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-184 05:13:13 project root: . 05:13:13 --> token set from env 05:13:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:13:13 ==> Running gcov in . (disable via -X gcov) 05:13:13 ==> Python coveragepy not found 05:13:13 ==> Searching for coverage reports in: 05:13:13 + . 05:13:13 -> Found 1 reports 05:13:13 ==> Detecting git/mercurial file structure 05:13:13 ==> Reading reports 05:13:13 + ./coverage.out bytes=7631 05:13:13 ==> Appending adjustments 05:13:13 https://docs.codecov.io/docs/fixing-reports 05:13:13 + Found adjustments 05:13:13 ==> Gzipping contents 05:13:13 4.0K /tmp/codecov.nup6pq.gz 05:13:13 ==> Uploading reports 05:13:13 url: https://codecov.io 05:13:13 query: branch=PR-184&commit=c45d64c38cdfbf96c825fa1e95389ef6003e4fb3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-184%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=184&job=&cmd_args= 05:13:13 -> Pinging Codecov 05:13:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-184&commit=c45d64c38cdfbf96c825fa1e95389ef6003e4fb3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-184%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=184&job=&cmd_args= 05:13:14 -> Uploading to 05:13:14 https://storage.googleapis.com/codecov/v4/raw/2022-07-18/6C56EA5C29638FB4528AC87E60AF5AE0/c45d64c38cdfbf96c825fa1e95389ef6003e4fb3/7834a751-4db7-4a08-8e9b-59dc43243d91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T051313Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=44fb1ffbfcac360f735b77dd8d7460795a5d5b7c9dea50d2a8d56df072142914 05:13:14 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:14 Dload Upload Total Spent Left Speed 05:13:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 4687 --:--:-- --:--:-- --:--:-- 4687 100 1603 0 0 100 1603 0 4687 --:--:-- --:--:-- --:--:-- 4673 05:13:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/c45d64c38cdfbf96c825fa1e95389ef6003e4fb3 [Pipeline] } 05:13:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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:13:16 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-184/archives ] 05:13:16 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-184/archives 05:13:16 total 16 05:13:16 drwxr-xr-x 3 root root 4096 Jul 18 05:06 . 05:13:16 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 05:06 .. 05:13:16 drwxr-xr-x 2 root root 4096 Jul 18 05:06 cost 05:13:16 -rw-r--r-- 1 root root 85 Jul 18 05:06 cost.csv 05:13:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-184/archives 05:13:16 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-184/archives 05:13:16 total 16 05:13:16 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 05:06 . 05:13:16 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 05:06 .. 05:13:16 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 05:06 cost 05:13:16 -rw-r--r-- 1 jenkins jenkins 85 Jul 18 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:13:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:13:17 ---> package-listing.sh 05:13:17 ++ facter osfamily 05:13:17 ++ tr '[:upper:]' '[:lower:]' 05:13:17 + OS_FAMILY=debian 05:13:17 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-184 05:13:17 + START_PACKAGES=/tmp/packages_start.txt 05:13:17 + END_PACKAGES=/tmp/packages_end.txt 05:13:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:13:17 + PACKAGES=/tmp/packages_start.txt 05:13:17 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-184 ']' 05:13:17 + PACKAGES=/tmp/packages_end.txt 05:13:17 + case "${OS_FAMILY}" in 05:13:17 + dpkg -l 05:13:17 + grep '^ii' 05:13:17 + '[' -f /tmp/packages_start.txt ']' 05:13:17 + '[' -f /tmp/packages_end.txt ']' 05:13:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:13:17 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-184 ']' 05:13:17 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-184/archives/ 05:13:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-184/archives/ [Pipeline] echo 05:13:17 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/gexfoundry_device-snmp-go_PR-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:13:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:18 prd-ubuntu20.04-docker-8c-8g-20369 does not seem to be running inside a container 05:13:18 $ 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/gexfoundry_device-snmp-go_PR-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-184 -v /w/workspace/gexfoundry_device-snmp-go_PR-184:/w/workspace/gexfoundry_device-snmp-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-184@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-184@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:13:19 $ docker top 09a1a7e6b13cbcaeeb26f8e91d7c2652c67c9419177fdf6bbdc6e7b4a07e3496 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:19 + touch /tmp/pre-build-complete [Pipeline] sh 05:13:19 + mkdir -p /var/log/sysstat [Pipeline] sh 05:13:20 + ls /var/log/sa-host 05:13:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:20 provisioning config files... 05:13:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-184@tmp/config1732909239302285281tmp [Pipeline] { [Pipeline] echo 05:13:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:13:20 ---> create-netrc.sh [Pipeline] } 05:13:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:13:21 ---> python-tools-install.sh [Pipeline] echo 05:13:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:13:21 ---> sudo-logs.sh 05:13:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:13:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:13:21 ---> job-cost.sh 05:13:21 lf-activate-venv: SKIPPING 05:13:21 DEBUG: total: 0.2199999988079071 05:13:21 INFO: Retrieving Stack Cost... 05:13:23 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:23 INFO: Archiving Costs [Pipeline] echo 05:13:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:13:24 ---> logs-deploy.sh 05:13:24 lf-activate-venv: SKIPPING 05:13:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-184/1 05:13:24 INFO: archiving workspace using pattern(s): 05:13:25 Archives upload complete. 05:13:25 INFO: archiving logs to Nexus 05:13:26 ---> uname -a: 05:13:26 Linux prd-ubuntu20-04-docker-8c-8g-20369 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 05:13:26 05:13:26 05:13:26 ---> lscpu: 05:13:26 Architecture: x86_64 05:13:26 CPU op-mode(s): 32-bit, 64-bit 05:13:26 Byte Order: Little Endian 05:13:26 Address sizes: 40 bits physical, 48 bits virtual 05:13:26 CPU(s): 8 05:13:26 On-line CPU(s) list: 0-7 05:13:26 Thread(s) per core: 1 05:13:26 Core(s) per socket: 1 05:13:26 Socket(s): 8 05:13:26 NUMA node(s): 1 05:13:26 Vendor ID: AuthenticAMD 05:13:26 CPU family: 23 05:13:26 Model: 49 05:13:26 Model name: AMD EPYC-Rome Processor 05:13:26 Stepping: 0 05:13:26 CPU MHz: 2799.998 05:13:26 BogoMIPS: 5599.99 05:13:26 Virtualization: AMD-V 05:13:26 Hypervisor vendor: KVM 05:13:26 Virtualization type: full 05:13:26 L1d cache: 256 KiB 05:13:26 L1i cache: 256 KiB 05:13:26 L2 cache: 4 MiB 05:13:26 L3 cache: 128 MiB 05:13:26 NUMA node0 CPU(s): 0-7 05:13:26 Vulnerability Itlb multihit: Not affected 05:13:26 Vulnerability L1tf: Not affected 05:13:26 Vulnerability Mds: Not affected 05:13:26 Vulnerability Meltdown: Not affected 05:13:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:13:26 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:13:26 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:13:26 Vulnerability Srbds: Not affected 05:13:26 Vulnerability Tsx async abort: Not affected 05:13:26 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:13:26 05:13:26 05:13:26 ---> nproc: 05:13:26 8 05:13:26 05:13:26 05:13:26 ---> df -h: 05:13:26 Filesystem Size Used Avail Use% Mounted on 05:13:26 overlay 155G 11G 145G 7% / 05:13:26 tmpfs 64M 0 64M 0% /dev 05:13:26 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:13:26 shm 64M 0 64M 0% /dev/shm 05:13:26 /dev/vda1 155G 11G 145G 7% /facter-os 05:13:26 05:13:26 05:13:26 ---> sar -b -r -n DEV: 05:13:26 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20369) 07/18/22 _x86_64_ (8 CPU) 05:13:26 05:13:26 05:03:19 LINUX RESTART (8 CPU) 05:13:26 05:13:26 05:04:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:13:26 05:05:01 197.63 4.63 193.00 0.00 427.86 96959.16 0.00 05:13:26 05:06:01 149.78 0.10 149.68 0.00 6.00 22949.28 0.00 05:13:26 05:07:01 31.21 0.00 31.21 0.00 0.00 16455.52 0.00 05:13:26 05:08:01 2.02 0.00 2.02 0.00 0.00 23.35 0.00 05:13:26 05:09:01 1.33 0.02 1.32 0.00 0.13 15.73 0.00 05:13:26 05:10:01 1.17 0.00 1.17 0.00 0.00 14.13 0.00 05:13:26 05:11:01 1.07 0.00 1.07 0.00 0.00 12.26 0.00 05:13:26 05:12:01 1.20 0.00 1.20 0.00 0.00 15.46 0.00 05:13:26 05:13:01 0.85 0.00 0.85 0.00 0.00 10.53 0.00 05:13:26 Average: 42.63 0.52 42.11 0.00 47.51 15009.57 0.00 05:13:26 05:13:26 05:04:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:13:26 05:05:01 28483584 31786304 509872 1.55 158620 3365208 1823460 5.37 1121916 2843892 0 05:13:26 05:06:01 27600144 31728048 562996 1.71 170896 4114840 2214012 6.52 1310036 3467064 527616 05:13:26 05:07:01 27724100 31784576 506036 1.54 172320 4044672 1804508 5.32 1267364 3384396 172 05:13:26 05:08:01 27725804 31786400 503676 1.53 172356 4044672 1804508 5.32 1266424 3384396 12 05:13:26 05:09:01 27729876 31790468 499608 1.52 172420 4044676 1804508 5.32 1261612 3384404 20 05:13:26 05:10:01 27730120 31790952 499264 1.52 172452 4044684 1804508 5.32 1261184 3384556 52 05:13:26 05:11:01 27736820 31797696 492452 1.50 172484 4044688 1804508 5.32 1255316 3384564 152 05:13:26 05:12:01 27736828 31797760 492344 1.50 172504 4044688 1804508 5.32 1254656 3384568 16 05:13:26 05:13:01 27736980 31797912 492324 1.50 172516 4044692 1804508 5.32 1254844 3384568 16 05:13:26 Average: 27800473 31784457 506508 1.54 170730 3976980 1852114 5.46 1250372 3333601 58673 05:13:26 05:13:26 05:04:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:13:26 05:05:01 docker0 118.61 151.31 9.41 1107.48 0.00 0.00 0.00 0.00 05:13:26 05:05:01 ens3 415.10 275.31 6812.20 44.75 0.00 0.00 0.00 0.00 05:13:26 05:05:01 lo 4.20 4.20 0.41 0.41 0.00 0.00 0.00 0.00 05:13:26 05:06:01 docker0 9.03 14.25 0.55 98.78 0.00 0.00 0.00 0.00 05:13:26 05:06:01 ens3 170.21 114.95 2653.11 73.37 0.00 0.00 0.00 0.00 05:13:26 05:06:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 05:13:26 05:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:26 05:07:01 ens3 36.59 33.18 14.97 47.28 0.00 0.00 0.00 0.00 05:13:26 05:07:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 05:13:26 05:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:26 05:08:01 ens3 0.48 0.25 0.11 0.08 0.00 0.00 0.00 0.00 05:13:26 05:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:13:26 05:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:26 05:09:01 ens3 0.67 0.40 0.34 0.27 0.00 0.00 0.00 0.00 05:13:26 05:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:26 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:26 05:10:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:13:26 05:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:13:26 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:26 05:11:01 ens3 0.48 0.33 0.26 0.21 0.00 0.00 0.00 0.00 05:13:26 05:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:26 05:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:26 05:12:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 05:13:26 05:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:13:26 05:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:26 05:13:01 ens3 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 05:13:26 05:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:26 Average: docker0 13.99 18.15 1.09 132.22 0.00 0.00 0.00 0.00 05:13:26 Average: ens3 68.67 46.76 1042.75 18.39 0.00 0.00 0.00 0.00 05:13:26 Average: lo 0.76 0.76 0.07 0.07 0.00 0.00 0.00 0.00 05:13:26 05:13:26 05:13:26 ---> sar -P ALL: 05:13:26 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20369) 07/18/22 _x86_64_ (8 CPU) 05:13:26 05:13:26 05:03:19 LINUX RESTART (8 CPU) 05:13:26 05:13:26 05:04:02 CPU %user %nice %system %iowait %steal %idle 05:13:26 05:05:01 all 10.75 0.00 4.83 1.63 0.07 82.73 05:13:26 05:05:01 0 11.77 0.00 6.17 6.26 0.07 75.73 05:13:26 05:05:01 1 10.22 0.00 4.68 2.46 0.05 82.59 05:13:26 05:05:01 2 10.03 0.00 4.08 0.57 0.07 85.26 05:13:26 05:05:01 3 10.26 0.00 4.90 0.41 0.07 84.36 05:13:26 05:05:01 4 10.85 0.00 4.67 0.22 0.05 84.21 05:13:26 05:05:01 5 11.21 0.00 4.65 0.33 0.07 83.74 05:13:26 05:05:01 6 10.53 0.00 4.90 1.57 0.07 82.93 05:13:26 05:05:01 7 11.12 0.00 4.60 1.19 0.09 83.00 05:13:26 05:06:01 all 39.72 0.00 7.30 0.91 0.11 51.95 05:13:26 05:06:01 0 39.62 0.00 7.18 2.08 0.10 51.01 05:13:26 05:06:01 1 39.92 0.00 7.22 1.28 0.12 51.46 05:13:26 05:06:01 2 38.24 0.00 8.39 2.29 0.14 50.93 05:13:26 05:06:01 3 39.76 0.00 7.16 0.61 0.10 52.37 05:13:26 05:06:01 4 39.25 0.00 7.38 0.20 0.12 53.05 05:13:26 05:06:01 5 39.80 0.00 6.91 0.12 0.10 53.07 05:13:26 05:06:01 6 40.30 0.00 7.08 0.55 0.12 51.95 05:13:26 05:06:01 7 40.88 0.00 7.11 0.17 0.10 51.74 05:13:26 05:07:01 all 0.49 0.00 0.29 0.31 0.00 98.91 05:13:26 05:07:01 0 0.55 0.00 0.63 1.77 0.00 97.05 05:13:26 05:07:01 1 0.52 0.00 0.28 0.25 0.00 98.95 05:13:26 05:07:01 2 0.33 0.00 0.23 0.02 0.00 99.42 05:13:26 05:07:01 3 0.60 0.00 0.27 0.27 0.00 98.87 05:13:26 05:07:01 4 0.25 0.00 0.28 0.00 0.00 99.47 05:13:26 05:07:01 5 0.48 0.00 0.20 0.00 0.00 99.32 05:13:26 05:07:01 6 0.67 0.00 0.22 0.03 0.00 99.08 05:13:26 05:07:01 7 0.53 0.00 0.22 0.12 0.00 99.13 05:13:26 05:08:01 all 0.02 0.00 0.01 0.01 0.01 99.95 05:13:26 05:08:01 0 0.02 0.00 0.03 0.02 0.02 99.92 05:13:26 05:08:01 1 0.02 0.00 0.00 0.00 0.00 99.98 05:13:26 05:08:01 2 0.00 0.00 0.00 0.03 0.00 99.97 05:13:26 05:08:01 3 0.00 0.00 0.00 0.02 0.02 99.97 05:13:26 05:08:01 4 0.00 0.00 0.00 0.00 0.00 100.00 05:13:26 05:08:01 5 0.02 0.00 0.00 0.00 0.02 99.97 05:13:26 05:08:01 6 0.07 0.00 0.03 0.00 0.02 99.88 05:13:26 05:08:01 7 0.03 0.00 0.03 0.02 0.02 99.90 05:13:26 05:09:01 all 0.03 0.00 0.02 0.01 0.00 99.95 05:13:26 05:09:01 0 0.05 0.00 0.02 0.02 0.00 99.92 05:13:26 05:09:01 1 0.02 0.00 0.00 0.00 0.00 99.98 05:13:26 05:09:01 2 0.00 0.00 0.03 0.02 0.00 99.95 05:13:26 05:09:01 3 0.02 0.00 0.00 0.03 0.00 99.95 05:13:26 05:09:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:13:26 05:09:01 5 0.02 0.00 0.00 0.00 0.00 99.98 05:13:26 05:09:01 6 0.02 0.00 0.05 0.00 0.00 99.93 05:13:26 05:09:01 7 0.07 0.00 0.03 0.00 0.00 99.90 05:13:26 05:10:01 all 0.01 0.00 0.00 0.00 0.00 99.98 05:13:26 05:10:01 0 0.02 0.00 0.02 0.00 0.00 99.97 05:13:26 05:10:01 1 0.00 0.00 0.00 0.00 0.00 100.00 05:13:26 05:10:01 2 0.02 0.00 0.00 0.00 0.00 99.98 05:13:26 05:10:01 3 0.00 0.00 0.00 0.02 0.00 99.98 05:13:26 05:10:01 4 0.00 0.00 0.00 0.00 0.00 100.00 05:13:26 05:10:01 5 0.00 0.00 0.00 0.00 0.00 100.00 05:13:26 05:10:01 6 0.02 0.00 0.02 0.00 0.00 99.97 05:13:26 05:10:01 7 0.03 0.00 0.00 0.00 0.00 99.97 05:13:26 05:11:01 all 0.03 0.00 0.01 0.01 0.00 99.95 05:13:26 05:11:01 0 0.02 0.00 0.03 0.03 0.00 99.92 05:13:26 05:11:01 1 0.02 0.00 0.02 0.00 0.00 99.97 05:13:26 05:11:01 2 0.00 0.00 0.00 0.00 0.00 100.00 05:13:26 05:11:01 3 0.03 0.00 0.00 0.02 0.00 99.95 05:13:26 05:11:01 4 0.00 0.00 0.00 0.00 0.02 99.98 05:13:26 05:11:01 5 0.05 0.00 0.02 0.00 0.00 99.93 05:13:26 05:11:01 6 0.05 0.00 0.00 0.00 0.00 99.95 05:13:26 05:11:01 7 0.07 0.00 0.03 0.00 0.02 99.88 05:13:26 05:12:01 all 0.00 0.00 0.01 0.00 0.00 99.98 05:13:26 05:12:01 0 0.02 0.00 0.03 0.02 0.02 99.92 05:13:26 05:12:01 1 0.00 0.00 0.00 0.00 0.00 100.00 05:13:26 05:12:01 2 0.00 0.00 0.03 0.00 0.00 99.97 05:13:26 05:12:01 3 0.00 0.00 0.00 0.00 0.00 100.00 05:13:26 05:12:01 4 0.00 0.00 0.00 0.00 0.00 100.00 05:13:26 05:12:01 5 0.00 0.00 0.00 0.00 0.00 100.00 05:13:26 05:12:01 6 0.02 0.00 0.00 0.00 0.02 99.97 05:13:26 05:12:01 7 0.00 0.00 0.02 0.00 0.00 99.98 05:13:26 05:13:01 all 0.02 0.00 0.01 0.00 0.00 99.97 05:13:26 05:13:01 0 0.03 0.00 0.00 0.02 0.00 99.95 05:13:26 05:13:01 1 0.02 0.00 0.00 0.00 0.00 99.98 05:13:26 05:13:01 2 0.02 0.00 0.02 0.00 0.00 99.97 05:13:26 05:13:01 3 0.00 0.00 0.02 0.02 0.00 99.97 05:13:26 05:13:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:13:26 05:13:01 5 0.02 0.00 0.00 0.00 0.00 99.98 05:13:26 05:13:01 6 0.03 0.00 0.02 0.00 0.00 99.95 05:13:26 05:13:01 7 0.02 0.00 0.02 0.00 0.00 99.97 05:13:26 Average: all 5.61 0.00 1.37 0.31 0.02 92.69 05:13:26 Average: 0 5.72 0.00 1.55 1.12 0.02 91.60 05:13:26 Average: 1 5.57 0.00 1.34 0.44 0.02 92.64 05:13:26 Average: 2 5.32 0.00 1.40 0.32 0.02 92.94 05:13:26 Average: 3 5.56 0.00 1.35 0.15 0.02 92.92 05:13:26 Average: 4 5.52 0.00 1.35 0.05 0.02 93.06 05:13:26 Average: 5 5.67 0.00 1.29 0.05 0.02 92.97 05:13:26 Average: 6 5.72 0.00 1.36 0.24 0.02 92.66 05:13:26 Average: 7 5.78 0.00 1.32 0.16 0.02 92.71 05:13:26 05:13:26 05:13:26