Pull request #185 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at f6828afe08f553138e4b56b0659b8be13fc1cd72 rather than 97853843c31ba2f8c44471a1c1cad8690a6f1a58 Obtained Jenkinsfile from f6828afe08f553138e4b56b0659b8be13fc1cd72 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5999590274700854485.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-ssh13410134449846197600.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13567183390257965174.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14187347186878851583.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13693248685971634524.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20585 in /w/workspace/gexfoundry_device-snmp-go_PR-185 [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-185 # 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 f6828afe08f553138e4b56b0659b8be13fc1cd72 into PR head commit 97853843c31ba2f8c44471a1c1cad8690a6f1a58 Merge succeeded, producing 97853843c31ba2f8c44471a1c1cad8690a6f1a58 Checking out Revision 97853843c31ba2f8c44471a1c1cad8690a6f1a58 (PR-185) > 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/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97853843c31ba2f8c44471a1c1cad8690a6f1a58 # 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 f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97853843c31ba2f8c44471a1c1cad8690a6f1a58 # timeout=10 Commit message: "refactor(snap): Update snapcraft" > git rev-list --no-walk 04de622028cfaebb47307c4dd7f541b6c5c0373c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:53:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:53:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:53:34 ========================================================= 12:53:34 EdgeX Global Pipelines Version Info 12:53:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:53:34 ------------------- 12:53:34 stable info: 12:53:34 ------------------- 12:53:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:53:34 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 12:53:34 Message: update stable to v1.0.238 12:53:35 ------------------- 12:53:35 experimental info: 12:53:35 ------------------- 12:53:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:53:35 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 12:53:35 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:53:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97853843c31ba2f8c44471a1c1cad8690a6f1a58 [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9785384 [Pipeline] echo 12:53:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:53:36 provisioning config files... 12:53:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config1257883920915173010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:36 ---> docker-login.sh 12:53:36 nexus3.edgexfoundry.org:10001 12:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:37 Configure a credential helper to remove this warning. See 12:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:37 12:53:37 Login Succeeded 12:53:37 nexus3.edgexfoundry.org:10002 12:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:37 Configure a credential helper to remove this warning. See 12:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:37 12:53:37 Login Succeeded 12:53:37 nexus3.edgexfoundry.org:10003 12:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:37 Configure a credential helper to remove this warning. See 12:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:37 12:53:37 Login Succeeded 12:53:37 nexus3.edgexfoundry.org:10004 12:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:37 Configure a credential helper to remove this warning. See 12:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:37 12:53:37 Login Succeeded 12:53:37 docker.io 12:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:37 Configure a credential helper to remove this warning. See 12:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:37 12:53:37 Login Succeeded 12:53:38 ---> docker-login.sh ends [Pipeline] } 12:53:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:53:38 + git rev-list -1 --merges 97853843c31ba2f8c44471a1c1cad8690a6f1a58~1..97853843c31ba2f8c44471a1c1cad8690a6f1a58 [Pipeline] echo 12:53:38 -----------> git rev-list -1 --merges 97853843c31ba2f8c44471a1c1cad8690a6f1a58~1..97853843c31ba2f8c44471a1c1cad8690a6f1a58 97853843c31ba2f8c44471a1c1cad8690a6f1a58 [false] [Pipeline] sh 12:53:38 + git log --format=format:%s -1 97853843c31ba2f8c44471a1c1cad8690a6f1a58 [Pipeline] echo 12:53:38 ========================================================= 12:53:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:53:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:53:39 + git log --format=format:%s -1 97853843c31ba2f8c44471a1c1cad8690a6f1a58 [Pipeline] echo 12:53:39 [semverPrep] GIT_COMMIT: 97853843c31ba2f8c44471a1c1cad8690a6f1a58, Commit Message: refactor(snap): Update snapcraft [Pipeline] echo 12:53:39 [semverPrep] This is not a build commit. [Pipeline] sh 12:53:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:53:39 + grep -v github /etc/ssh/ssh_known_hosts 12:53:39 + [ -e /tmp/ssh_known_hosts ] 12:53:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:53:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:53:39 + sudo tee -a /etc/ssh/ssh_known_hosts 12:53:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:53:40 12:53:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:53:40 0.1.4: Pulling from edgex-devops/py-git-semver 12:53:40 b85a868b505f: Pulling fs layer 12:53:40 e2be974225ed: Pulling fs layer 12:53:40 339a4e72a1f5: Pulling fs layer 12:53:40 988bab9f4d93: Pulling fs layer 12:53:40 1469e6f7b9e6: Pulling fs layer 12:53:40 eaf3925da568: Pulling fs layer 12:53:40 bab4dde63d76: Pulling fs layer 12:53:40 bde34c3a00c8: Pulling fs layer 12:53:40 b352a97aabf1: Pulling fs layer 12:53:40 4872d77fe225: Pulling fs layer 12:53:40 5851b861e8e6: Pulling fs layer 12:53:40 1469e6f7b9e6: Waiting 12:53:40 eaf3925da568: Waiting 12:53:40 bab4dde63d76: Waiting 12:53:40 bde34c3a00c8: Waiting 12:53:40 b352a97aabf1: Waiting 12:53:40 4872d77fe225: Waiting 12:53:40 5851b861e8e6: Waiting 12:53:40 988bab9f4d93: Waiting 12:53:40 e2be974225ed: Download complete 12:53:40 988bab9f4d93: Verifying Checksum 12:53:40 988bab9f4d93: Download complete 12:53:40 1469e6f7b9e6: Verifying Checksum 12:53:40 1469e6f7b9e6: Download complete 12:53:40 eaf3925da568: Download complete 12:53:40 339a4e72a1f5: Verifying Checksum 12:53:40 339a4e72a1f5: Download complete 12:53:40 bde34c3a00c8: Verifying Checksum 12:53:40 bde34c3a00c8: Download complete 12:53:40 b352a97aabf1: Download complete 12:53:40 4872d77fe225: Verifying Checksum 12:53:40 4872d77fe225: Download complete 12:53:40 5851b861e8e6: Verifying Checksum 12:53:40 5851b861e8e6: Download complete 12:53:40 b85a868b505f: Verifying Checksum 12:53:40 b85a868b505f: Download complete 12:53:40 bab4dde63d76: Verifying Checksum 12:53:40 bab4dde63d76: Download complete 12:53:42 b85a868b505f: Pull complete 12:53:42 e2be974225ed: Pull complete 12:53:42 339a4e72a1f5: Pull complete 12:53:42 988bab9f4d93: Pull complete 12:53:43 1469e6f7b9e6: Pull complete 12:53:43 eaf3925da568: Pull complete 12:53:45 bab4dde63d76: Pull complete 12:53:45 bde34c3a00c8: Pull complete 12:53:45 b352a97aabf1: Pull complete 12:53:45 4872d77fe225: Pull complete 12:53:45 5851b861e8e6: Pull complete 12:53:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:53:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:53:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:53:45 prd-ubuntu20.04-docker-8c-8g-20585 does not seem to be running inside a container 12:53:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:53:47 $ docker top 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 -eo pid,comm 12:53:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:53:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:53:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:47 [ssh-agent] Looking for ssh-agent implementation... 12:53:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:47 $ docker exec 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 ssh-agent 12:53:47 SSH_AUTH_SOCK=/tmp/ssh-z13vT6qfRUfT/agent.32 12:53:47 SSH_AGENT_PID=38 12:53:47 Running ssh-add (command line suppressed) 12:53:47 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_3832425871978889575.key (/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_3832425871978889575.key) 12:53:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:47 + git tag --points-at HEAD [Pipeline] } 12:53:48 $ docker exec --env ******** --env ******** 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 ssh-agent -k 12:53:48 unset SSH_AUTH_SOCK; 12:53:48 unset SSH_AGENT_PID; 12:53:48 echo Agent pid 38 killed; 12:53:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:53:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:48 [ssh-agent] Looking for ssh-agent implementation... 12:53:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:48 $ docker exec 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 ssh-agent 12:53:48 SSH_AUTH_SOCK=/tmp/ssh-sGxkOhebopdn/agent.72 12:53:48 SSH_AGENT_PID=78 12:53:48 Running ssh-add (command line suppressed) 12:53:48 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_8493577233569398677.key (/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_8493577233569398677.key) 12:53:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:48 + git semver init 12:53:49 2022-07-20 12:53:49,057 [run_init] DEBUG init version:0.0.0 force:False 12:53:49 2022-07-20 12:53:49,057 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver 12:53:49 2022-07-20 12:53:49,058 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-185/.semver 12:53:49 2022-07-20 12:53:49,058 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185, universal_newlines=False, shell=None, istream=None) 12:53:50 2022-07-20 12:53:49,768 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-185/.git/info/exclude 12:53:50 2022-07-20 12:53:49,768 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 with force:False 12:53:50 2022-07-20 12:53:49,768 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 12:53:50 2022-07-20 12:53:49,773 [execute] INFO git cat-file --batch-check 12:53:50 2022-07-20 12:53:49,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) 12:53:50 2022-07-20 12:53:49,779 [execute] INFO git cat-file --batch 12:53:50 2022-07-20 12:53:49,780 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) 12:53:50 2022-07-20 12:53:49,785 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 12:53:50 0.0.0 [Pipeline] } 12:53:50 $ docker exec --env ******** --env ******** 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 ssh-agent -k 12:53:50 unset SSH_AUTH_SOCK; 12:53:50 unset SSH_AGENT_PID; 12:53:50 echo Agent pid 78 killed; 12:53:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:53:50 + git semver [Pipeline] } 12:53:50 $ docker stop --time=1 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 12:53:52 $ docker rm -f 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 [Pipeline] // withDockerContainer [Pipeline] sh 12:53:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:53:52 Stashed 1 file(s) [Pipeline] echo 12:53:52 [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 12:53:52 provisioning config files... 12:53:52 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config6299666366688759328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:53 ---> docker-login.sh 12:53:53 nexus3.edgexfoundry.org:10001 12:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:53 Configure a credential helper to remove this warning. See 12:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:53 12:53:53 Login Succeeded 12:53:53 nexus3.edgexfoundry.org:10002 12:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:53 Configure a credential helper to remove this warning. See 12:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:53 12:53:53 Login Succeeded 12:53:53 nexus3.edgexfoundry.org:10003 12:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:53 Configure a credential helper to remove this warning. See 12:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:53 12:53:53 Login Succeeded 12:53:53 nexus3.edgexfoundry.org:10004 12:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:53 Configure a credential helper to remove this warning. See 12:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:53 12:53:53 Login Succeeded 12:53:53 docker.io 12:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:54 Configure a credential helper to remove this warning. See 12:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:54 12:53:54 Login Succeeded 12:53:54 ---> docker-login.sh ends [Pipeline] } 12:53:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:53:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:53:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:53:54 ========================================================= 12:53:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:53:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:54 + 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 . 12:53:54 Sending build context to Docker daemon 5.467MB 12:53:54 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:53:54 Step 2/12 : FROM ${BASE} AS builder 12:53:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:53:54 2408cc74d12b: Pulling fs layer 12:53:54 ea60b727a1ce: Pulling fs layer 12:53:54 30c4a7721957: Pulling fs layer 12:53:54 370296b7ddb6: Pulling fs layer 12:53:54 7c6cee850709: Pulling fs layer 12:53:54 39a5fcdaea64: Pulling fs layer 12:53:54 d94ebbe4e438: Pulling fs layer 12:53:54 bcfd1f05c69d: Pulling fs layer 12:53:54 59ccb84bbe0f: Pulling fs layer 12:53:54 370296b7ddb6: Waiting 12:53:54 7c6cee850709: Waiting 12:53:54 39a5fcdaea64: Waiting 12:53:54 d94ebbe4e438: Waiting 12:53:54 bcfd1f05c69d: Waiting 12:53:54 59ccb84bbe0f: Waiting 12:53:54 30c4a7721957: Verifying Checksum 12:53:54 30c4a7721957: Download complete 12:53:54 ea60b727a1ce: Verifying Checksum 12:53:54 ea60b727a1ce: Download complete 12:53:54 7c6cee850709: Verifying Checksum 12:53:54 7c6cee850709: Download complete 12:53:54 39a5fcdaea64: Verifying Checksum 12:53:54 39a5fcdaea64: Download complete 12:53:54 2408cc74d12b: Verifying Checksum 12:53:54 2408cc74d12b: Download complete 12:53:54 d94ebbe4e438: Verifying Checksum 12:53:54 d94ebbe4e438: Download complete 12:53:54 2408cc74d12b: Pull complete 12:53:54 ea60b727a1ce: Pull complete 12:53:54 30c4a7721957: Pull complete 12:53:55 59ccb84bbe0f: Verifying Checksum 12:53:55 59ccb84bbe0f: Download complete 12:53:55 bcfd1f05c69d: Verifying Checksum 12:53:55 bcfd1f05c69d: Download complete 12:53:55 370296b7ddb6: Verifying Checksum 12:53:55 370296b7ddb6: Download complete 12:53:59 370296b7ddb6: Pull complete 12:53:59 7c6cee850709: Pull complete 12:53:59 39a5fcdaea64: Pull complete 12:53:59 d94ebbe4e438: Pull complete 12:54:02 bcfd1f05c69d: Pull complete 12:54:03 59ccb84bbe0f: Pull complete 12:54:03 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 12:54:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:54:03 ---> a4fb48ad2a94 12:54:03 Step 3/12 : ARG MAKE='make build' 12:54:05 ---> Running in 0c6fcbbfcc00 12:54:05 Removing intermediate container 0c6fcbbfcc00 12:54:05 ---> f9f48024103f 12:54:05 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:54:05 ---> Running in febd316e44f5 12:54:05 Removing intermediate container febd316e44f5 12:54:05 ---> 519563193454 12:54:05 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:54:05 ---> Running in 2d24156b5ccf 12:54:05 Removing intermediate container 2d24156b5ccf 12:54:05 ---> f330f3c52968 12:54:05 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:54:05 ---> Running in f6acc80aaad0 12:54:05 Removing intermediate container f6acc80aaad0 12:54:05 ---> ea0f0aa3a55d 12:54:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:54:05 ---> Running in e2831fbcb900 12:54:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:54:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:54:07 (1/4) Installing openssh-keygen (9.0_p1-r1) 12:54:07 (2/4) Installing libedit (20210910.3.1-r0) 12:54:07 (3/4) Installing openssh-client-common (9.0_p1-r1) 12:54:07 (4/4) Installing openssh-client-default (9.0_p1-r1) 12:54:07 Executing busybox-1.35.0-r13.trigger 12:54:07 OK: 216 MiB in 55 packages 12:54:07 Still waiting to schedule task 12:54:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:54:08 Removing intermediate container e2831fbcb900 12:54:08 ---> 94d27ea2dfaa 12:54:08 Step 8/12 : WORKDIR /device-snmp-go 12:54:08 ---> Running in a3e5adb56eb1 12:54:08 Removing intermediate container a3e5adb56eb1 12:54:08 ---> b6148014b067 12:54:08 Step 9/12 : COPY go.mod vendor* ./ 12:54:08 ---> b7a9201f4151 12:54:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:54:08 ---> Running in fa05c4bece9a 12:54:23 Removing intermediate container fa05c4bece9a 12:54:23 ---> 31c6ea7e529d 12:54:23 Step 11/12 : COPY . . 12:54:23 ---> 830fc8c39ce7 12:54:23 Step 12/12 : RUN ${MAKE} 12:54:23 ---> Running in 5706cba8b057 12:54:23 noop 12:54:23 Removing intermediate container 5706cba8b057 12:54:23 ---> 6c45dbf164b0 12:54:23 Successfully built 6c45dbf164b0 12:54:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:23 + docker inspect -f . ci-base-image-x86_64 12:54:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:23 prd-ubuntu20.04-docker-8c-8g-20585 does not seem to be running inside a container 12:54:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:54:24 $ docker top 8f454dadd0a36ef3edb44881a90878e7024fcd3da96f67f1426c89ef9ed004dc -eo pid,comm [Pipeline] { [Pipeline] sh 12:54:24 + go version 12:54:24 go version go1.18.3 linux/amd64 [Pipeline] } 12:54:24 $ docker stop --time=1 8f454dadd0a36ef3edb44881a90878e7024fcd3da96f67f1426c89ef9ed004dc 12:54:25 $ docker rm -f 8f454dadd0a36ef3edb44881a90878e7024fcd3da96f67f1426c89ef9ed004dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:26 + docker inspect -f . ci-base-image-x86_64 12:54:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:26 prd-ubuntu20.04-docker-8c-8g-20585 does not seem to be running inside a container 12:54:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:54:26 $ docker top fe3f0c21e156e269ebde2393f7a67139f31b454176db8cc06ab06d58d7e78724 -eo pid,comm [Pipeline] { [Pipeline] sh 12:54:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] fileExists [Pipeline] sh 12:54:27 + make test 12:54:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:54:27 ? github.com/edgexfoundry/device-snmp-go [no test files] 12:54:35 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 12:54:35 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.021s coverage: 0.0% of statements 12:54:42 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." 12:54:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:54:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:54:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:54:45 ./bin/test-attribution-txt.sh [Pipeline] echo 12:54:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:54:45 $ docker stop --time=1 fe3f0c21e156e269ebde2393f7a67139f31b454176db8cc06ab06d58d7e78724 12:54:46 $ docker rm -f fe3f0c21e156e269ebde2393f7a67139f31b454176db8cc06ab06d58d7e78724 [Pipeline] // withDockerContainer [Pipeline] sh 12:54:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:54:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:54:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:54:48 + ls -al . 12:54:48 total 168 12:54:48 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 12:54 . 12:54:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:53 .. 12:54:48 -rw-rw-r-- 1 jenkins jenkins 6 Jul 20 12:53 .dockerignore 12:54:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 12:54 .git 12:54:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:53 .github 12:54:48 -rw-rw-r-- 1 jenkins jenkins 328 Jul 20 12:53 .gitignore 12:54:48 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 12:53 .golangci.yml 12:54:48 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 12:53 .semver 12:54:48 -rw-rw-r-- 1 jenkins jenkins 8556 Jul 20 12:53 Attribution.txt 12:54:48 -rw-rw-r-- 1 jenkins jenkins 6948 Jul 20 12:53 CHANGELOG.md 12:54:48 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 20 12:53 Dockerfile 12:54:48 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 12:53 GOVERNANCE.md 12:54:48 -rw-rw-r-- 1 jenkins jenkins 656 Jul 20 12:53 Jenkinsfile 12:54:48 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 12:53 LICENSE 12:54:48 -rw-rw-r-- 1 jenkins jenkins 2334 Jul 20 12:53 Makefile 12:54:48 -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 12:53 OWNERS.md 12:54:48 -rw-rw-r-- 1 jenkins jenkins 9390 Jul 20 12:53 README.md 12:54:48 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 12:53 VERSION 12:54:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 12:53 bin 12:54:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:53 cmd 12:54:48 -rw-r--r-- 1 jenkins jenkins 7631 Jul 20 12:54 coverage.out 12:54:48 -rw-rw-r-- 1 jenkins jenkins 3302 Jul 20 12:53 go.mod 12:54:48 -rw-rw-r-- 1 jenkins jenkins 35534 Jul 20 12:53 go.sum 12:54:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:53 internal 12:54:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:53 snap 12:54:48 -rw-rw-r-- 1 jenkins jenkins 228 Jul 20 12:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:48 + 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=97853843c31ba2f8c44471a1c1cad8690a6f1a58 --label arch=amd64 --label version=0.0.0 . 12:54:48 Sending build context to Docker daemon 5.475MB 12:54:48 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 12:54:48 Step 2/24 : FROM ${BASE} AS builder 12:54:48 ---> 6c45dbf164b0 12:54:48 Step 3/24 : ARG MAKE='make build' 12:54:48 ---> Running in e3cbf3db7e12 12:54:48 Removing intermediate container e3cbf3db7e12 12:54:48 ---> 3b846b98b4dd 12:54:48 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:54:48 ---> Running in 544a703d7f67 12:54:48 Removing intermediate container 544a703d7f67 12:54:48 ---> d322768a406b 12:54:48 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 12:54:48 ---> Running in ddaa43ea44b3 12:54:49 Removing intermediate container ddaa43ea44b3 12:54:49 ---> 389dae0fa774 12:54:49 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:54:49 ---> Running in 241e383cd25d 12:54:49 Removing intermediate container 241e383cd25d 12:54:49 ---> 61160cbc9934 12:54:49 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:54:49 ---> Running in 8fc5a5cfc3a3 12:54:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:54:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:54:50 OK: 216 MiB in 55 packages 12:54:51 Removing intermediate container 8fc5a5cfc3a3 12:54:51 ---> d00a8f5af32b 12:54:51 Step 8/24 : WORKDIR /device-snmp-go 12:54:51 ---> Running in 6d513130ec80 12:54:51 Removing intermediate container 6d513130ec80 12:54:51 ---> 25477a276519 12:54:51 Step 9/24 : COPY go.mod vendor* ./ 12:54:51 ---> b33984621e7d 12:54:51 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:54:51 ---> Running in 19ee9a8af199 12:54:52 Removing intermediate container 19ee9a8af199 12:54:52 ---> 75c8d749aa1e 12:54:52 Step 11/24 : COPY . . 12:54:52 ---> 78a7cba2050f 12:54:52 Step 12/24 : RUN ${MAKE} 12:54:52 ---> Running in 43bb25e2d76d 12:54:52 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 12:55:10 Removing intermediate container 43bb25e2d76d 12:55:10 ---> ed15a1f275df 12:55:10 Step 13/24 : FROM alpine:3.16 12:55:11 3.16: Pulling from library/alpine 12:55:11 530afca65e2e: Pulling fs layer 12:55:11 530afca65e2e: Verifying Checksum 12:55:11 530afca65e2e: Download complete 12:55:11 530afca65e2e: Pull complete 12:55:11 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 12:55:11 Status: Downloaded newer image for alpine:3.16 12:55:11 ---> d7d3d98c851f 12:55:11 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 12:55:11 ---> Running in d13b1f0d964a 12:55:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:55:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:55:12 (1/6) Installing dumb-init (1.2.5-r1) 12:55:12 (2/6) Installing libgcc (11.2.1_git20220219-r2) 12:55:12 (3/6) Installing libsodium (1.0.18-r0) 12:55:12 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 12:55:12 (5/6) Installing libzmq (4.3.4-r0) 12:55:12 (6/6) Installing zeromq (4.3.4-r0) 12:55:12 Executing busybox-1.35.0-r15.trigger 12:55:12 OK: 8 MiB in 20 packages 12:55:12 Removing intermediate container d13b1f0d964a 12:55:12 ---> 76017657d7f2 12:55:12 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 12:55:13 ---> cb52b297a83e 12:55:13 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 12:55:13 ---> 52b7b7f1eba5 12:55:13 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 12:55:13 ---> 459cb62cb9ef 12:55:13 Step 18/24 : EXPOSE 59993 12:55:13 ---> Running in 8fbaa22673f7 12:55:13 Removing intermediate container 8fbaa22673f7 12:55:13 ---> 7b83db729091 12:55:13 Step 19/24 : EXPOSE 161 12:55:13 ---> Running in 6b8ad0e2f6e6 12:55:14 Removing intermediate container 6b8ad0e2f6e6 12:55:14 ---> 65ae21914a48 12:55:14 Step 20/24 : ENTRYPOINT ["/device-snmp"] 12:55:14 ---> Running in 003a807c4498 12:55:14 Removing intermediate container 003a807c4498 12:55:14 ---> bee4547a5be6 12:55:14 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 12:55:14 ---> Running in 18fe816e2b8e 12:55:14 Removing intermediate container 18fe816e2b8e 12:55:14 ---> 4ec8f72d7bd2 12:55:14 Step 22/24 : LABEL arch=amd64 12:55:14 ---> Running in 4d46963bddd2 12:55:14 Removing intermediate container 4d46963bddd2 12:55:14 ---> 0fd1b89d2698 12:55:14 Step 23/24 : LABEL git_sha=97853843c31ba2f8c44471a1c1cad8690a6f1a58 12:55:14 ---> Running in 349748105ce3 12:55:14 Removing intermediate container 349748105ce3 12:55:14 ---> 27fb891e8a7d 12:55:14 Step 24/24 : LABEL version=0.0.0 12:55:14 ---> Running in 1d3dd19f981e 12:55:14 Removing intermediate container 1d3dd19f981e 12:55:14 ---> 3a633618843c 12:55:14 [Warning] One or more build-args [ARCH] were not consumed 12:55:14 Successfully built 3a633618843c 12:55:14 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 12:55:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:55:15 12:55:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:55:15 latest: Pulling from edgex-lftools-log-publisher 12:55:15 5eb5b503b376: Pulling fs layer 12:55:15 5c69ac0246d0: Pulling fs layer 12:55:15 ec43610c2a17: Pulling fs layer 12:55:15 3a2ae6a8a46f: Pulling fs layer 12:55:15 33b1e0a273af: Pulling fs layer 12:55:15 5d3b04190fa2: Pulling fs layer 12:55:15 2f39f015ded8: Pulling fs layer 12:55:15 33b1e0a273af: Waiting 12:55:15 5d3b04190fa2: Waiting 12:55:15 3a2ae6a8a46f: Waiting 12:55:15 2f39f015ded8: Waiting 12:55:15 5c69ac0246d0: Verifying Checksum 12:55:15 5c69ac0246d0: Download complete 12:55:15 3a2ae6a8a46f: Download complete 12:55:15 33b1e0a273af: Verifying Checksum 12:55:15 33b1e0a273af: Download complete 12:55:15 5d3b04190fa2: Verifying Checksum 12:55:15 5d3b04190fa2: Download complete 12:55:15 ec43610c2a17: Verifying Checksum 12:55:15 ec43610c2a17: Download complete 12:55:15 5eb5b503b376: Verifying Checksum 12:55:15 5eb5b503b376: Download complete 12:55:16 2f39f015ded8: Download complete 12:55:16 5eb5b503b376: Pull complete 12:55:16 5c69ac0246d0: Pull complete 12:55:17 ec43610c2a17: Pull complete 12:55:17 3a2ae6a8a46f: Pull complete 12:55:17 33b1e0a273af: Pull complete 12:55:17 5d3b04190fa2: Pull complete 12:55:21 2f39f015ded8: Pull complete 12:55:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:55:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:55:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:22 prd-ubuntu20.04-docker-8c-8g-20585 does not seem to be running inside a container 12:55:22 $ 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-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:55:23 $ docker top 3339060fbaf70ba6c0245da74da841dde7d093ea603be55ce0a7a30576daad3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:24 ---> job-cost.sh 12:55:24 lf-activate-venv: SKIPPING 12:55:24 INFO: No Stack... 12:55:24 INFO: Retrieving Pricing Info for: v3-standard-8 12:55:24 INFO: Archiving Costs [Pipeline] sh 12:55:25 + cat /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/cost.csv 12:55:25 + cut -d, -f6 [Pipeline] lock 12:55:25 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] 12:55:25 Resource [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] did not exist. Created. 12:55:25 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:55:25 + echo total: 0.2199999988079071 [Pipeline] stash 12:55:25 Stashed 1 file(s) [Pipeline] } 12:55:25 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] [Pipeline] // lock [Pipeline] } 12:55:25 $ docker stop --time=1 3339060fbaf70ba6c0245da74da841dde7d093ea603be55ce0a7a30576daad3c 12:55:26 $ docker rm -f 3339060fbaf70ba6c0245da74da841dde7d093ea603be55ce0a7a30576daad3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:55:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20586 in /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] { [Pipeline] ws 12:55:49 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 12:55:49 Selected Git installation does not exist. Using Default 12:55:49 The recommended git tool is: NONE 12:55:55 using credential edgex-jenkins-ssh 12:55:55 Cloning the remote Git repository 12:55:55 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 12:55:55 > git init /w/workspace/device-snmp-go/3 # timeout=10 12:55:55 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 12:55:55 > git --version # timeout=10 12:55:55 > git --version # 'git version 2.25.1' 12:55:55 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:57 Merging remotes/origin/main commit f6828afe08f553138e4b56b0659b8be13fc1cd72 into PR head commit 97853843c31ba2f8c44471a1c1cad8690a6f1a58 12:55:57 Merge succeeded, producing 97853843c31ba2f8c44471a1c1cad8690a6f1a58 12:55:57 Checking out Revision 97853843c31ba2f8c44471a1c1cad8690a6f1a58 (PR-185) 12:55:56 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 12:55:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:56 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 12:55:56 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 12:55:56 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:55:57 > git config core.sparsecheckout # timeout=10 12:55:57 > git checkout -f 97853843c31ba2f8c44471a1c1cad8690a6f1a58 # timeout=10 12:55:57 > git remote # timeout=10 12:55:57 > git config --get remote.origin.url # timeout=10 12:55:57 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:57 > git merge f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 12:55:57 > git rev-parse HEAD^{commit} # timeout=10 12:55:57 > git config core.sparsecheckout # timeout=10 12:55:57 > git checkout -f 97853843c31ba2f8c44471a1c1cad8690a6f1a58 # timeout=10 12:56:01 Commit message: "refactor(snap): Update snapcraft" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:56:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:56:02 % Total % Received % Xferd Average Speed Time Time Time Current 12:56:02 Dload Upload Total Spent Left Speed 12:56:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 80077 0 --:--:-- --:--:-- --:--:-- 80077 [Pipeline] sh 12:56:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:56:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:56:03 + sudo tee /etc/docker/daemon.new 12:56:03 { 12:56:03 "registry-mirrors": [ 12:56:03 "https://nexus3.edgexfoundry.org:10001" 12:56:03 ], 12:56:03 "bip": "10.250.0.254/24", 12:56:03 "hosts": [ 12:56:03 "tcp://0.0.0.0:5555", 12:56:03 "unix:///var/run/docker.sock" 12:56:03 ], 12:56:03 "mtu": 1458, 12:56:03 "selinux-enabled": true, 12:56:03 "seccomp-profile": "/etc/docker/seccomp.json" 12:56:03 } [Pipeline] sh 12:56:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:56:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:56:22 provisioning config files... 12:56:22 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config5739079303899075991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:56:23 ---> docker-login.sh 12:56:23 nexus3.edgexfoundry.org:10001 12:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:23 Configure a credential helper to remove this warning. See 12:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:23 12:56:23 Login Succeeded 12:56:23 nexus3.edgexfoundry.org:10002 12:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:24 Configure a credential helper to remove this warning. See 12:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:24 12:56:24 Login Succeeded 12:56:24 nexus3.edgexfoundry.org:10003 12:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:24 Configure a credential helper to remove this warning. See 12:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:24 12:56:24 Login Succeeded 12:56:24 nexus3.edgexfoundry.org:10004 12:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:25 Configure a credential helper to remove this warning. See 12:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:25 12:56:25 Login Succeeded 12:56:25 docker.io 12:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:25 Configure a credential helper to remove this warning. See 12:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:25 12:56:25 Login Succeeded 12:56:25 ---> docker-login.sh ends [Pipeline] } 12:56:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:56:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:56:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:56:26 ========================================================= 12:56:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:56:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:26 + 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 . 12:56:27 Sending build context to Docker daemon 2.838MB 12:56:27 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:56:27 Step 2/12 : FROM ${BASE} AS builder 12:56:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:56:27 b3c136eddcbf: Pulling fs layer 12:56:27 c0a3192eca97: Pulling fs layer 12:56:27 a050256f5b6f: Pulling fs layer 12:56:27 656be50a0ddc: Pulling fs layer 12:56:27 2bbca73fdf42: Pulling fs layer 12:56:27 46d945488cbd: Pulling fs layer 12:56:27 8a5474983e97: Pulling fs layer 12:56:27 329c88fbcd65: Pulling fs layer 12:56:27 46d945488cbd: Waiting 12:56:27 8a5474983e97: Waiting 12:56:27 329c88fbcd65: Waiting 12:56:27 656be50a0ddc: Waiting 12:56:27 2bbca73fdf42: Waiting 12:56:27 a050256f5b6f: Verifying Checksum 12:56:27 a050256f5b6f: Download complete 12:56:27 c0a3192eca97: Verifying Checksum 12:56:27 c0a3192eca97: Download complete 12:56:27 2bbca73fdf42: Verifying Checksum 12:56:27 2bbca73fdf42: Download complete 12:56:27 46d945488cbd: Verifying Checksum 12:56:27 46d945488cbd: Download complete 12:56:27 b3c136eddcbf: Verifying Checksum 12:56:28 b3c136eddcbf: Pull complete 12:56:28 329c88fbcd65: Verifying Checksum 12:56:28 329c88fbcd65: Download complete 12:56:29 c0a3192eca97: Pull complete 12:56:29 a050256f5b6f: Pull complete 12:56:29 8a5474983e97: Verifying Checksum 12:56:29 8a5474983e97: Download complete 12:56:30 656be50a0ddc: Verifying Checksum 12:56:30 656be50a0ddc: Download complete 12:56:45 656be50a0ddc: Pull complete 12:56:45 2bbca73fdf42: Pull complete 12:56:45 46d945488cbd: Pull complete 12:56:50 8a5474983e97: Pull complete 12:56:52 329c88fbcd65: Pull complete 12:56:52 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 12:56:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:56:52 ---> ff4287adb874 12:56:52 Step 3/12 : ARG MAKE='make build' 12:56:52 ---> Running in 5851209aa98e 12:56:53 Removing intermediate container 5851209aa98e 12:56:53 ---> 65f3166573d0 12:56:53 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:56:53 ---> Running in 9904c4e24984 12:56:53 Removing intermediate container 9904c4e24984 12:56:53 ---> 19ab9e8bc9ff 12:56:53 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:56:53 ---> Running in 52dffbc2289e 12:56:53 Removing intermediate container 52dffbc2289e 12:56:53 ---> e3f9c65660ef 12:56:53 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:56:53 ---> Running in 19eb3118f701 12:56:57 Removing intermediate container 19eb3118f701 12:56:57 ---> e2993ef3d04c 12:56:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:57 ---> Running in d5e5c66628c5 12:56:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:56:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:56:59 (1/4) Installing openssh-keygen (9.0_p1-r1) 12:56:59 (2/4) Installing libedit (20210910.3.1-r0) 12:56:59 (3/4) Installing openssh-client-common (9.0_p1-r1) 12:57:00 (4/4) Installing openssh-client-default (9.0_p1-r1) 12:57:00 Executing busybox-1.35.0-r13.trigger 12:57:00 OK: 226 MiB in 55 packages 12:57:01 Removing intermediate container d5e5c66628c5 12:57:01 ---> 91dcd6aa16b2 12:57:01 Step 8/12 : WORKDIR /device-snmp-go 12:57:01 ---> Running in dd3fcbf9ad0c 12:57:01 Removing intermediate container dd3fcbf9ad0c 12:57:01 ---> 04c9da4f4830 12:57:01 Step 9/12 : COPY go.mod vendor* ./ 12:57:02 ---> 26828ed2e6fa 12:57:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:57:02 ---> Running in d4278ea47d63 12:57:49 Removing intermediate container d4278ea47d63 12:57:49 ---> 8020d094f79e 12:57:49 Step 11/12 : COPY . . 12:57:49 ---> 90c8142d0fdf 12:57:49 Step 12/12 : RUN ${MAKE} 12:57:49 ---> Running in bded1e152b72 12:57:49 noop 12:57:49 Removing intermediate container bded1e152b72 12:57:49 ---> 2615c24946af 12:57:49 Successfully built 2615c24946af 12:57:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:49 + docker inspect -f . ci-base-image-arm64 12:57:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:49 prd-ubuntu20.04-docker-arm64-4c-16g-20586 does not seem to be running inside a container 12:57:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:57:51 $ docker top 6f381e155f233d360789dae3b75acdb7e48232ba0027d7194c35e95927428b95 -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:51 + go version 12:57:51 go version go1.18.3 linux/arm64 [Pipeline] } 12:57:51 $ docker stop --time=1 6f381e155f233d360789dae3b75acdb7e48232ba0027d7194c35e95927428b95 12:57:53 $ docker rm -f 6f381e155f233d360789dae3b75acdb7e48232ba0027d7194c35e95927428b95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:54 + docker inspect -f . ci-base-image-arm64 12:57:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:54 prd-ubuntu20.04-docker-arm64-4c-16g-20586 does not seem to be running inside a container 12:57:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:57:55 $ docker top 627fbfa1735b308f89188c5dd8eca73d737cd5e61f8ed20df27d98da5b6f4609 -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:56 + git config --global --add safe.directory /w/workspace/device-snmp-go/3 [Pipeline] fileExists [Pipeline] sh 12:57:57 + make test 12:57:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:57:58 ? github.com/edgexfoundry/device-snmp-go [no test files] 12:59:20 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 12:59:20 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements 12:59:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:59:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:59:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:59:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:59:30 ./bin/test-attribution-txt.sh [Pipeline] echo 12:59:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:59:31 $ docker stop --time=1 627fbfa1735b308f89188c5dd8eca73d737cd5e61f8ed20df27d98da5b6f4609 12:59:32 $ docker rm -f 627fbfa1735b308f89188c5dd8eca73d737cd5e61f8ed20df27d98da5b6f4609 [Pipeline] // withDockerContainer [Pipeline] sh 12:59:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:59:33 Warning: overwriting stash ‘coverage-report’ 12:59:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:59:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:59:34 + ls -al . 12:59:34 total 164 12:59:34 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 12:57 . 12:59:34 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:55 .. 12:59:34 -rw-rw-r-- 1 jenkins jenkins 6 Jul 20 12:55 .dockerignore 12:59:34 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 12:56 .git 12:59:34 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:55 .github 12:59:34 -rw-rw-r-- 1 jenkins jenkins 328 Jul 20 12:55 .gitignore 12:59:34 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 12:55 .golangci.yml 12:59:34 -rw-rw-r-- 1 jenkins jenkins 8556 Jul 20 12:55 Attribution.txt 12:59:34 -rw-rw-r-- 1 jenkins jenkins 6948 Jul 20 12:55 CHANGELOG.md 12:59:34 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 20 12:55 Dockerfile 12:59:34 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 12:55 GOVERNANCE.md 12:59:34 -rw-rw-r-- 1 jenkins jenkins 656 Jul 20 12:55 Jenkinsfile 12:59:34 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 12:55 LICENSE 12:59:34 -rw-rw-r-- 1 jenkins jenkins 2334 Jul 20 12:55 Makefile 12:59:34 -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 12:55 OWNERS.md 12:59:34 -rw-rw-r-- 1 jenkins jenkins 9390 Jul 20 12:55 README.md 12:59:34 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 12:53 VERSION 12:59:34 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 12:55 bin 12:59:34 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:55 cmd 12:59:34 -rw-r--r-- 1 jenkins jenkins 7631 Jul 20 12:59 coverage.out 12:59:34 -rw-rw-r-- 1 jenkins jenkins 3302 Jul 20 12:55 go.mod 12:59:34 -rw-rw-r-- 1 jenkins jenkins 35534 Jul 20 12:55 go.sum 12:59:34 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:55 internal 12:59:34 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:55 snap 12:59:34 -rw-rw-r-- 1 jenkins jenkins 228 Jul 20 12:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:35 + 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=97853843c31ba2f8c44471a1c1cad8690a6f1a58 --label arch=arm64 --label version=0.0.0 . 12:59:35 Sending build context to Docker daemon 2.846MB 12:59:35 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 12:59:35 Step 2/24 : FROM ${BASE} AS builder 12:59:35 ---> 2615c24946af 12:59:35 Step 3/24 : ARG MAKE='make build' 12:59:35 ---> Running in a704d31c1a0a 12:59:36 Removing intermediate container a704d31c1a0a 12:59:36 ---> 4d0adca90cd5 12:59:36 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:59:36 ---> Running in ded192201781 12:59:36 Removing intermediate container ded192201781 12:59:36 ---> 2bd02a0f064a 12:59:36 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 12:59:36 ---> Running in c0e08cd09f66 12:59:36 Removing intermediate container c0e08cd09f66 12:59:36 ---> c8ae351e4fa2 12:59:36 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:59:36 ---> Running in edae22c4db63 12:59:38 Removing intermediate container edae22c4db63 12:59:38 ---> bb40a2cd5dd4 12:59:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:38 ---> Running in c4880355027f 12:59:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:59:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:59:41 OK: 226 MiB in 55 packages 12:59:42 Removing intermediate container c4880355027f 12:59:42 ---> a64fe3fd5c66 12:59:42 Step 8/24 : WORKDIR /device-snmp-go 12:59:42 ---> Running in 051c34f0daf0 12:59:42 Removing intermediate container 051c34f0daf0 12:59:42 ---> 243e2b5f4a4f 12:59:42 Step 9/24 : COPY go.mod vendor* ./ 12:59:43 ---> 4c4c32c5da11 12:59:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:43 ---> Running in 76217d88f450 12:59:45 Removing intermediate container 76217d88f450 12:59:45 ---> 33c31dae28d7 12:59:45 Step 11/24 : COPY . . 12:59:45 ---> 5f0105b6b977 12:59:45 Step 12/24 : RUN ${MAKE} 12:59:46 ---> Running in 21b738455ff6 12:59:47 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 13:01:54 Removing intermediate container 21b738455ff6 13:01:54 ---> 07157ece705f 13:01:54 Step 13/24 : FROM alpine:3.16 13:01:54 3.16: Pulling from library/alpine 13:01:54 f97344484467: Pulling fs layer 13:01:54 f97344484467: Verifying Checksum 13:01:54 f97344484467: Download complete 13:01:54 f97344484467: Pull complete 13:01:54 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 13:01:54 Status: Downloaded newer image for alpine:3.16 13:01:54 ---> 3d81c46cd875 13:01:54 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 13:01:54 ---> Running in 9ec584e01d0c 13:01:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:01:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:01:54 (1/6) Installing dumb-init (1.2.5-r1) 13:01:54 (2/6) Installing libgcc (11.2.1_git20220219-r2) 13:01:54 (3/6) Installing libsodium (1.0.18-r0) 13:01:54 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 13:01:54 (5/6) Installing libzmq (4.3.4-r0) 13:01:54 (6/6) Installing zeromq (4.3.4-r0) 13:01:54 Executing busybox-1.35.0-r15.trigger 13:01:54 OK: 8 MiB in 20 packages 13:01:54 Removing intermediate container 9ec584e01d0c 13:01:54 ---> 436117cab5eb 13:01:54 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 13:01:54 ---> b6eb0f1a2574 13:01:54 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 13:01:54 ---> a0d1a0f2775a 13:01:54 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 13:01:54 ---> 2ae6751199af 13:01:54 Step 18/24 : EXPOSE 59993 13:01:54 ---> Running in 5dd35a651f17 13:01:54 Removing intermediate container 5dd35a651f17 13:01:54 ---> 3eda4a04bdae 13:01:54 Step 19/24 : EXPOSE 161 13:01:54 ---> Running in 7b58d4f55a2a 13:01:54 Removing intermediate container 7b58d4f55a2a 13:01:54 ---> 2432bf8edbd7 13:01:54 Step 20/24 : ENTRYPOINT ["/device-snmp"] 13:01:54 ---> Running in 5b620cd4fd01 13:01:54 Removing intermediate container 5b620cd4fd01 13:01:54 ---> b2559bbd25bd 13:01:54 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 13:01:54 ---> Running in 3380e6044410 13:01:54 Removing intermediate container 3380e6044410 13:01:54 ---> 451179b3cb89 13:01:54 Step 22/24 : LABEL arch=arm64 13:01:54 ---> Running in fc5addf3bcbe 13:01:54 Removing intermediate container fc5addf3bcbe 13:01:54 ---> d64b435aaca0 13:01:54 Step 23/24 : LABEL git_sha=97853843c31ba2f8c44471a1c1cad8690a6f1a58 13:01:54 ---> Running in 2471bdff06db 13:01:55 Removing intermediate container 2471bdff06db 13:01:55 ---> 738a19fe9fa9 13:01:55 Step 24/24 : LABEL version=0.0.0 13:01:55 ---> Running in 298971141de9 13:01:55 Removing intermediate container 298971141de9 13:01:55 ---> 9af0aa4447d4 13:01:55 [Warning] One or more build-args [ARCH] were not consumed 13:01:55 Successfully built 9af0aa4447d4 13:01:55 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 13:01:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:01:55 13:01:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:01:56 arm64: Pulling from edgex-lftools-log-publisher 13:01:56 8998bd30e6a1: Pulling fs layer 13:01:56 04944245beec: Pulling fs layer 13:01:56 699f458cf7ca: Pulling fs layer 13:01:56 765212b225bb: Pulling fs layer 13:01:56 f23df028b6ca: Pulling fs layer 13:01:56 d65c8cfc05b1: Pulling fs layer 13:01:56 2437ff75d9bd: Pulling fs layer 13:01:56 765212b225bb: Waiting 13:01:56 f23df028b6ca: Waiting 13:01:56 d65c8cfc05b1: Waiting 13:01:56 2437ff75d9bd: Waiting 13:01:56 04944245beec: Verifying Checksum 13:01:56 04944245beec: Download complete 13:01:56 765212b225bb: Verifying Checksum 13:01:56 765212b225bb: Download complete 13:01:56 f23df028b6ca: Download complete 13:01:56 d65c8cfc05b1: Verifying Checksum 13:01:56 d65c8cfc05b1: Download complete 13:01:56 699f458cf7ca: Verifying Checksum 13:01:56 699f458cf7ca: Download complete 13:01:57 8998bd30e6a1: Download complete 13:01:59 2437ff75d9bd: Verifying Checksum 13:01:59 2437ff75d9bd: Download complete 13:02:01 8998bd30e6a1: Pull complete 13:02:01 04944245beec: Pull complete 13:02:03 699f458cf7ca: Pull complete 13:02:03 765212b225bb: Pull complete 13:02:04 f23df028b6ca: Pull complete 13:02:04 d65c8cfc05b1: Pull complete 13:02:19 2437ff75d9bd: Pull complete 13:02:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:02:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:02:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:19 prd-ubuntu20.04-docker-arm64-4c-16g-20586 does not seem to be running inside a container 13:02:19 $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:02:22 $ docker top e2b5b15c3b9a227d6ba2682579254398e56bf44be1b7d69740c5228fa4a5dfe4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:02:23 ---> job-cost.sh 13:02:23 lf-activate-venv: SKIPPING 13:02:23 INFO: No Stack... 13:02:23 INFO: Retrieving Pricing Info for: v3-standard-4 13:02:24 INFO: Archiving Costs [Pipeline] sh 13:02:25 + cat /w/workspace/device-snmp-go/3/archives/cost.csv 13:02:25 + cut -d, -f6 [Pipeline] lock 13:02:25 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] 13:02:25 Resource [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] did not exist. Created. 13:02:25 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:02:26 /w/workspace/device-snmp-go/3@tmp/durable-9abb7574/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:02:26 + echo total: 0.10999999940395355 [Pipeline] stash 13:02:26 Warning: overwriting stash ‘stack-cost’ 13:02:26 Stashed 1 file(s) [Pipeline] } 13:02:26 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:02:26 $ docker stop --time=1 e2b5b15c3b9a227d6ba2682579254398e56bf44be1b7d69740c5228fa4a5dfe4 13:02:28 $ docker rm -f e2b5b15c3b9a227d6ba2682579254398e56bf44be1b7d69740c5228fa4a5dfe4 [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 13:02:28 provisioning config files... 13:02:28 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config4091769654257371190tmp [Pipeline] { [Pipeline] sh 13:02:29 + set +x 13:02:29 + curl -s https://codecov.io/bash 13:02:29 + bash -s -- 13:02:29 13:02:29 _____ _ 13:02:29 / ____| | | 13:02:29 | | ___ __| | ___ ___ _____ __ 13:02:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:02:29 | |___| (_) | (_| | __/ (_| (_) \ V / 13:02:29 \_____\___/ \__,_|\___|\___\___/ \_/ 13:02:29 Bash-1.0.6 13:02:29 13:02:29 13:02:29 ==> git version 2.25.1 found 13:02:29 ==> 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 13:02:29 Release-Date: 2020-01-08 13:02:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:02:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:02:29 ==> Jenkins CI detected. 13:02:29 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-185 13:02:29 project root: . 13:02:29 --> token set from env 13:02:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:02:29 ==> Running gcov in . (disable via -X gcov) 13:02:29 ==> Python coveragepy not found 13:02:29 ==> Searching for coverage reports in: 13:02:29 + . 13:02:29 -> Found 1 reports 13:02:29 ==> Detecting git/mercurial file structure 13:02:29 ==> Reading reports 13:02:29 + ./coverage.out bytes=7631 13:02:29 ==> Appending adjustments 13:02:29 https://docs.codecov.io/docs/fixing-reports 13:02:29 + Found adjustments 13:02:29 ==> Gzipping contents 13:02:29 4.0K /tmp/codecov.WRZjG0.gz 13:02:29 ==> Uploading reports 13:02:29 url: https://codecov.io 13:02:29 query: branch=PR-185&commit=97853843c31ba2f8c44471a1c1cad8690a6f1a58&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-185%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=185&job=&cmd_args= 13:02:29 -> Pinging Codecov 13:02:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-185&commit=97853843c31ba2f8c44471a1c1cad8690a6f1a58&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-185%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=185&job=&cmd_args= 13:02:29 -> Uploading to 13:02:29 https://storage.googleapis.com/codecov/v4/raw/2022-07-20/6C56EA5C29638FB4528AC87E60AF5AE0/97853843c31ba2f8c44471a1c1cad8690a6f1a58/9d849073-f975-4e92-9801-ad8c70364256.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220720T130229Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee89bd52346e7339323c3ba1bf12b271879e92d1d7d3126eeabde03e52b4f87d 13:02:29 % Total % Received % Xferd Average Speed Time Time Time Current 13:02:29 Dload Upload Total Spent Left Speed 13:02:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1532 0 0 100 1532 0 6491 --:--:-- --:--:-- --:--:-- 6491 13:02:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/97853843c31ba2f8c44471a1c1cad8690a6f1a58 [Pipeline] } 13:02:30 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 13:02:30 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-185/archives ] 13:02:30 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-185/archives 13:02:30 total 16 13:02:30 drwxr-xr-x 3 root root 4096 Jul 20 12:55 . 13:02:30 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 12:55 .. 13:02:30 drwxr-xr-x 2 root root 4096 Jul 20 12:55 cost 13:02:30 -rw-r--r-- 1 root root 85 Jul 20 12:55 cost.csv 13:02:30 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-185/archives 13:02:30 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-185/archives 13:02:30 total 16 13:02:30 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 12:55 . 13:02:30 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 12:55 .. 13:02:30 drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 12:55 cost 13:02:30 -rw-r--r-- 1 jenkins jenkins 85 Jul 20 12:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:02:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:02:31 ---> package-listing.sh 13:02:31 ++ facter osfamily 13:02:31 ++ tr '[:upper:]' '[:lower:]' 13:02:32 + OS_FAMILY=debian 13:02:32 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-185 13:02:32 + START_PACKAGES=/tmp/packages_start.txt 13:02:32 + END_PACKAGES=/tmp/packages_end.txt 13:02:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:02:32 + PACKAGES=/tmp/packages_start.txt 13:02:32 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-185 ']' 13:02:32 + PACKAGES=/tmp/packages_end.txt 13:02:32 + case "${OS_FAMILY}" in 13:02:32 + dpkg -l 13:02:32 + grep '^ii' 13:02:32 + '[' -f /tmp/packages_start.txt ']' 13:02:32 + '[' -f /tmp/packages_end.txt ']' 13:02:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:02:32 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-185 ']' 13:02:32 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/ 13:02:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/ [Pipeline] echo 13:02:32 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:02:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:02:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:33 prd-ubuntu20.04-docker-8c-8g-20585 does not seem to be running inside a container 13:02:33 $ 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-185/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-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:02:33 $ docker top 4cd9573653ae2de1f1391e0719cfbe4956a738fbfd46eadaae6efe8b55d90834 -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:33 + touch /tmp/pre-build-complete [Pipeline] sh 13:02:34 + mkdir -p /var/log/sysstat [Pipeline] sh 13:02:34 + ls /var/log/sa-host 13:02:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:02:34 provisioning config files... 13:02:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config3743169638840879687tmp [Pipeline] { [Pipeline] echo 13:02:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:02:34 ---> create-netrc.sh [Pipeline] } 13:02:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:02:35 ---> python-tools-install.sh [Pipeline] echo 13:02:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:02:35 ---> sudo-logs.sh 13:02:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:02:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:02:35 ---> job-cost.sh 13:02:35 lf-activate-venv: SKIPPING 13:02:35 DEBUG: total: 0.2199999988079071 13:02:35 INFO: Retrieving Stack Cost... 13:02:36 INFO: Retrieving Pricing Info for: v3-standard-8 13:02:36 INFO: Archiving Costs [Pipeline] echo 13:02:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:02:36 ---> logs-deploy.sh 13:02:36 lf-activate-venv: SKIPPING 13:02:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-185/3 13:02:36 INFO: archiving workspace using pattern(s): 13:02:37 Archives upload complete. 13:02:37 INFO: archiving logs to Nexus 13:02:38 ---> uname -a: 13:02:38 Linux prd-ubuntu20-04-docker-8c-8g-20585 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 13:02:38 13:02:38 13:02:38 ---> lscpu: 13:02:38 Architecture: x86_64 13:02:38 CPU op-mode(s): 32-bit, 64-bit 13:02:38 Byte Order: Little Endian 13:02:38 Address sizes: 40 bits physical, 48 bits virtual 13:02:38 CPU(s): 8 13:02:38 On-line CPU(s) list: 0-7 13:02:38 Thread(s) per core: 1 13:02:38 Core(s) per socket: 1 13:02:38 Socket(s): 8 13:02:38 NUMA node(s): 1 13:02:38 Vendor ID: AuthenticAMD 13:02:38 CPU family: 23 13:02:38 Model: 49 13:02:38 Model name: AMD EPYC-Rome Processor 13:02:38 Stepping: 0 13:02:38 CPU MHz: 2799.996 13:02:38 BogoMIPS: 5599.99 13:02:38 Virtualization: AMD-V 13:02:38 Hypervisor vendor: KVM 13:02:38 Virtualization type: full 13:02:38 L1d cache: 256 KiB 13:02:38 L1i cache: 256 KiB 13:02:38 L2 cache: 4 MiB 13:02:38 L3 cache: 128 MiB 13:02:38 NUMA node0 CPU(s): 0-7 13:02:38 Vulnerability Itlb multihit: Not affected 13:02:38 Vulnerability L1tf: Not affected 13:02:38 Vulnerability Mds: Not affected 13:02:38 Vulnerability Meltdown: Not affected 13:02:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:02:38 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:02:38 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 13:02:38 Vulnerability Srbds: Not affected 13:02:38 Vulnerability Tsx async abort: Not affected 13:02:38 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 13:02:38 13:02:38 13:02:38 ---> nproc: 13:02:38 8 13:02:38 13:02:38 13:02:38 ---> df -h: 13:02:38 Filesystem Size Used Avail Use% Mounted on 13:02:38 overlay 155G 11G 145G 7% / 13:02:38 tmpfs 64M 0 64M 0% /dev 13:02:38 tmpfs 16G 0 16G 0% /sys/fs/cgroup 13:02:38 shm 64M 0 64M 0% /dev/shm 13:02:38 /dev/vda1 155G 11G 145G 7% /facter-os 13:02:38 13:02:38 13:02:38 ---> sar -b -r -n DEV: 13:02:38 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20585) 07/20/22 _x86_64_ (8 CPU) 13:02:38 13:02:38 12:52:52 LINUX RESTART (8 CPU) 13:02:38 13:02:38 12:53:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:02:38 12:54:01 339.23 56.31 282.92 0.00 7448.76 181088.22 0.00 13:02:38 12:55:01 218.63 1.32 217.31 0.00 27.32 62007.73 0.00 13:02:38 12:56:01 104.87 0.02 104.85 0.00 1.73 33060.98 0.00 13:02:38 12:57:01 2.48 0.00 2.48 0.00 0.00 27.48 0.00 13:02:38 12:58:01 1.70 0.02 1.68 0.00 0.13 19.06 0.00 13:02:38 12:59:01 1.83 0.00 1.83 0.00 0.00 20.40 0.00 13:02:38 13:00:02 1.00 0.00 1.00 0.00 0.00 12.13 0.00 13:02:38 13:01:01 1.34 0.00 1.34 0.00 0.00 14.91 0.00 13:02:38 13:02:01 1.00 0.00 1.00 0.00 0.00 12.26 0.00 13:02:38 Average: 74.81 6.42 68.39 0.00 832.36 30752.30 0.00 13:02:38 13:02:38 12:53:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:02:38 12:54:01 28858164 31744044 561792 1.71 115984 3039888 2209440 6.51 1133548 2515704 710996 13:02:38 12:55:01 27847248 31401700 886496 2.70 162908 3587352 2631432 7.76 1698288 2869280 210636 13:02:38 12:56:01 27698760 31769208 520448 1.58 172452 4051552 1790152 5.28 1278944 3394536 140 13:02:38 12:57:01 27699696 31770316 519220 1.58 172532 4051552 1790152 5.28 1277972 3394536 136 13:02:38 12:58:01 27700540 31771188 518356 1.58 172608 4051552 1790152 5.28 1277308 3394540 16 13:02:38 12:59:01 27700564 31771316 518220 1.58 172648 4051560 1790152 5.28 1277732 3394544 172 13:02:38 13:00:02 27709296 31780032 509364 1.55 172688 4051564 1790152 5.28 1268924 3394548 16 13:02:38 13:01:01 27709500 31780452 509084 1.55 172696 4051572 1790152 5.28 1268808 3394712 16 13:02:38 13:02:01 27709484 31780440 509016 1.55 172716 4051572 1790152 5.28 1268768 3394712 12 13:02:38 Average: 27848139 31729855 561333 1.71 165248 3887574 1930215 5.69 1305588 3238568 102460 13:02:38 13:02:38 12:53:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:02:38 12:54:01 ens3 826.68 519.20 7425.55 108.46 0.00 0.00 0.00 0.00 13:02:38 12:54:01 docker0 5.97 5.32 0.51 41.13 0.00 0.00 0.00 0.00 13:02:38 12:54:01 lo 7.33 7.33 0.70 0.70 0.00 0.00 0.00 0.00 13:02:38 12:55:01 veth8ff22c5 0.05 0.20 0.00 0.02 0.00 0.00 0.00 0.00 13:02:38 12:55:01 ens3 221.59 178.01 1136.27 81.87 0.00 0.00 0.00 0.00 13:02:38 12:55:01 docker0 113.96 141.42 8.97 1089.73 0.00 0.00 0.00 0.00 13:02:38 12:55:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 13:02:38 12:56:01 ens3 110.30 68.83 2630.14 13.56 0.00 0.00 0.00 0.00 13:02:38 12:56:01 docker0 2.67 5.88 0.17 58.01 0.00 0.00 0.00 0.00 13:02:38 12:56:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 13:02:38 12:57:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 13:02:38 12:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:02:38 12:57:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:02:38 12:58:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:02:38 12:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:02:38 12:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:02:38 12:59:01 ens3 0.27 0.18 0.08 0.07 0.00 0.00 0.00 0.00 13:02:38 12:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:02:38 12:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:02:38 13:00:02 ens3 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 13:02:38 13:00:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:02:38 13:00:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:02:38 13:01:01 ens3 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 13:02:38 13:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:02:38 13:01:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:02:38 13:02:01 ens3 0.05 0.07 0.00 0.00 0.00 0.00 0.00 0.00 13:02:38 13:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:02:38 13:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:02:38 Average: ens3 129.03 85.33 1245.85 22.71 0.00 0.00 0.00 0.00 13:02:38 Average: docker0 13.65 16.99 1.07 132.35 0.00 0.00 0.00 0.00 13:02:38 Average: lo 1.11 1.11 0.10 0.10 0.00 0.00 0.00 0.00 13:02:38 13:02:38 13:02:38 ---> sar -P ALL: 13:02:38 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20585) 07/20/22 _x86_64_ (8 CPU) 13:02:38 13:02:38 12:52:52 LINUX RESTART (8 CPU) 13:02:38 13:02:38 12:53:01 CPU %user %nice %system %iowait %steal %idle 13:02:38 12:54:01 all 11.50 0.00 4.61 2.63 0.06 81.19 13:02:38 12:54:01 0 13.15 0.00 3.97 0.34 0.07 82.48 13:02:38 12:54:01 1 13.60 0.00 4.90 3.67 0.07 77.77 13:02:38 12:54:01 2 12.39 0.00 7.36 2.33 0.07 77.85 13:02:38 12:54:01 3 8.20 0.00 3.47 0.61 0.07 87.66 13:02:38 12:54:01 4 11.24 0.00 4.61 4.38 0.05 79.72 13:02:38 12:54:01 5 12.12 0.00 5.05 6.11 0.07 76.66 13:02:38 12:54:01 6 9.71 0.00 3.54 0.98 0.05 85.72 13:02:38 12:54:01 7 11.61 0.00 3.99 2.61 0.07 81.72 13:02:38 12:55:01 all 32.90 0.00 6.94 1.41 0.08 58.67 13:02:38 12:55:01 0 32.33 0.00 7.03 2.20 0.07 58.36 13:02:38 12:55:01 1 33.19 0.00 6.99 0.86 0.08 58.88 13:02:38 12:55:01 2 33.28 0.00 7.36 0.47 0.08 58.80 13:02:38 12:55:01 3 29.52 0.00 6.14 0.17 0.08 64.08 13:02:38 12:55:01 4 33.62 0.00 7.28 1.63 0.08 57.39 13:02:38 12:55:01 5 33.93 0.00 6.35 0.29 0.08 59.35 13:02:38 12:55:01 6 33.53 0.00 7.55 5.42 0.08 53.41 13:02:38 12:55:01 7 33.78 0.00 6.79 0.27 0.08 59.07 13:02:38 12:56:01 all 7.65 0.00 2.20 0.80 0.04 89.32 13:02:38 12:56:01 0 7.26 0.00 2.12 0.33 0.03 90.25 13:02:38 12:56:01 1 6.66 0.00 2.58 1.07 0.03 89.66 13:02:38 12:56:01 2 8.21 0.00 2.34 0.15 0.07 89.23 13:02:38 12:56:01 3 8.96 0.00 2.23 0.07 0.03 88.72 13:02:38 12:56:01 4 8.17 0.00 2.06 0.47 0.05 89.25 13:02:38 12:56:01 5 7.73 0.00 1.71 0.03 0.03 90.49 13:02:38 12:56:01 6 6.98 0.00 2.29 2.40 0.03 88.30 13:02:38 12:56:01 7 7.23 0.00 2.24 1.85 0.05 88.63 13:02:38 12:57:01 all 0.02 0.00 0.01 0.01 0.00 99.95 13:02:38 12:57:01 0 0.00 0.00 0.02 0.00 0.00 99.98 13:02:38 12:57:01 1 0.02 0.00 0.02 0.05 0.00 99.92 13:02:38 12:57:01 2 0.02 0.00 0.02 0.00 0.02 99.95 13:02:38 12:57:01 3 0.02 0.00 0.00 0.00 0.00 99.98 13:02:38 12:57:01 4 0.07 0.00 0.03 0.00 0.02 99.88 13:02:38 12:57:01 5 0.00 0.00 0.02 0.00 0.00 99.98 13:02:38 12:57:01 6 0.00 0.00 0.02 0.05 0.00 99.93 13:02:38 12:57:01 7 0.02 0.00 0.00 0.00 0.00 99.98 13:02:38 12:58:01 all 0.02 0.00 0.00 0.00 0.00 99.96 13:02:38 12:58:01 0 0.00 0.00 0.02 0.00 0.00 99.98 13:02:38 12:58:01 1 0.02 0.00 0.00 0.03 0.00 99.95 13:02:38 12:58:01 2 0.07 0.00 0.00 0.00 0.02 99.92 13:02:38 12:58:01 3 0.00 0.00 0.00 0.00 0.00 100.00 13:02:38 12:58:01 4 0.05 0.00 0.02 0.00 0.02 99.92 13:02:38 12:58:01 5 0.02 0.00 0.00 0.00 0.00 99.98 13:02:38 12:58:01 6 0.02 0.00 0.00 0.00 0.00 99.98 13:02:38 12:58:01 7 0.02 0.00 0.00 0.00 0.00 99.98 13:02:38 12:59:01 all 0.01 0.00 0.01 0.01 0.01 99.96 13:02:38 12:59:01 0 0.02 0.00 0.02 0.00 0.02 99.95 13:02:38 12:59:01 1 0.02 0.00 0.00 0.02 0.00 99.97 13:02:38 12:59:01 2 0.03 0.00 0.03 0.00 0.03 99.90 13:02:38 12:59:01 3 0.00 0.00 0.02 0.00 0.00 99.98 13:02:38 12:59:01 4 0.02 0.00 0.02 0.00 0.00 99.97 13:02:38 12:59:01 5 0.00 0.00 0.00 0.00 0.00 100.00 13:02:38 12:59:01 6 0.02 0.00 0.00 0.02 0.00 99.97 13:02:38 12:59:01 7 0.00 0.00 0.00 0.02 0.00 99.98 13:02:38 13:00:02 all 0.02 0.00 0.01 0.01 0.00 99.96 13:02:38 13:00:02 0 0.00 0.00 0.00 0.00 0.00 100.00 13:02:38 13:00:02 1 0.02 0.00 0.00 0.03 0.00 99.95 13:02:38 13:00:02 2 0.03 0.00 0.03 0.00 0.02 99.92 13:02:38 13:00:02 3 0.00 0.00 0.00 0.00 0.00 100.00 13:02:38 13:00:02 4 0.03 0.00 0.00 0.00 0.00 99.97 13:02:38 13:00:02 5 0.05 0.00 0.03 0.00 0.00 99.92 13:02:38 13:00:02 6 0.02 0.00 0.00 0.00 0.00 99.98 13:02:38 13:00:02 7 0.02 0.00 0.00 0.02 0.00 99.97 13:02:38 13:01:01 all 0.01 0.00 0.01 0.00 0.01 99.97 13:02:38 13:01:01 0 0.02 0.00 0.02 0.00 0.00 99.97 13:02:38 13:01:01 1 0.00 0.00 0.00 0.00 0.00 100.00 13:02:38 13:01:01 2 0.03 0.00 0.02 0.00 0.02 99.93 13:02:38 13:01:01 3 0.00 0.00 0.02 0.02 0.02 99.95 13:02:38 13:01:01 4 0.02 0.00 0.02 0.00 0.02 99.95 13:02:38 13:01:01 5 0.00 0.00 0.00 0.00 0.02 99.98 13:02:38 13:01:01 6 0.00 0.00 0.02 0.00 0.00 99.98 13:02:38 13:01:01 7 0.02 0.00 0.00 0.00 0.00 99.98 13:02:38 13:02:01 all 0.01 0.00 0.01 0.00 0.00 99.97 13:02:38 13:02:01 0 0.03 0.00 0.02 0.00 0.00 99.95 13:02:38 13:02:01 1 0.00 0.00 0.00 0.02 0.02 99.97 13:02:38 13:02:01 2 0.03 0.00 0.03 0.00 0.02 99.92 13:02:38 13:02:01 3 0.00 0.00 0.00 0.00 0.00 100.00 13:02:38 13:02:01 4 0.03 0.00 0.00 0.00 0.00 99.97 13:02:38 13:02:01 5 0.02 0.00 0.00 0.00 0.00 99.98 13:02:38 13:02:01 6 0.00 0.00 0.02 0.00 0.00 99.98 13:02:38 13:02:01 7 0.00 0.00 0.00 0.02 0.00 99.98 13:02:38 Average: all 5.76 0.00 1.52 0.54 0.02 92.16 13:02:38 Average: 0 5.85 0.00 1.46 0.32 0.02 92.35 13:02:38 Average: 1 5.91 0.00 1.60 0.64 0.02 91.83 13:02:38 Average: 2 6.00 0.00 1.91 0.33 0.04 91.73 13:02:38 Average: 3 5.15 0.00 1.31 0.09 0.02 93.42 13:02:38 Average: 4 5.86 0.00 1.55 0.71 0.03 91.85 13:02:38 Average: 5 5.94 0.00 1.45 0.71 0.02 91.87 13:02:38 Average: 6 5.54 0.00 1.48 0.98 0.02 91.99 13:02:38 Average: 7 5.80 0.00 1.43 0.53 0.02 92.21 13:02:38 13:02:38 13:02:38