Pull request #251 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 340a8640ae7276737782a707bc9cad106123ab3e+2bd6e5dae59222faf073cfb9822f90f2048c0bba (c3d4cc256eb8842114dca7233c77568b64c52039) 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-ssh8912878935944047439.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8071146277480566291.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7128674615253758933.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14454582378627349490.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15326239822411631549.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4694598276725646558.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8477 in /w/workspace/gexfoundry_device-snmp-go_PR-251 [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-251 # 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 > 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/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 340a8640ae7276737782a707bc9cad106123ab3e Merge succeeded, producing 340a8640ae7276737782a707bc9cad106123ab3e Checking out Revision 340a8640ae7276737782a707bc9cad106123ab3e (PR-251) Commit message: "build(deps): bump golang.org/x/net" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:38:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 340a8640ae7276737782a707bc9cad106123ab3e # 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 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 340a8640ae7276737782a707bc9cad106123ab3e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:38:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:38:44 ========================================================= 03:38:44 EdgeX Global Pipelines Version Info 03:38:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:38:45 ------------------- 03:38:45 stable info: 03:38:45 ------------------- 03:38:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:38:45 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:38:45 Message: update stable to v1.0.244 03:38:45 ------------------- 03:38:45 experimental info: 03:38:45 ------------------- 03:38:45 Commited By: **** collab-it+edgex@linuxfoundation.org 03:38:45 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:38:45 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:38:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-251 [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-251 [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-251 [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 340a8640ae7276737782a707bc9cad106123ab3e [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 340a864 [Pipeline] echo 03:38:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:38:47 provisioning config files... 03:38:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config17612087397974687964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:38:48 ---> docker-login.sh 03:38:48 nexus3.edgexfoundry.org:10001 03:38:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:48 Configure a credential helper to remove this warning. See 03:38:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:48 03:38:48 Login Succeeded 03:38:48 nexus3.edgexfoundry.org:10002 03:38:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:48 Configure a credential helper to remove this warning. See 03:38:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:48 03:38:48 Login Succeeded 03:38:48 nexus3.edgexfoundry.org:10003 03:38:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:48 Configure a credential helper to remove this warning. See 03:38:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:48 03:38:48 Login Succeeded 03:38:48 nexus3.edgexfoundry.org:10004 03:38:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:48 Configure a credential helper to remove this warning. See 03:38:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:48 03:38:48 Login Succeeded 03:38:48 docker.io 03:38:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:48 Configure a credential helper to remove this warning. See 03:38:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:48 03:38:48 Login Succeeded 03:38:48 ---> docker-login.sh ends [Pipeline] } 03:38:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:38:49 + git rev-list -1 --merges 340a8640ae7276737782a707bc9cad106123ab3e~1..340a8640ae7276737782a707bc9cad106123ab3e [Pipeline] echo 03:38:49 -----------> git rev-list -1 --merges 340a8640ae7276737782a707bc9cad106123ab3e~1..340a8640ae7276737782a707bc9cad106123ab3e 340a8640ae7276737782a707bc9cad106123ab3e [false] [Pipeline] sh 03:38:50 + git log --format=format:%s -1 340a8640ae7276737782a707bc9cad106123ab3e [Pipeline] echo 03:38:50 ========================================================= 03:38:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:38:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:38:50 + git log --format=format:%s -1 340a8640ae7276737782a707bc9cad106123ab3e [Pipeline] echo 03:38:50 [semverPrep] GIT_COMMIT: 340a8640ae7276737782a707bc9cad106123ab3e, Commit Message: build(deps): bump golang.org/x/net [Pipeline] echo 03:38:50 [semverPrep] This is not a build commit. [Pipeline] sh 03:38:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:38:50 + grep -v github /etc/ssh/ssh_known_hosts 03:38:50 + [ -e /tmp/ssh_known_hosts ] 03:38:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:38:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:38:50 + sudo tee -a /etc/ssh/ssh_known_hosts 03:38:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:51 03:38:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:51 0.1.4: Pulling from edgex-devops/py-git-semver 03:38:51 b85a868b505f: Pulling fs layer 03:38:51 e2be974225ed: Pulling fs layer 03:38:51 339a4e72a1f5: Pulling fs layer 03:38:51 988bab9f4d93: Pulling fs layer 03:38:51 1469e6f7b9e6: Pulling fs layer 03:38:51 eaf3925da568: Pulling fs layer 03:38:51 bab4dde63d76: Pulling fs layer 03:38:51 988bab9f4d93: Waiting 03:38:51 bde34c3a00c8: Pulling fs layer 03:38:51 b352a97aabf1: Pulling fs layer 03:38:51 4872d77fe225: Pulling fs layer 03:38:51 5851b861e8e6: Pulling fs layer 03:38:51 1469e6f7b9e6: Waiting 03:38:51 eaf3925da568: Waiting 03:38:51 4872d77fe225: Waiting 03:38:51 5851b861e8e6: Waiting 03:38:51 bab4dde63d76: Waiting 03:38:51 b352a97aabf1: Waiting 03:38:51 bde34c3a00c8: Waiting 03:38:51 e2be974225ed: Download complete 03:38:51 988bab9f4d93: Download complete 03:38:52 1469e6f7b9e6: Verifying Checksum 03:38:52 1469e6f7b9e6: Download complete 03:38:52 eaf3925da568: Download complete 03:38:52 339a4e72a1f5: Verifying Checksum 03:38:52 339a4e72a1f5: Download complete 03:38:52 bde34c3a00c8: Verifying Checksum 03:38:52 bde34c3a00c8: Download complete 03:38:52 b352a97aabf1: Download complete 03:38:52 4872d77fe225: Verifying Checksum 03:38:52 4872d77fe225: Download complete 03:38:52 5851b861e8e6: Verifying Checksum 03:38:52 5851b861e8e6: Download complete 03:38:52 b85a868b505f: Verifying Checksum 03:38:52 b85a868b505f: Download complete 03:38:52 bab4dde63d76: Verifying Checksum 03:38:52 bab4dde63d76: Download complete 03:38:53 b85a868b505f: Pull complete 03:38:53 e2be974225ed: Pull complete 03:38:53 339a4e72a1f5: Pull complete 03:38:53 988bab9f4d93: Pull complete 03:38:54 1469e6f7b9e6: Pull complete 03:38:54 eaf3925da568: Pull complete 03:38:56 bab4dde63d76: Pull complete 03:38:56 bde34c3a00c8: Pull complete 03:38:56 b352a97aabf1: Pull complete 03:38:56 4872d77fe225: Pull complete 03:38:56 5851b861e8e6: Pull complete 03:38:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:38:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:56 prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container 03:38:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:38:57 $ docker top 4ab6d90fdf55f0192174352b9d92a40c8e16eee6ed9334167c1ac37191967170 -eo pid,comm 03:38:57 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). 03:38:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:38:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:57 [ssh-agent] Looking for ssh-agent implementation... 03:38:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:58 $ docker exec 4ab6d90fdf55f0192174352b9d92a40c8e16eee6ed9334167c1ac37191967170 ssh-agent 03:38:58 SSH_AUTH_SOCK=/tmp/ssh-SnNpmiP7RYaJ/agent.33 03:38:58 SSH_AGENT_PID=39 03:38:58 Running ssh-add (command line suppressed) 03:38:58 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_3517145026655337522.key (/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_3517145026655337522.key) 03:38:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:58 + git tag --points-at HEAD [Pipeline] } 03:38:58 $ docker exec --env ******** --env ******** 4ab6d90fdf55f0192174352b9d92a40c8e16eee6ed9334167c1ac37191967170 ssh-agent -k 03:38:58 unset SSH_AUTH_SOCK; 03:38:58 unset SSH_AGENT_PID; 03:38:58 echo Agent pid 39 killed; 03:38:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:38:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:58 [ssh-agent] Looking for ssh-agent implementation... 03:38:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:59 $ docker exec 4ab6d90fdf55f0192174352b9d92a40c8e16eee6ed9334167c1ac37191967170 ssh-agent 03:38:59 SSH_AUTH_SOCK=/tmp/ssh-Xhub1OTPe88m/agent.71 03:38:59 SSH_AGENT_PID=77 03:38:59 Running ssh-add (command line suppressed) 03:38:59 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_11263929260440692849.key (/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_11263929260440692849.key) 03:38:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:59 + git semver init 03:38:59 2023-03-07 03:38:59,865 [run_init] DEBUG init version:0.0.0 force:False 03:38:59 2023-03-07 03:38:59,865 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver 03:38:59 2023-03-07 03:38:59,866 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-251/.semver 03:38:59 2023-03-07 03:38:59,866 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-251, universal_newlines=False, shell=None, istream=None) 03:39:00 2023-03-07 03:39:00,789 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-251/.git/info/exclude 03:39:00 2023-03-07 03:39:00,789 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver/PR-251 with force:False 03:39:00 2023-03-07 03:39:00,789 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver/PR-251 03:39:00 2023-03-07 03:39:00,793 [execute] INFO git cat-file --batch-check 03:39:00 2023-03-07 03:39:00,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) 03:39:00 2023-03-07 03:39:00,800 [execute] INFO git cat-file --batch 03:39:00 2023-03-07 03:39:00,800 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) 03:39:00 2023-03-07 03:39:00,808 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-251/.semver/PR-251 03:39:00 0.0.0 [Pipeline] } 03:39:00 $ docker exec --env ******** --env ******** 4ab6d90fdf55f0192174352b9d92a40c8e16eee6ed9334167c1ac37191967170 ssh-agent -k 03:39:01 unset SSH_AUTH_SOCK; 03:39:01 unset SSH_AGENT_PID; 03:39:01 echo Agent pid 77 killed; 03:39:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:39:01 + git semver [Pipeline] } 03:39:02 $ docker stop --time=1 4ab6d90fdf55f0192174352b9d92a40c8e16eee6ed9334167c1ac37191967170 03:39:03 $ docker rm -f --volumes 4ab6d90fdf55f0192174352b9d92a40c8e16eee6ed9334167c1ac37191967170 [Pipeline] // withDockerContainer [Pipeline] sh 03:39:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:39:04 Stashed 1 file(s) [Pipeline] echo 03:39:04 [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 03:39:04 provisioning config files... 03:39:04 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config3945763100980497859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:39:05 ---> docker-login.sh 03:39:05 nexus3.edgexfoundry.org:10001 03:39:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:05 Configure a credential helper to remove this warning. See 03:39:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:05 03:39:05 Login Succeeded 03:39:05 nexus3.edgexfoundry.org:10002 03:39:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:05 Configure a credential helper to remove this warning. See 03:39:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:05 03:39:05 Login Succeeded 03:39:05 nexus3.edgexfoundry.org:10003 03:39:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:05 Configure a credential helper to remove this warning. See 03:39:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:05 03:39:05 Login Succeeded 03:39:05 nexus3.edgexfoundry.org:10004 03:39:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:05 Configure a credential helper to remove this warning. See 03:39:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:05 03:39:05 Login Succeeded 03:39:05 docker.io 03:39:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:05 Configure a credential helper to remove this warning. See 03:39:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:05 03:39:05 Login Succeeded 03:39:05 ---> docker-login.sh ends [Pipeline] } 03:39:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:39:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:39:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:39:05 ========================================================= 03:39:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:39:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:06 + 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 . 03:39:06 Sending build context to Docker daemon 5.698MB 03:39:06 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 03:39:06 Step 2/12 : FROM ${BASE} AS builder 03:39:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:39:06 213ec9aee27d: Pulling fs layer 03:39:06 4583459ba037: Pulling fs layer 03:39:06 93c1e223e6f2: Pulling fs layer 03:39:06 53926ce57604: Pulling fs layer 03:39:06 21b2b0c7a3f4: Pulling fs layer 03:39:06 22ff95d597cd: Pulling fs layer 03:39:06 12d6caf4c0d1: Pulling fs layer 03:39:06 96b7cbca73a9: Pulling fs layer 03:39:06 a7acece74701: Pulling fs layer 03:39:06 21b2b0c7a3f4: Waiting 03:39:06 22ff95d597cd: Waiting 03:39:06 12d6caf4c0d1: Waiting 03:39:06 96b7cbca73a9: Waiting 03:39:06 a7acece74701: Waiting 03:39:06 93c1e223e6f2: Verifying Checksum 03:39:06 93c1e223e6f2: Download complete 03:39:06 4583459ba037: Verifying Checksum 03:39:06 4583459ba037: Download complete 03:39:06 21b2b0c7a3f4: Verifying Checksum 03:39:06 21b2b0c7a3f4: Download complete 03:39:06 22ff95d597cd: Verifying Checksum 03:39:06 22ff95d597cd: Download complete 03:39:06 213ec9aee27d: Verifying Checksum 03:39:06 213ec9aee27d: Download complete 03:39:06 12d6caf4c0d1: Verifying Checksum 03:39:06 12d6caf4c0d1: Download complete 03:39:06 213ec9aee27d: Pull complete 03:39:06 4583459ba037: Pull complete 03:39:06 93c1e223e6f2: Pull complete 03:39:07 a7acece74701: Verifying Checksum 03:39:07 a7acece74701: Download complete 03:39:07 96b7cbca73a9: Verifying Checksum 03:39:07 96b7cbca73a9: Download complete 03:39:07 53926ce57604: Verifying Checksum 03:39:07 53926ce57604: Download complete 03:39:11 53926ce57604: Pull complete 03:39:11 21b2b0c7a3f4: Pull complete 03:39:11 22ff95d597cd: Pull complete 03:39:11 12d6caf4c0d1: Pull complete 03:39:13 96b7cbca73a9: Pull complete 03:39:14 a7acece74701: Pull complete 03:39:14 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 03:39:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:39:14 ---> db6d94c90886 03:39:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:39:15 ---> Running in 36090a1e9f5d 03:39:15 Removing intermediate container 36090a1e9f5d 03:39:15 ---> 6e807b787b6a 03:39:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:39:15 ---> Running in 01fa006788ba 03:39:15 Removing intermediate container 01fa006788ba 03:39:15 ---> a6815d87c57c 03:39:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:39:15 ---> Running in a7f0fc68260e 03:39:15 Removing intermediate container a7f0fc68260e 03:39:15 ---> fc37d6e9a3c6 03:39:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:39:15 ---> Running in 1a498e4ab93b 03:39:16 Removing intermediate container 1a498e4ab93b 03:39:16 ---> 7dd79fc15d0d 03:39:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:39:16 ---> Running in 07f3755263f5 03:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:39:16 (1/4) Installing openssh-keygen (9.0_p1-r2) 03:39:16 (2/4) Installing libedit (20210910.3.1-r0) 03:39:16 (3/4) Installing openssh-client-common (9.0_p1-r2) 03:39:16 (4/4) Installing openssh-client-default (9.0_p1-r2) 03:39:16 Executing busybox-1.35.0-r17.trigger 03:39:16 OK: 216 MiB in 55 packages 03:39:17 Removing intermediate container 07f3755263f5 03:39:17 ---> 5a9c70fe7396 03:39:17 Step 8/12 : WORKDIR /device-snmp-go 03:39:17 ---> Running in a53ae86637f8 03:39:17 Removing intermediate container a53ae86637f8 03:39:17 ---> 24de18e0a961 03:39:17 Step 9/12 : COPY go.mod vendor* ./ 03:39:17 ---> f0424305157d 03:39:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:39:17 ---> Running in 20c24f1e31df 03:39:19 Still waiting to schedule task 03:39:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8476’ 03:39:32 Removing intermediate container 20c24f1e31df 03:39:32 ---> f92c9f301eb5 03:39:32 Step 11/12 : COPY . . 03:39:32 ---> e5dd6f8778e6 03:39:32 Step 12/12 : RUN ${MAKE} 03:39:32 ---> Running in 416d60ceab98 03:39:32 noop 03:39:33 Removing intermediate container 416d60ceab98 03:39:33 ---> 524cdf483aed 03:39:33 Successfully built 524cdf483aed 03:39:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:33 + docker inspect -f . ci-base-image-x86_64 03:39:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:33 prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container 03:39:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:39:34 $ docker top 8eedb8a4ea53fa42b66daa145c18c9e31ebcb4ba9a1cb46ff096769517bcdd28 -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:34 + go version 03:39:34 go version go1.18.7 linux/amd64 [Pipeline] } 03:39:34 $ docker stop --time=1 8eedb8a4ea53fa42b66daa145c18c9e31ebcb4ba9a1cb46ff096769517bcdd28 03:39:35 $ docker rm -f --volumes 8eedb8a4ea53fa42b66daa145c18c9e31ebcb4ba9a1cb46ff096769517bcdd28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:36 + docker inspect -f . ci-base-image-x86_64 03:39:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:36 prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container 03:39:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:39:37 $ docker top b26b928825344198e54ba63b1f492379af642a87255bfb421b3f664ea02e88e9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:37 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-251 [Pipeline] fileExists [Pipeline] sh 03:39:37 + make test 03:39:37 go test ./... -coverprofile=coverage.out 03:39:38 ? github.com/edgexfoundry/device-snmp-go [no test files] 03:39:48 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 03:39:48 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements 03:39:53 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." 03:39:53 go vet ./... 03:39:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:39:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:39:56 ./bin/test-attribution-txt.sh [Pipeline] echo 03:39:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:39:56 $ docker stop --time=1 b26b928825344198e54ba63b1f492379af642a87255bfb421b3f664ea02e88e9 03:39:58 $ docker rm -f --volumes b26b928825344198e54ba63b1f492379af642a87255bfb421b3f664ea02e88e9 [Pipeline] // withDockerContainer [Pipeline] sh 03:39:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:39:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:39:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:39:59 + ls -al . 03:39:59 total 180 03:39:59 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 03:39 . 03:39:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 03:38 .. 03:39:59 -rw-rw-r-- 1 jenkins jenkins 6 Mar 7 03:38 .dockerignore 03:39:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 03:39 .git 03:39:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 03:38 .github 03:39:59 -rw-rw-r-- 1 jenkins jenkins 328 Mar 7 03:38 .gitignore 03:39:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 7 03:38 .golangci.yml 03:39:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 03:39 .semver 03:39:59 -rw-rw-r-- 1 jenkins jenkins 8828 Mar 7 03:38 Attribution.txt 03:39:59 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 7 03:38 CHANGELOG.md 03:39:59 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 7 03:38 Dockerfile 03:39:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 03:38 GOVERNANCE.md 03:39:59 -rw-rw-r-- 1 jenkins jenkins 656 Mar 7 03:38 Jenkinsfile 03:39:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 7 03:38 LICENSE 03:39:59 -rw-rw-r-- 1 jenkins jenkins 2079 Mar 7 03:38 Makefile 03:39:59 -rw-rw-r-- 1 jenkins jenkins 620 Mar 7 03:38 OWNERS.md 03:39:59 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 7 03:38 README.md 03:39:59 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 03:39 VERSION 03:39:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 03:38 bin 03:39:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 03:38 cmd 03:39:59 -rw-r--r-- 1 jenkins jenkins 7631 Mar 7 03:39 coverage.out 03:39:59 -rw-rw-r-- 1 jenkins jenkins 3358 Mar 7 03:38 go.mod 03:39:59 -rw-rw-r-- 1 jenkins jenkins 44819 Mar 7 03:38 go.sum 03:39:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 03:38 internal 03:39:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 03:38 snap 03:39:59 -rw-rw-r-- 1 jenkins jenkins 228 Mar 7 03:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:00 + 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=340a8640ae7276737782a707bc9cad106123ab3e --label arch=amd64 --label version=0.0.0 . 03:40:00 Sending build context to Docker daemon 5.706MB 03:40:00 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 03:40:00 Step 2/24 : FROM ${BASE} AS builder 03:40:00 ---> 524cdf483aed 03:40:00 Step 3/24 : ARG ADD_BUILD_TAGS="" 03:40:00 ---> Running in 2aa054cbc7fb 03:40:00 Removing intermediate container 2aa054cbc7fb 03:40:00 ---> 0315ba753c09 03:40:00 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:40:00 ---> Running in 90bdb4a71321 03:40:00 Removing intermediate container 90bdb4a71321 03:40:00 ---> 7485e5d0df4d 03:40:00 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:40:00 ---> Running in 8b21fdf2e965 03:40:00 Removing intermediate container 8b21fdf2e965 03:40:00 ---> 3d64a346b1ce 03:40:00 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 03:40:00 ---> Running in 3d9c46c6cbec 03:40:00 Removing intermediate container 3d9c46c6cbec 03:40:00 ---> 5474d74b84f2 03:40:00 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:40:00 ---> Running in 982b87e35743 03:40:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:40:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:40:01 OK: 216 MiB in 55 packages 03:40:02 Removing intermediate container 982b87e35743 03:40:02 ---> 1fa580fc5b55 03:40:02 Step 8/24 : WORKDIR /device-snmp-go 03:40:02 ---> Running in 4063bff751fa 03:40:02 Removing intermediate container 4063bff751fa 03:40:02 ---> a98f9406bb13 03:40:02 Step 9/24 : COPY go.mod vendor* ./ 03:40:02 ---> b52ddb412966 03:40:02 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:40:02 ---> Running in d5ceffab6b60 03:40:02 Removing intermediate container d5ceffab6b60 03:40:02 ---> 73e736c36ab4 03:40:02 Step 11/24 : COPY . . 03:40:03 ---> 0e3b52b66625 03:40:03 Step 12/24 : RUN ${MAKE} 03:40:03 ---> Running in 8c2071b04913 03:40:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 03:40:21 Removing intermediate container 8c2071b04913 03:40:21 ---> b8c070a827c9 03:40:21 Step 13/24 : FROM alpine:3.16 03:40:21 3.16: Pulling from library/alpine 03:40:21 ef5531b6e74e: Pulling fs layer 03:40:22 ef5531b6e74e: Verifying Checksum 03:40:22 ef5531b6e74e: Download complete 03:40:22 ef5531b6e74e: Pull complete 03:40:22 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 03:40:22 Status: Downloaded newer image for alpine:3.16 03:40:22 ---> dfd21b5a31f5 03:40:22 Step 14/24 : RUN apk add --update --no-cache dumb-init 03:40:22 ---> Running in 6b389b85a578 03:40:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:40:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:40:22 (1/1) Installing dumb-init (1.2.5-r1) 03:40:22 Executing busybox-1.35.0-r17.trigger 03:40:23 OK: 6 MiB in 15 packages 03:40:23 Removing intermediate container 6b389b85a578 03:40:23 ---> 652ce07057af 03:40:23 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 03:40:23 ---> fe03d4efcc86 03:40:23 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 03:40:24 ---> 5da85a982b97 03:40:24 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 03:40:24 ---> 96f7594dc31f 03:40:24 Step 18/24 : EXPOSE 59993 03:40:24 ---> Running in 7dbbb6cb68ca 03:40:24 Removing intermediate container 7dbbb6cb68ca 03:40:24 ---> cfb34f52972b 03:40:24 Step 19/24 : EXPOSE 161 03:40:24 ---> Running in 90cab7aaa597 03:40:24 Removing intermediate container 90cab7aaa597 03:40:24 ---> 6ef8e7a6522f 03:40:24 Step 20/24 : ENTRYPOINT ["/device-snmp"] 03:40:24 ---> Running in d4a7aa0b44ce 03:40:24 Removing intermediate container d4a7aa0b44ce 03:40:24 ---> 39741d012432 03:40:24 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:40:24 ---> Running in 522cff500b3a 03:40:24 Removing intermediate container 522cff500b3a 03:40:24 ---> 7e2f3ff82403 03:40:24 Step 22/24 : LABEL arch=amd64 03:40:24 ---> Running in c3958cfd73d8 03:40:24 Removing intermediate container c3958cfd73d8 03:40:24 ---> fff4191ffbe8 03:40:24 Step 23/24 : LABEL git_sha=340a8640ae7276737782a707bc9cad106123ab3e 03:40:24 ---> Running in 175e3cdaa3d2 03:40:24 Removing intermediate container 175e3cdaa3d2 03:40:24 ---> 9047c1a8fa5a 03:40:24 Step 24/24 : LABEL version=0.0.0 03:40:24 ---> Running in e8621a142fe0 03:40:24 Removing intermediate container e8621a142fe0 03:40:24 ---> 0b7add1fee22 03:40:24 [Warning] One or more build-args [ARCH] were not consumed 03:40:24 Successfully built 0b7add1fee22 03:40:24 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 03:40:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:25 03:40:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:26 latest: Pulling from edgex-lftools-log-publisher 03:40:26 5eb5b503b376: Pulling fs layer 03:40:26 5c69ac0246d0: Pulling fs layer 03:40:26 ec43610c2a17: Pulling fs layer 03:40:26 3a2ae6a8a46f: Pulling fs layer 03:40:26 33b1e0a273af: Pulling fs layer 03:40:26 5d3b04190fa2: Pulling fs layer 03:40:26 2f39f015ded8: Pulling fs layer 03:40:26 3a2ae6a8a46f: Waiting 03:40:26 33b1e0a273af: Waiting 03:40:26 5d3b04190fa2: Waiting 03:40:26 2f39f015ded8: Waiting 03:40:26 5c69ac0246d0: Verifying Checksum 03:40:26 5c69ac0246d0: Download complete 03:40:26 3a2ae6a8a46f: Verifying Checksum 03:40:26 3a2ae6a8a46f: Download complete 03:40:26 33b1e0a273af: Verifying Checksum 03:40:26 33b1e0a273af: Download complete 03:40:26 5d3b04190fa2: Verifying Checksum 03:40:26 5d3b04190fa2: Download complete 03:40:26 ec43610c2a17: Verifying Checksum 03:40:26 ec43610c2a17: Download complete 03:40:26 5eb5b503b376: Verifying Checksum 03:40:26 5eb5b503b376: Download complete 03:40:27 5eb5b503b376: Pull complete 03:40:27 5c69ac0246d0: Pull complete 03:40:27 ec43610c2a17: Pull complete 03:40:27 3a2ae6a8a46f: Pull complete 03:40:28 33b1e0a273af: Pull complete 03:40:28 5d3b04190fa2: Pull complete 03:40:32 2f39f015ded8: Pull complete 03:40:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:40:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:32 prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container 03:40:32 $ 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-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:40:33 $ docker top d12ee6e38e04956d1bab12176f0cde449f9aa3a1103750517a05ee7939b88fb2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:34 ---> job-cost.sh 03:40:34 lf-activate-venv: SKIPPING 03:40:34 INFO: No Stack... 03:40:34 INFO: Retrieving Pricing Info for: v3-standard-8 03:40:35 INFO: Archiving Costs [Pipeline] sh 03:40:35 + cat /w/workspace/gexfoundry_device-snmp-go_PR-251/archives/cost.csv 03:40:35 + cut -d, -f6 [Pipeline] lock 03:40:35 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-251-1-stack-cost] 03:40:35 Resource [jenkins-edgexfoundry-device-snmp-go-PR-251-1-stack-cost] did not exist. Created. 03:40:35 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:40:36 + echo total: 0.2199999988079071 [Pipeline] stash 03:40:36 Stashed 1 file(s) [Pipeline] } 03:40:36 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-251-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:40:36 $ docker stop --time=1 d12ee6e38e04956d1bab12176f0cde449f9aa3a1103750517a05ee7939b88fb2 03:40:37 $ docker rm -f --volumes d12ee6e38e04956d1bab12176f0cde449f9aa3a1103750517a05ee7939b88fb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:42:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8478 in /w/workspace/gexfoundry_device-snmp-go_PR-251 [Pipeline] { [Pipeline] ws 03:42:52 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 03:42:53 Selected Git installation does not exist. Using Default 03:42:53 The recommended git tool is: NONE 03:43:00 using credential edgex-jenkins-ssh 03:43:00 Cloning the remote Git repository 03:43:00 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 03:43:00 > git init /w/workspace/device-snmp-go/1 # timeout=10 03:43:01 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 03:43:01 > git --version # timeout=10 03:43:01 > git --version # 'git version 2.25.1' 03:43:01 using GIT_SSH to set credentials SSH Credentials for GitHub 03:43:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:43:02 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 03:43:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:43:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 03:43:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 03:43:03 using GIT_SSH to set credentials SSH Credentials for GitHub 03:43:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:43:03 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 340a8640ae7276737782a707bc9cad106123ab3e 03:43:04 Merge succeeded, producing 340a8640ae7276737782a707bc9cad106123ab3e 03:43:04 Checking out Revision 340a8640ae7276737782a707bc9cad106123ab3e (PR-251) 03:43:04 Commit message: "build(deps): bump golang.org/x/net" 03:43:04 > git --version # timeout=10 03:43:04 > git --version # 'git version 2.25.1' 03:43:04 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { 03:43:03 > git config core.sparsecheckout # timeout=10 03:43:03 > git checkout -f 340a8640ae7276737782a707bc9cad106123ab3e # timeout=10 03:43:04 > git remote # timeout=10 03:43:04 > git config --get remote.origin.url # timeout=10 03:43:04 using GIT_SSH to set credentials SSH Credentials for GitHub 03:43:04 > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 03:43:04 > git rev-parse HEAD^{commit} # timeout=10 03:43:04 > git config core.sparsecheckout # timeout=10 03:43:04 > git checkout -f 340a8640ae7276737782a707bc9cad106123ab3e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:43:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:43:05 % Total % Received % Xferd Average Speed Time Time Time Current 03:43:05 Dload Upload Total Spent Left Speed 03:43:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 03:43:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:43:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:43:06 + sudo tee /etc/docker/daemon.new 03:43:06 { 03:43:06 "registry-mirrors": [ 03:43:06 "https://nexus3.edgexfoundry.org:10001" 03:43:06 ], 03:43:06 "bip": "10.250.0.254/24", 03:43:06 "hosts": [ 03:43:06 "tcp://0.0.0.0:5555", 03:43:06 "unix:///var/run/docker.sock" 03:43:06 ], 03:43:06 "mtu": 1458, 03:43:06 "selinux-enabled": true, 03:43:06 "seccomp-profile": "/etc/docker/seccomp.json" 03:43:06 } [Pipeline] sh 03:43:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:43:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:43:25 provisioning config files... 03:43:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config15086209001942345879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:43:26 ---> docker-login.sh 03:43:26 nexus3.edgexfoundry.org:10001 03:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:26 Configure a credential helper to remove this warning. See 03:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:26 03:43:26 Login Succeeded 03:43:26 nexus3.edgexfoundry.org:10002 03:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:27 Configure a credential helper to remove this warning. See 03:43:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:27 03:43:27 Login Succeeded 03:43:27 nexus3.edgexfoundry.org:10003 03:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:27 Configure a credential helper to remove this warning. See 03:43:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:27 03:43:27 Login Succeeded 03:43:27 nexus3.edgexfoundry.org:10004 03:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:28 Configure a credential helper to remove this warning. See 03:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:28 03:43:28 Login Succeeded 03:43:28 docker.io 03:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:28 Configure a credential helper to remove this warning. See 03:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:28 03:43:28 Login Succeeded 03:43:28 ---> docker-login.sh ends [Pipeline] } 03:43:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:43:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:43:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:43:29 ========================================================= 03:43:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:43:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:29 + 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 . 03:43:30 Sending build context to Docker daemon 2.954MB 03:43:30 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 03:43:30 Step 2/12 : FROM ${BASE} AS builder 03:43:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:43:30 9b18e9b68314: Pulling fs layer 03:43:30 35d82f9e3411: Pulling fs layer 03:43:30 e16973657156: Pulling fs layer 03:43:30 fc693d55d65f: Pulling fs layer 03:43:30 7e9fc2657dce: Pulling fs layer 03:43:30 dda99020689f: Pulling fs layer 03:43:30 db1c61fa0a46: Pulling fs layer 03:43:30 891c053d2c06: Pulling fs layer 03:43:30 7e9fc2657dce: Waiting 03:43:30 dda99020689f: Waiting 03:43:30 db1c61fa0a46: Waiting 03:43:30 891c053d2c06: Waiting 03:43:30 fc693d55d65f: Waiting 03:43:30 e16973657156: Download complete 03:43:30 35d82f9e3411: Verifying Checksum 03:43:30 35d82f9e3411: Download complete 03:43:30 7e9fc2657dce: Verifying Checksum 03:43:30 7e9fc2657dce: Download complete 03:43:30 dda99020689f: Verifying Checksum 03:43:30 dda99020689f: Download complete 03:43:30 9b18e9b68314: Verifying Checksum 03:43:31 9b18e9b68314: Pull complete 03:43:31 891c053d2c06: Verifying Checksum 03:43:31 891c053d2c06: Download complete 03:43:32 35d82f9e3411: Pull complete 03:43:32 e16973657156: Pull complete 03:43:33 db1c61fa0a46: Download complete 03:43:33 fc693d55d65f: Download complete 03:43:45 fc693d55d65f: Pull complete 03:43:45 7e9fc2657dce: Pull complete 03:43:45 dda99020689f: Pull complete 03:43:51 db1c61fa0a46: Pull complete 03:43:53 891c053d2c06: Pull complete 03:43:53 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 03:43:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:43:53 ---> f96f9c87975a 03:43:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:43:55 ---> Running in cce0bb25b7d6 03:43:55 Removing intermediate container cce0bb25b7d6 03:43:55 ---> 90f67d0502af 03:43:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:43:55 ---> Running in f36bef798959 03:43:55 Removing intermediate container f36bef798959 03:43:55 ---> c45267575006 03:43:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:43:55 ---> Running in 91d57e4afaf0 03:43:56 Removing intermediate container 91d57e4afaf0 03:43:56 ---> dce161e51824 03:43:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:43:56 ---> Running in 46a0ef545a53 03:43:56 Removing intermediate container 46a0ef545a53 03:43:56 ---> 6760d4e8b632 03:43:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:43:56 ---> Running in c279568120dc 03:43:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:43:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:43:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 03:43:58 (2/4) Installing libedit (20210910.3.1-r0) 03:43:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 03:43:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 03:43:58 Executing busybox-1.35.0-r17.trigger 03:43:59 OK: 226 MiB in 55 packages 03:44:00 Removing intermediate container c279568120dc 03:44:00 ---> 2ac1633a7835 03:44:00 Step 8/12 : WORKDIR /device-snmp-go 03:44:00 ---> Running in 1864cc655bf5 03:44:00 Removing intermediate container 1864cc655bf5 03:44:00 ---> ce4d0b66fd76 03:44:00 Step 9/12 : COPY go.mod vendor* ./ 03:44:00 ---> 319f41c21283 03:44:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:44:00 ---> Running in 335c639ad54f 03:45:08 Removing intermediate container 335c639ad54f 03:45:08 ---> 77c24681722e 03:45:08 Step 11/12 : COPY . . 03:45:08 ---> 7d2608bbedd7 03:45:08 Step 12/12 : RUN ${MAKE} 03:45:08 ---> Running in 779939b64603 03:45:08 noop 03:45:08 Removing intermediate container 779939b64603 03:45:08 ---> ccd6b793f948 03:45:08 Successfully built ccd6b793f948 03:45:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:09 + docker inspect -f . ci-base-image-arm64 03:45:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:09 prd-ubuntu20.04-docker-arm64-4c-16g-8478 does not seem to be running inside a container 03:45:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:45:10 $ docker top d31c1b823a7ae7233ba12f5e41c91308de7e0bdadc8ddd1eb6c6dcbe9bf1b3e3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:11 + go version 03:45:11 go version go1.18.7 linux/arm64 [Pipeline] } 03:45:11 $ docker stop --time=1 d31c1b823a7ae7233ba12f5e41c91308de7e0bdadc8ddd1eb6c6dcbe9bf1b3e3 03:45:13 $ docker rm -f --volumes d31c1b823a7ae7233ba12f5e41c91308de7e0bdadc8ddd1eb6c6dcbe9bf1b3e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:14 + docker inspect -f . ci-base-image-arm64 03:45:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:14 prd-ubuntu20.04-docker-arm64-4c-16g-8478 does not seem to be running inside a container 03:45:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:45:15 $ docker top 6bc5ba014f5f66fcf50064887ab52002050e88e8e82732bb9f264dc85b29f551 -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:16 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 03:45:17 + make test 03:45:17 go test ./... -coverprofile=coverage.out 03:45:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 03:46:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 03:46:41 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 03:46:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:46:41 go vet ./... 03:46:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:46:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:46:53 ./bin/test-attribution-txt.sh [Pipeline] echo 03:46:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:46:53 $ docker stop --time=1 6bc5ba014f5f66fcf50064887ab52002050e88e8e82732bb9f264dc85b29f551 03:46:57 $ docker rm -f --volumes 6bc5ba014f5f66fcf50064887ab52002050e88e8e82732bb9f264dc85b29f551 [Pipeline] // withDockerContainer [Pipeline] sh 03:46:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:46:58 Warning: overwriting stash ‘coverage-report’ 03:46:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:46:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:46:59 + ls -al . 03:46:59 total 176 03:46:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 03:45 . 03:46:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 03:43 .. 03:46:59 -rw-rw-r-- 1 jenkins jenkins 6 Mar 7 03:43 .dockerignore 03:46:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 03:43 .git 03:46:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 03:43 .github 03:46:59 -rw-rw-r-- 1 jenkins jenkins 328 Mar 7 03:43 .gitignore 03:46:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 7 03:43 .golangci.yml 03:46:59 -rw-rw-r-- 1 jenkins jenkins 8828 Mar 7 03:43 Attribution.txt 03:46:59 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 7 03:43 CHANGELOG.md 03:46:59 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 7 03:43 Dockerfile 03:46:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 03:43 GOVERNANCE.md 03:46:59 -rw-rw-r-- 1 jenkins jenkins 656 Mar 7 03:43 Jenkinsfile 03:46:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 7 03:43 LICENSE 03:46:59 -rw-rw-r-- 1 jenkins jenkins 2079 Mar 7 03:43 Makefile 03:46:59 -rw-rw-r-- 1 jenkins jenkins 620 Mar 7 03:43 OWNERS.md 03:46:59 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 7 03:43 README.md 03:46:59 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 03:39 VERSION 03:46:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 03:43 bin 03:46:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 03:43 cmd 03:46:59 -rw-r--r-- 1 jenkins jenkins 7631 Mar 7 03:46 coverage.out 03:46:59 -rw-rw-r-- 1 jenkins jenkins 3358 Mar 7 03:43 go.mod 03:46:59 -rw-rw-r-- 1 jenkins jenkins 44819 Mar 7 03:43 go.sum 03:46:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 03:43 internal 03:46:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 03:43 snap 03:46:59 -rw-rw-r-- 1 jenkins jenkins 228 Mar 7 03:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:00 + 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=340a8640ae7276737782a707bc9cad106123ab3e --label arch=arm64 --label version=0.0.0 . 03:47:00 Sending build context to Docker daemon 2.962MB 03:47:00 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 03:47:00 Step 2/24 : FROM ${BASE} AS builder 03:47:00 ---> ccd6b793f948 03:47:00 Step 3/24 : ARG ADD_BUILD_TAGS="" 03:47:00 ---> Running in dcbb5d3b2a45 03:47:00 Removing intermediate container dcbb5d3b2a45 03:47:00 ---> 117cb2512d2c 03:47:00 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:47:00 ---> Running in 16fc1da7d9a6 03:47:01 Removing intermediate container 16fc1da7d9a6 03:47:01 ---> 37070ee39829 03:47:01 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:47:01 ---> Running in baaeecf88990 03:47:01 Removing intermediate container baaeecf88990 03:47:01 ---> c9ebbaa5a3ab 03:47:01 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 03:47:01 ---> Running in 26050b4ca2ca 03:47:01 Removing intermediate container 26050b4ca2ca 03:47:01 ---> 5cd779a040d5 03:47:01 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:47:01 ---> Running in 3a995346884e 03:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:47:03 OK: 226 MiB in 55 packages 03:47:04 Removing intermediate container 3a995346884e 03:47:04 ---> 6567d7a4b863 03:47:04 Step 8/24 : WORKDIR /device-snmp-go 03:47:04 ---> Running in 137486eab910 03:47:05 Removing intermediate container 137486eab910 03:47:05 ---> 0aba17e2b44b 03:47:05 Step 9/24 : COPY go.mod vendor* ./ 03:47:05 ---> d3590eee4dcd 03:47:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:47:05 ---> Running in 5aeb73b702ed 03:47:07 Removing intermediate container 5aeb73b702ed 03:47:07 ---> d4028e73f9cd 03:47:07 Step 11/24 : COPY . . 03:47:10 ---> 6e1e44084c87 03:47:10 Step 12/24 : RUN ${MAKE} 03:47:10 ---> Running in 32c65eccf1e8 03:47:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 03:49:17 Removing intermediate container 32c65eccf1e8 03:49:17 ---> 5c849016c81f 03:49:17 Step 13/24 : FROM alpine:3.16 03:49:17 3.16: Pulling from library/alpine 03:49:17 3760b48202b3: Pulling fs layer 03:49:17 3760b48202b3: Verifying Checksum 03:49:17 3760b48202b3: Download complete 03:49:17 3760b48202b3: Pull complete 03:49:17 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 03:49:17 Status: Downloaded newer image for alpine:3.16 03:49:17 ---> 4c81e5bf8899 03:49:17 Step 14/24 : RUN apk add --update --no-cache dumb-init 03:49:17 ---> Running in 43dc18df7716 03:49:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:49:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:49:17 (1/1) Installing dumb-init (1.2.5-r1) 03:49:17 Executing busybox-1.35.0-r17.trigger 03:49:17 OK: 5 MiB in 15 packages 03:49:17 Removing intermediate container 43dc18df7716 03:49:17 ---> 16db12754d87 03:49:17 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 03:49:17 ---> 991f51c35137 03:49:17 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 03:49:17 ---> eba837f19c47 03:49:17 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 03:49:17 ---> 9b8b61b714be 03:49:17 Step 18/24 : EXPOSE 59993 03:49:17 ---> Running in 93a2c0aef56a 03:49:17 Removing intermediate container 93a2c0aef56a 03:49:17 ---> 03e3d53ffe9d 03:49:17 Step 19/24 : EXPOSE 161 03:49:17 ---> Running in d8c0027448d7 03:49:17 Removing intermediate container d8c0027448d7 03:49:17 ---> 858cd865e2cc 03:49:17 Step 20/24 : ENTRYPOINT ["/device-snmp"] 03:49:17 ---> Running in 4e46ebd8d67b 03:49:17 Removing intermediate container 4e46ebd8d67b 03:49:17 ---> b219277b4b3e 03:49:17 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:49:17 ---> Running in 56d1707815dd 03:49:17 Removing intermediate container 56d1707815dd 03:49:17 ---> 72edd3423bec 03:49:17 Step 22/24 : LABEL arch=arm64 03:49:17 ---> Running in 73cf036ef50b 03:49:17 Removing intermediate container 73cf036ef50b 03:49:17 ---> 4365cb32f943 03:49:17 Step 23/24 : LABEL git_sha=340a8640ae7276737782a707bc9cad106123ab3e 03:49:17 ---> Running in 581700ff9c0b 03:49:17 Removing intermediate container 581700ff9c0b 03:49:17 ---> 6aada617526a 03:49:17 Step 24/24 : LABEL version=0.0.0 03:49:17 ---> Running in c42084278c20 03:49:17 Removing intermediate container c42084278c20 03:49:17 ---> 04985b4a9e12 03:49:17 [Warning] One or more build-args [ARCH] were not consumed 03:49:17 Successfully built 04985b4a9e12 03:49:17 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 03:49:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:49:18 03:49:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:49:19 arm64: Pulling from edgex-lftools-log-publisher 03:49:19 8998bd30e6a1: Pulling fs layer 03:49:19 04944245beec: Pulling fs layer 03:49:19 699f458cf7ca: Pulling fs layer 03:49:19 765212b225bb: Pulling fs layer 03:49:19 f23df028b6ca: Pulling fs layer 03:49:19 d65c8cfc05b1: Pulling fs layer 03:49:19 2437ff75d9bd: Pulling fs layer 03:49:19 765212b225bb: Waiting 03:49:19 f23df028b6ca: Waiting 03:49:19 d65c8cfc05b1: Waiting 03:49:19 2437ff75d9bd: Waiting 03:49:19 04944245beec: Verifying Checksum 03:49:19 04944245beec: Download complete 03:49:19 765212b225bb: Verifying Checksum 03:49:19 765212b225bb: Download complete 03:49:19 f23df028b6ca: Verifying Checksum 03:49:19 f23df028b6ca: Download complete 03:49:19 d65c8cfc05b1: Verifying Checksum 03:49:19 d65c8cfc05b1: Download complete 03:49:19 699f458cf7ca: Verifying Checksum 03:49:19 699f458cf7ca: Download complete 03:49:20 8998bd30e6a1: Verifying Checksum 03:49:20 8998bd30e6a1: Download complete 03:49:21 2437ff75d9bd: Download complete 03:49:23 8998bd30e6a1: Pull complete 03:49:24 04944245beec: Pull complete 03:49:25 699f458cf7ca: Pull complete 03:49:25 765212b225bb: Pull complete 03:49:26 f23df028b6ca: Pull complete 03:49:26 d65c8cfc05b1: Pull complete 03:49:41 2437ff75d9bd: Pull complete 03:49:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:49:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:49:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:49:42 prd-ubuntu20.04-docker-arm64-4c-16g-8478 does not seem to be running inside a container 03:49:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:49:44 $ docker top 3d7e61280d06a22bde1a6f0bfaf8272bf53151537538bed97c37957ed20cc591 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:49:46 ---> job-cost.sh 03:49:46 lf-activate-venv: SKIPPING 03:49:46 INFO: No Stack... 03:49:46 INFO: Retrieving Pricing Info for: v3-standard-4 03:49:47 INFO: Archiving Costs [Pipeline] sh 03:49:47 + cut -d, -f6 03:49:47 + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 03:49:47 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-251-1-stack-cost] 03:49:47 Resource [jenkins-edgexfoundry-device-snmp-go-PR-251-1-stack-cost] did not exist. Created. 03:49:47 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:49:48 /w/workspace/device-snmp-go/1@tmp/durable-e7f6ec67/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:49:48 + echo total: 0.10999999940395355 [Pipeline] stash 03:49:49 Warning: overwriting stash ‘stack-cost’ 03:49:49 Stashed 1 file(s) [Pipeline] } 03:49:49 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-251-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:49:49 $ docker stop --time=1 3d7e61280d06a22bde1a6f0bfaf8272bf53151537538bed97c37957ed20cc591 03:49:50 $ docker rm -f --volumes 3d7e61280d06a22bde1a6f0bfaf8272bf53151537538bed97c37957ed20cc591 [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 03:49:51 provisioning config files... 03:49:51 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config10584830373050120831tmp [Pipeline] { [Pipeline] sh 03:49:52 + set +x 03:49:52 + bash -s -- 03:49:52 + curl -s https://codecov.io/bash 03:49:52 03:49:52 _____ _ 03:49:52 / ____| | | 03:49:52 | | ___ __| | ___ ___ _____ __ 03:49:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:49:52 | |___| (_) | (_| | __/ (_| (_) \ V / 03:49:52 \_____\___/ \__,_|\___|\___\___/ \_/ 03:49:52 Bash-1.0.6 03:49:52 03:49:52 03:49:52 ==> git version 2.25.1 found 03:49:52 ==> 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 03:49:52 Release-Date: 2020-01-08 03:49:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:49:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:49:52 ==> Jenkins CI detected. 03:49:52 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-251 03:49:52 project root: . 03:49:52 --> token set from env 03:49:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:49:52 ==> Running gcov in . (disable via -X gcov) 03:49:52 ==> Python coveragepy not found 03:49:52 ==> Searching for coverage reports in: 03:49:52 + . 03:49:52 -> Found 1 reports 03:49:52 ==> Detecting git/mercurial file structure 03:49:52 ==> Reading reports 03:49:52 + ./coverage.out bytes=7631 03:49:52 ==> Appending adjustments 03:49:52 https://docs.codecov.io/docs/fixing-reports 03:49:52 + Found adjustments 03:49:52 ==> Gzipping contents 03:49:52 4.0K /tmp/codecov.vqjHar.gz 03:49:52 ==> Uploading reports 03:49:52 url: https://codecov.io 03:49:52 query: branch=PR-251&commit=340a8640ae7276737782a707bc9cad106123ab3e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=251&job=&cmd_args= 03:49:52 -> Pinging Codecov 03:49:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-251&commit=340a8640ae7276737782a707bc9cad106123ab3e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=251&job=&cmd_args= 03:49:52 -> Uploading to 03:49:52 https://storage.googleapis.com/codecov/v4/raw/2023-03-07/6C56EA5C29638FB4528AC87E60AF5AE0/340a8640ae7276737782a707bc9cad106123ab3e/75bc38cd-c5fc-4313-bc24-45c899ca2658.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T034952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=76af370a4e40132cb05fab23b479b647ff6d0c419f1e442a1d35c1278fe3bbfc 03:49:52 % Total % Received % Xferd Average Speed Time Time Time Current 03:49:52 Dload Upload Total Spent Left Speed 03:49:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 6855 --:--:-- --:--:-- --:--:-- 6825 100 1522 0 0 100 1522 0 5809 --:--:-- --:--:-- --:--:-- 5787 03:49:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/340a8640ae7276737782a707bc9cad106123ab3e [Pipeline] } 03:49:52 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 03:49:54 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-251/archives ] 03:49:54 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-251/archives 03:49:54 total 16 03:49:54 drwxr-xr-x 3 root root 4096 Mar 7 03:40 . 03:49:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 03:40 .. 03:49:54 drwxr-xr-x 2 root root 4096 Mar 7 03:40 cost 03:49:54 -rw-r--r-- 1 root root 86 Mar 7 03:40 cost.csv 03:49:54 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-251/archives 03:49:54 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-251/archives 03:49:54 total 16 03:49:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 03:40 . 03:49:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 03:40 .. 03:49:54 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 03:40 cost 03:49:54 -rw-r--r-- 1 jenkins jenkins 86 Mar 7 03:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:49:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:49:56 ---> package-listing.sh 03:49:56 ++ facter osfamily 03:49:56 ++ tr '[:upper:]' '[:lower:]' 03:49:56 + OS_FAMILY=debian 03:49:56 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-251 03:49:56 + START_PACKAGES=/tmp/packages_start.txt 03:49:56 + END_PACKAGES=/tmp/packages_end.txt 03:49:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:49:56 + PACKAGES=/tmp/packages_start.txt 03:49:56 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-251 ']' 03:49:56 + PACKAGES=/tmp/packages_end.txt 03:49:56 + case "${OS_FAMILY}" in 03:49:56 + dpkg -l 03:49:56 + grep '^ii' 03:49:56 + '[' -f /tmp/packages_start.txt ']' 03:49:56 + '[' -f /tmp/packages_end.txt ']' 03:49:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:49:56 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-251 ']' 03:49:56 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-251/archives/ 03:49:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-251/archives/ [Pipeline] echo 03:49:56 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-251/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:49:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:49:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:49:57 prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container 03:49:57 $ 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-251/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-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:49:57 $ docker top b13da251a024413e7f4104d9c5f7a6f8027fea97647d3e1b5fe462cd9eb1eb66 -eo pid,comm [Pipeline] { [Pipeline] sh 03:49:58 + touch /tmp/pre-build-complete [Pipeline] sh 03:49:58 + mkdir -p /var/log/sysstat [Pipeline] sh 03:49:58 + ls /var/log/sa-host 03:49:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:49:58 provisioning config files... 03:49:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config15700806059826957475tmp [Pipeline] { [Pipeline] echo 03:49:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:49:59 ---> create-netrc.sh [Pipeline] } 03:49:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:49:59 ---> python-tools-install.sh [Pipeline] echo 03:49:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:50:00 ---> sudo-logs.sh 03:50:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:50:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:50:00 ---> job-cost.sh 03:50:00 lf-activate-venv: SKIPPING 03:50:00 DEBUG: total: 0.2199999988079071 03:50:00 INFO: Retrieving Stack Cost... 03:50:00 INFO: Retrieving Pricing Info for: v3-standard-8 03:50:01 INFO: Archiving Costs [Pipeline] echo 03:50:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:50:01 ---> logs-deploy.sh 03:50:01 lf-activate-venv: SKIPPING 03:50:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-251/1 03:50:01 INFO: archiving workspace using pattern(s): 03:50:02 Archives upload complete. 03:50:02 INFO: archiving logs to Nexus 03:50:03 ---> uname -a: 03:50:03 Linux prd-ubuntu20-04-docker-8c-8g-8477 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 03:50:03 03:50:03 03:50:03 ---> lscpu: 03:50:03 Architecture: x86_64 03:50:03 CPU op-mode(s): 32-bit, 64-bit 03:50:03 Byte Order: Little Endian 03:50:03 Address sizes: 40 bits physical, 48 bits virtual 03:50:03 CPU(s): 8 03:50:03 On-line CPU(s) list: 0-7 03:50:03 Thread(s) per core: 1 03:50:03 Core(s) per socket: 1 03:50:03 Socket(s): 8 03:50:03 NUMA node(s): 1 03:50:03 Vendor ID: AuthenticAMD 03:50:03 CPU family: 23 03:50:03 Model: 49 03:50:03 Model name: AMD EPYC-Rome Processor 03:50:03 Stepping: 0 03:50:03 CPU MHz: 2799.998 03:50:03 BogoMIPS: 5599.99 03:50:03 Virtualization: AMD-V 03:50:03 Hypervisor vendor: KVM 03:50:03 Virtualization type: full 03:50:03 L1d cache: 256 KiB 03:50:03 L1i cache: 256 KiB 03:50:03 L2 cache: 4 MiB 03:50:03 L3 cache: 128 MiB 03:50:03 NUMA node0 CPU(s): 0-7 03:50:03 Vulnerability Itlb multihit: Not affected 03:50:03 Vulnerability L1tf: Not affected 03:50:03 Vulnerability Mds: Not affected 03:50:03 Vulnerability Meltdown: Not affected 03:50:03 Vulnerability Mmio stale data: Not affected 03:50:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:50:03 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:50:03 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:50:03 Vulnerability Srbds: Not affected 03:50:03 Vulnerability Tsx async abort: Not affected 03:50:03 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 03:50:03 03:50:03 03:50:03 ---> nproc: 03:50:03 8 03:50:03 03:50:03 03:50:03 ---> df -h: 03:50:03 Filesystem Size Used Avail Use% Mounted on 03:50:03 overlay 155G 12G 144G 8% / 03:50:03 tmpfs 64M 0 64M 0% /dev 03:50:03 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:50:03 shm 64M 0 64M 0% /dev/shm 03:50:03 /dev/vda1 155G 12G 144G 8% /facter-os 03:50:03 03:50:03 03:50:03 ---> sar -b -r -n DEV: 03:50:03 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8477) 03/07/23 _x86_64_ (8 CPU) 03:50:03 03:50:03 03:38:10 LINUX RESTART (8 CPU) 03:50:03 03:50:03 03:39:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:50:03 03:40:01 208.71 2.37 206.34 0.00 62.89 73019.59 0.00 03:50:03 03:41:01 134.81 0.12 134.69 0.00 16.40 33835.29 0.00 03:50:03 03:42:01 1.57 0.00 1.57 0.00 0.00 18.68 0.00 03:50:03 03:43:01 1.97 0.00 1.97 0.00 0.00 22.80 0.00 03:50:03 03:44:01 53.24 10.60 42.64 0.00 5159.14 8664.42 0.00 03:50:03 03:45:01 4.85 0.02 4.83 0.00 0.13 105.32 0.00 03:50:03 03:46:01 1.37 0.00 1.37 0.00 0.00 15.06 0.00 03:50:03 03:47:01 2.00 0.00 2.00 0.00 0.00 21.86 0.00 03:50:03 03:48:01 1.38 0.00 1.38 0.00 0.00 14.93 0.00 03:50:03 03:49:01 2.20 0.00 2.20 0.00 0.00 25.06 0.00 03:50:03 03:50:01 6.40 0.25 6.15 0.00 19.33 113.58 0.00 03:50:03 Average: 37.79 1.21 36.57 0.00 478.59 10438.09 0.00 03:50:03 03:50:03 03:39:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:50:03 03:40:01 28492840 31544048 760332 2.31 143056 3122348 1952224 5.75 1195344 2758428 520 03:50:03 03:41:01 27766188 31566000 735828 2.24 154328 3798124 1783440 5.26 1226596 3390144 348 03:50:03 03:42:01 27765980 31565816 735708 2.24 154348 3798128 1783440 5.26 1226376 3390148 12 03:50:03 03:43:01 27773944 31574108 727040 2.21 154408 3798256 1783440 5.26 1219028 3390300 8 03:50:03 03:44:01 27245744 31550372 734876 2.23 187528 4253336 1830412 5.39 1543192 3558288 232 03:50:03 03:45:01 27251872 31551748 733196 2.23 186116 4250084 1796848 5.30 1540848 3555104 8 03:50:03 03:46:01 27252060 31552004 732892 2.23 186208 4250080 1796848 5.30 1541132 3555108 8 03:50:03 03:47:01 27251552 31551672 732920 2.23 186280 4250092 1796848 5.30 1540980 3555112 8 03:50:03 03:48:01 27251636 31551816 732716 2.23 186352 4250092 1796848 5.30 1541036 3555116 176 03:50:03 03:49:01 27251620 31551884 732552 2.23 186432 4250096 1796848 5.30 1541256 3555116 8 03:50:03 03:50:01 27211440 31514564 765356 2.33 186604 4251432 1864736 5.50 1575608 3552356 392 03:50:03 Average: 27501352 31552185 738492 2.25 173787 4024733 1816539 5.35 1426491 3437747 156 03:50:03 03:50:03 03:39:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:50:03 03:40:01 lo 3.05 3.05 0.30 0.30 0.00 0.00 0.00 0.00 03:50:03 03:40:01 ens3 457.56 261.35 5957.74 42.58 0.00 0.00 0.00 0.00 03:50:03 03:40:01 docker0 150.98 270.64 12.55 1848.13 0.00 0.00 0.00 0.00 03:50:03 03:40:01 veth47a6288 1.03 1.19 0.08 11.06 0.00 0.00 0.00 0.00 03:50:03 03:41:01 lo 1.87 1.87 0.18 0.18 0.00 0.00 0.00 0.00 03:50:03 03:41:01 ens3 134.99 88.89 2647.93 97.34 0.00 0.00 0.00 0.00 03:50:03 03:41:01 docker0 1.83 5.83 0.11 70.69 0.00 0.00 0.00 0.00 03:50:03 03:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:42:01 ens3 0.63 0.00 0.06 0.00 0.00 0.00 0.00 0.00 03:50:03 03:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:50:03 03:43:01 ens3 0.58 0.35 0.35 0.27 0.00 0.00 0.00 0.00 03:50:03 03:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:44:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 03:50:03 03:44:01 ens3 121.90 57.54 2811.37 4.38 0.00 0.00 0.00 0.00 03:50:03 03:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:45:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:50:03 03:45:01 ens3 0.23 0.18 0.01 0.01 0.00 0.00 0.00 0.00 03:50:03 03:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:46:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:47:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:50:03 03:47:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 03:50:03 03:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:48:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:49:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:50:03 03:49:01 ens3 0.27 0.23 0.08 0.08 0.00 0.00 0.00 0.00 03:50:03 03:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 03:50:01 lo 0.67 0.67 0.07 0.07 0.00 0.00 0.00 0.00 03:50:03 03:50:01 ens3 29.43 18.78 29.15 10.13 0.00 0.00 0.00 0.00 03:50:03 03:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:50:03 Average: lo 0.63 0.63 0.06 0.06 0.00 0.00 0.00 0.00 03:50:03 Average: ens3 67.21 38.52 1033.18 14.03 0.00 0.00 0.00 0.00 03:50:03 Average: docker0 13.69 24.76 1.13 171.92 0.00 0.00 0.00 0.00 03:50:03 03:50:03 03:50:03 ---> sar -P ALL: 03:50:03 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8477) 03/07/23 _x86_64_ (8 CPU) 03:50:03 03:50:03 03:38:10 LINUX RESTART (8 CPU) 03:50:03 03:50:03 03:39:02 CPU %user %nice %system %iowait %steal %idle 03:50:03 03:40:01 all 27.07 0.00 6.72 1.04 0.15 65.02 03:50:03 03:40:01 0 27.34 0.00 6.75 0.84 0.15 64.92 03:50:03 03:40:01 1 25.96 0.00 7.11 3.78 0.14 63.02 03:50:03 03:40:01 2 27.58 0.00 6.19 0.24 0.14 65.85 03:50:03 03:40:01 3 27.58 0.00 6.78 0.81 0.16 64.67 03:50:03 03:40:01 4 26.37 0.00 7.45 0.55 0.17 65.45 03:50:03 03:40:01 5 26.57 0.00 5.98 0.21 0.14 67.10 03:50:03 03:40:01 6 27.61 0.00 6.73 1.70 0.15 63.80 03:50:03 03:40:01 7 27.53 0.00 6.73 0.17 0.19 65.38 03:50:03 03:41:01 all 19.49 0.00 3.89 0.59 0.14 75.89 03:50:03 03:41:01 0 19.27 0.00 3.93 0.03 0.12 76.65 03:50:03 03:41:01 1 19.28 0.00 4.01 0.12 0.13 76.45 03:50:03 03:41:01 2 20.18 0.00 3.76 2.37 0.15 73.54 03:50:03 03:41:01 3 19.47 0.00 4.08 1.24 0.10 75.10 03:50:03 03:41:01 4 19.12 0.00 4.01 0.17 0.13 76.56 03:50:03 03:41:01 5 19.51 0.00 3.75 0.18 0.17 76.39 03:50:03 03:41:01 6 19.45 0.00 3.88 0.39 0.13 76.15 03:50:03 03:41:01 7 19.64 0.00 3.72 0.24 0.15 76.25 03:50:03 03:42:01 all 0.03 0.00 0.03 0.00 0.01 99.93 03:50:03 03:42:01 0 0.00 0.00 0.00 0.00 0.00 100.00 03:50:03 03:42:01 1 0.02 0.00 0.03 0.00 0.02 99.93 03:50:03 03:42:01 2 0.07 0.00 0.05 0.02 0.02 99.85 03:50:03 03:42:01 3 0.03 0.00 0.02 0.00 0.00 99.95 03:50:03 03:42:01 4 0.02 0.00 0.02 0.00 0.02 99.95 03:50:03 03:42:01 5 0.02 0.00 0.07 0.00 0.02 99.90 03:50:03 03:42:01 6 0.07 0.00 0.02 0.02 0.02 99.88 03:50:03 03:42:01 7 0.05 0.00 0.00 0.00 0.00 99.95 03:50:03 03:43:01 all 0.04 0.00 0.02 0.01 0.01 99.92 03:50:03 03:43:01 0 0.02 0.00 0.00 0.00 0.00 99.98 03:50:03 03:43:01 1 0.02 0.00 0.02 0.00 0.00 99.97 03:50:03 03:43:01 2 0.13 0.00 0.05 0.03 0.02 99.77 03:50:03 03:43:01 3 0.03 0.00 0.02 0.00 0.02 99.93 03:50:03 03:43:01 4 0.03 0.00 0.03 0.00 0.00 99.93 03:50:03 03:43:01 5 0.05 0.00 0.03 0.00 0.02 99.90 03:50:03 03:43:01 6 0.02 0.00 0.03 0.03 0.00 99.92 03:50:03 03:43:01 7 0.03 0.00 0.00 0.00 0.00 99.97 03:50:03 03:44:01 all 2.13 0.00 1.39 0.26 0.03 96.20 03:50:03 03:44:01 0 1.09 0.00 1.30 0.05 0.02 97.55 03:50:03 03:44:01 1 1.47 0.00 0.78 1.02 0.02 96.71 03:50:03 03:44:01 2 2.34 0.00 1.07 0.17 0.03 96.39 03:50:03 03:44:01 3 1.89 0.00 1.44 0.12 0.02 96.54 03:50:03 03:44:01 4 3.47 0.00 1.38 0.33 0.02 94.80 03:50:03 03:44:01 5 3.05 0.00 3.09 0.30 0.03 93.52 03:50:03 03:44:01 6 1.95 0.00 1.09 0.03 0.03 96.90 03:50:03 03:44:01 7 1.77 0.00 0.97 0.03 0.03 97.19 03:50:03 03:45:01 all 0.08 0.00 0.04 0.01 0.01 99.86 03:50:03 03:45:01 0 0.07 0.00 0.03 0.00 0.00 99.90 03:50:03 03:45:01 1 0.02 0.00 0.05 0.00 0.02 99.92 03:50:03 03:45:01 2 0.08 0.00 0.07 0.07 0.02 99.77 03:50:03 03:45:01 3 0.07 0.00 0.02 0.02 0.00 99.90 03:50:03 03:45:01 4 0.03 0.00 0.03 0.02 0.00 99.92 03:50:03 03:45:01 5 0.08 0.00 0.02 0.00 0.00 99.90 03:50:03 03:45:01 6 0.03 0.00 0.03 0.00 0.00 99.93 03:50:03 03:45:01 7 0.28 0.00 0.08 0.00 0.02 99.62 03:50:03 03:46:01 all 0.06 0.00 0.02 0.01 0.00 99.91 03:50:03 03:46:01 0 0.00 0.00 0.00 0.02 0.00 99.98 03:50:03 03:46:01 1 0.00 0.00 0.00 0.00 0.00 100.00 03:50:03 03:46:01 2 0.03 0.00 0.02 0.03 0.00 99.92 03:50:03 03:46:01 3 0.02 0.00 0.02 0.00 0.02 99.95 03:50:03 03:46:01 4 0.00 0.00 0.02 0.00 0.00 99.98 03:50:03 03:46:01 5 0.00 0.00 0.02 0.00 0.00 99.98 03:50:03 03:46:01 6 0.43 0.00 0.05 0.00 0.02 99.50 03:50:03 03:46:01 7 0.02 0.00 0.02 0.00 0.00 99.97 03:50:03 03:47:01 all 0.28 0.00 0.01 0.01 0.01 99.69 03:50:03 03:47:01 0 0.02 0.00 0.00 0.02 0.00 99.97 03:50:03 03:47:01 1 0.03 0.00 0.00 0.00 0.00 99.97 03:50:03 03:47:01 2 0.08 0.00 0.03 0.03 0.02 99.83 03:50:03 03:47:01 3 0.03 0.00 0.02 0.00 0.00 99.95 03:50:03 03:47:01 4 0.03 0.00 0.02 0.02 0.02 99.92 03:50:03 03:47:01 5 0.02 0.00 0.00 0.00 0.00 99.98 03:50:03 03:47:01 6 2.00 0.00 0.00 0.00 0.02 97.98 03:50:03 03:47:01 7 0.00 0.00 0.02 0.00 0.00 99.98 03:50:03 03:48:01 all 0.28 0.00 0.02 0.01 0.00 99.70 03:50:03 03:48:01 0 0.00 0.00 0.02 0.02 0.00 99.97 03:50:03 03:48:01 1 0.02 0.00 0.02 0.00 0.00 99.97 03:50:03 03:48:01 2 0.12 0.00 0.02 0.03 0.00 99.83 03:50:03 03:48:01 3 0.02 0.00 0.00 0.00 0.00 99.98 03:50:03 03:48:01 4 0.02 0.00 0.03 0.00 0.00 99.95 03:50:03 03:48:01 5 0.00 0.00 0.02 0.00 0.00 99.98 03:50:03 03:48:01 6 2.00 0.00 0.02 0.00 0.00 97.98 03:50:03 03:48:01 7 0.02 0.00 0.03 0.00 0.00 99.95 03:50:03 03:49:01 all 0.15 0.00 0.02 0.01 0.01 99.81 03:50:03 03:49:01 0 0.00 0.00 0.02 0.03 0.00 99.95 03:50:03 03:49:01 1 0.02 0.00 0.02 0.00 0.00 99.97 03:50:03 03:49:01 2 0.27 0.00 0.03 0.03 0.02 99.65 03:50:03 03:49:01 3 0.00 0.00 0.00 0.00 0.00 100.00 03:50:03 03:49:01 4 0.02 0.00 0.03 0.00 0.00 99.95 03:50:03 03:49:01 5 0.02 0.00 0.00 0.00 0.00 99.98 03:50:03 03:49:01 6 0.90 0.00 0.07 0.00 0.02 99.02 03:50:03 03:49:01 7 0.02 0.00 0.00 0.00 0.02 99.97 03:50:03 03:50:01 all 0.53 0.00 0.24 0.01 0.01 99.21 03:50:03 03:50:01 0 0.22 0.00 0.15 0.03 0.02 99.58 03:50:03 03:50:01 1 0.23 0.00 0.17 0.02 0.00 99.58 03:50:03 03:50:01 2 0.97 0.00 0.25 0.03 0.02 98.73 03:50:03 03:50:01 3 0.50 0.00 0.20 0.00 0.00 99.30 03:50:03 03:50:01 4 0.35 0.00 0.32 0.02 0.00 99.32 03:50:03 03:50:01 5 0.85 0.00 0.28 0.00 0.02 98.85 03:50:03 03:50:01 6 0.45 0.00 0.27 0.00 0.00 99.28 03:50:03 03:50:01 7 0.70 0.00 0.27 0.02 0.00 99.02 03:50:03 03:50:03 Average: CPU %user %nice %system %iowait %steal %idle 03:50:03 Average: all 4.48 0.00 1.11 0.17 0.03 94.20 03:50:03 Average: 0 4.29 0.00 1.09 0.09 0.03 94.49 03:50:03 Average: 1 4.20 0.00 1.09 0.44 0.03 94.24 03:50:03 Average: 2 4.64 0.00 1.03 0.28 0.04 94.02 03:50:03 Average: 3 4.43 0.00 1.12 0.20 0.03 94.22 03:50:03 Average: 4 4.42 0.00 1.19 0.10 0.03 94.26 03:50:03 Average: 5 4.49 0.00 1.19 0.06 0.03 94.22 03:50:03 Average: 6 4.92 0.00 1.09 0.19 0.03 93.77 03:50:03 Average: 7 4.47 0.00 1.06 0.04 0.04 94.40 03:50:03 03:50:03 03:50:03