Pull request #270 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168+965f04e6862849b37eeb3a58b1f16c31f2ab2615 (ae44ceafc92f26bc3a060229b0139f7f2a13b277) 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-ssh2075510195258674022.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6656035202821333097.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh 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-270/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-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4342071448457366658.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-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4857640550810555696.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh3458012669501815965.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-270/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-270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15919665221477978984.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4819’ Running on prd-ubuntu20.04-docker-8c-8g-4821 in /w/workspace/gexfoundry_device-snmp-go_PR-270 [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-270 # 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/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 965f04e6862849b37eeb3a58b1f16c31f2ab2615 into PR head commit 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 Merge succeeded, producing 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 Checking out Revision 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 (PR-270) > git config core.sparsecheckout # timeout=10 > git checkout -f 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 # 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 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 # timeout=10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:48:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:48:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:48:50 ========================================================= 10:48:50 EdgeX Global Pipelines Version Info 10:48:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:48:51 ------------------- 10:48:51 stable info: 10:48:51 ------------------- 10:48:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:48:51 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 10:48:51 Message: update stable to v1.0.245 10:48:51 ------------------- 10:48:51 experimental info: 10:48:51 ------------------- 10:48:51 Commited By: **** collab-it+edgex@linuxfoundation.org 10:48:51 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 10:48:51 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:48:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-270 [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-270 [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-270 [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bd5f8a [Pipeline] echo 10:48:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:48:53 provisioning config files... 10:48:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/config4688185496947070761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:48:54 ---> docker-login.sh 10:48:54 nexus3.edgexfoundry.org:10001 10:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:48:54 Configure a credential helper to remove this warning. See 10:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:48:54 10:48:54 Login Succeeded 10:48:54 nexus3.edgexfoundry.org:10002 10:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:48:54 Configure a credential helper to remove this warning. See 10:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:48:54 10:48:54 Login Succeeded 10:48:54 nexus3.edgexfoundry.org:10003 10:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:48:54 Configure a credential helper to remove this warning. See 10:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:48:54 10:48:54 Login Succeeded 10:48:54 nexus3.edgexfoundry.org:10004 10:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:48:54 Configure a credential helper to remove this warning. See 10:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:48:54 10:48:54 Login Succeeded 10:48:54 docker.io 10:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:48:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:48:55 Configure a credential helper to remove this warning. See 10:48:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:48:55 10:48:55 Login Succeeded 10:48:55 ---> docker-login.sh ends [Pipeline] } 10:48:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:48:55 + git rev-list -1 --merges 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168~1..5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [Pipeline] echo 10:48:55 -----------> git rev-list -1 --merges 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168~1..5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [false] [Pipeline] sh 10:48:56 + git log --format=format:%s -1 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [Pipeline] echo 10:48:56 ========================================================= 10:48:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:48:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:48:56 + git log --format=format:%s -1 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [Pipeline] echo 10:48:56 [semverPrep] GIT_COMMIT: 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory [Pipeline] echo 10:48:56 [semverPrep] This is not a build commit. [Pipeline] sh 10:48:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:48:56 + grep -v github /etc/ssh/ssh_known_hosts 10:48:56 + [ -e /tmp/ssh_known_hosts ] 10:48:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:48:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:48:56 + sudo tee -a /etc/ssh/ssh_known_hosts 10:48:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:48:57 10:48:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:48:57 0.1.4: Pulling from edgex-devops/py-git-semver 10:48:57 b85a868b505f: Pulling fs layer 10:48:57 e2be974225ed: Pulling fs layer 10:48:57 339a4e72a1f5: Pulling fs layer 10:48:57 988bab9f4d93: Pulling fs layer 10:48:57 1469e6f7b9e6: Pulling fs layer 10:48:57 eaf3925da568: Pulling fs layer 10:48:57 bab4dde63d76: Pulling fs layer 10:48:57 bde34c3a00c8: Pulling fs layer 10:48:57 b352a97aabf1: Pulling fs layer 10:48:57 4872d77fe225: Pulling fs layer 10:48:57 eaf3925da568: Waiting 10:48:57 bde34c3a00c8: Waiting 10:48:57 bab4dde63d76: Waiting 10:48:57 988bab9f4d93: Waiting 10:48:57 1469e6f7b9e6: Waiting 10:48:57 b352a97aabf1: Waiting 10:48:57 5851b861e8e6: Pulling fs layer 10:48:57 4872d77fe225: Waiting 10:48:57 5851b861e8e6: Waiting 10:48:57 e2be974225ed: Download complete 10:48:57 988bab9f4d93: Verifying Checksum 10:48:57 988bab9f4d93: Download complete 10:48:58 1469e6f7b9e6: Verifying Checksum 10:48:58 1469e6f7b9e6: Download complete 10:48:58 eaf3925da568: Verifying Checksum 10:48:58 eaf3925da568: Download complete 10:48:58 339a4e72a1f5: Verifying Checksum 10:48:58 339a4e72a1f5: Download complete 10:48:58 bde34c3a00c8: Verifying Checksum 10:48:58 bde34c3a00c8: Download complete 10:48:58 b352a97aabf1: Download complete 10:48:58 4872d77fe225: Verifying Checksum 10:48:58 4872d77fe225: Download complete 10:48:58 5851b861e8e6: Verifying Checksum 10:48:58 5851b861e8e6: Download complete 10:48:58 b85a868b505f: Verifying Checksum 10:48:58 b85a868b505f: Download complete 10:48:58 bab4dde63d76: Verifying Checksum 10:48:58 bab4dde63d76: Download complete 10:48:59 b85a868b505f: Pull complete 10:48:59 e2be974225ed: Pull complete 10:49:00 339a4e72a1f5: Pull complete 10:49:00 988bab9f4d93: Pull complete 10:49:00 1469e6f7b9e6: Pull complete 10:49:00 eaf3925da568: Pull complete 10:49:02 bab4dde63d76: Pull complete 10:49:02 bde34c3a00c8: Pull complete 10:49:02 b352a97aabf1: Pull complete 10:49:02 4872d77fe225: Pull complete 10:49:02 5851b861e8e6: Pull complete 10:49:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:49:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:49:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:49:03 prd-ubuntu20.04-docker-8c-8g-4821 does not seem to be running inside a container 10:49:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-270 -v /w/workspace/gexfoundry_device-snmp-go_PR-270:/w/workspace/gexfoundry_device-snmp-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-270@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-devops/py-git-semver:0.1.4 cat 10:49:06 $ docker top c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 -eo pid,comm 10:49:06 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). 10:49:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:49:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:49:06 [ssh-agent] Looking for ssh-agent implementation... 10:49:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:49:06 $ docker exec c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 ssh-agent 10:49:06 SSH_AUTH_SOCK=/tmp/ssh-zsX836V9WDUr/agent.32 10:49:06 SSH_AGENT_PID=38 10:49:06 Running ssh-add (command line suppressed) 10:49:06 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/private_key_11058217169058850745.key (/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/private_key_11058217169058850745.key) 10:49:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:49:06 + git tag --points-at HEAD [Pipeline] } 10:49:06 $ docker exec --env ******** --env ******** c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 ssh-agent -k 10:49:07 unset SSH_AUTH_SOCK; 10:49:07 unset SSH_AGENT_PID; 10:49:07 echo Agent pid 38 killed; 10:49:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:49:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:49:07 [ssh-agent] Looking for ssh-agent implementation... 10:49:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:49:07 $ docker exec c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 ssh-agent 10:49:07 SSH_AUTH_SOCK=/tmp/ssh-Zbrygj2G3rPa/agent.70 10:49:07 SSH_AGENT_PID=76 10:49:07 Running ssh-add (command line suppressed) 10:49:07 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/private_key_18424812293207709191.key (/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/private_key_18424812293207709191.key) 10:49:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:49:07 + git semver init 10:49:08 2023-03-21 10:49:07,978 [run_init] DEBUG init version:0.0.0 force:False 10:49:08 2023-03-21 10:49:07,979 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-270/.semver 10:49:08 2023-03-21 10:49:07,980 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-270/.semver 10:49:08 2023-03-21 10:49:07,980 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-270/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-270, universal_newlines=False, shell=None, istream=None) 10:49:09 2023-03-21 10:49:08,814 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-270/.git/info/exclude 10:49:09 2023-03-21 10:49:08,814 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-270/.semver/PR-270 with force:False 10:49:09 2023-03-21 10:49:08,814 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-270/.semver/PR-270 10:49:09 2023-03-21 10:49:08,817 [execute] INFO git cat-file --batch-check 10:49:09 2023-03-21 10:49:08,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-270/.semver, universal_newlines=False, shell=None, istream=) 10:49:09 2023-03-21 10:49:08,824 [execute] INFO git cat-file --batch 10:49:09 2023-03-21 10:49:08,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-270/.semver, universal_newlines=False, shell=None, istream=) 10:49:09 2023-03-21 10:49:08,829 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-270/.semver/PR-270 10:49:09 0.0.0 [Pipeline] } 10:49:09 $ docker exec --env ******** --env ******** c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 ssh-agent -k 10:49:09 unset SSH_AUTH_SOCK; 10:49:09 unset SSH_AGENT_PID; 10:49:09 echo Agent pid 76 killed; 10:49:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:49:09 + git semver [Pipeline] } 10:49:09 $ docker stop --time=1 c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 10:49:11 $ docker rm -f --volumes c61861d856a04cd34a177164a5566205b0e7b7718ec81c3a84c5ef1386de95d9 [Pipeline] // withDockerContainer [Pipeline] sh 10:49:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:49:11 Stashed 1 file(s) [Pipeline] echo 10:49:11 [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 10:49:12 provisioning config files... 10:49:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/config4800254082353093096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:49:12 ---> docker-login.sh 10:49:12 nexus3.edgexfoundry.org:10001 10:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:49:12 Configure a credential helper to remove this warning. See 10:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:49:12 10:49:12 Login Succeeded 10:49:12 nexus3.edgexfoundry.org:10002 10:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:49:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:49:13 Configure a credential helper to remove this warning. See 10:49:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:49:13 10:49:13 Login Succeeded 10:49:13 nexus3.edgexfoundry.org:10003 10:49:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:49:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:49:13 Configure a credential helper to remove this warning. See 10:49:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:49:13 10:49:13 Login Succeeded 10:49:13 nexus3.edgexfoundry.org:10004 10:49:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:49:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:49:13 Configure a credential helper to remove this warning. See 10:49:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:49:13 10:49:13 Login Succeeded 10:49:13 docker.io 10:49:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:49:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:49:13 Configure a credential helper to remove this warning. See 10:49:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:49:13 10:49:13 Login Succeeded 10:49:13 ---> docker-login.sh ends [Pipeline] } 10:49:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:49:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:49:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:49:13 ========================================================= 10:49:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:49:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:49:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:49:14 Sending build context to Docker daemon 5.745MB 10:49:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:49:14 Step 2/12 : FROM ${BASE} AS builder 10:49:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:49:14 63b65145d645: Pulling fs layer 10:49:14 a2d21d5440eb: Pulling fs layer 10:49:14 935e6c44a52c: Pulling fs layer 10:49:14 94cc34f8dd06: Pulling fs layer 10:49:14 30dea6a524f1: Pulling fs layer 10:49:14 a2aff8979fd8: Pulling fs layer 10:49:14 6808be2612f2: Pulling fs layer 10:49:14 f25807f1079a: Pulling fs layer 10:49:14 94cc34f8dd06: Waiting 10:49:14 30dea6a524f1: Waiting 10:49:14 a2aff8979fd8: Waiting 10:49:14 6808be2612f2: Waiting 10:49:14 f25807f1079a: Waiting 10:49:14 a2d21d5440eb: Download complete 10:49:14 94cc34f8dd06: Verifying Checksum 10:49:14 63b65145d645: Download complete 10:49:14 a2aff8979fd8: Verifying Checksum 10:49:14 a2aff8979fd8: Download complete 10:49:14 63b65145d645: Pull complete 10:49:14 a2d21d5440eb: Pull complete 10:49:15 f25807f1079a: Download complete 10:49:15 935e6c44a52c: Verifying Checksum 10:49:15 935e6c44a52c: Download complete 10:49:15 6808be2612f2: Verifying Checksum 10:49:15 6808be2612f2: Download complete 10:49:18 935e6c44a52c: Pull complete 10:49:18 94cc34f8dd06: Pull complete 10:49:18 30dea6a524f1: Pull complete 10:49:18 a2aff8979fd8: Pull complete 10:49:21 6808be2612f2: Pull complete 10:49:22 f25807f1079a: Pull complete 10:49:22 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 10:49:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:49:22 ---> 3b553350e43f 10:49:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:49:26 ---> Running in f02dec23d4cb 10:49:26 Removing intermediate container f02dec23d4cb 10:49:26 ---> 30fee54b9b0d 10:49:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:49:26 ---> Running in 1af63774fdee 10:49:26 Removing intermediate container 1af63774fdee 10:49:26 ---> dac6ed3c324f 10:49:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:49:26 ---> Running in e971596608ba 10:49:26 Removing intermediate container e971596608ba 10:49:26 ---> 1b020b037903 10:49:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:49:26 ---> Running in 6e489ae89845 10:49:26 Removing intermediate container 6e489ae89845 10:49:26 ---> 0d6fbc96e95a 10:49:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:49:26 ---> Running in 3d2365ff85c9 10:49:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:49:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:49:27 Still waiting to schedule task 10:49:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4820’ 10:49:27 (1/4) Installing openssh-keygen (9.1_p1-r2) 10:49:27 (2/4) Installing libedit (20221030.3.1-r0) 10:49:27 (3/4) Installing openssh-client-common (9.1_p1-r2) 10:49:27 (4/4) Installing openssh-client-default (9.1_p1-r2) 10:49:27 Executing busybox-1.35.0-r29.trigger 10:49:27 OK: 269 MiB in 57 packages 10:49:27 Removing intermediate container 3d2365ff85c9 10:49:27 ---> df18add20678 10:49:27 Step 8/12 : WORKDIR /device-snmp-go 10:49:27 ---> Running in 505f1972fff0 10:49:27 Removing intermediate container 505f1972fff0 10:49:27 ---> 65f2adbc3cf9 10:49:27 Step 9/12 : COPY go.mod vendor* ./ 10:49:27 ---> 290b3696396c 10:49:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:49:27 ---> Running in 7f59a807a989 10:50:14 Removing intermediate container 7f59a807a989 10:50:14 ---> da16d3965f0a 10:50:14 Step 11/12 : COPY . . 10:50:14 ---> bd727443ef95 10:50:14 Step 12/12 : RUN ${MAKE} 10:50:14 ---> Running in 4e3f8a99ccb5 10:50:14 noop 10:50:14 Removing intermediate container 4e3f8a99ccb5 10:50:14 ---> 34ee6e3402b1 10:50:14 Successfully built 34ee6e3402b1 10:50:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:15 + docker inspect -f . ci-base-image-x86_64 10:50:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:50:15 prd-ubuntu20.04-docker-8c-8g-4821 does not seem to be running inside a container 10:50:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-270 -v /w/workspace/gexfoundry_device-snmp-go_PR-270:/w/workspace/gexfoundry_device-snmp-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:50:15 $ docker top b66c3dac340da4a043420a532ad54984f5941fb19a623311174b7dbc2b33c738 -eo pid,comm [Pipeline] { [Pipeline] sh 10:50:16 + go version 10:50:16 go version go1.20.2 linux/amd64 [Pipeline] } 10:50:16 $ docker stop --time=1 b66c3dac340da4a043420a532ad54984f5941fb19a623311174b7dbc2b33c738 10:50:17 $ docker rm -f --volumes b66c3dac340da4a043420a532ad54984f5941fb19a623311174b7dbc2b33c738 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:18 + docker inspect -f . ci-base-image-x86_64 10:50:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:50:18 prd-ubuntu20.04-docker-8c-8g-4821 does not seem to be running inside a container 10:50:18 $ 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-270 -v /w/workspace/gexfoundry_device-snmp-go_PR-270:/w/workspace/gexfoundry_device-snmp-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:50:18 $ docker top e327343f4e10b509417092cc31028ef59f5acc8e853a917ad3dbbf53ec8bd102 -eo pid,comm [Pipeline] { [Pipeline] sh 10:50:19 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-270 [Pipeline] fileExists [Pipeline] sh 10:50:19 + make test 10:50:19 go test ./... -coverprofile=coverage.out 10:50:24 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:50:34 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:50:34 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 10:50:41 go vet ./... 10:50:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:50:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:50:45 ./bin/test-attribution-txt.sh [Pipeline] echo 10:50:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:50:45 $ docker stop --time=1 e327343f4e10b509417092cc31028ef59f5acc8e853a917ad3dbbf53ec8bd102 10:50:48 $ docker rm -f --volumes e327343f4e10b509417092cc31028ef59f5acc8e853a917ad3dbbf53ec8bd102 [Pipeline] // withDockerContainer [Pipeline] sh 10:50:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:50:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:50:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:50:50 + ls -al . 10:50:50 total 172 10:50:50 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 10:50 . 10:50:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:48 .. 10:50:50 -rw-rw-r-- 1 jenkins jenkins 6 Mar 21 10:48 .dockerignore 10:50:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 10:49 .git 10:50:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:48 .github 10:50:50 -rw-rw-r-- 1 jenkins jenkins 328 Mar 21 10:48 .gitignore 10:50:50 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 10:48 .golangci.yml 10:50:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 10:49 .semver 10:50:50 -rw-rw-r-- 1 jenkins jenkins 9045 Mar 21 10:48 Attribution.txt 10:50:50 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 21 10:48 CHANGELOG.md 10:50:50 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 21 10:48 Dockerfile 10:50:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 10:48 GOVERNANCE.md 10:50:50 -rw-rw-r-- 1 jenkins jenkins 656 Mar 21 10:48 Jenkinsfile 10:50:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 10:48 LICENSE 10:50:50 -rw-rw-r-- 1 jenkins jenkins 2114 Mar 21 10:48 Makefile 10:50:50 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 10:48 OWNERS.md 10:50:50 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 21 10:48 README.md 10:50:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 10:49 VERSION 10:50:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 10:48 bin 10:50:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:48 cmd 10:50:50 -rw-r--r-- 1 jenkins jenkins 7631 Mar 21 10:50 coverage.out 10:50:50 -rw-rw-r-- 1 jenkins jenkins 3326 Mar 21 10:48 go.mod 10:50:50 -rw-rw-r-- 1 jenkins jenkins 32920 Mar 21 10:48 go.sum 10:50:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:48 internal 10:50:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:48 snap 10:50:50 -rw-rw-r-- 1 jenkins jenkins 228 Mar 21 10:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:50 + 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=5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 --label arch=amd64 --label version=0.0.0 . 10:50:50 Sending build context to Docker daemon 5.753MB 10:50:50 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:50:50 Step 2/24 : FROM ${BASE} AS builder 10:50:50 ---> 34ee6e3402b1 10:50:50 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:50:50 ---> Running in 877485ca89d6 10:50:51 Removing intermediate container 877485ca89d6 10:50:51 ---> 7bec228c2fd6 10:50:51 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:50:51 ---> Running in f41516b67d79 10:50:51 Removing intermediate container f41516b67d79 10:50:51 ---> 5ee34099e355 10:50:51 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:50:51 ---> Running in be3f255b7a6c 10:50:51 Removing intermediate container be3f255b7a6c 10:50:51 ---> 96932d1162da 10:50:51 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:50:51 ---> Running in 0e350b6491be 10:50:51 Removing intermediate container 0e350b6491be 10:50:51 ---> 467ab56e7743 10:50:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:50:51 ---> Running in f30969a52f96 10:50:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:50:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:50:51 OK: 269 MiB in 57 packages 10:50:52 Removing intermediate container f30969a52f96 10:50:52 ---> b2c1ecc77bcb 10:50:52 Step 8/24 : WORKDIR /device-snmp-go 10:50:52 ---> Running in 90e81c062675 10:50:52 Removing intermediate container 90e81c062675 10:50:52 ---> 39b5ad86ac08 10:50:52 Step 9/24 : COPY go.mod vendor* ./ 10:50:52 ---> 49ea5c1787f5 10:50:52 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:50:52 ---> Running in d5495187c346 10:50:53 Removing intermediate container d5495187c346 10:50:53 ---> e5ce64dbe0c4 10:50:53 Step 11/24 : COPY . . 10:50:53 ---> 4869c5feac07 10:50:53 Step 12/24 : RUN ${MAKE} 10:50:53 ---> Running in 97bdd7d7996d 10:50:54 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 10:51:16 Removing intermediate container 97bdd7d7996d 10:51:16 ---> 3ac19de063b2 10:51:16 Step 13/24 : FROM alpine:3.17 10:51:16 3.17: Pulling from library/alpine 10:51:16 63b65145d645: Already exists 10:51:16 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 10:51:16 Status: Downloaded newer image for alpine:3.17 10:51:16 ---> b2aa39c304c2 10:51:16 Step 14/24 : RUN apk add --update --no-cache dumb-init 10:51:16 ---> Running in 0047e177c709 10:51:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:51:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:51:16 (1/1) Installing dumb-init (1.2.5-r2) 10:51:16 Executing busybox-1.35.0-r29.trigger 10:51:16 OK: 7 MiB in 16 packages 10:51:16 Removing intermediate container 0047e177c709 10:51:16 ---> 14b7e7f147ba 10:51:16 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 10:51:16 ---> a6016a6e35fa 10:51:16 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:51:16 ---> efdd8f7ba30c 10:51:16 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:51:16 ---> 7b870f4333cc 10:51:16 Step 18/24 : EXPOSE 59993 10:51:16 ---> Running in 303ddf12bdca 10:51:16 Removing intermediate container 303ddf12bdca 10:51:16 ---> 31eeb184d0de 10:51:16 Step 19/24 : EXPOSE 161 10:51:16 ---> Running in b8aad3a80ed7 10:51:16 Removing intermediate container b8aad3a80ed7 10:51:16 ---> 5b81fb2e60f9 10:51:16 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:51:16 ---> Running in e1cf25fcf95c 10:51:16 Removing intermediate container e1cf25fcf95c 10:51:16 ---> 56dfb2f70907 10:51:16 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:51:16 ---> Running in 2396508f5788 10:51:16 Removing intermediate container 2396508f5788 10:51:16 ---> 10b5156dd710 10:51:16 Step 22/24 : LABEL arch=amd64 10:51:16 ---> Running in 51b07a1c9823 10:51:16 Removing intermediate container 51b07a1c9823 10:51:16 ---> 7ba48acf1e48 10:51:16 Step 23/24 : LABEL git_sha=5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 10:51:16 ---> Running in 9e0259f14eda 10:51:16 Removing intermediate container 9e0259f14eda 10:51:16 ---> b24c92e17f30 10:51:16 Step 24/24 : LABEL version=0.0.0 10:51:16 ---> Running in c71bf1d04fbc 10:51:16 Removing intermediate container c71bf1d04fbc 10:51:16 ---> 1a2adae25f68 10:51:16 [Warning] One or more build-args [ARCH] were not consumed 10:51:16 Successfully built 1a2adae25f68 10:51:16 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 10:51:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:51:17 10:51:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:51:17 latest: Pulling from edgex-lftools-log-publisher 10:51:17 5eb5b503b376: Pulling fs layer 10:51:17 5c69ac0246d0: Pulling fs layer 10:51:17 ec43610c2a17: Pulling fs layer 10:51:17 3a2ae6a8a46f: Pulling fs layer 10:51:17 33b1e0a273af: Pulling fs layer 10:51:17 5d3b04190fa2: Pulling fs layer 10:51:17 2f39f015ded8: Pulling fs layer 10:51:17 5d3b04190fa2: Waiting 10:51:17 2f39f015ded8: Waiting 10:51:17 3a2ae6a8a46f: Waiting 10:51:17 33b1e0a273af: Waiting 10:51:17 5c69ac0246d0: Verifying Checksum 10:51:17 5c69ac0246d0: Download complete 10:51:17 3a2ae6a8a46f: Verifying Checksum 10:51:17 3a2ae6a8a46f: Download complete 10:51:18 33b1e0a273af: Verifying Checksum 10:51:18 33b1e0a273af: Download complete 10:51:18 5d3b04190fa2: Verifying Checksum 10:51:18 5d3b04190fa2: Download complete 10:51:18 ec43610c2a17: Verifying Checksum 10:51:18 ec43610c2a17: Download complete 10:51:18 5eb5b503b376: Verifying Checksum 10:51:18 5eb5b503b376: Download complete 10:51:18 2f39f015ded8: Verifying Checksum 10:51:18 2f39f015ded8: Download complete 10:51:19 5eb5b503b376: Pull complete 10:51:19 5c69ac0246d0: Pull complete 10:51:19 ec43610c2a17: Pull complete 10:51:20 3a2ae6a8a46f: Pull complete 10:51:20 33b1e0a273af: Pull complete 10:51:20 5d3b04190fa2: Pull complete 10:51:24 2f39f015ded8: Pull complete 10:51:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:51:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:51:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:51:24 prd-ubuntu20.04-docker-8c-8g-4821 does not seem to be running inside a container 10:51:24 $ 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-270 -v /w/workspace/gexfoundry_device-snmp-go_PR-270:/w/workspace/gexfoundry_device-snmp-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:51:28 $ docker top 1771af900d3f945e06f00e510770030596741662c5c3570762019e2ff3475d43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:51:28 ---> job-cost.sh 10:51:28 lf-activate-venv: SKIPPING 10:51:28 INFO: No Stack... 10:51:29 INFO: Retrieving Pricing Info for: v3-standard-8 10:51:29 INFO: Archiving Costs [Pipeline] sh 10:51:29 + cat /w/workspace/gexfoundry_device-snmp-go_PR-270/archives/cost.csv 10:51:29 + cut -d, -f6 [Pipeline] lock 10:51:29 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] 10:51:29 Resource [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] did not exist. Created. 10:51:29 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:51:30 + echo total: 0.2199999988079071 [Pipeline] stash 10:51:30 Stashed 1 file(s) [Pipeline] } 10:51:30 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:51:30 $ docker stop --time=1 1771af900d3f945e06f00e510770030596741662c5c3570762019e2ff3475d43 10:51:31 $ docker rm -f --volumes 1771af900d3f945e06f00e510770030596741662c5c3570762019e2ff3475d43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:52:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4822 in /w/workspace/gexfoundry_device-snmp-go_PR-270 [Pipeline] { [Pipeline] ws 10:52:53 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 10:52:53 Selected Git installation does not exist. Using Default 10:52:53 The recommended git tool is: NONE 10:52:59 using credential edgex-jenkins-ssh 10:52:59 Cloning the remote Git repository 10:52:59 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 10:52:59 > git init /w/workspace/device-snmp-go/1 # timeout=10 10:52:59 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:52:59 > git --version # timeout=10 10:52:59 > git --version # 'git version 2.25.1' 10:52:59 using GIT_SSH to set credentials SSH Credentials for GitHub 10:52:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:53:01 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:53:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:53:02 Merging remotes/origin/main commit 965f04e6862849b37eeb3a58b1f16c31f2ab2615 into PR head commit 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 10:53:03 Merge succeeded, producing 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 10:53:03 Checking out Revision 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 (PR-270) 10:53:02 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:53:02 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:53:02 using GIT_SSH to set credentials SSH Credentials for GitHub 10:53:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:53:02 > git config core.sparsecheckout # timeout=10 10:53:02 > git checkout -f 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 # timeout=10 10:53:02 > git remote # timeout=10 10:53:02 > git config --get remote.origin.url # timeout=10 10:53:02 using GIT_SSH to set credentials SSH Credentials for GitHub 10:53:02 > git merge 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 10:53:02 > git rev-parse HEAD^{commit} # timeout=10 10:53:03 > git config core.sparsecheckout # timeout=10 10:53:03 > git checkout -f 5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 # timeout=10 10:53:06 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" 10:53:06 > git --version # timeout=10 10:53:06 > git --version # 'git version 2.25.1' 10:53:06 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:53:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:53:07 % Total % Received % Xferd Average Speed Time Time Time Current 10:53:07 Dload Upload Total Spent Left Speed 10:53:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 10:53:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:53:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:53:08 + sudo tee /etc/docker/daemon.new 10:53:08 { 10:53:08 "registry-mirrors": [ 10:53:08 "https://nexus3.edgexfoundry.org:10001" 10:53:08 ], 10:53:08 "bip": "10.250.0.254/24", 10:53:08 "hosts": [ 10:53:08 "tcp://0.0.0.0:5555", 10:53:08 "unix:///var/run/docker.sock" 10:53:08 ], 10:53:08 "mtu": 1458, 10:53:08 "selinux-enabled": true, 10:53:08 "seccomp-profile": "/etc/docker/seccomp.json" 10:53:08 } [Pipeline] sh 10:53:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:53:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:53:27 provisioning config files... 10:53:27 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config13224241094590179552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:53:28 ---> docker-login.sh 10:53:28 nexus3.edgexfoundry.org:10001 10:53:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:28 Configure a credential helper to remove this warning. See 10:53:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:28 10:53:28 Login Succeeded 10:53:28 nexus3.edgexfoundry.org:10002 10:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:29 Configure a credential helper to remove this warning. See 10:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:29 10:53:29 Login Succeeded 10:53:29 nexus3.edgexfoundry.org:10003 10:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:29 Configure a credential helper to remove this warning. See 10:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:29 10:53:29 Login Succeeded 10:53:29 nexus3.edgexfoundry.org:10004 10:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:29 Configure a credential helper to remove this warning. See 10:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:29 10:53:29 Login Succeeded 10:53:29 docker.io 10:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:30 Configure a credential helper to remove this warning. See 10:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:30 10:53:30 Login Succeeded 10:53:30 ---> docker-login.sh ends [Pipeline] } 10:53:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:53:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:53:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:53:30 ========================================================= 10:53:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:53:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:53:31 Sending build context to Docker daemon 2.981MB 10:53:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:53:31 Step 2/12 : FROM ${BASE} AS builder 10:53:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:53:31 af6eaf76a39c: Pulling fs layer 10:53:31 55522c791124: Pulling fs layer 10:53:31 ce5c4a1c91eb: Pulling fs layer 10:53:31 169dfbe0d373: Pulling fs layer 10:53:31 e1ff8fa3b103: Pulling fs layer 10:53:31 52ebb69f0ebf: Pulling fs layer 10:53:31 5abe8eddf0d5: Pulling fs layer 10:53:31 e1ff8fa3b103: Waiting 10:53:31 52ebb69f0ebf: Waiting 10:53:31 5abe8eddf0d5: Waiting 10:53:31 169dfbe0d373: Waiting 10:53:31 55522c791124: Verifying Checksum 10:53:31 55522c791124: Download complete 10:53:31 169dfbe0d373: Verifying Checksum 10:53:31 169dfbe0d373: Download complete 10:53:31 e1ff8fa3b103: Verifying Checksum 10:53:31 e1ff8fa3b103: Download complete 10:53:31 af6eaf76a39c: Verifying Checksum 10:53:31 af6eaf76a39c: Download complete 10:53:32 af6eaf76a39c: Pull complete 10:53:33 5abe8eddf0d5: Verifying Checksum 10:53:33 5abe8eddf0d5: Download complete 10:53:33 55522c791124: Pull complete 10:53:34 ce5c4a1c91eb: Verifying Checksum 10:53:34 ce5c4a1c91eb: Download complete 10:53:34 52ebb69f0ebf: Verifying Checksum 10:53:34 52ebb69f0ebf: Download complete 10:53:44 ce5c4a1c91eb: Pull complete 10:53:45 169dfbe0d373: Pull complete 10:53:45 e1ff8fa3b103: Pull complete 10:53:52 52ebb69f0ebf: Pull complete 10:53:54 5abe8eddf0d5: Pull complete 10:53:54 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 10:53:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:53:54 ---> 6cb57ee374ae 10:53:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:53:56 ---> Running in d39b9d665622 10:53:56 Removing intermediate container d39b9d665622 10:53:56 ---> c46db506c3e9 10:53:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:53:56 ---> Running in 0f2408d0d17f 10:53:56 Removing intermediate container 0f2408d0d17f 10:53:56 ---> bcac8050eb73 10:53:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:53:56 ---> Running in a779e53f829a 10:53:57 Removing intermediate container a779e53f829a 10:53:57 ---> 5a6a868fb87f 10:53:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:53:57 ---> Running in 77dc5b228dea 10:53:57 Removing intermediate container 77dc5b228dea 10:53:57 ---> f2a983079a8b 10:53:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:53:57 ---> Running in a3267cebf735 10:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:53:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:54:00 (1/4) Installing openssh-keygen (9.1_p1-r2) 10:54:00 (2/4) Installing libedit (20221030.3.1-r0) 10:54:00 (3/4) Installing openssh-client-common (9.1_p1-r2) 10:54:00 (4/4) Installing openssh-client-default (9.1_p1-r2) 10:54:00 Executing busybox-1.35.0-r29.trigger 10:54:00 OK: 268 MiB in 57 packages 10:54:01 Removing intermediate container a3267cebf735 10:54:01 ---> e6dff43ef4c1 10:54:01 Step 8/12 : WORKDIR /device-snmp-go 10:54:01 ---> Running in 3c9cd19603d7 10:54:02 Removing intermediate container 3c9cd19603d7 10:54:02 ---> c4cebb1cf73c 10:54:02 Step 9/12 : COPY go.mod vendor* ./ 10:54:02 ---> 68764a5c7932 10:54:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:54:02 ---> Running in 4daf839dc6f7 10:55:24 Removing intermediate container 4daf839dc6f7 10:55:24 ---> 1dc8973d3fda 10:55:24 Step 11/12 : COPY . . 10:55:24 ---> f6216b93416d 10:55:24 Step 12/12 : RUN ${MAKE} 10:55:24 ---> Running in 8059c258b724 10:55:24 noop 10:55:24 Removing intermediate container 8059c258b724 10:55:24 ---> 33b3154f9418 10:55:24 Successfully built 33b3154f9418 10:55:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:55:24 + docker inspect -f . ci-base-image-arm64 10:55:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:55:25 prd-ubuntu20.04-docker-arm64-4c-16g-4822 does not seem to be running inside a container 10:55:25 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 10:55:26 $ docker top e76e9b7cd84ee5227ef01c7b8018755d5f61c563374b53716d6f120dc8764129 -eo pid,comm [Pipeline] { [Pipeline] sh 10:55:27 + go version 10:55:27 go version go1.20.2 linux/arm64 [Pipeline] } 10:55:27 $ docker stop --time=1 e76e9b7cd84ee5227ef01c7b8018755d5f61c563374b53716d6f120dc8764129 10:55:28 $ docker rm -f --volumes e76e9b7cd84ee5227ef01c7b8018755d5f61c563374b53716d6f120dc8764129 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:55:29 + docker inspect -f . ci-base-image-arm64 10:55:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:55:29 prd-ubuntu20.04-docker-arm64-4c-16g-4822 does not seem to be running inside a container 10:55:29 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 10:55:30 $ docker top 3cc2a43638dd375a40d93c90051ee32df9517bd36bfffe13badb7e5f2fde491a -eo pid,comm [Pipeline] { [Pipeline] sh 10:55:31 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 10:55:31 + make test 10:55:31 go test ./... -coverprofile=coverage.out 10:56:04 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:57:55 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:57:55 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 10:57:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:57:55 go vet ./... 10:58:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:58:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:58:22 ./bin/test-attribution-txt.sh [Pipeline] echo 10:58:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:58:23 $ docker stop --time=1 3cc2a43638dd375a40d93c90051ee32df9517bd36bfffe13badb7e5f2fde491a 10:58:26 $ docker rm -f --volumes 3cc2a43638dd375a40d93c90051ee32df9517bd36bfffe13badb7e5f2fde491a [Pipeline] // withDockerContainer [Pipeline] sh 10:58:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:58:27 Warning: overwriting stash ‘coverage-report’ 10:58:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:58:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:58:28 + ls -al . 10:58:28 total 168 10:58:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 10:55 . 10:58:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:52 .. 10:58:28 -rw-rw-r-- 1 jenkins jenkins 6 Mar 21 10:53 .dockerignore 10:58:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 10:53 .git 10:58:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:53 .github 10:58:28 -rw-rw-r-- 1 jenkins jenkins 328 Mar 21 10:53 .gitignore 10:58:28 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 10:53 .golangci.yml 10:58:28 -rw-rw-r-- 1 jenkins jenkins 9045 Mar 21 10:53 Attribution.txt 10:58:28 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 21 10:53 CHANGELOG.md 10:58:28 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 21 10:53 Dockerfile 10:58:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 10:53 GOVERNANCE.md 10:58:28 -rw-rw-r-- 1 jenkins jenkins 656 Mar 21 10:53 Jenkinsfile 10:58:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 10:53 LICENSE 10:58:28 -rw-rw-r-- 1 jenkins jenkins 2114 Mar 21 10:53 Makefile 10:58:28 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 10:53 OWNERS.md 10:58:28 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 21 10:53 README.md 10:58:28 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 10:49 VERSION 10:58:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 10:53 bin 10:58:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:53 cmd 10:58:28 -rw-r--r-- 1 jenkins jenkins 7631 Mar 21 10:57 coverage.out 10:58:28 -rw-rw-r-- 1 jenkins jenkins 3326 Mar 21 10:53 go.mod 10:58:28 -rw-rw-r-- 1 jenkins jenkins 32920 Mar 21 10:53 go.sum 10:58:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:53 internal 10:58:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:53 snap 10:58:28 -rw-rw-r-- 1 jenkins jenkins 228 Mar 21 10:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:28 + 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=5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 --label arch=arm64 --label version=0.0.0 . 10:58:29 Sending build context to Docker daemon 2.989MB 10:58:29 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:58:29 Step 2/24 : FROM ${BASE} AS builder 10:58:29 ---> 33b3154f9418 10:58:29 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:58:29 ---> Running in acbdb7a9a8cf 10:58:29 Removing intermediate container acbdb7a9a8cf 10:58:29 ---> e0d3c099c59e 10:58:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:58:29 ---> Running in 0fbc293d2213 10:58:30 Removing intermediate container 0fbc293d2213 10:58:30 ---> 628c84f84d43 10:58:30 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:58:30 ---> Running in 5603fa8b9837 10:58:30 Removing intermediate container 5603fa8b9837 10:58:30 ---> 1fe3182e8909 10:58:30 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:58:30 ---> Running in 97cf9f204c95 10:58:30 Removing intermediate container 97cf9f204c95 10:58:30 ---> f1a4893b46db 10:58:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:58:30 ---> Running in 212a7f75078e 10:58:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:58:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:58:33 OK: 268 MiB in 57 packages 10:58:33 Removing intermediate container 212a7f75078e 10:58:33 ---> efdd1ccb98fd 10:58:33 Step 8/24 : WORKDIR /device-snmp-go 10:58:34 ---> Running in 0228b61c8568 10:58:34 Removing intermediate container 0228b61c8568 10:58:34 ---> eaa7c1c9f3f9 10:58:34 Step 9/24 : COPY go.mod vendor* ./ 10:58:34 ---> 1d25096cfa5c 10:58:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:58:34 ---> Running in 3b3819854807 10:58:40 Removing intermediate container 3b3819854807 10:58:40 ---> 53843bcfd384 10:58:40 Step 11/24 : COPY . . 10:58:40 ---> e9223ced17ed 10:58:40 Step 12/24 : RUN ${MAKE} 10:58:41 ---> Running in a93bcdde72e0 10:58:42 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 11:01:03 Removing intermediate container a93bcdde72e0 11:01:03 ---> 0419ea63b81e 11:01:03 Step 13/24 : FROM alpine:3.17 11:01:03 3.17: Pulling from library/alpine 11:01:03 af6eaf76a39c: Already exists 11:01:03 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 11:01:03 Status: Downloaded newer image for alpine:3.17 11:01:03 ---> d74e625d9115 11:01:03 Step 14/24 : RUN apk add --update --no-cache dumb-init 11:01:03 ---> Running in 5d6bb50e314d 11:01:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:01:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:01:03 (1/1) Installing dumb-init (1.2.5-r2) 11:01:03 Executing busybox-1.35.0-r29.trigger 11:01:03 OK: 8 MiB in 16 packages 11:01:03 Removing intermediate container 5d6bb50e314d 11:01:03 ---> c14a607d6915 11:01:03 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 11:01:03 ---> 5baa8c3b6b4c 11:01:03 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 11:01:03 ---> 6470d8d3c318 11:01:03 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 11:01:03 ---> 58370122be93 11:01:03 Step 18/24 : EXPOSE 59993 11:01:03 ---> Running in 5fa01af43654 11:01:03 Removing intermediate container 5fa01af43654 11:01:03 ---> af8f7305c4ad 11:01:03 Step 19/24 : EXPOSE 161 11:01:03 ---> Running in 4cfff5b4d5d1 11:01:03 Removing intermediate container 4cfff5b4d5d1 11:01:03 ---> 024b59af8d00 11:01:03 Step 20/24 : ENTRYPOINT ["/device-snmp"] 11:01:03 ---> Running in bb66f966b66b 11:01:03 Removing intermediate container bb66f966b66b 11:01:03 ---> 6cd15d5ef226 11:01:03 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:01:03 ---> Running in a46c998f81e9 11:01:03 Removing intermediate container a46c998f81e9 11:01:03 ---> 9b853d53659b 11:01:03 Step 22/24 : LABEL arch=arm64 11:01:03 ---> Running in 309200044e7d 11:01:03 Removing intermediate container 309200044e7d 11:01:03 ---> a86ff72e656d 11:01:03 Step 23/24 : LABEL git_sha=5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 11:01:03 ---> Running in ab4b841eb49a 11:01:03 Removing intermediate container ab4b841eb49a 11:01:03 ---> 354dad408bf3 11:01:03 Step 24/24 : LABEL version=0.0.0 11:01:03 ---> Running in ec1118c941e4 11:01:03 Removing intermediate container ec1118c941e4 11:01:03 ---> 64b61edc3287 11:01:03 [Warning] One or more build-args [ARCH] were not consumed 11:01:03 Successfully built 64b61edc3287 11:01:03 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 11:01:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:01:04 11:01:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:01:06 arm64: Pulling from edgex-lftools-log-publisher 11:01:06 8998bd30e6a1: Pulling fs layer 11:01:06 04944245beec: Pulling fs layer 11:01:06 699f458cf7ca: Pulling fs layer 11:01:06 765212b225bb: Pulling fs layer 11:01:06 f23df028b6ca: Pulling fs layer 11:01:06 d65c8cfc05b1: Pulling fs layer 11:01:06 2437ff75d9bd: Pulling fs layer 11:01:06 765212b225bb: Waiting 11:01:06 f23df028b6ca: Waiting 11:01:06 d65c8cfc05b1: Waiting 11:01:06 2437ff75d9bd: Waiting 11:01:06 04944245beec: Verifying Checksum 11:01:06 04944245beec: Download complete 11:01:06 765212b225bb: Verifying Checksum 11:01:06 765212b225bb: Download complete 11:01:06 f23df028b6ca: Verifying Checksum 11:01:06 f23df028b6ca: Download complete 11:01:06 d65c8cfc05b1: Verifying Checksum 11:01:06 d65c8cfc05b1: Download complete 11:01:06 699f458cf7ca: Verifying Checksum 11:01:06 699f458cf7ca: Download complete 11:01:06 8998bd30e6a1: Verifying Checksum 11:01:06 8998bd30e6a1: Download complete 11:01:08 2437ff75d9bd: Verifying Checksum 11:01:08 2437ff75d9bd: Download complete 11:01:10 8998bd30e6a1: Pull complete 11:01:11 04944245beec: Pull complete 11:01:12 699f458cf7ca: Pull complete 11:01:12 765212b225bb: Pull complete 11:01:13 f23df028b6ca: Pull complete 11:01:13 d65c8cfc05b1: Pull complete 11:01:28 2437ff75d9bd: Pull complete 11:01:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:01:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:01:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:01:29 prd-ubuntu20.04-docker-arm64-4c-16g-4822 does not seem to be running inside a container 11:01:29 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:01:31 $ docker top 7dbd34ea9efd32b4c4fb1956fd0b98d27a45505f36798e266450b8f51d2d0a9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:01:32 ---> job-cost.sh 11:01:32 lf-activate-venv: SKIPPING 11:01:32 INFO: No Stack... 11:01:32 INFO: Retrieving Pricing Info for: v3-standard-4 11:01:33 INFO: Archiving Costs [Pipeline] sh 11:01:34 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 11:01:34 + cut -d, -f6 [Pipeline] lock 11:01:34 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] 11:01:34 Resource [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] did not exist. Created. 11:01:34 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:01:34 /w/workspace/device-snmp-go/1@tmp/durable-5dcd5c7d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:01:35 + echo total: 0.10999999940395355 [Pipeline] stash 11:01:35 Warning: overwriting stash ‘stack-cost’ 11:01:35 Stashed 1 file(s) [Pipeline] } 11:01:35 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-270-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:01:35 $ docker stop --time=1 7dbd34ea9efd32b4c4fb1956fd0b98d27a45505f36798e266450b8f51d2d0a9c 11:01:36 $ docker rm -f --volumes 7dbd34ea9efd32b4c4fb1956fd0b98d27a45505f36798e266450b8f51d2d0a9c [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 11:01:37 provisioning config files... 11:01:37 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/config4212641838008827368tmp [Pipeline] { [Pipeline] sh 11:01:37 + set +x 11:01:37 + bash -s --+ 11:01:37 curl -s https://codecov.io/bash 11:01:37 11:01:37 _____ _ 11:01:37 / ____| | | 11:01:37 | | ___ __| | ___ ___ _____ __ 11:01:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:01:37 | |___| (_) | (_| | __/ (_| (_) \ V / 11:01:37 \_____\___/ \__,_|\___|\___\___/ \_/ 11:01:37 Bash-1.0.6 11:01:37 11:01:37 11:01:37 ==> git version 2.25.1 found 11:01:37 ==> 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 11:01:37 Release-Date: 2020-01-08 11:01:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:01:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:01:37 ==> Jenkins CI detected. 11:01:37 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-270 11:01:37 project root: . 11:01:37 --> token set from env 11:01:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:01:37 ==> Running gcov in . (disable via -X gcov) 11:01:37 ==> Python coveragepy not found 11:01:37 ==> Searching for coverage reports in: 11:01:37 + . 11:01:37 -> Found 1 reports 11:01:37 ==> Detecting git/mercurial file structure 11:01:38 ==> Reading reports 11:01:38 + ./coverage.out bytes=7631 11:01:38 ==> Appending adjustments 11:01:38 https://docs.codecov.io/docs/fixing-reports 11:01:38 + Found adjustments 11:01:38 ==> Gzipping contents 11:01:38 4.0K /tmp/codecov.8DCIYx.gz 11:01:38 ==> Uploading reports 11:01:38 url: https://codecov.io 11:01:38 query: branch=PR-270&commit=5bd5f8a26436e932ee7d10d7dfb4eef8686ff168&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-270%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=270&job=&cmd_args= 11:01:38 -> Pinging Codecov 11:01:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-270&commit=5bd5f8a26436e932ee7d10d7dfb4eef8686ff168&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-270%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=270&job=&cmd_args= 11:01:38 -> Uploading to 11:01:38 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/6C56EA5C29638FB4528AC87E60AF5AE0/5bd5f8a26436e932ee7d10d7dfb4eef8686ff168/fd348712-07cc-47fe-ab83-a4f992c9a55a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T110138Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=72ccd8df275072cc5769fa9d7dba4ee599ec2d059a3c7beea0bdaa3d430b6522 11:01:38 % Total % Received % Xferd Average Speed Time Time Time Current 11:01:38 Dload Upload Total Spent Left Speed 11:01:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1507 0 0 100 1507 0 5143 --:--:-- --:--:-- --:--:-- 5143 11:01:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/5bd5f8a26436e932ee7d10d7dfb4eef8686ff168 [Pipeline] } 11:01:38 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 11:01:40 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-270/archives ] 11:01:40 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-270/archives 11:01:40 total 16 11:01:40 drwxr-xr-x 3 root root 4096 Mar 21 10:51 . 11:01:40 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 10:51 .. 11:01:40 drwxr-xr-x 2 root root 4096 Mar 21 10:51 cost 11:01:40 -rw-r--r-- 1 root root 86 Mar 21 10:51 cost.csv 11:01:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-270/archives 11:01:40 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-270/archives 11:01:40 total 16 11:01:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 10:51 . 11:01:40 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 10:51 .. 11:01:40 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 10:51 cost 11:01:40 -rw-r--r-- 1 jenkins jenkins 86 Mar 21 10:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:01:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:01:41 ---> package-listing.sh 11:01:41 ++ facter osfamily 11:01:41 ++ tr '[:upper:]' '[:lower:]' 11:01:42 + OS_FAMILY=debian 11:01:42 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-270 11:01:42 + START_PACKAGES=/tmp/packages_start.txt 11:01:42 + END_PACKAGES=/tmp/packages_end.txt 11:01:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:01:42 + PACKAGES=/tmp/packages_start.txt 11:01:42 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-270 ']' 11:01:42 + PACKAGES=/tmp/packages_end.txt 11:01:42 + case "${OS_FAMILY}" in 11:01:42 + dpkg -l 11:01:42 + grep '^ii' 11:01:42 + '[' -f /tmp/packages_start.txt ']' 11:01:42 + '[' -f /tmp/packages_end.txt ']' 11:01:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:01:42 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-270 ']' 11:01:42 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-270/archives/ 11:01:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-270/archives/ [Pipeline] echo 11:01:42 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-270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:01:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:01:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:01:43 prd-ubuntu20.04-docker-8c-8g-4821 does not seem to be running inside a container 11:01:43 $ 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-270/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-270 -v /w/workspace/gexfoundry_device-snmp-go_PR-270:/w/workspace/gexfoundry_device-snmp-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:01:43 $ docker top 384ba529436ab97dff2cffa9b29daf9e4f62b3377f3e0f4452b37569587223d4 -eo pid,comm [Pipeline] { [Pipeline] sh 11:01:43 + touch /tmp/pre-build-complete [Pipeline] sh 11:01:44 + mkdir -p /var/log/sysstat [Pipeline] sh 11:01:44 + ls /var/log/sa-host 11:01:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:01:44 provisioning config files... 11:01:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-270@tmp/config14269304719745647956tmp [Pipeline] { [Pipeline] echo 11:01:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:01:44 ---> create-netrc.sh [Pipeline] } 11:01:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:01:45 ---> python-tools-install.sh [Pipeline] echo 11:01:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:01:45 ---> sudo-logs.sh 11:01:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:01:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:01:46 ---> job-cost.sh 11:01:46 lf-activate-venv: SKIPPING 11:01:46 DEBUG: total: 0.2199999988079071 11:01:46 INFO: Retrieving Stack Cost... 11:01:46 INFO: Retrieving Pricing Info for: v3-standard-8 11:01:46 INFO: Archiving Costs [Pipeline] echo 11:01:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:01:47 ---> logs-deploy.sh 11:01:47 lf-activate-venv: SKIPPING 11:01:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-270/1 11:01:47 INFO: archiving workspace using pattern(s): 11:01:48 Archives upload complete. 11:01:48 INFO: archiving logs to Nexus 11:01:49 ---> uname -a: 11:01:49 Linux prd-ubuntu20-04-docker-8c-8g-4821 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 11:01:49 11:01:49 11:01:49 ---> lscpu: 11:01:49 Architecture: x86_64 11:01:49 CPU op-mode(s): 32-bit, 64-bit 11:01:49 Byte Order: Little Endian 11:01:49 Address sizes: 40 bits physical, 48 bits virtual 11:01:49 CPU(s): 8 11:01:49 On-line CPU(s) list: 0-7 11:01:49 Thread(s) per core: 1 11:01:49 Core(s) per socket: 1 11:01:49 Socket(s): 8 11:01:49 NUMA node(s): 1 11:01:49 Vendor ID: AuthenticAMD 11:01:49 CPU family: 23 11:01:49 Model: 49 11:01:49 Model name: AMD EPYC-Rome Processor 11:01:49 Stepping: 0 11:01:49 CPU MHz: 2799.956 11:01:49 BogoMIPS: 5599.91 11:01:49 Virtualization: AMD-V 11:01:49 Hypervisor vendor: KVM 11:01:49 Virtualization type: full 11:01:49 L1d cache: 256 KiB 11:01:49 L1i cache: 256 KiB 11:01:49 L2 cache: 4 MiB 11:01:49 L3 cache: 128 MiB 11:01:49 NUMA node0 CPU(s): 0-7 11:01:49 Vulnerability Itlb multihit: Not affected 11:01:49 Vulnerability L1tf: Not affected 11:01:49 Vulnerability Mds: Not affected 11:01:49 Vulnerability Meltdown: Not affected 11:01:49 Vulnerability Mmio stale data: Not affected 11:01:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:01:49 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:01:49 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 11:01:49 Vulnerability Srbds: Not affected 11:01:49 Vulnerability Tsx async abort: Not affected 11:01:49 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 11:01:49 11:01:49 11:01:49 ---> nproc: 11:01:49 8 11:01:49 11:01:49 11:01:49 ---> df -h: 11:01:49 Filesystem Size Used Avail Use% Mounted on 11:01:49 overlay 155G 12G 144G 8% / 11:01:49 tmpfs 64M 0 64M 0% /dev 11:01:49 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:01:49 shm 64M 0 64M 0% /dev/shm 11:01:49 /dev/vda1 155G 12G 144G 8% /facter-os 11:01:49 11:01:49 11:01:49 ---> sar -b -r -n DEV: 11:01:49 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4821) 03/21/23 _x86_64_ (8 CPU) 11:01:49 11:01:49 10:48:08 LINUX RESTART (8 CPU) 11:01:49 11:01:49 10:49:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:01:49 10:50:01 152.37 4.30 148.08 0.00 412.60 58428.26 0.00 11:01:49 10:51:01 133.91 0.22 133.69 0.00 11.86 32430.39 0.00 11:01:49 10:52:01 112.25 0.03 112.21 0.00 4.53 33978.47 0.00 11:01:49 10:53:01 2.42 0.00 2.42 0.00 0.00 29.21 0.00 11:01:49 10:54:01 39.04 11.71 27.33 0.00 5423.10 6298.28 0.00 11:01:49 10:55:01 2.40 0.00 2.40 0.00 0.00 24.79 0.00 11:01:49 10:56:01 1.33 0.00 1.33 0.00 0.00 14.13 0.00 11:01:49 10:57:01 1.97 0.00 1.97 0.00 0.00 20.40 0.00 11:01:49 10:58:01 1.53 0.00 1.53 0.00 0.00 17.20 0.00 11:01:49 10:59:01 2.48 0.00 2.48 0.00 0.00 38.66 0.00 11:01:49 11:00:01 1.47 0.00 1.47 0.00 0.00 16.26 0.00 11:01:49 11:01:01 2.07 0.00 2.07 0.00 0.00 22.26 0.00 11:01:49 Average: 37.77 1.36 36.42 0.00 487.66 10943.34 0.00 11:01:49 11:01:49 10:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:01:49 10:50:01 27863044 31533136 770300 2.34 140272 3691604 2050248 6.04 1222016 3314684 564040 11:01:49 10:51:01 28001672 31322276 972640 2.96 149864 3353580 2477792 7.30 1547624 2860564 181408 11:01:49 10:52:01 27705616 31574676 723168 2.20 159916 3856216 1727556 5.09 1258260 3409980 392 11:01:49 10:53:01 27706180 31575408 721936 2.20 159956 3856216 1727556 5.09 1257656 3409980 52 11:01:49 10:54:01 27337636 31562280 726208 2.21 168204 4188652 1835316 5.41 1486204 3522668 140 11:01:49 10:55:01 27340496 31565200 723232 2.20 168288 4188652 1835316 5.41 1483940 3522672 8 11:01:49 10:56:01 27343636 31568468 719860 2.19 168376 4188656 1835316 5.41 1481116 3522672 8 11:01:49 10:57:01 27343492 31568384 719864 2.19 168452 4188660 1835316 5.41 1481156 3522676 8 11:01:49 10:58:01 27343192 31568664 720004 2.19 168564 4188648 1835316 5.41 1480868 3523140 8 11:01:49 10:59:01 27343688 31569324 719276 2.19 168704 4188644 1835316 5.41 1481368 3523148 12 11:01:49 11:00:01 27343556 31569320 719456 2.19 168800 4188644 1835316 5.41 1481228 3523140 8 11:01:49 11:01:01 27343864 31569716 719052 2.19 168880 4188648 1835316 5.41 1481300 3523144 8 11:01:49 Average: 27501339 31545571 746250 2.27 163190 4022235 1888807 5.57 1428561 3431539 62174 11:01:49 11:01:49 10:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:01:49 10:50:01 lo 2.67 2.67 0.26 0.26 0.00 0.00 0.00 0.00 11:01:49 10:50:01 docker0 185.55 310.45 15.12 1975.27 0.00 0.00 0.00 0.00 11:01:49 10:50:01 ens3 492.18 304.00 6046.93 68.42 0.00 0.00 0.00 0.00 11:01:49 10:51:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 11:01:49 10:51:01 docker0 1.10 3.00 0.07 42.54 0.00 0.00 0.00 0.00 11:01:49 10:51:01 veth63c23d5 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 11:01:49 10:51:01 ens3 40.72 26.22 81.38 16.49 0.00 0.00 0.00 0.00 11:01:49 10:52:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 11:01:49 10:52:01 docker0 1.35 2.87 0.09 43.01 0.00 0.00 0.00 0.00 11:01:49 10:52:01 ens3 119.01 73.10 2575.38 12.59 0.00 0.00 0.00 0.00 11:01:49 10:53:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:01:49 10:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 10:53:01 ens3 0.88 0.92 0.65 0.31 0.00 0.00 0.00 0.00 11:01:49 10:54:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 11:01:49 10:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 10:54:01 ens3 115.16 57.16 1952.14 4.15 0.00 0.00 0.00 0.00 11:01:49 10:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:01:49 10:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 10:55:01 ens3 0.33 0.18 0.02 0.01 0.00 0.00 0.00 0.00 11:01:49 10:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 10:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 10:56:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 10:57:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:01:49 10:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 10:57:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 11:01:49 10:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 10:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 10:58:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 10:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:01:49 10:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 10:59:01 ens3 0.23 0.22 0.08 0.07 0.00 0.00 0.00 0.00 11:01:49 11:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 11:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 11:00:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 11:01:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:01:49 11:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:49 11:01:01 ens3 0.68 0.10 0.07 0.01 0.00 0.00 0.00 0.00 11:01:49 Average: lo 0.51 0.51 0.05 0.05 0.00 0.00 0.00 0.00 11:01:49 Average: docker0 15.67 26.36 1.27 171.73 0.00 0.00 0.00 0.00 11:01:49 Average: ens3 64.11 38.50 888.03 8.51 0.00 0.00 0.00 0.00 11:01:49 11:01:49 11:01:49 ---> sar -P ALL: 11:01:49 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4821) 03/21/23 _x86_64_ (8 CPU) 11:01:49 11:01:49 10:48:08 LINUX RESTART (8 CPU) 11:01:49 11:01:49 10:49:01 CPU %user %nice %system %iowait %steal %idle 11:01:49 10:50:01 all 8.35 0.00 3.89 2.85 0.06 84.84 11:01:49 10:50:01 0 7.12 0.00 3.06 0.39 0.05 89.38 11:01:49 10:50:01 1 8.79 0.00 3.00 0.56 0.10 87.55 11:01:49 10:50:01 2 8.46 0.00 3.85 5.52 0.07 82.11 11:01:49 10:50:01 3 10.88 0.00 3.73 0.20 0.07 85.12 11:01:49 10:50:01 4 7.19 0.00 5.05 0.49 0.05 87.22 11:01:49 10:50:01 5 8.30 0.00 3.90 1.01 0.05 86.74 11:01:49 10:50:01 6 8.14 0.00 4.64 12.22 0.05 74.95 11:01:49 10:50:01 7 7.96 0.00 3.85 2.44 0.07 85.69 11:01:49 10:51:01 all 34.80 0.00 6.20 1.59 0.09 57.32 11:01:49 10:51:01 0 33.64 0.00 6.26 0.65 0.07 59.39 11:01:49 10:51:01 1 34.13 0.00 6.07 0.08 0.07 59.65 11:01:49 10:51:01 2 34.73 0.00 5.74 0.15 0.10 59.28 11:01:49 10:51:01 3 35.19 0.00 6.62 1.21 0.12 56.87 11:01:49 10:51:01 4 35.81 0.00 6.58 0.34 0.08 57.18 11:01:49 10:51:01 5 34.20 0.00 6.19 0.97 0.10 58.54 11:01:49 10:51:01 6 34.54 0.00 6.17 5.67 0.08 53.53 11:01:49 10:51:01 7 36.16 0.00 6.00 3.61 0.10 54.13 11:01:49 10:52:01 all 9.53 0.00 2.55 1.36 0.05 86.51 11:01:49 10:52:01 0 9.19 0.00 2.68 0.00 0.03 88.10 11:01:49 10:52:01 1 8.96 0.00 2.31 0.61 0.05 88.07 11:01:49 10:52:01 2 9.77 0.00 2.46 0.03 0.03 87.70 11:01:49 10:52:01 3 10.36 0.00 2.70 1.57 0.03 85.34 11:01:49 10:52:01 4 10.05 0.00 2.74 0.29 0.05 86.87 11:01:49 10:52:01 5 9.36 0.00 2.60 0.02 0.02 88.01 11:01:49 10:52:01 6 9.31 0.00 2.72 7.50 0.05 80.42 11:01:49 10:52:01 7 9.25 0.00 2.18 0.87 0.13 87.56 11:01:49 10:53:01 all 0.04 0.00 0.02 0.00 0.01 99.92 11:01:49 10:53:01 0 0.05 0.00 0.00 0.00 0.02 99.93 11:01:49 10:53:01 1 0.02 0.00 0.02 0.00 0.02 99.95 11:01:49 10:53:01 2 0.17 0.00 0.07 0.00 0.00 99.77 11:01:49 10:53:01 3 0.02 0.00 0.00 0.00 0.02 99.97 11:01:49 10:53:01 4 0.02 0.00 0.03 0.03 0.02 99.90 11:01:49 10:53:01 5 0.03 0.00 0.02 0.00 0.02 99.93 11:01:49 10:53:01 6 0.00 0.00 0.03 0.00 0.00 99.97 11:01:49 10:53:01 7 0.02 0.00 0.00 0.00 0.00 99.98 11:01:49 10:54:01 all 1.38 0.00 0.59 0.52 0.02 97.50 11:01:49 10:54:01 0 1.05 0.00 0.67 0.82 0.02 97.45 11:01:49 10:54:01 1 1.49 0.00 0.48 0.20 0.02 97.81 11:01:49 10:54:01 2 1.38 0.00 0.67 0.17 0.02 97.77 11:01:49 10:54:01 3 1.32 0.00 0.85 0.70 0.02 97.11 11:01:49 10:54:01 4 1.30 0.00 0.50 0.15 0.02 98.03 11:01:49 10:54:01 5 0.97 0.00 0.62 0.50 0.02 97.90 11:01:49 10:54:01 6 2.30 0.00 0.48 0.03 0.02 97.17 11:01:49 10:54:01 7 1.24 0.00 0.42 1.56 0.02 96.77 11:01:49 10:55:01 all 0.26 0.00 0.02 0.01 0.01 99.71 11:01:49 10:55:01 0 0.00 0.00 0.05 0.00 0.02 99.93 11:01:49 10:55:01 1 0.00 0.00 0.02 0.03 0.00 99.95 11:01:49 10:55:01 2 0.02 0.00 0.03 0.00 0.00 99.95 11:01:49 10:55:01 3 0.02 0.00 0.00 0.00 0.00 99.98 11:01:49 10:55:01 4 0.03 0.00 0.02 0.00 0.02 99.93 11:01:49 10:55:01 5 0.02 0.00 0.02 0.02 0.00 99.95 11:01:49 10:55:01 6 0.35 0.00 0.02 0.00 0.00 99.63 11:01:49 10:55:01 7 1.63 0.00 0.00 0.00 0.02 98.35 11:01:49 10:56:01 all 0.03 0.00 0.01 0.01 0.00 99.95 11:01:49 10:56:01 0 0.05 0.00 0.02 0.00 0.00 99.93 11:01:49 10:56:01 1 0.02 0.00 0.00 0.03 0.00 99.95 11:01:49 10:56:01 2 0.05 0.00 0.02 0.00 0.00 99.93 11:01:49 10:56:01 3 0.02 0.00 0.02 0.00 0.00 99.97 11:01:49 10:56:01 4 0.00 0.00 0.02 0.00 0.00 99.98 11:01:49 10:56:01 5 0.00 0.00 0.02 0.02 0.00 99.97 11:01:49 10:56:01 6 0.02 0.00 0.00 0.00 0.00 99.98 11:01:49 10:56:01 7 0.10 0.00 0.02 0.00 0.02 99.87 11:01:49 10:57:01 all 0.16 0.00 0.01 0.00 0.01 99.82 11:01:49 10:57:01 0 1.13 0.00 0.02 0.00 0.02 98.84 11:01:49 10:57:01 1 0.00 0.00 0.00 0.02 0.02 99.97 11:01:49 10:57:01 2 0.02 0.00 0.02 0.00 0.00 99.97 11:01:49 10:57:01 3 0.00 0.00 0.00 0.00 0.00 100.00 11:01:49 10:57:01 4 0.05 0.00 0.02 0.00 0.00 99.93 11:01:49 10:57:01 5 0.02 0.00 0.02 0.00 0.02 99.95 11:01:49 10:57:01 6 0.05 0.00 0.00 0.00 0.00 99.95 11:01:49 10:57:01 7 0.03 0.00 0.02 0.00 0.02 99.93 11:01:49 10:58:01 all 0.28 0.00 0.01 0.01 0.00 99.70 11:01:49 10:58:01 0 2.07 0.00 0.02 0.00 0.02 97.90 11:01:49 10:58:01 1 0.03 0.00 0.00 0.05 0.00 99.92 11:01:49 10:58:01 2 0.02 0.00 0.00 0.00 0.00 99.98 11:01:49 10:58:01 3 0.03 0.00 0.00 0.00 0.00 99.97 11:01:49 10:58:01 4 0.02 0.00 0.00 0.00 0.00 99.98 11:01:49 10:58:01 5 0.02 0.00 0.00 0.00 0.00 99.98 11:01:49 10:58:01 6 0.02 0.00 0.00 0.00 0.00 99.98 11:01:49 10:58:01 7 0.02 0.00 0.03 0.00 0.00 99.95 11:01:49 10:59:01 all 0.28 0.00 0.02 0.01 0.01 99.68 11:01:49 10:59:01 0 2.02 0.00 0.02 0.00 0.00 97.96 11:01:49 10:59:01 1 0.00 0.00 0.02 0.08 0.02 99.88 11:01:49 10:59:01 2 0.03 0.00 0.00 0.00 0.00 99.97 11:01:49 10:59:01 3 0.00 0.00 0.02 0.00 0.00 99.98 11:01:49 10:59:01 4 0.07 0.00 0.03 0.00 0.02 99.88 11:01:49 10:59:01 5 0.05 0.00 0.02 0.02 0.00 99.92 11:01:49 10:59:01 6 0.03 0.00 0.03 0.00 0.00 99.93 11:01:49 10:59:01 7 0.03 0.00 0.02 0.02 0.02 99.92 11:01:49 11:00:01 all 0.30 0.00 0.00 0.00 0.01 99.69 11:01:49 11:00:01 0 1.99 0.00 0.00 0.00 0.02 98.00 11:01:49 11:00:01 1 0.02 0.00 0.00 0.03 0.00 99.95 11:01:49 11:00:01 2 0.02 0.00 0.00 0.00 0.00 99.98 11:01:49 11:00:01 3 0.00 0.00 0.00 0.00 0.00 100.00 11:01:49 11:00:01 4 0.05 0.00 0.02 0.00 0.02 99.92 11:01:49 11:00:01 5 0.25 0.00 0.02 0.00 0.02 99.72 11:01:49 11:00:01 6 0.02 0.00 0.00 0.00 0.02 99.97 11:01:49 11:00:01 7 0.00 0.00 0.00 0.00 0.00 100.00 11:01:49 11:01:49 11:00:01 CPU %user %nice %system %iowait %steal %idle 11:01:49 11:01:01 all 0.02 0.00 0.01 0.00 0.00 99.96 11:01:49 11:01:01 0 0.12 0.00 0.02 0.00 0.02 99.85 11:01:49 11:01:01 1 0.00 0.00 0.02 0.03 0.00 99.95 11:01:49 11:01:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:01:49 11:01:01 3 0.00 0.00 0.00 0.00 0.00 100.00 11:01:49 11:01:01 4 0.05 0.00 0.03 0.00 0.00 99.92 11:01:49 11:01:01 5 0.00 0.00 0.00 0.00 0.00 100.00 11:01:49 11:01:01 6 0.02 0.00 0.00 0.00 0.00 99.98 11:01:49 11:01:01 7 0.00 0.00 0.00 0.00 0.00 100.00 11:01:49 Average: all 4.59 0.00 1.10 0.53 0.02 93.75 11:01:49 Average: 0 4.84 0.00 1.06 0.15 0.02 93.93 11:01:49 Average: 1 4.43 0.00 0.99 0.14 0.02 94.42 11:01:49 Average: 2 4.52 0.00 1.06 0.48 0.02 93.91 11:01:49 Average: 3 4.79 0.00 1.15 0.31 0.02 93.73 11:01:49 Average: 4 4.53 0.00 1.25 0.11 0.02 94.10 11:01:49 Average: 5 4.41 0.00 1.11 0.21 0.02 94.24 11:01:49 Average: 6 4.53 0.00 1.17 2.10 0.02 92.18 11:01:49 Average: 7 4.70 0.00 1.04 0.70 0.03 93.53 11:01:49 11:01:49 11:01:49